|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object courselog.gpsutils.GeoDirection
public class GeoDirection
Direction vector, in geographical units. To be used for scalar produc and projections.
Field Summary | |
---|---|
double |
x
X coordinate of direction vector |
double |
y
Y coordinate of direction vector |
double |
z
Z coordinate of direction vector |
Constructor Summary | |
---|---|
GeoDirection()
GeoDirection vector with coordinates 0,0,0. |
|
GeoDirection(int xx,
int yy,
int zz)
GeoDirection vector with coordinates XX,YY,ZZ. |
Method Summary | |
---|---|
java.lang.String |
toString()
Display (x,y,z) as a string. |
static void |
vectorsNorthEast(GeoPoint pt,
GeoDirection dNorth,
GeoDirection dEast)
Compute, for a local point pt, Nort and east vectors. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public double x
public double y
public double z
Constructor Detail |
---|
public GeoDirection()
public GeoDirection(int xx, int yy, int zz)
Method Detail |
---|
public static void vectorsNorthEast(GeoPoint pt, GeoDirection dNorth, GeoDirection dEast)
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |