pcGrowPoints
pcGrowPoints(l_pointList xf_margin) =>l_incrementedPointList/nil
Description
Increase or decrease the size of a manhattan polygon by the specified margin. The system adds xf_margin to each coordinate in the list and returns a list of the coordinates of the resulting polygon.
Arguments
Value Returned
|
List of coordinates defining the incremented manhattan polygon, in either of the following formats:
' |
|
Examples
origPoints = '( 4.0:1.0 5.0:1.0 5.0:2.5 6.5:2.5 6.5:-0.5 4.0:-0.5 )
pcGrowPoints( origPoints 10 ) =>((-6.0 11.0) (-5.0 11.0) (-5.0 12.5) (16.5 12.5) (16.5 -10.5) (-6.0 -10.5) )
Increments each point of the original manhattan polygon by 10 and returns a list of the points of the incremented polygon.
Return to top