-
- All Implemented Interfaces:
public final class MathExtensions
-
-
Method Summary
Modifier and Type Method Description final static Doubleinterpolate(Double startValue, Double endValue, Double fraction, Interpolator interpolator)得到指定范围的双精度浮点数的插值。 final static Point2Dinterpolate(Point2D startValue, Point2D endValue, Double fraction, Interpolator interpolator)得到指定范围的二维点的插值。 final static Point3Dinterpolate(Point3D startValue, Point3D endValue, Double fraction, Interpolator interpolator)得到指定范围的三维点的插值。 final static Point2Dbezier(Point2D p1, Point2D p2, Point2D p3, Double t)得到指定参数的贝塞尔曲线。 final static Point2Dbezier(Point2D p1, Point2D p2, Point2D p3, Point2D p4, Double t)得到指定参数的贝塞尔曲线。 -
-
Method Detail
-
interpolate
final static Double interpolate(Double startValue, Double endValue, Double fraction, Interpolator interpolator)
得到指定范围的双精度浮点数的插值。
-
interpolate
final static Point2D interpolate(Point2D startValue, Point2D endValue, Double fraction, Interpolator interpolator)
得到指定范围的二维点的插值。
-
interpolate
final static Point3D interpolate(Point3D startValue, Point3D endValue, Double fraction, Interpolator interpolator)
得到指定范围的三维点的插值。
-
-
-
-