geTransformUserPoint
geTransformUserPoint(l_pointl_list) =>l_point/ nil
Description
Transforms a coordinate pair by the displacement and rotation passed in.
For each coordinate pair defined by the first argument, the corresponding coordinate pair in the result is derived by:
- Rotating or reflecting the coordinate pair about the point (0,0).
- Translating the result of the reorientation by the displacement vector.
geTransformUserPoint performs calculations and is not related to any database object. It can be used in calculating, for example, where a certain shape, such as a pin on the master, within an instance of a cell ends up, given the location and orientation of the cell.
Arguments
Value Returned
Examples
geTransformUserPoint((1.5:2.5) list(0:10 "R90"))
=> (-2.5 11.5)
Related Topics
Utility Functions
Return to top