sketch.segment.curve

Syntax

i := sketch.segment.curve(sgp)

Get segment curvature state. Possible return values: 1 = the segment is curved; 0 = segment is linear.

Returns:

i - integer

Arguments:

sgp - segment pointer