GMOperatorsInterfaces CATICGMTopSurToNurbsSurOperator

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


public class CATICGMTopSurToNurbsSurOperator

Class defining a topological operator that converts the geometry of a surface to a NURBS surface.
This operator follows the general scheme of the topological operators:


Constructor and Destructor Index


o CATICGMTopSurToNurbsSurOperator()
Constructor

Method Index


o IsExactTransformation(CATLONG32&)
Retrieves whether the created surface has been approximated.
o SetMaxArcsU(CATLONG32)
Defines the maximum number of arcs allowed in U direction for the NURBS surface.
o SetMaxArcsV(CATLONG32)
Defines the maximum number of arcs allowed in V direction for the NURBS surface.
o SetMaxDegreeU(CATLONG32)
Defines the maximum degree allowed in U direction for the NURBS surface.
o SetMaxDegreeV(CATLONG32)
Defines the maximum degree allowed in V direction for the NURBS surface.
o SetRationalAbility(CATLONG32)
Defines whether the resulting surface is rational.
o SetTolerance(double)
Defines the fitting tolerance.

Constructor and Destructor


o CATICGMTopSurToNurbsSurOperator
public CATICGMTopSurToNurbsSurOperator()
Constructor

Methods


o IsExactTransformation
public virtual IsExactTransformation( oIsExact)
Retrieves whether the created surface has been approximated.
To be called after the Run method.
Parameters:
ioIsExact
0 if there is an approximation, not null otherwise.
Returns:
Not null in case of error.
o SetMaxArcsU
public virtual SetMaxArcsU( iMaxArcsU)
Defines the maximum number of arcs allowed in U direction for the NURBS surface.
Parameters:
iMaxArcsU
The maximum number of arcs. If both methods SetMaxDegreeU and SetMaxArcsU are used, the priority is given to the maximum degree. Default value is 3.
Returns:
Not null in case of error.
o SetMaxArcsV
public virtual SetMaxArcsV( iMaxArcsV)
Defines the maximum number of arcs allowed in V direction for the NURBS surface.
Parameters:
iMaxArcsV
The maximum number of arcs. If both methods SetMaxDegreeV and SetMaxArcsV are used, the priority is given to the maximum degree. Default value is 3.
Returns:
Not null in case of error.
o SetMaxDegreeU
public virtual SetMaxDegreeU( iMaxDegreeU)
Defines the maximum degree allowed in U direction for the NURBS surface.
Parameters:
iMaxDegreeU
The maximum degree value. If both methods SetMaxDegreeU and SetMaxArcsU are used, the priority is given to the maximum degree. Default value is 5.
Returns:
Not null in case of error.
o SetMaxDegreeV
public virtual SetMaxDegreeV( iMaxDegreeV)
Defines the maximum degree allowed in V direction for the NURBS surface.
Parameters:
iMaxDegreeV
The maximum degree value. If both methods SetMaxDegreeV and SetMaxArcsV are used, the priority is given to the maximum degree. Default value is 5.
Returns:
Not null in case of error.
o SetRationalAbility
public virtual SetRationalAbility( iRationalAbility)
Defines whether the resulting surface is rational.
Parameters:
iRationalAbility

Legal values:0 to convert the surface to a non rational surface, 1 to convert the surface to a rational surface. Some canonic surfaces are transformed into rational CATNurbsSurface but setting iRationalAbility = 0 forces the conversion to a non rational surface. The default mode is the conversion into rational (equivalent to iRationalAbility = 1).
Returns:
Not null in case of error.
o SetTolerance
public virtual SetTolerance( iTolerance)
Defines the fitting tolerance.
Parameters:
iTolerance
The tolerance value. By default, set to the factory resolution.
Returns:
Not null in case of error.

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

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