|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.bbn.openmap.omGraphics.NatCubicSpline | +--com.bbn.openmap.omGraphics.NatCubicClosedSpline
A natural cubic closed spline calculation.
Constructor Summary | |
NatCubicClosedSpline()
|
Method Summary | |
float[] |
calc(float[] llpoints,
float precision)
Calculates a float lat/lon cubic spline |
int[][] |
calc(int[] xpoints,
int[] ypoints)
Calculates a cubic spline polyline |
Methods inherited from class com.bbn.openmap.omGraphics.NatCubicSpline |
getSteps, setSteps |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public NatCubicClosedSpline()
Method Detail |
public int[][] calc(int[] xpoints, int[] ypoints)
NatCubicSpline
calc
in class NatCubicSpline
xpoints
- ypoints
-
NatCubicSpline.calc(int[],
int[])
public float[] calc(float[] llpoints, float precision)
NatCubicSpline
calc
in class NatCubicSpline
llpoints
- precision
- for dividing floating coordinates to become
int, e.g 0.01 means spline to be calculated with
coordinates * 100
NatCubicSpline.calc(float[],
float)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |