GMModelInterfaces CATCGMTessEdgeIter
Usage: you must use this class as is. You should never derive it.
public class CATCGMTessEdgeIter
Class that outputs the point tessellation numbers corresponding to the
the points on a given edge.
The points are given relatively to one bounded (or adjacent) face. By assumption, the edges are
considered here to bound two faces at most.
Such class is directly created by the method. Its deletion is managed at the CATICGMBodyTessellator deletion.
Use it according to the following scheme:
- Retrieve the number of points for a given edge, with regards to a given face.
- Allocate the array of numbers
- Retrieve the result
- Delete the array.
Method Index
- o
GetEdgeNbPts(int)
- Returns the number of tesselation points for the edge relative to an adjacent face.
- o
GetEdgeNuPts(int,int[])
- Returns the tessellation point numbers for the edge relative to an adjacent face.
- o
GetEdgeW(int,double[],short[])
- Returns the tessellation point parameters for the edge relative to an adjacent face.
- o
GetFace(int)
- Returns the pointer to an adjacent face.
- o
GetPCurve(int)
- Returns the pointer to a PCurve.
- o
GetSameSens(int)
- Returns a CATBoolean is TRUE if the tessellation point numbers for the edge and
the Edge are traveling throughtthe same sense.
Methods
o GetEdgeNbPts
public virtual GetEdgeNbPts( | | iNuFace) |
-
Returns the number of tesselation points for the edge relative to an adjacent face.
- Parameters:
-
- iNuFace
- The first (iNuFace=1) or second (iNuFace=2) adjacent face.
- Returns:
- The number of tessellation points for the edge relative the iNuFace adjacent face.
o GetEdgeNuPts
public virtual GetEdgeNuPts( | | iNuFace, |
| | ioNuPts) |
-
Returns the tessellation point numbers for the edge relative to an adjacent face.
- Parameters:
-
- iNuFace
- The first (iNuFace=1) or second (iNuFace=2) adjacent face.
- ioNuPts
- The array of the tessellation point numbers. This array must be allocated and deallocated
by the caller. Its dimension is given by the
method. If the contour is open, the first and last points are different.
o GetEdgeW
public virtual GetEdgeW( | | iNuFace, |
| | ioCrvParam, |
| | ioQualPts) |
-
Returns the tessellation point parameters for the edge relative to an adjacent face.
- Parameters:
-
- iNuFace
- The first (iNuFace=1) or second (iNuFace=2) adjacent face.
- ioCrvParam
- The array of the tessellation point parameters (as a CATCrvParam on the underlying edge curve)
- ioQualPts
- The array which allows you to determine the ioCrvParam quality:
- 0 : ioCrvParam impossible computation
- 1 : ioCrvParam exact computation
- 2 : ioCrvParam does not neccessarily correspond to Xyz or Uv (merged points)
These arrayes must be allocated and deallocated by the caller.
Its dimension is given by the
method. If the contour is open, the first and last points are different.
o GetFace
public virtual GetFace( | | iNuFace) |
-
Returns the pointer to an adjacent face.
- Parameters:
-
- iNuFace
- The first (iNuFace=1) or second (iNuFace=2) adjacent face.
- Returns:
- The pointer to the corresponding face.
o GetPCurve
public virtual GetPCurve( | | iNuFace) |
-
Returns the pointer to a PCurve.
- Parameters:
-
- iNuFace
- The first (iNuFace=1) or second (iNuFace=2) adjacent face.
- Returns:
- The pointer to the corresponding PCurve.
o GetSameSens
public virtual GetSameSens( | | iNuFace) |
-
Returns a CATBoolean is TRUE if the tessellation point numbers for the edge and
the Edge are traveling throughtthe same sense.
- Parameters:
-
- iNuFace
- The first (iNuFace=1) or second (iNuFace=2) adjacent face.
- Returns:
- a CATBoolean is TRUE if the tessellation point numbers for the edge and
the Edge are traveling throughtthe same sense.
This object is included in the file: CATCGMTessEdgeIter.h
If needed, your Imakefile.mk should include the module: CATGMModelInterfaces
Copyright © 1999-2015, Dassault Systèmes. All rights reserved.