Product Documentation
Virtuoso Parameterized Cell SKILL Reference
Product Version IC23.1, August 2023

pcFilterPoints

pcFilterPoints(
l_pointList
) 
=> l_pointList / nil

Description

Determines whether the specified list of coordinates represents a manhattan shape.

Arguments

l_pointList

List of coordinates in one of the following formats:

list( '( x1 y1 ) '( x2 y2 ) ... '( xn yn ) )
'( x1:y1 x2:y2 ... xn:yn )

Value Returned

t

Returns the list of coordinates when it represents a manhattan shape.

nil

Returned if the list of coordinates does not represent a manhattan shape or the function did not complete successfully.

Examples

pcFilterPoints( list( '( 0 0 ) '( 0 5 ) '( 5 5 ) '( 5 1 ) '( 7 1 ) '( 7 0 ) )
    => ((0 0) (0 5) (5 5) (5 1) (7 1) (7 0))

The list of coordinates does represent a manhattan shape.


Return to top
 ⠀
X