All Frameworks  Class Hierarchy  This Framework  Next  Indexes

FreeFormOperators Class CATConvertCrvToNurbsCrv

Mathematics.CATCGMVirtual
  |
  +---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:


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 Run()
Runs this operator (ADVANCED mode).
o RunWithSameParametrisation()
Runs this operator by keeping the same parameterization for the input and resulting curve (ADVANCED mode).
o SetOutputDimension(CATLONG32&)
Defines the dimension of the output Nurbs (ADVANCED mode).
o ~()

Methods


o ComputeNewParameter
public virtual CATCrvParam ComputeNewParameter( const CATCrvParam& iParamOnCurve)= 0
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 void ForbidPeriodicity()= 0
Avoids to create periodic Nurbs representation.
By default, periodic representations can be created.
o GetNurbsCurve
public virtual CATNurbsCurve * GetNurbsCurve()const=0
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 CATPNurbs * GetPNurbs()const=0
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 void ImposeQuinticConversion()= 0
Sets the Nurbs degree to 5 for input circle or ellipse.
o Run
public virtual void Run()=0
Runs this operator (ADVANCED mode).
o RunWithSameParametrisation
public virtual int RunWithSameParametrisation()=0
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 SetOutputDimension
public virtual void SetOutputDimension( const CATLONG32& iOutputDim)=0
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.
o ~
public virtual ~CATConvertCrvToNurbsCr ~()

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

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