All Frameworks  Class Hierarchy  This Framework  Previous  Indexes

Tessellation Class CATTessVertexIter

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:


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.

Methods


o GetFace
public CATFace * GetFace()const
Returns the pointer to the current face.
Returns:
The pointer to the current face.
o GetNbFace
public inline CATLONG32 GetNbFace()const
Returns the number of faces.
Returns:
The number of faces.
o GetPoec
public inline CATPointOnEdgeCurve * GetPoec()const
Returns the pointer to a PointOnEdgeCurve for the current face.
Returns:
The pointer to the corresponding PointOnEdgeCurve.
o GetVertexAllNuPts
public virtual void GetVertexAllNuPts(int[] oNuPts) const
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 void GetVertexNuPts(int& oNuPts) const
Retrieves the points ranks (as int) defining the current face.
Parameters:
oNuPts
The point ranks.
o GetVertexXyz
public virtual double const * GetVertexXyz()const
Returns the Cartesian coordinates of the current point.
Returns:
The array of the Cartesian coordinates.
o GoToNext
public virtual void GoToNext()
Skips to the next face.
o IsExhausted
public virtual CATLONG32 IsExhausted()const
Tests whether the list is completed.
Returns:
The result of the test.
Legal values: 1 if the list is completed, 0 otherwise.
o Reset
public virtual void 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

Copyright © 2003, Dassault Systèmes. All rights reserved.