astro.calc
Class Ortho
java.lang.Object
|
+--astro.calc.Ortho
- public class Ortho
- extends java.lang.Object
A Bean to calculate an orthodromic route
- See Also:
Point
,
OrthoWayPoint
Constructor Summary |
Ortho()
Constructor |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TO_NORTH
public static final int TO_NORTH
- See Also:
- Constant Field Values
TO_SOUTH
public static final int TO_SOUTH
- See Also:
- Constant Field Values
TO_EAST
public static final int TO_EAST
- See Also:
- Constant Field Values
TO_WEST
public static final int TO_WEST
- See Also:
- Constant Field Values
Ortho
public Ortho()
- Constructor
setStart
public void setStart(Point p)
setArrival
public void setArrival(Point p)
getStart
public Point getStart()
getArrival
public Point getArrival()
getNS
public int getNS()
getEW
public int getEW()
calculateRoute
public static void calculateRoute(int nbPoints)
getDistance
public double getDistance()
calcLoxo
public void calcLoxo()
getLoxoDistance
public double getLoxoDistance()
getLoxoRoute
public double getLoxoRoute()
getRoute
public java.util.Vector getRoute()