All Frameworks Class Hierarchy This Framework Indexes
GMOperatorsInterfaces Class CATConvertSurToNurbsSur
Usage: you must use this class as is. You should never derive it.
public class CATConvertSurToNurbsSur
- Deprecated:
- V5R10 CATSurFittingToNurbsSur
Class defining a geometric operator that computes the NURBS representation of a CATSurface.
The operator deals with the CATSphere, CATCylinder, CATTorus, CATCone and CATRevolution surfaces
and creates the corresponding rational CATNurbsSurface. CATPlane and CATTabulatedCylinder
give a non rational CATNurbsSurface. For a CATNurbsSurface, the corresponding CATNurbsSurface
without extrapolation is created.
The CATConvertSurToNurbsSur operator follows the global frame of the geometric operators:
- A CATConvertSurToNurbsSur operator is created with the CreateConvertSurToNurbsSur global method
and must be
directly deleted with the usual C++ operator after use.
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.
- In both cases, the result is accessed with the Getxxx methods.
Constructor and Destructor Index
- o
CATConvertSurToNurbsSur()
-
- o
~CATConvertSurToNurbsSur()
-
Method Index
- o
ComputeNewParameter(CATSurParam&)
- Maps a parameter on the initial surface to the corresponding parameter on the computed Nurbs representation.
- o
ForbidPeriodicity()
- Avoids to create periodic Nurbs representation.
- o
GetNurbsSurface()
- Returns the corresponding CATNurbsSurface.
- o
RunWithSameParametrisation()
- Runs this operator by keeping the same parameterization for the input
and resulting surface (ADVANCED mode).
- o
Run()
- Runs this operator (ADVANCED mode).
Constructor and Destructor
o CATConvertSurToNurbsSur
| public CATConvertSurToNurbsSur( | ) |
-
o ~CATConvertSurToNurbsSur
| public virtual ~CATConvertSurToNurbsSur( | ) |
-
Methods
o ComputeNewParameter
| public virtual ComputeNewParameter( | const | iParamOnSurface) |
-
Maps a parameter on the initial surface to the corresponding parameter on the computed Nurbs representation.
- Parameters:
-
- iParamOnSurface
- The parameter on the initial surface.
- Returns:
- The parameter on the computed Nurbs representation.
o ForbidPeriodicity
| public virtual ForbidPeriodicity( | ) |
-
Avoids to create periodic Nurbs representation.
By default, periodic representations can be created.
o GetNurbsSurface
| public virtual GetNurbsSurface( | ) |
-
Returns the corresponding CATNurbsSurface.
- Returns:
- The pointer to the created CATNurbsSurface. Use the
CATICGMContainer.Remove if you do not want to keep it in the geometric factory.
o RunWithSameParametrisation
| public virtual RunWithSameParametrisation( | ) |
-
Runs this operator by keeping the same parameterization for the input
and resulting surface (ADVANCED mode).
- Returns:
- 0 if the the parameterization is not kept, 1 if it is kept.
o Run
-
Runs this operator (ADVANCED mode).
This object is included in the file: CATConvertSurToNurbsSur.h
If needed, your Imakefile.mk should include the module: CATGMOperatorsInterfaces