NX Open C++ Reference Guide
|
Represents the World Coordinate System. More...
Public Types | |
enum | Axis { AxisXAxis = 1, AxisYAxis, AxisZAxis } |
Specifies the X, Y, or Z axis. More... | |
Public Member Functions | |
NXOpen::CartesianCoordinateSystem * | CoordinateSystem () |
Returns the CartesianCoordinateSystem associated with the WCS Created in NX3.0.0. | |
NXOpen::Point3d | Origin () |
Returns the origin of the WCS Created in NX3.0.0. | |
void | Rotate (NXOpen::WCS::Axis rotationAxis, double angle) |
Rotates the WCS about the specified axis. | |
NXOpen::CartesianCoordinateSystem * | Save () |
Saves the WCS. | |
NXOpen::CartesianCoordinateSystem * | SetCoordinateSystem (NXOpen::CartesianCoordinateSystem *newCs) |
Changes the coordinate system of the WCS to a new coordinate system. | |
NXOpen::CartesianCoordinateSystem * | SetCoordinateSystemCartesianAtCsys (NXOpen::CartesianCoordinateSystem *newCs) |
Creates a WCS at a new coordinate system. | |
void | SetOrigin (const NXOpen::Point3d &origin) |
Sets the origin of the WCS Created in NX3.0.0. | |
void | SetOriginAndMatrix (const NXOpen::Point3d &origin, const NXOpen::Matrix3x3 &matrix) |
Sets the origin and orientation matrix of the WCS. | |
void | SetVisibility (bool isVisible) |
Sets the visibility of the WCS Created in NX3.0.0. | |
tag_t | Tag () const |
Returns the tag of this object. | |
bool | Visibility () |
Returns the visibility of the WCS Created in NX3.0.0. | |
Represents the World Coordinate System.
The origin coordinates and orientation matrix are always relative to the absolute coordinate system.
In order to use any of the WCS methods, the display part must be the part that owns the WCS.
To obtain an instance of this class, refer to BasePart
Created in NX3.0.0.
enum NXOpen::WCS::Axis |
NXOpen::CartesianCoordinateSystem* NXOpen::WCS::CoordinateSystem | ( | ) |
Returns the CartesianCoordinateSystem associated with the WCS
Created in NX3.0.0.
License requirements : None
NXOpen::Point3d NXOpen::WCS::Origin | ( | ) |
Returns the origin of the WCS
Created in NX3.0.0.
License requirements : None
void NXOpen::WCS::Rotate | ( | NXOpen::WCS::Axis | rotationAxis, |
double | angle | ||
) |
NXOpen::CartesianCoordinateSystem* NXOpen::WCS::Save | ( | ) |
NXOpen::CartesianCoordinateSystem* NXOpen::WCS::SetCoordinateSystem | ( | NXOpen::CartesianCoordinateSystem * | newCs | ) |
NXOpen::CartesianCoordinateSystem* NXOpen::WCS::SetCoordinateSystemCartesianAtCsys | ( | NXOpen::CartesianCoordinateSystem * | newCs | ) |
void NXOpen::WCS::SetOrigin | ( | const NXOpen::Point3d & | origin | ) |
void NXOpen::WCS::SetOriginAndMatrix | ( | const NXOpen::Point3d & | origin, |
const NXOpen::Matrix3x3 & | matrix | ||
) |
Sets the origin and orientation matrix of the WCS.
Created in NX3.0.0.
License requirements : None
origin | Origin relative to the absolute coordinate system |
matrix | Orientation relative to the absolute coordinate system. Must be orthonormal. |
void NXOpen::WCS::SetVisibility | ( | bool | isVisible | ) |
Sets the visibility of the WCS
Created in NX3.0.0.
License requirements : None
isVisible | is visible |
tag_t NXOpen::WCS::Tag | ( | ) | const |
Returns the tag of this object.
bool NXOpen::WCS::Visibility | ( | ) |
Returns the visibility of the WCS
Created in NX3.0.0.
License requirements : None