All Frameworks Class Hierarchy This Framework Previous Next Indexes
PartInterfaces Interface CATIPrtAxis1
CATIPrtAxis1
Usage: an implementation of this interface is supplied and you must use it as is. You should not reimplement it.
interface CATIPrtAxis1
Interface which provides a direction management behaviour to an axis feature.
Role: Some features contain an axis component which allows users to specify
and use a direction. This internal feature is managed through this interface.
Method Index
- o
GetDirReference()
- Returns the reference element which specifies the direction.
- o
GetDirection()
- Returns the mathematical direction.
- o
IsReversed()
- Tests whether the direction is opposite to the reference one or not.
- o
ReverseDirection()
- Reverses the specified direction.
- o
SetDirection(CATISpecObject_var&)
- Sets a reference element as direction specification.
- o
SetDirection(CATMathVector&)
- Sets an absolute direction as specification.
Methods
o GetDirReference
-
Returns the reference element which specifies the direction.
- Returns:
- The reference element.
o GetDirection
-
Returns the mathematical direction.
- Returns:
- The direction vector.
o IsReversed
public virtual int IsReversed( | )= 0 |
-
Tests whether the direction is opposite to the reference one or not.
- Returns:
- 0 if the direction is the same,
1 if the direction has been reversed.
o ReverseDirection
public virtual void ReverseDirection( | )= 0 |
-
Reverses the specified direction.
o SetDirection
public virtual void SetDirection( | const CATISpecObject_var& | ihDirection) = 0 |
-
Sets a reference element as direction specification.
- Parameters:
-
- ihDirection
- The reference element.
o SetDirection
public virtual void SetDirection( | const CATMathVector& | iDirection) = 0 |
-
Sets an absolute direction as specification.
- Parameters:
-
- iDirection
- The direction vector.
This object is included in the file: CATIPrtAxis1.h
If needed, your Imakefile.mk should include the module: CATPartInterfaces