All Frameworks  Class Hierarchy  This Framework  Previous  Indexes

BasicTopologicalOpe Class CATTopSurToNurbsSurOperator

Mathematics.CATCGMVirtual
  |
  +---GeometricObjects.CATCGMOperator
    |
    +---NewTopologicalObjects.CATTopOperator
      |
      +---CATTopSurToNurbsSurOperator
 

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


public class CATTopSurToNurbsSurOperator

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 ~CATTopSurToNurbsSurOperator()

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 ~CATTopSurToNurbsSurOperator
public virtual ~CATTopSurToNurbsSurOperator()

Methods


o IsExactTransformation
public virtual CATLONG32 IsExactTransformation(CATLONG32& oIsExact)=0
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 CATLONG32 SetMaxArcsU(CATLONG32 iMaxArcsU)=0
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 CATLONG32 SetMaxArcsV(CATLONG32 iMaxArcsV)=0
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 CATLONG32 SetMaxDegreeU(CATLONG32 iMaxDegreeU)=0
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 CATLONG32 SetMaxDegreeV(CATLONG32 iMaxDegreeV)=0
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 CATLONG32 SetRationalAbility(CATLONG32 iRationalAbility)=0
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 CATLONG32 SetTolerance(double iTolerance)=0
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: CATTopSurToNurbsSurOperator.h
If needed, your Imakefile.mk should include the module: CATBasicTopologicalOpe

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