CATPartUseItf Interface CATIPdgUsePrtAxis1
Usage: an implementation of this interface is supplied and you must use it as is. You should not reimplement it.
interface CATIPdgUsePrtAxis1
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(CATMathVector&)
- Sets an absolute direction as specification.
- o
SetDirection(CATBaseUnknown_var&)
- Sets a reference element as direction specification.
Methods
o GetDirReference
public virtual GetDirReference( | ) |
-
Returns the reference element which specifies the direction.
- Returns:
- The reference element.
o GetDirection
public virtual GetDirection( | ) |
-
Returns the mathematical direction.
- Returns:
- The direction vector.
o IsReversed
public virtual IsReversed( | ) |
-
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 ReverseDirection( | ) |
-
Reverses the specified direction.
o SetDirection
public virtual SetDirection( | const | iDirection) |
-
Sets an absolute direction as specification.
- Parameters:
-
- iDirection
- The direction vector.
o SetDirection
public virtual SetDirection( | const | ihDirection_input) |
-
Sets a reference element as direction specification.
- Parameters:
-
- ihDirection
- The reference element.
This object is included in the file: CATIPdgUsePrtAxis1.h
If needed, your Imakefile.mk should include the module: CATPartUseItf
Copyright © 1999-2014, Dassault Systèmes. All rights reserved.