trans


(trans point fromCS toCS [ asVector ] )

This function transforms the specified point (or vector) from source fromCS CoordinateSystem  to a target toCS CoordinateSystem.

Arguments

point  (2D/3D point list)
fromCS  (integer | ename | vector) defines the source CoordinateSystem;
integer : 0 = WCS, 1 = UCS,  2 = DCS (display CS),  3 = PaperSpace DCS
ename : uses the entity CS (OCS)
vector (as 3d point list) : defines the plane normal vector of the CS
toCS  (integer | ename | vector) defines the target CoordinateSystem (same logic as for fromCS)
asVector  (NIL/non-NIL, optional) if provided and not NIL, the point argument is interpreted as a "vector" (displacement)

Return

3D point list

Example


Remarks




©  Bricsys NV. All rights reserved.