NX Open C++ Reference Guide
Public Types | Public Member Functions
NXOpen::Direction Class Reference

Represents a direction. More...

Inheritance diagram for NXOpen::Direction:
NXOpen::SmartObject NXOpen::IReferenceAxis NXOpen::ILocation NXOpen::DisplayableObject NXOpen::INXObject NXOpen::INXObject NXOpen::NXObject NXOpen::IFitTo NXOpen::TaggedObject NXOpen::INXObject NXOpen::INXObject

List of all members.

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.

Detailed Description

Represents a direction.


To create a new instance of this class, use DirectionCollection::CreateDirection

Created in NX3.0.0.


Member Enumeration Documentation

Specifies the direction in relation to a curve.

Enumerator:
OnCurveOptionTangent 

Creates direction tangent to curve.

OnCurveOptionNormal 

Creates direction normal to curve.

OnCurveOptionBinormal 

Creates direction binormal to curve (B = T x N).

Specifies the direction in relation to a face.

Enumerator:
OnFaceOptionIsoU 

Creates direction in U parameter direction on face.

OnFaceOptionIsoV 

Creates direction in V parameter direction on face.

OnFaceOptionNormal 

Creates direction normal to face.

OnFaceOptionSection 

Creates direction in a sectional direction to face.


Member Function Documentation

Returns the origin of the direction.


Created in NX3.0.0.

License requirements : None

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:

Created in NX3.0.0.

License requirements : solid_modeling ("SOLIDS MODELING") OR drafting ("DRAFTING")

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

Sets the origin of the direction.


Created in NX3.0.0.

License requirements : solid_modeling ("SOLIDS MODELING")

Parameters:
originorigin

Sets the unit vector of the direction.


Created in NX3.0.0.

License requirements : solid_modeling ("SOLIDS MODELING")

Parameters:
vectorvector

Returns the unit vector of the direction.


Created in NX3.0.0.

License requirements : None


The documentation for this class was generated from the following file:
Copyright 2011 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.