public class RMPathFitCurves
extends java.lang.Object
Constructor and Description |
---|
RMPathFitCurves() |
Modifier and Type | Method and Description |
---|---|
static void |
fitCurveFromPointIndex(RMPath path,
int index)
Takes a path with a bunch of line-to segments and replaces them with curves.
|
static java.util.List |
getFitCurveSegments(RMMath.RMFunc func,
double start,
double end,
int nPts,
double error) |
static void |
getFitCurveSegments(RMPoint[] d,
RMSize start_tan,
RMSize end_tan,
java.util.List segs)
Fit a curve, preserving the start & end tangents.
|
public static void fitCurveFromPointIndex(RMPath path, int index)
public static void getFitCurveSegments(RMPoint[] d, RMSize start_tan, RMSize end_tan, java.util.List segs)
public static java.util.List getFitCurveSegments(RMMath.RMFunc func, double start, double end, int nPts, double error)