Product Documentation
Virtuoso Studio Design Environment SKILL Reference
Product Version IC23.1, November 2023

geTransformUserPoint

geTransformUserPoint( 
l_point 
l_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:

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

l_point

Point to be transformed.

l_list

List of the following: displacement vector for the transformation (offset), rotation or reflection for the objects (orientation), and optional magnification.
Valid values for rotation and reflection: R90, R180, R270, MX, MY

Value Returned

l_point

A list of points is returned if the transformation occurs.

nil

No transformation occurs.

Examples

geTransformUserPoint((1.5:2.5) list(0:10 "R90")) 
=> (-2.5 11.5)

Related Topics

Utility Functions

Return to top
 ⠀
X