GMOperatorsInterfaces CATICGMLiss

Usage: you must use this class as is. You should never derive it.


public class CATICGMLiss

Class defining a geometric operator that smoothes a set of points to create a curve.

The CATICGMLiss operator follows the global frame of the geometric operators:


Constructor and Destructor Index


o CATICGMLiss()
Constructor

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 CATICGMLiss
public CATICGMLiss()
Constructor

Methods


o GetMaxDeviation
public virtual GetMaxDeviation()
Returns the maximum deviation between a point and the smoothed curve.
Returns:
The maximum deviation value.
o GetPResult
public virtual GetPResult()
Returns the created smoothed Pcurve.
Returns:
The pointer to the created smoothed Pcurve. If you do not want to keep it, use the method.
o GetParameters
public virtual GetParameters()
Returns the parameters associated to each point .
Returns:
The parameters.
o GetResult
public virtual GetResult()
Returns the created smoothed curve.
Returns:
The pointer to the created smoothed curve. If you do not want to keep it, use the method.
o Run
public virtual Run()
Runs this operator (ADVANCED mode).
o SetDegree
public virtual SetDegree( iDegree)
Defines the degree of the resulting curve (ADVANCED mode).
Parameters:
iDegree
The degree value.
o SetImposedParametrization
public virtual SetImposedParametrization( iParameter)
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 SetMaxNumberOfArcs( iMaxNumber)
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
public virtual SetSoftContinuity( iNbOfRanks,
iRanks,
iContinuityOrder)
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 SetTwinOption()
Sets the arcs limits at the constrained points (ADVANCED mode).
The constraints points are defined by the SetSoftContinuity method.
o UpdateForm
public virtual UpdateForm( iPts)
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: CATICGMLiss.h
If needed, your Imakefile.mk should include the module: CATGMOperatorsInterfaces

Copyright © 1999-2015, Dassault Systèmes. All rights reserved.