All Frameworks Class Hierarchy This Framework Previous Next Indexes
GeometricOperators Class CATReflectCurve
Mathematics.CATCGMVirtual
|
+---GeometricObjects.CATCGMOperator
|
+---GeometricOperators.CATGeoOperator
|
+---CATReflectCurve
Usage: you must use this class as is. You should never derive it.
public class CATReflectCurve
Class defining the operator to compute the reflect curves on a surface.
The reflect curves are the set of points of a surface such that the surface normal
at these points and a direction defines a constant angle.
- The CATReflectCurve operator is created with the CreateReflectCurve method and
directly deleted with the usual C++ delete operator.
It is is not streamable.
- In case of BASIC
mode, the operation is automatically performed at the operator creation.
In case of ADVANCED
mode, options can be precised with the SetXxx methods, before
asking for the computation with the Run method. The advanced mode also allows you to
run the same operator with different curves or surfaces.
- In both cases, the result is accessed with specific interators.
Constructor and Destructor Index
- o
~CATReflectCurve()
-
Method Index
- o
BeginningCurve()
- Initializes the iterator of the solution curves of this
CATProjectionCrvSur operator.
- o
GetCurve()
- Creates the next solution curve.
- o
GetNumberOfPCurves()
- Returns the number of solution curves.
- o
GetPCurve()
- Creates the next solution curve as a curve on surface.
- o
NextCurve()
- Skips to the next solution curve of this CATReflectCurve operator.
- o
SetLimits(CATSurLimits*)
- Modifies the surface domain to take into account for this CATReflectCurve
operator (ADVANCED mode).
Constructor and Destructor
o ~CATReflectCurve
public virtual ~CATReflectCurve( | ) |
-
Methods
o BeginningCurve
public virtual void BeginningCurve( | )= 0 |
-
Initializes the iterator of the solution curves of this
CATProjectionCrvSur operator.
By default, the initialization is performed once the operator runs,
and this is therefore only used to read the solutions again.
o GetCurve
-
Creates the next solution curve.
- Returns:
- The pointer to the created curve. A new curve is created each time this method is called.
If you do not want to keep the created curve, use the
CATICGMContainer.Remove method.
o GetNumberOfPCurves
public virtual CATLONG32 GetNumberOfPCurves( | )const = 0 |
-
Returns the number of solution curves.
- Returns:
- The number of curves.
o GetPCurve
-
Creates the next solution curve as a curve on surface.
- Returns:
- The pointer to the created curve on surface. A new curve is created each time this method is called.
If you do not want to keep the created curve, use the
CATICGMContainer.Remove method.
o NextCurve
-
Skips to the next solution curve of this CATReflectCurve operator.
After BeginningCurve, it skips to the first curve.
- Returns:
- The existence of the next solution.
Legal values:
- TRUE
- if there is a solution point
- FALSE
- no more solution point.
o SetLimits
-
Modifies the surface domain to take into account for this CATReflectCurve
operator (ADVANCED mode).
It does not change the current surface
limitations.
- Parameters:
-
- iLimits
- The new limitations of the surface, NULL to take the current limitations.
This object is included in the file: CATReflectCurve.h
If needed, your Imakefile.mk should include the module: CATGeometricOperators