public class CubicCurves extends Object
| Constructor and Description |
|---|
CubicCurves() |
| Modifier and Type | Method and Description |
|---|---|
static float |
flatness(float[] coords,
int offset) |
static float |
flatness(float x1,
float y1,
float ctrlx1,
float ctrly1,
float ctrlx2,
float ctrly2,
float x2,
float y2) |
static float |
flatnessSq(float[] coords,
int offset) |
static float |
flatnessSq(float x1,
float y1,
float ctrlx1,
float ctrly1,
float ctrlx2,
float ctrly2,
float x2,
float y2) |
static int |
solveCubic(float[] eqn) |
static int |
solveCubic(float[] eqn,
float[] res) |
static void |
subdivide(float[] src,
int srcOff,
float[] left,
int leftOff,
float[] right,
int rightOff) |
static void |
subdivide(ICubicCurve src,
CubicCurve left,
CubicCurve right) |
public static float flatnessSq(float x1,
float y1,
float ctrlx1,
float ctrly1,
float ctrlx2,
float ctrly2,
float x2,
float y2)
public static float flatnessSq(float[] coords,
int offset)
public static float flatness(float x1,
float y1,
float ctrlx1,
float ctrly1,
float ctrlx2,
float ctrly2,
float x2,
float y2)
public static float flatness(float[] coords,
int offset)
public static void subdivide(ICubicCurve src, CubicCurve left, CubicCurve right)
public static void subdivide(float[] src,
int srcOff,
float[] left,
int leftOff,
float[] right,
int rightOff)
public static int solveCubic(float[] eqn)
public static int solveCubic(float[] eqn,
float[] res)
Copyright © 2017. All rights reserved.