All Frameworks Class Hierarchy This Framework Previous Next Indexes
FreeFormOperators Class CATSurDegreeModification
Mathematics.CATCGMVirtual
|
+---CATSurDegreeModification
Usage: you must use this class as is. You should never derive it.
public class CATSurDegreeModification
Class defining an operator that modifies the degree of a Nurbs surface.
The CATSurDegreeModification operator follows the global frame of the geometric operators:
- A CATSurDegreeModification operator is created with
the CreateSurDegreeModification global function
and must be directly deleted with the usual C++ delete 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.
Constructor and Destructor Index
- o
~CATSurDegreeModification()
- Destructor.
Method Index
- o
GetMaxDeviation()
- Returns the maximum deviation between the initial and the new surface.
- o
Run()
- Runs this operator.
- o
SetDegreeU(CATLONG32&)
- Specifies the new degree along U.
- o
SetDegreeV(CATLONG32&)
- Specifies the new degree along V.
Constructor and Destructor
o ~CATSurDegreeModification
public virtual ~CATSurDegreeModification( | ) |
-
Destructor.
Methods
o GetMaxDeviation
public virtual double GetMaxDeviation( | )=0 |
-
Returns the maximum deviation between the initial and the new surface.
This method should be used when decreasing the degree.
- Returns:
- The maximum deviation value.
o Run
public virtual void Run( | )=0 |
-
Runs this operator.
o SetDegreeU
public virtual void SetDegreeU( | const CATLONG32& | iNewDegreeU)=0 |
-
Specifies the new degree along U.
- Parameters:
-
- iNewDegreeU
- The new degree along U.
o SetDegreeV
public virtual void SetDegreeV( | const CATLONG32& | iNewDegreeV)=0 |
-
Specifies the new degree along V.
- Parameters:
-
- iNewDegreeV
- The new degree along V.
This object is included in the file: CATSurDegreeModification.h
If needed, your Imakefile.mk should include the module: CATFreeFormOperators