public static V3d Eval(double t, V3d p0, V3d p1, V3d p2, V3d p3, double tension, double bias) { var tangents = Tangents(p0, p1, p2, p3, tension, bias); return(CubicHermite.Eval(t, p1, p2, tangents.E0, tangents.E1)); }
public static V3d Eval(double t, V3d p0, V3d p1, V3d p2, V3d p3) { var m0 = (p2 - p0) * 0.5; var m1 = (p3 - p1) * 0.5; return(CubicHermite.Eval(t, p1, p2, m0, m1)); }
public static double Eval(double t, double p0, double p1, double p2, double p3, double tension, double bias) { var tangents = Tangents(p0, p1, p2, p3, tension, bias); return(CubicHermite.Eval(t, p1, p2, tangents.E0, tangents.E1)); }
public static double Eval(double t, double p0, double p1, double p2, double p3) { var m0 = (p2 - p0) * 0.5; var m1 = (p3 - p1) * 0.5; return(CubicHermite.Eval(t, p1, p2, m0, m1)); }