All Frameworks Class Hierarchy This Framework Previous Next Indexes
FreeFormOperators Class CATCrvDegreeModification
Mathematics.CATCGMVirtual
|
+---CATCrvDegreeModification
Usage: you must use this class as is. You should never derive it.
public class CATCrvDegreeModification
Class defining an operator that modifies the degree of a curve.
The CATCrvDegreeModification operator follows the global frame of the geometric operators:
- A CATCrvDegreeModification operator is created with the CreateCrvDegreeModification 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
~CATCrvDegreeModification()
- Destructor.
Method Index
- o
GetMaxDeviation()
- Returns the maximum deviation between the initial and the new curve.
- o
Run()
- Runs this operator.
- o
SetDegree(CATLONG32&)
- Specifies the new degree.
Constructor and Destructor
o ~CATCrvDegreeModification
public virtual ~CATCrvDegreeModification( | ) |
-
Destructor.
Methods
o GetMaxDeviation
public virtual double GetMaxDeviation( | )=0 |
-
Returns the maximum deviation between the initial and the new curve.
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 SetDegree
public virtual void SetDegree( | const CATLONG32& | iNewDegree)=0 |
-
Specifies the new degree.
- Parameters:
-
- iNewDegree
- The new degree.
This object is included in the file: CATCrvDegreeModification.h
If needed, your Imakefile.mk should include the module: CATFreeFormOperators