public interface WCS extends Remote
BasePart
Modifier and Type | Interface and Description |
---|---|
static class |
WCS.Axis
Specifies the X, Y, or Z axis
|
Modifier and Type | Method and Description |
---|---|
CartesianCoordinateSystem |
coordinateSystem()
Returns the CartesianCoordinateSystem associated with the WCS
License requirements: None. |
Point3d |
origin()
Returns the origin of the WCS
License requirements: None. |
void |
rotate(WCS.Axis rotationAxis,
double angle)
Rotates the WCS about the specified axis.
|
CartesianCoordinateSystem |
save()
Saves the WCS.
|
CartesianCoordinateSystem |
setCoordinateSystem(CartesianCoordinateSystem newCs)
Changes the coordinate system of the WCS to a new
coordinate system.
|
CartesianCoordinateSystem |
setCoordinateSystemCartesianAtCsys(CartesianCoordinateSystem newCs)
Creates a WCS at a new coordinate system.
|
void |
setOrigin(Point3d origin)
License requirements: None. |
void |
setOriginAndMatrix(Point3d origin,
Matrix3x3 matrix)
Sets the origin and orientation matrix of the WCS
License requirements: None. |
void |
setVisibility(boolean isVisible)
License requirements: None. |
boolean |
visibility()
Returns the visibility of the WCS
License requirements: None. |
void setOrigin(Point3d origin) throws NXException, RemoteException
origin
- NXException
RemoteException
Point3d origin() throws NXException, RemoteException
NXException
RemoteException
CartesianCoordinateSystem save() throws NXException, RemoteException
NXException
RemoteException
CartesianCoordinateSystem coordinateSystem() throws NXException, RemoteException
NXException
RemoteException
void setOriginAndMatrix(Point3d origin, Matrix3x3 matrix) throws NXException, RemoteException
origin
- Origin relative to the absolute coordinate systemmatrix
- Orientation relative to the absolute coordinate system.
Must be orthonormal.NXException
RemoteException
void rotate(WCS.Axis rotationAxis, double angle) throws NXException, RemoteException
rotationAxis
- Which WCS axis to rotate about (X, Y, or Z)angle
- Angle of rotation in degreesNXException
RemoteException
boolean visibility() throws NXException, RemoteException
NXException
RemoteException
void setVisibility(boolean isVisible) throws NXException, RemoteException
isVisible
- NXException
RemoteException
CartesianCoordinateSystem setCoordinateSystem(CartesianCoordinateSystem newCs) throws NXException, RemoteException
newCs
- The new coordinate system for the WCSNXException
RemoteException
CartesianCoordinateSystem setCoordinateSystemCartesianAtCsys(CartesianCoordinateSystem newCs) throws NXException, RemoteException
newCs
- New coordinate system location for the WCSNXException
RemoteException
Copyright 2011 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.