h o m e | d o c u m e n t a t i o n | c l a s s h i e r a r c h y |
#include <Silhouette.h>
Inheritance diagram for FEdgeSharp:
Public Member Functions | |
FEdgeSharp () | |
FEdgeSharp (SVertex *vA, SVertex *vB) | |
FEdgeSharp (FEdgeSharp &iBrother) | |
virtual | ~FEdgeSharp () |
virtual FEdge * | dupplicate () |
const Vec3r & | normalA () |
const Vec3r & | normalB () |
unsigned | aMaterialIndex () const |
const Material & | aMaterial () const |
unsigned | bMaterialIndex () const |
const Material & | bMaterial () const |
void | SetNormalA (const Vec3r &iNormal) |
void | SetNormalB (const Vec3r &iNormal) |
void | SetaMaterialIndex (unsigned i) |
void | SetbMaterialIndex (unsigned i) |
FEdgeSharp | ( | ) | [inline] |
Default constructor.
FEdgeSharp | ( | SVertex * | vA, | |
SVertex * | vB | |||
) | [inline] |
Builds an FEdgeSharp going from vA to vB.
FEdgeSharp | ( | FEdgeSharp & | iBrother | ) | [inline] |
Copy constructor.
virtual ~FEdgeSharp | ( | ) | [inline, virtual] |
Destructor.
const Vec3r& normalA | ( | ) | [inline] |
const Vec3r& normalB | ( | ) | [inline] |
Returns the normal to the face lying on the left of the FEdge.
unsigned aMaterialIndex | ( | ) | const [inline] |
const Material& aMaterial | ( | ) | const |
unsigned bMaterialIndex | ( | ) | const [inline] |
Returns the index of the material of the face lying on the left of the FEdge.
const Material& bMaterial | ( | ) | const |
Returns the material of the face 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.
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.