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

FEdgeSharp Class Reference

#include <Silhouette.h>

Inheritance diagram for FEdgeSharp:

FEdge Interface1D 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.


Public Member Functions

 FEdgeSharp ()
 FEdgeSharp (SVertex *vA, SVertex *vB)
 FEdgeSharp (FEdgeSharp &iBrother)
virtual ~FEdgeSharp ()
virtual FEdgedupplicate ()
const Vec3r & normalA ()
const Vec3r & normalB ()
unsigned aMaterialIndex () const
const MaterialaMaterial () const
unsigned bMaterialIndex () const
const MaterialbMaterial () const
void SetNormalA (const Vec3r &iNormal)
void SetNormalB (const Vec3r &iNormal)
void SetaMaterialIndex (unsigned i)
void SetbMaterialIndex (unsigned i)

Constructor & Destructor Documentation

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.


Member Function Documentation

const Material& aMaterial  )  const
 

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.

const Material& bMaterial  )  const
 

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: