示例#1
0
        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));
        }
示例#2
0
        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));
        }
示例#3
0
        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));
        }
示例#4
0
        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));
        }