org.wdssii.core
Class CPoint
java.lang.Object
org.wdssii.core.CPoint
public class CPoint
- extends Object
location in a cartesian grid situated at the earth's center. Based on Thomas
Vaughan's CPoint class in the C++ version.
- Version:
- $Id: CPoint.java,v 1.2 2007/10/12 14:40:58 lakshman Exp $
- Author:
- Lakshman
Field Summary |
double |
x
|
double |
y
|
double |
z
|
Constructor Summary |
CPoint(double x,
double y,
double z)
everything in kilometers. |
x
public double x
y
public double y
z
public double z
CPoint
public CPoint(double x,
double y,
double z)
- everything in kilometers. the z direction is the polar axis. x is from
center through the Greenwich meridian y is from the center of earth
through the Caribbean.
minus
public CVector minus(CPoint pt)
getLocation
public Location getLocation()
plus
public CPoint plus(CVector v)
toString
public String toString()
- Overrides:
toString
in class Object