FEdgeSharp Class Reference
#include <Silhouette.h>
Inheritance diagram for FEdgeSharp:
List of all members.
Detailed Description
Class defining a sharp
FEdge. A Sharp
FEdge corresponds to an initial edge of the input mesh. It can be a silhouette, a crease or a border. If it is a crease edge, then it is borded by two faces of the mesh. Face a lies on its right whereas Face b lies on its left. If it is a border edge, then it doesn't have any face on its right, and thus Face a = 0.
Constructor & Destructor Documentation
|
Builds an FEdgeSharp going from vA to vB. |
Member Function Documentation
|
Returns the material of the face lying on the right of the FEdge. If this FEdge is a border, it has no Face on its right and therefore, no material. |
unsigned aMaterialIndex |
( |
|
) |
const [inline] |
|
|
Returns the index of the material of the face lying on the right of the FEdge. If this FEdge is a border, it has no Face on its right and therefore, no material. |
|
Returns the material of the face lying on the left of the FEdge. |
unsigned bMaterialIndex |
( |
|
) |
const [inline] |
|
|
Returns the index of the material of the face lying on the left of the FEdge. |
virtual FEdge* dupplicate |
( |
|
) |
[inline, virtual] |
|
|
Cloning method.
Reimplemented from FEdge. |
const Vec3r& normalA |
( |
|
) |
[inline] |
|
|
Returns the normal to the face lying on the right of the FEdge. If this FEdge is a border, it has no Face on its right and therefore, no normal. |
const Vec3r& normalB |
( |
|
) |
[inline] |
|
|
Returns the normal to the face lying on the left of the FEdge. |
void SetaMaterialIndex |
( |
unsigned |
i |
) |
[inline] |
|
|
Sets the index of the material lying on the right of the FEdge. |
void SetbMaterialIndex |
( |
unsigned |
i |
) |
[inline] |
|
|
Sets the index of the material lying on the left of the FEdge. |
void SetNormalA |
( |
const Vec3r & |
iNormal |
) |
[inline] |
|
|
Sets the normal to the face lying on the right of the FEdge. |
void SetNormalB |
( |
const Vec3r & |
iNormal |
) |
[inline] |
|
|
Sets the normal to the face lying on the left of the FEdge. |
The documentation for this class was generated from the following file: