sketch.segment.next.index

Syntax

inext := sketch.segment.next.index(sgp,i)

Get local index inext of a point within the next segment attached to this node (note: the same node has local index i within the source segment ep). This can be used to iterate through all segments connected to a node with the sketch.segment.next.segment function.

Returns:

inext - point index with 1 \(\le\) i \(\le\) 2

Arguments:

sgp - source segment pointer

i - point index with 1 \(\le\) i \(\le\) 2

See also

geom.segment.next.index