a48
2.0.2
|
Base type for a face. More...
#include <facet.hh>
Public Types | |
typedef Traits::halfedge_type | halfedge_type |
halfedge definition | |
Public Member Functions | |
FaceT () | |
Default Constructor. | |
FaceT (halfedge_type *_h) | |
bool | is_boundary (void) const |
Verifies if this face belongs to the mesh boundary. | |
bool | is_triangle (void) const |
Verifies if this face is a triangular face. | |
void | set_halfedge (halfedge_type *_h) |
Sets incident halfedge of this face. | |
const halfedge_type * | halfedge (void) const |
halfedge_type * | halfedge (void) |
Gets incident halfedge pointing to this face. | |
unsigned int | sides (void) const |
Gets the number of sides of this face. | |
unsigned int | non_boundary_sides (void) const |
Gets the number of non-boundary sides of this face. |
Base type for a face.
Traits | Template argument to access mesh-base definitions |
typedef Traits::halfedge_type a48::FaceT< Traits >::halfedge_type |
halfedge definition
Reimplemented in a48::AdaptiveFaceT< Traits >.
a48::FaceT< Traits >::FaceT | ( | ) | [inline] |
a48::FaceT< Traits >::FaceT | ( | halfedge_type * | _h | ) | [inline] |
bool a48::FaceT< Traits >::is_boundary | ( | void | ) | const [inline] |
bool a48::FaceT< Traits >::is_triangle | ( | void | ) | const [inline] |
Verifies if this face is a triangular face.
Definition at line 52 of file facet.hh.
References a48::FaceT< Traits >::sides().
const halfedge_type * a48::FaceT< Traits >::halfedge | ( | void | ) | const [inline] |
halfedge_type* a48::FaceT< Traits >::halfedge | ( | void | ) | [inline] |
unsigned int a48::FaceT< Traits >::sides | ( | void | ) | const [inline] |
Gets the number of sides of this face.
Definition at line 69 of file facet.hh.
References a48::FaceT< Traits >::halfedge().
unsigned int a48::FaceT< Traits >::non_boundary_sides | ( | void | ) | const [inline] |
Gets the number of non-boundary sides of this face.
Definition at line 79 of file facet.hh.
References a48::FaceT< Traits >::halfedge().
void a48::FaceT< Traits >::set_halfedge | ( | halfedge_type * | _h | ) | [inline] |