com.metsci.glimpse.util.geo
Class LatLonRect
java.lang.Object
com.metsci.glimpse.util.geo.LatLonRect
public class LatLonRect
- extends java.lang.Object
- Author:
- osborn
Method Summary |
boolean |
almostEquals(LatLonRect o,
double eps)
|
double |
chordDistance(LatLonRect r)
|
double |
chordDistanceSquared(LatLonRect r)
|
boolean |
equals(java.lang.Object obj)
|
static LatLonRect |
fromDeg(double northLat,
double eastLon,
Datum d)
|
static LatLonRect |
fromDeg(double northLat,
double eastLon,
double altitude,
Datum d)
|
static LatLonRect |
fromEnu(Vector3d enuPoint,
LatLonGeo refPoint,
Datum datum)
|
static LatLonRect |
fromRad(double northLat,
double eastLon,
Datum d)
|
static LatLonRect |
fromRad(double northLat,
double eastLon,
double altitude,
Datum d)
|
static LatLonRect |
fromXyz(double x,
double y,
double z)
|
double |
getLength()
|
double |
getUnitX()
|
double |
getUnitY()
|
double |
getUnitZ()
|
double |
getX()
|
double |
getY()
|
double |
getZ()
|
int |
hashCode()
|
LatLonRect |
scale(double by)
|
Vector3d |
toEnu(LatLonGeo refPoint,
Datum datum)
Creates an (east,north,up) representation of this point on the plane
tangent to Earth at the given reference point. |
LatLonGeo |
toLatLonGeo(Datum datum)
|
LatLonRect |
withLength(double length)
|
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, toString, wait, wait, wait |
fromEnu
public static final LatLonRect fromEnu(Vector3d enuPoint,
LatLonGeo refPoint,
Datum datum)
fromRad
public static LatLonRect fromRad(double northLat,
double eastLon,
double altitude,
Datum d)
fromRad
public static LatLonRect fromRad(double northLat,
double eastLon,
Datum d)
fromDeg
public static LatLonRect fromDeg(double northLat,
double eastLon,
double altitude,
Datum d)
fromDeg
public static LatLonRect fromDeg(double northLat,
double eastLon,
Datum d)
fromXyz
public static LatLonRect fromXyz(double x,
double y,
double z)
toLatLonGeo
public final LatLonGeo toLatLonGeo(Datum datum)
toEnu
public final Vector3d toEnu(LatLonGeo refPoint,
Datum datum)
- Creates an (east,north,up) representation of this point on the plane
tangent to Earth at the given reference point.
See
Datum.toEnu(LatLonRect, LatLonGeo)
.
scale
public final LatLonRect scale(double by)
withLength
public final LatLonRect withLength(double length)
chordDistanceSquared
public final double chordDistanceSquared(LatLonRect r)
chordDistance
public final double chordDistance(LatLonRect r)
getX
public final double getX()
getY
public final double getY()
getZ
public final double getZ()
getUnitX
public final double getUnitX()
getUnitY
public final double getUnitY()
getUnitZ
public final double getUnitZ()
getLength
public final double getLength()
almostEquals
public final boolean almostEquals(LatLonRect o,
double eps)
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
Copyright © 2012 Metron, Inc.. All Rights Reserved.