sketch.segment.node.start.index

Syntax

i := sketch.segment.node.start.index(p)

Get local index i of point n within the first edge attached to the point. This can be used to iterate through all edges attached to a node with the sketch.segment.node.start.edge, sketch.edge.next.edge and sketch.edge.next.index functions.

Returns:

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

Arguments:

p - node pointer