Tutorial Toolkit Function Descriptions > Geometry > Transform
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX''">XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX''">   
Transform
  
transform_pts
( cid, cidtyp, npts, points )
Description:
This function will transform points defined in the global coordinate system to the specified local coordinate system.
Input:
INTEGER
cid
This value specifies the local coordinate system id.
INTEGER
npts
This value specifies the number of points to be transformed.
REAL
points(3,npts)
This value specifies the coordinates of the points to be transformed. This value is used as both an input and an output to this function and the values passed into the function will be changed.
Output:
INTEGER
cidtyp
This value returns the type of the local coordinate system.
REAL
points (3,npts)
This value returns the coordinates of the points transformed into the local coordinate system. This value is used as both an input and an output to this function. The original input values for this array will be lost.
INTEGER
<Return Value>
This function returns a value of 0 when executed successfully and a non zero value to indicate a change in status or an error.
Example:
Please see transform_pts (p. 678) in the MSC Acumen Toolkit - Code Example.