GMModelInterfaces Interface CATICGMReflectCurve
Usage: an implementation of this interface is supplied and you must use it as is. You should not reimplement it.
interface CATICGMReflectCurve
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 CATICGMReflectCurve operator is created with the CATCGMCreateReflectCurve method and
directly released with the Release method.
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.
Method Index
- o
BeginningCurve()
- Initializes the iterator of the solution curves of this
CATICGMProjectionCrvSur 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 CATICGMReflectCurve operator.
- o
SetLimits(CATSurLimits*)
- Modifies the surface domain to take into account for this CATICGMReflectCurve
operator (ADVANCED mode).
Methods
o BeginningCurve
public virtual BeginningCurve( | ) |
-
Initializes the iterator of the solution curves of this
CATICGMProjectionCrvSur operator.
By default, the initialization is performed once the operator runs,
and this is therefore only used to read the solutions again.
o GetCurve
public virtual 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
method.
o GetNumberOfPCurves
public virtual GetNumberOfPCurves( | ) |
-
Returns the number of solution curves.
- Returns:
- The number of curves.
o GetPCurve
public virtual 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
method.
o NextCurve
public virtual NextCurve( | ) |
-
Skips to the next solution curve of this CATICGMReflectCurve 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
public virtual SetLimits( | | iLimits) |
-
Modifies the surface domain to take into account for this CATICGMReflectCurve
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: CATICGMReflectCurve.h
If needed, your Imakefile.mk should include the module: CATGMModelInterfaces
Copyright © 1999-2015, Dassault Systèmes. All rights reserved.