NX Open C++ Reference Guide
|
Represents a direction. More...
Public Types | |
enum | OnCurveOption { OnCurveOptionTangent, OnCurveOptionNormal, OnCurveOptionBinormal } |
Specifies the direction in relation to a curve. More... | |
enum | OnFaceOption { OnFaceOptionIsoU, OnFaceOptionIsoV, OnFaceOptionNormal, OnFaceOptionSection } |
Specifies the direction in relation to a face. More... | |
Public Member Functions | |
NXOpen::Point3d | Origin () |
Returns the origin of the direction. | |
bool | ReverseDirection () |
Reverses the sense of a direction. | |
NXOpen::Sense | Sense () |
Returns the sense of the direction. | |
void | SetOrigin (const NXOpen::Point3d &origin) |
Sets the origin of the direction. | |
void | SetVector (const NXOpen::Vector3d &vector) |
Sets the unit vector of the direction. | |
NXOpen::Vector3d | Vector () |
Returns the unit vector of the direction. |
Represents a direction.
To create a new instance of this class, use DirectionCollection::CreateDirection
Created in NX3.0.0.
Specifies the direction in relation to a face.
Returns the origin of the direction.
Created in NX3.0.0.
License requirements : None
bool NXOpen::Direction::ReverseDirection | ( | ) |
Reverses the sense of a direction.
If a direction was created using DirectionCollection::CreateDirection for an extract type, then the sense cannot be reversed. The method returns true if the direction is reversed and false otherwise.
Returns the sense of the direction.
If a direction was created using DirectionCollection::CreateDirection for an extract type, then the sense cannot be reversed. In this case, the method returns NXOpen::SenseForward .
Created in NX3.0.0.
License requirements : None
void NXOpen::Direction::SetOrigin | ( | const NXOpen::Point3d & | origin | ) |
Sets the origin of the direction.
Created in NX3.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
origin | origin |
void NXOpen::Direction::SetVector | ( | const NXOpen::Vector3d & | vector | ) |
Sets the unit vector of the direction.
Created in NX3.0.0.
License requirements : solid_modeling ("SOLIDS MODELING")
vector | vector |
Returns the unit vector of the direction.
Created in NX3.0.0.
License requirements : None