stretch method

void stretch(
  1. double scaleFactor,
  2. int dim, {
  3. Vector3? aboutPoint,
  4. Vector3 aboutEdge = ORIGIN,
})

Implementation

void stretch(double scaleFactor, int dim,
    {Vector3? aboutPoint, Vector3 aboutEdge = ORIGIN}) {
  return applyOverPoints(
      func: (pt) => pt.withComponent(dim, pt.getComponent(dim) * scaleFactor),
      aboutPoint: aboutPoint,
      aboutEdge: aboutEdge);
}