getPointAt method

Vector? getPointAt(
  1. double u, [
  2. Vector? optionalTarget
])

u - A position on the curve according to the arc length. Must be in the range 0, 1 .

optionalTarget — (optional) If specified, the result will be copied into this Vector, otherwise a new Vector will be created.

Returns a vector for a given position on the curve according to the arc length.

Implementation

Vector? getPointAt(double u, [Vector? optionalTarget]) {
  final t = getUtoTmapping(u);
  return getPoint(t, optionalTarget);
}