Function Line2D.addPoint
Adds a point at the position
. Appends the point at the end of the line.
If at_position
is given, the point is inserted before the point number at_position
, moving that point (and every point after) after the inserted point. If at_position
is not given, or is an illegal value (at_position < 0
or at_position >= class="pln">D getPointCount
), the point will be appended at the end of the point list.