db_transform_points()

Transforms the given point list using the current instance transformation, set with db_setup_transform(). Returns a handle to the transformed point list.

Syntax:

db_transform_points(pointListHandle);

where

pointListHandle is the handle to a point list, as returned from db_segment_to_points().

Example:
decl trans, instH, points, segH, coord, x, y;
trans = db_get_instance_attribute(instH, INST_TRANSFORM);
db_setup_transform(trans);
points = db_segment_to_points(segH);
points = db_transform_points(points);
while(points)
{
   x = db_get_x(coord);
   y = db_get_y(coord);
   points = db_next_point(points);
}
Where Used:

Schematic, Layout

 

Privacy Statement  | Terms of Use  | Legal | Contact Us  | © Agilent 2000-2008 

Contents
Additional Resources