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

Field Summary
static int TO_EAST
           
static int TO_NORTH
           
static int TO_SOUTH
           
static int TO_WEST
           
 
Constructor Summary
Ortho()
          Constructor
 
Method Summary
 void calcLoxo()
           
static void calculateRoute(int nbPoints)
           
 Point getArrival()
           
 double getDistance()
           
 int getEW()
           
 double getLoxoDistance()
           
 double getLoxoRoute()
           
 int getNS()
           
 java.util.Vector getRoute()
           
 Point getStart()
           
 void setArrival(Point p)
           
 void setStart(Point p)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

Ortho

public Ortho()
Constructor

Method Detail

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()