Points&Forces (survey)
Software tools facilitating the task of surveying architecture
|
#include <a_contact.h>
Public Member Functions | |
a_contact () | |
a_contact (const a_contact &c) | |
int | nv () const |
get number of vertices More... | |
void | av (const a_point p) |
add a vertex More... | |
a_point | v (const int i) const |
get a vertex More... | |
a_segment | s (const int i) const |
get a segment More... | |
void | clean () |
clean More... | |
void | f (const a_wrench &f) |
set force on the face More... | |
a_wrench | f () const |
get force on the face More... | |
virtual void | read (std::istream &i) |
virtual void | write (std::ostream &o) const |
Protected Attributes | |
std::vector< a_point > | vertices_ |
points defining face More... | |
a_wrench | f_ |
force on the face More... | |
Friends | |
std::istream & | operator>> (std::istream &i, a_contact &c) |
std::ostream & | operator<< (std::ostream &o, const a_contact &c) |
a_contact are the common part between the two contact faces of blocks touching each other
Definition at line 27 of file a_contact.h.
|
inline |
Definition at line 30 of file a_contact.h.
a_contact::a_contact | ( | const a_contact & | c | ) |
|
inline |
void a_contact::clean | ( | ) |
clean
check to see whether there is any aligned segments
Definition at line 36 of file a_contact.cxx.
|
inline |
get force on the face
Definition at line 45 of file a_contact.h.
|
inline |
set force on the face
Definition at line 43 of file a_contact.h.
|
inline |
get number of vertices
Definition at line 33 of file a_contact.h.
|
virtual |
a_segment a_contact::s | ( | const int | i | ) | const |
get a segment
Definition at line 30 of file a_contact.cxx.
|
inline |
|
virtual |
|
friend |
Definition at line 96 of file a_contact.cxx.
|
friend |
Definition at line 90 of file a_contact.cxx.
|
protected |
force on the face
Definition at line 56 of file a_contact.h.
|
protected |
points defining face
Definition at line 54 of file a_contact.h.