removePoint

fun removePoint(pointIndex: Int): Point

Removes a point from the part. Segments connecting to this point are removed and the gap filled with a new line segment. The points in the part are the start and end points of segments. Removing a point can remove the two adjacent segments. A new line segment reconnects the gap.

Return

the point that was removed

Since

200.1.0

Parameters

pointIndex

Zero-based index of the point.

Throws

if pointIndex is out of range.