de.fhg.igd.gps
Class CartesianCoordinate
java.lang.Object
de.fhg.igd.gps.CartesianCoordinate
- public class CartesianCoordinate
- extends Object
This class provides a 3-dimensional, cartesian geo-coordinate,
where the root of the coordinate system is geocentric, its
x-axis points to (0°,0°), its y-axis points to (0°,90°E)
and its z-axis points to (90°N, 0°).
- Author:
- Jan Peters
Field Summary |
private double |
x_
|
private double |
y_
|
private double |
z_
|
x_
private double x_
y_
private double y_
z_
private double z_
CartesianCoordinate
public CartesianCoordinate(double x,
double y,
double z)
parseCoordinate
public static CartesianCoordinate parseCoordinate(String coordinate)
getX
public double getX()
getY
public double getY()
getZ
public double getZ()
distanceFromCenter
public double distanceFromCenter()
distanceTo
public double distanceTo(CartesianCoordinate cart)
- Approximated distance between to cartesian coordinates
in meters on the globe (altitude is negelcted).
toString
public String toString()
Copyright © Fraunhofer Gesellschaft. All
Rights Reserved.