subdivide method

void subdivide(
  1. double s,
  2. double t
)

Changes this curve in place to be the portion of itself from s, t. @param {number} s The start of the desired portion of the curve. @param {number} t The end of the desired portion of the curve.

Implementation

void subdivide(double s, double t)
{
  subdivideRight(s);
  subdivideLeft((t - s) / (1 - s));
}