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

geCompressPointArray

geCompressPointArray( 
d_cellview 
l_points 
g_closedList 
)
=> l_pointList / nil 

Description

Searches a point list in a cellview for collinear points and deletes the intermediate collinear points.

Arguments

d_cellview

Database ID of the cellview to search.

l_points

List of points to search.

g_closedList

Either t or nil to specify whether the list is a closed list or not.

Value Returned

l_pointList

A list of coordinates representing the compressed point array.

nil

The intermediate collinear points are not deleted.

Examples

Deletes the vertex at the point 10:0 from the closed list in the cellview returned by geGetEditCellView.

geCompressPointArray( geGetEditCellView( ) list(0:0 10:0 20:0 20:20 0:20 0:0) t )
=> ((0.0 0.0)(20.0 0.0)(20.0 20.0)(0.0 20.0))

Related Topics

Utility Functions


Return to top
 ⠀
X