public override T Evaluate(double x, double y, double z) { double xScale = x * ControlX.Evaluate(x, y, z); double yScale = y * ControlY.Evaluate(x, y, z); double zScale = z * ControlZ.Evaluate(x, y, z); return(Source.Evaluate(xScale, yScale, zScale)); }
public override T Evaluate(double x, double y, double z) { double xTranslate = x + ControlX.Evaluate(x, y, z); double yTranslate = y + ControlY.Evaluate(x, y, z); double zTranslate = z + ControlZ.Evaluate(x, y, z); return(Source.Evaluate(xTranslate, yTranslate, zTranslate)); }
public override T Evaluate(double x, double y, double z, double w, double v, double u) { double xScale = x * ControlX.Evaluate(x, y, z, w, v, u); double yScale = y * ControlY.Evaluate(x, y, z, w, v, u); double zScale = z * ControlZ.Evaluate(x, y, z, w, v, u); double wScale = w * ControlW.Evaluate(x, y, z, w, v, u); double vScale = v * ControlZ.Evaluate(x, y, z, w, v, u); double uScale = u * ControlW.Evaluate(x, y, z, w, v, u); return(Source.Evaluate(xScale, yScale, zScale, wScale, vScale, uScale)); }
public override T Evaluate(double x, double y, double z, double w, double v, double u) { double xTranslate = x + ControlX.Evaluate(x, y, z, w, v, u); double yTranslate = y + ControlY.Evaluate(x, y, z, w, v, u); double zTranslate = z + ControlZ.Evaluate(x, y, z, w, v, u); double wTranslate = w + ControlW.Evaluate(x, y, z, w, v, u); double vTranslate = v + ControlZ.Evaluate(x, y, z, w, v, u); double uTranslate = u + ControlW.Evaluate(x, y, z, w, v, u); return(Source.Evaluate(xTranslate, yTranslate, zTranslate, wTranslate, vTranslate, uTranslate)); }