numberToPoint method

Vector3 numberToPoint(
  1. double x
)

Implementation

Vector3 numberToPoint(double x) {
  var alpha = mapValue(x, xMin, xMax, 0, 1);
  return interpolate(getStart(), getEnd(), alpha);
}