Package llnl.gnem.core.util.Geometry
Class GeodeticCoordinate
java.lang.Object
llnl.gnem.core.util.Geometry.GeodeticCoordinate
-
Constructor Summary
ConstructorsConstructorDescriptionGeodeticCoordinate(double lat, double lon, double depth) Constructs a GeodeticCoordinate from lat, lon, depth.GeodeticCoordinate(double lat, double lon, double depth, double elevKm) -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic GeodeticCoordinategetCentroid(Collection<GeodeticCoordinate> values) doubledoubledoublegetLat()doublegetLon()inthashCode()toString()
-
Constructor Details
-
GeodeticCoordinate
public GeodeticCoordinate() -
GeodeticCoordinate
public GeodeticCoordinate(double lat, double lon, double depth) Constructs a GeodeticCoordinate from lat, lon, depth.- Parameters:
lat-lon-depth- Depth is in km with positive down. Depth = 0 is on the ellipsoid.
-
GeodeticCoordinate
public GeodeticCoordinate(double lat, double lon, double depth, double elevKm) -
GeodeticCoordinate
-
-
Method Details
-
getCentroid
-
getLat
public double getLat() -
getLon
public double getLon() -
getDepthKm
public double getDepthKm() -
getElevationKm
public double getElevationKm() -
hashCode
public int hashCode() -
equals
-
toString
-