pcGetOffsetPath
pcGetOffsetPath(d_cvId l_vertex_points n_offset) =>l_vertex_points/nil
Description
Applies the offset to each vertex of the path to create a list of vertices for a longer or shorter version of the path. Returns a list of points for the vertices of the offset version of the path. This function does not change the original path and does not create the offset version of the path
Arguments
|
A list of lists identifying a path in the cellview, where each sublist specifies the coordinates for one vertex. Use the following format: |
|
Value Returned
|
A list of lists specifying the vertices of the offset version of the path, in the following format: |
|
Examples
pcGetOffsetPath( cv list( '(6.0 6.0) '(10.0 6.0) '(10.0 16.0) '(20.0 16.0) ) 2.0 )
Creates and returns the following list of points, which are offset from the specified path by 2.0:
((6.0 8.0)
(8.0 8.0)
(8.0 18.0)
(20.0 18.0)
)
Return to top