All Frameworks Class Hierarchy This Framework Indexes
Tessellation Class CATTessVertexIter
Usage: you must use this class as is. You should never derive it.
public class CATTessVertexIter
Class that outputs the point tessellation numbers corresponding to the
the points on a given vertex.
The points are given relatively to one bounded (or adjacent) face.
Such class is directly created by the CATBodyTessellator.GetVertex method. Its deletion is managed at the
CATBodyTessellator deletion.
Use it according to the following scheme:
- Retrieve the number of points for a given vertex, with regards to a given face.
- Allocate the array of numbers
- Retrieve the result
- Delete the array.
Constructor and Destructor Index
- o
~CATTessVertexIter()
- Destructor
Method Index
- o
GetFace()
- Returns the pointer to the current face.
- o
GetNbFace()
- Returns the number of faces.
- o
GetPoec()
- Returns the pointer to a PointOnEdgeCurve for the current face.
- o
GetVertexAllNuPts(int[])
- Globally retrieves the points ranks for all the faces.
- o
GetVertexNuPts(int&)
- Retrieves the points ranks (as int) defining the current face.
- o
GetVertexXyz()
- Returns the Cartesian coordinates of the current point.
- o
GoToNext()
- Skips to the next face.
- o
IsExhausted()
- Tests whether the list is completed.
- o
Reset()
- Resets the iterator to the beginning.
Constructor and Destructor
o ~CATTessVertexIter
| public virtual ~CATTessVertexIter( | ) |
-
Destructor
Methods
o GetFace
-
Returns the pointer to the current face.
- Returns:
- The pointer to the current face.
o GetNbFace
-
Returns the number of faces.
- Returns:
- The number of faces.
o GetPoec
-
Returns the pointer to a PointOnEdgeCurve for the current face.
- Returns:
- The pointer to the corresponding PointOnEdgeCurve.
o GetVertexAllNuPts
| public virtual GetVertexAllNuPts( | | oNuPts) |
-
Globally retrieves the points ranks for all the faces.
- Parameters:
-
- oNuPts[]
- The array of the point numbers. The allocation has to be managed by
the caller: use GetNbFace() for its dimension.
o GetVertexNuPts
| public virtual GetVertexNuPts( | | oNuPts) |
-
Retrieves the points ranks (as int) defining the current face.
- Parameters:
-
- oNuPts
- The point ranks.
o GetVertexXyz
| public virtual GetVertexXyz( | ) |
-
Returns the Cartesian coordinates of the current point.
- Returns:
- The array of the Cartesian coordinates.
o GoToNext
| public virtual GoToNext( | ) |
-
Skips to the next face.
o IsExhausted
| public virtual IsExhausted( | ) |
-
Tests whether the list is completed.
- Returns:
- The result of the test.
Legal values: 1 if the list is completed, 0 otherwise.
o Reset
-
Resets the iterator to the beginning.
This object is included in the file: CATTessVertexIter.h
If needed, your Imakefile.mk should include the module: CATTessellation