com.bbn.openmap.omGraphics
Class NatCubicClosedSpline

java.lang.Object
  extended by com.bbn.openmap.omGraphics.NatCubicSpline
      extended by com.bbn.openmap.omGraphics.NatCubicClosedSpline

public class NatCubicClosedSpline
extends NatCubicSpline

A natural cubic closed spline calculation.

Version:
21 juil. 2002
Author:
Eric LEPICIER
See Also:
Splines

Nested Class Summary
 
Nested classes/interfaces inherited from class com.bbn.openmap.omGraphics.NatCubicSpline
NatCubicSpline.CLOSED
 
Constructor Summary
NatCubicClosedSpline()
           
 
Method Summary
 double[] calc(double[] llpoints, double precision)
          Calculates a float lat/lon cubic spline
 float[][] calc(int[] xpoints, int[] ypoints)
          Calculates a cubic spline polyline
 
Methods inherited from class com.bbn.openmap.omGraphics.NatCubicSpline
calc, calc, calc, calc, calc, calc, calc, getSteps, setSteps, withSteps
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NatCubicClosedSpline

public NatCubicClosedSpline()
Method Detail

calc

public float[][] calc(int[] xpoints,
                      int[] ypoints)
Description copied from class: NatCubicSpline
Calculates a cubic spline polyline

Overrides:
calc in class NatCubicSpline
Returns:
float[][]
See Also:
NatCubicSpline.calc(int[], int[])

calc

public double[] calc(double[] llpoints,
                     double precision)
Description copied from class: NatCubicSpline
Calculates a float lat/lon cubic spline

Overrides:
calc in class NatCubicSpline
precision - for dividing floating coordinates to become int, e.g 0.01 means spline to be calculated with coordinates * 100
Returns:
float[]
See Also:
NatCubicSpline.calc(double[], double)


Copyright (C) BBNT Solutions LLC; See http://openmap.bbn.com/ for details