Function Curve2D.addPoint

Adds a point to a curve at position, with control points in and out. 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.

void addPoint (
  const(Vector2) position,
  const(Vector2) _in = Vector2(0.00000F, , 0.00000F, , ).this(0.00000F, 0.00000F),
  const(Vector2) _out = Vector2(0.00000F, , 0.00000F, , ).this(0.00000F, 0.00000F),
  const(long) at_position = -1L
) nothrow @nogc;