sketch.segment.center

Syntax

v := sketch.segment.center(sgp)

Get the position (3D vector) of a segment midpoint.

Returns:

v - segment midpoint

Arguments:

sgp - segment pointer