applyFunction method

  1. @override
void applyFunction(
  1. Vector3 func(
    1. Vector3
    )
)
override

Implementation

@override
void applyFunction(Vector3 Function(Vector3) func) {
  var factor = preFunctionHandleToAnchorScaleFactor;

  scaleHandleToAnchorDistances(factor);

  super.applyOverPoints(func: func, aboutPoint: ORIGIN, aboutEdge: ORIGIN);

  scaleHandleToAnchorDistances(1.0 / factor);

  if (makeSmoothAfterApplyingFunctions) {
    makeSmooth();
  }
}