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

geIsPathReentrant

geIsPathReentrant( 
d_cellview 
l_points 
n_width 
[ t_style ] 
[ n_beginExt ] 
[ n_endExt ] 
)
=> t / nil 

Description

Determines whether a path is self-intersecting.

In a self-intersecting path, one part of the path overlaps another part of the path. The system calculates the outline of the path using the other arguments.

Arguments

d_cellview

Database ID of the cellview containing the path to check.

l_points

List of points making up the path.

n_width

Width of the path.

t_style

String defining an optional path style. If no style is given, the default is truncateExtend.
Valid Values: truncateExtend, extendExtend, roundRound, varExtendExtend

n_beginExt

Beginning path extension.
Default: 0.0

n_endExt

Ending path extension.
Default: 0.0

Value Returned

t

The path is self-intersecting.

nil

The path is not self-intersecting.

Examples

The following example returns t.

geIsPathReentrant( geGetEditCellView( ) list( 0:0 10:10 0:10 10:0 ) 3.0 "truncateExtend" 1.0 0 )

The following example returns nil.

geIsPathReentrant( geGetEditCellView( ) list( 0:0 10:10 0:10 3.0 )

Related Topics

Utility Functions


Return to top
 ⠀
X