sketch.segment.next.segment

Syntax

spnext := sketch.segment.next.segment(sp,i)

Get the next segment connected to the point with local index i within the source segment ep. This can be used to iterate through all segments connected to a point using the sketch.segment.next.index function.

Returns:

spnext - next segment pointer

Arguments:

sp - source segment pointer

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

See also

geom.segment.next.segment