public class CubicBezierApproximator
extends java.lang.Object
Constructor and Description |
---|
CubicBezierApproximator() |
Modifier and Type | Method and Description |
---|---|
static double[][] |
fixedMidPointApproximation(double[] cubicControlPointCoords)
This method will take in an array containing the x and y coordinates of the four control
points that describe the cubic bezier curve to be approximated using the fixed mid point
approximation.
|
public static double[][] fixedMidPointApproximation(double[] cubicControlPointCoords)
cubicControlPointCoords
- an array containing the x and y coordinates of the
four control points.Copyright 1999-2010 The Apache Software Foundation. All Rights Reserved.