DataExchangeBaseRepsItf Interface CATIExchangeTorus
Usage: you can freely reimplement this interface.
interface CATIExchangeTorus
Interface to exchange torus.
Role: This interface is dedicated to get torus information.
Available from CATIA V5R10.
Method Index
- o
GetRelimitedGeneratrix(CATIExchangeBSplineCurve_var&)
- Retrieves the relimited generatrix as a BSplineCurve.
- o
GetTorusData(double[3],double[3],double*,double*,CATBaseUnknown_var)
- Retrieves the torus' parameters.
- o
GetTorusInfo(double[3])
- Retrieves the torus' parameters.
- o
IsAppleType()
- Return the type of the torus.
- o
IsAxisDirect(int*)
- Retrieves if the axis is direct.
Methods
o GetRelimitedGeneratrix
public virtual GetRelimitedGeneratrix( | | oCurve) |
-
Retrieves the relimited generatrix as a BSplineCurve.
- Parameters:
-
- oCurve
- Get the relimited generatrix.
o GetTorusData
public virtual GetTorusData( | | oCenterPoint, |
| | oAxisVector, |
| | oMajorRadius, |
| | oMinorRadius, |
| | ioRelimitedOnFace | = NULL_var) |
-
Retrieves the torus' parameters.
- Parameters:
-
- oCenterPoint
- Get the center of the major circle.
- oAxisVector
- Get the unit vector perpendicular to the plane of the major circle.
- oMajorRadius
- Get the radius of the major circle.
- oMinorRadius
- Get the radius of the minor circle.
- ioRelimitedOnFace
- Never use this argument. Let it at its NULL_var default value.
o GetTorusInfo
public virtual GetTorusInfo( | | oRefDirection) |
-
Retrieves the torus' parameters.
- Parameters:
-
- oRefDirection
- Projection of oCenterPoint on the torus along oRefDirection gives a point on the sewing edge.
See ref_direction definition in STEP Part42.
o IsAppleType
public virtual IsAppleType( | ) |
-
Return the type of the torus.
- Returns:
- S_OK : degenerated torus : apple type.
S_FALSE : degenerated torus : lemon type.
E_FAIL : unknown type : (no information from the sending system).
o IsAxisDirect
public virtual IsAxisDirect( | | oIsDirect) |
-
Retrieves if the axis is direct.
- Parameters:
-
- oIsDirect
- = 1 if the axis is direct.
= 0 otherwise.
This object is included in the file: CATIExchangeTorus.h
If needed, your Imakefile.mk should include the module: DataExchangeBaseRepsItf
Copyright © 1999-2014, Dassault Systèmes. All rights reserved.