All Frameworks  Class Hierarchy  This Framework  Indexes   

GMOperatorsInterfaces Class CATConvertCrvToNurbsCrv

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


public class CATConvertCrvToNurbsCrv


Deprecated:
V5R10 CATCrvFittingToNurbsCrv Class defining a geometric operator that computes the NURBS representation of a CATCurve.
The following conversions are available: The CATConvertCrvToNurbsCrv operator follows the global frame of the geometric operators:


Constructor and Destructor Index


o ~CATConvertCrvToNurbsCrv()

Method Index


o ComputeNewParameter(CATCrvParam&)
Maps a parameter on the initial curve to the corresponding parameter on the computed Nurbs representation.
o ForbidPeriodicity()
Avoids to create periodic Nurbs representation.
o GetNurbsCurve()
Returns the corresponding CATNurbsCurve, if the output dimension is 3.
o GetPNurbs()
Returns the corresponding CATPNurbs, if the output dimension is 2.
o ImposeQuinticConversion()
Sets the Nurbs degree to 5 for input circle or ellipse.
o RunWithSameParametrisation()
Runs this operator by keeping the same parameterization for the input and resulting curve (ADVANCED mode).
o Run()
Runs this operator (ADVANCED mode).
o SetOutputDimension(CATLONG32&)
Defines the dimension of the output Nurbs (ADVANCED mode).

Constructor and Destructor


o ~CATConvertCrvToNurbsCrv
public virtual ~CATConvertCrvToNurbsCrv()

Methods


o ComputeNewParameter
public virtual ComputeNewParameter( const iParamOnCurve)
Maps a parameter on the initial curve to the corresponding parameter on the computed Nurbs representation.
Parameters:
iParamOnCurve
The parameter on the initial curve.
Returns:
The parameter on the computed Nurbs representation.
o ForbidPeriodicity
public virtual ForbidPeriodicity()
Avoids to create periodic Nurbs representation.
By default, periodic representations can be created.
o GetNurbsCurve
public virtual GetNurbsCurve()
Returns the corresponding CATNurbsCurve, if the output dimension is 3.
Returns:
The pointer to the created CATNurbsCurve. Use the CATICGMContainer.Remove if you do not want to keep it in the geometric factory.
o GetPNurbs
public virtual GetPNurbs()
Returns the corresponding CATPNurbs, if the output dimension is 2.
Returns:
The pointer to the created CATPNurbs. Use the CATICGMContainer.Remove if you do not want to keep it in the geometric factory.
o ImposeQuinticConversion
public virtual ImposeQuinticConversion()
Sets the Nurbs degree to 5 for input circle or ellipse.
o RunWithSameParametrisation
public virtual RunWithSameParametrisation()
Runs this operator by keeping the same parameterization for the input and resulting curve (ADVANCED mode).
Returns:
0 if the the parameterization is not kept, 1 if it is kept.
o Run
public virtual Run()
Runs this operator (ADVANCED mode).
o SetOutputDimension
public virtual SetOutputDimension( const iOutputDim)
Defines the dimension of the output Nurbs (ADVANCED mode).
Parameters:
iOutputDim
The dimension of the output Nurbs. By default (BASIC mode), the output dimension is 3.
Legal values:
2
The result is a CATPNurbs. In this case, use the GetPNurbs method to retrieve it.
3
The result is a CATNurbsCurve. In this case, use the GetNurbsCurve method to retrieve it.

This object is included in the file: CATConvertCrvToNurbsCrv.h
If needed, your Imakefile.mk should include the module: CATGMOperatorsInterfaces

Copyright © 2003, Dassault Systèmes. All rights reserved.