sketch.segment.find.linear

Syntax

sgp := sketch.segment.find.linear(sp,i)

Get the segment with index position i. It assumes that All segments are linear and all segments are connected.

Returns:

e - pointer to the segment with index position i. The function returns null if no segment has that position.

Arguments:

sp - sketch set pointer

i - the index position to look for, which must be positive