Function Curve2D.getPointPosition

Returns the position of the vertex idx. If the index is out of bounds, the function sends an error to the console, and returns (0, 0).

Vector2 getPointPosition (
  const(long) idx
) nothrow @nogc const;