All Frameworks Class Hierarchy This Framework Previous Next Indexes
FreeFormOperators Class CATLiss
Mathematics.CATCGMVirtual
|
+---CATLiss
Usage: you must use this class as is. You should never derive it.
public class CATLiss
Class defining a geometric operator that smoothes a set of points to create a curve.
The CATLiss operator follows the global frame of the geometric operators:
- A CATLiss operator is created with the CreateLiss global method
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.
- In both cases, the result is accessed with the Getxxx methods.
Constructor and Destructor Index
- o
~CATLiss()
-
Method Index
- o
GetMaxDeviation()
- Returns the maximum deviation between a point and the smoothed curve.
- o
GetPResult()
- Returns the created smoothed Pcurve.
- o
GetParameters()
- Returns the parameters associated to each point .
- o
GetResult()
- Returns the created smoothed curve.
- o
Run()
- Runs this operator (ADVANCED mode).
- o
SetDegree(CATLONG32&)
- Defines the degree of the resulting curve (ADVANCED mode).
- o
SetImposedParametrization(double*)
- Defines the parameters corresponding to each point of the initial set of points (ADVANCED mode).
- o
SetMaxNumberOfArcs(CATLONG32)
- Defines the maximum number of arcs of the created curve (ADVANCED mode).
- o
SetSoftContinuity(CATLONG32&,CATLONG32*,CATLONG32*)
- Defines the continuity constraints on given points (ADVANCED mode).
- o
SetTwinOption()
- Sets the arcs limits at the constrained points (ADVANCED mode).
- o
UpdateForm(CATMathSetOfPointsND*)
- Defines a new set of points to be taken into account (ADVANCED mode).
Constructor and Destructor
o ~CATLiss
public virtual ~CATLiss( | ) |
-
Methods
o GetMaxDeviation
public virtual double GetMaxDeviation( | )=0 |
-
Returns the maximum deviation between a point and the smoothed curve.
- Returns:
- The maximum deviation value.
o GetPResult
-
Returns the created smoothed Pcurve.
- Returns:
- The pointer to the created smoothed Pcurve. If you do not want to keep it, use
the
CATICGMContainer.Remove method.
o GetParameters
public virtual double * GetParameters( | )=0 |
-
Returns the parameters associated to each point .
- Returns:
- The parameters.
o GetResult
-
Returns the created smoothed curve.
- Returns:
- The pointer to the created smoothed curve. If you do not want to keep it, use
the
CATICGMContainer.Remove method.
o Run
public virtual void Run( | )=0 |
-
Runs this operator (ADVANCED mode).
o SetDegree
public virtual void SetDegree( | CATLONG32& | iDegree)=0 |
-
Defines the degree of the resulting curve (ADVANCED mode).
- Parameters:
-
- iDegree
- The degree value.
o SetImposedParametrization
public virtual void SetImposedParametrization( | double* | iParameter)=0 |
-
Defines the parameters corresponding to each point of the initial set of points (ADVANCED mode).
- Parameters:
-
- iParameter
- The array of the parameter values that correspond on the smoothed curve to
each point of the input set.
o SetMaxNumberOfArcs
public virtual void SetMaxNumberOfArcs( | CATLONG32 | iMaxNumber)=0 |
-
Defines the maximum number of arcs of the created curve (ADVANCED mode).
- Parameters:
-
- iMaxNumber
- The maximum number of arcs of the created curve
o SetSoftContinuity
-
Defines the continuity constraints on given points (ADVANCED mode).
- Parameters:
-
- iNbOfRanks
- The number of constrained points.
- iRanks
- The array of the ranks (beginning at 1) of the constrained points.
- iContinuityOrder
- The array of the corresponding continuity constraints.
Legal values:
0 for a C0 continuity, 1 for a C1 continuity,
2 for a C2 continuity.
o SetTwinOption
public virtual void SetTwinOption( | )=0 |
-
Sets the arcs limits at the constrained points (ADVANCED mode).
The constraints points are defined by the SetSoftContinuity method.
o UpdateForm
-
Defines a new set of points to be taken into account (ADVANCED mode).
- Parameters:
-
- iPts
- The pointer to the new set of points.
This object is included in the file: CATLiss.h
If needed, your Imakefile.mk should include the module: CATFreeFormOperators