Function getControlPoints

  • Get the four control points for a spline segment

    Returns

    array of control points

    Parameters

    • idx: number

      segment index

    • points: Vector[]

      all input control points

    • closed: boolean

      whether the curve should be closed or open

    Returns Vector[]

Generated using TypeDoc