Public Types | |
| typedef T | Number |
| The number type. | |
| typedef Number | Point |
| A Cartesian point. | |
| typedef geom::BBox< 1, Number > | BBox |
| A bounding box. | |
Public Member Functions | |
Constructors, etc. | |
| Face () | |
| Default constructor. Unititialized memory. | |
| Face (const Point location, const int orientation, const int index, const Point left, const Point right, const Number max_distance) | |
| Construct a face. | |
| Face (const Face &other) | |
| Copy constructor. | |
| Face & | operator= (const Face &other) |
| Assignment operator. | |
| void | make (const Point location, const int orientation, const int index, const Point left, const Point right, const Number max_distance) |
| Construct a face. | |
| ~Face () | |
| Trivial destructor. | |
Accessors. | |
| Point | getLocation () const |
| Return the location of the face. | |
| int | getOrientation () const |
| Return the orientation of the face. | |
| Point | getNormal () const |
| Return the normal to the face. | |
| int | getFaceIndex () const |
| Return the index of this face in the b-rep. | |
| const BBox & | getDomain () const |
| Return the domain containing possible closest points. | |
Mathematical operations. | |
| bool | isValid () const |
| Return true if the face is valid. | |
| Number | computeDistance (const Point p) const |
| Return the signed distance to the face. | |
| Number | computeDistanceUnsigned (const Point p) const |
| Return the unsigned distance to the face. | |
| Face< 1, T >::Face | ( | const Point | location, | |
| const int | orientation, | |||
| const int | index, | |||
| const Point | left, | |||
| const Point | right, | |||
| const Number | max_distance | |||
| ) | [inline] |
Construct a face.
| location | is the Cartesian location of the face. | |
| orientation | is +-1. | |
| index | is the index of the face. | |
| left | is the location of the left neighbor. | |
| right | is the location of the right neighbor. | |
| max_distance | is how far the distance is being computed. |
| void Face< 1, T >::make | ( | const Point | location, | |
| const int | orientation, | |||
| const int | index, | |||
| const Point | left, | |||
| const Point | right, | |||
| const Number | max_distance | |||
| ) | [inline] |
Construct a face.
| location | is the Cartesian location of the face. | |
| orientation | is +-1. | |
| index | is the index of the face. | |
| left | is the location of the left neighbor. | |
| right | is the location of the right neighbor. | |
| max_distance | is how far the distance is being computed. |
1.4.7