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

dbCompressPointArray

dbCompressPointArray( 
l_pointArray 
x_isClosed 
[ f_DBUPerUU ] 
) 
=> l_newPointArray 

Description

Compresses collinear points in a list of points.

Arguments

l_pointArray

Point array to be compressed.

x_isClosed

Either t or nil specifying that the figure is closed or not.

f_DBUPerUU

Number of database units in one user unit. The default is 1.0.

Value Returned

l_newPointArray

Compressed point array.

Examples

l1 = list((0:0) (0:1) (0:2) (0:3))
l2 = dbCompressPointArray(l1 nil)
=> ((0:0) (0:3))

Related Topics

Shape Conversion Functions


Return to top
 ⠀
X