GMOperatorsInterfaces CATICGMInterproxCrv
Usage: you must use this class as is. You should never derive it.
public class CATICGMInterproxCrv
Class representing the geometric operator that deforms curves on a set of points.
Several parameters define this operator:
- The tension parameter strengthens the shape: a higher tension gives a flatter shape.
- The curvature (or smoothness) parameter regularizes the curvature along the curve:
a higher curvature coefficient gives a smoother curve.
This operator projects the set of points on the curves and use a least squares method to deform the curves.
To use it in BASIC mode:
- Create it with the CATCGMCreateInterproxCrv global method. The run is automatically done and the
input curves are directly deformed.
- Release the operator with the Release method after use after use.
To use it in ADVANCED mode:
- Create it with the CATCGMCreateInterproxCrv global method.
- Change the smoothness or tension parameters with the SetXxx methods.
- Run it. This step directly deforms the input curves, it is the reason why there is no GetResult
method. You can Run again the operator with different parameters,
allowing you to iterate on the deformation.
- Release the operator with the Release method after use.
Constructor and Destructor Index
- o
CATICGMInterproxCrv()
- Constructor
Method Index
- o
Run()
- Runs this operator (ADVANCED mode).
- o
SetCurvatureParameter(double)
- Defines the smoothness parameter (ADVANCED mode).
- o
SetTensionParameter(double)
- Defines the tension parameter (ADVANCED mode).
Constructor and Destructor
o CATICGMInterproxCrv
public CATICGMInterproxCrv( | ) |
-
Constructor
Methods
o Run
-
Runs this operator (ADVANCED mode).
The input curves are directly modified
o SetCurvatureParameter
public virtual SetCurvatureParameter( | const | iSmoothness) |
-
Defines the smoothness parameter (ADVANCED mode).
- Parameters:
-
- iSmoothness
- The new value of the smoothness parameter.
o SetTensionParameter
public virtual SetTensionParameter( | const | iTension) |
-
Defines the tension parameter (ADVANCED mode).
- Parameters:
-
- iTension
- The new value of the tension parameter.
This object is included in the file: CATICGMInterproxCrv.h
If needed, your Imakefile.mk should include the module: CATGMOperatorsInterfaces
Copyright © 1999-2015, Dassault Systèmes. All rights reserved.