Package com.gaia3d.terrain.structure
Class GeographicExtension
java.lang.Object
com.gaia3d.terrain.structure.GeographicExtension
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
copyFrom
(GeographicExtension geographicExtension) void
double
double
double
double
double
double
double
double
double
org.joml.Vector3d
double
double
double
boolean
intersects
(double lonDeg, double latDeg) boolean
intersects
(GeographicExtension geographicExtension) boolean
intersectsBox
(double minLonDeg, double minLatDeg, double maxLonDeg, double maxLatDeg) boolean
intersectsLatitude
(double latDeg) boolean
intersectsLongitude
(double lonDeg) void
setDegrees
(double minLonDeg, double minLatDeg, double minAlt, double maxLonDeg, double maxLatDeg, double maxAlt) void
union
(GeographicExtension geographicExtension)
-
Constructor Details
-
GeographicExtension
public GeographicExtension()
-
-
Method Details
-
setDegrees
public void setDegrees(double minLonDeg, double minLatDeg, double minAlt, double maxLonDeg, double maxLatDeg, double maxAlt) -
copyFrom
-
deleteObjects
public void deleteObjects() -
union
-
getMaxLongitudeDeg
public double getMaxLongitudeDeg() -
getMinLongitudeDeg
public double getMinLongitudeDeg() -
getMaxLatitudeDeg
public double getMaxLatitudeDeg() -
getMinLatitudeDeg
public double getMinLatitudeDeg() -
getMidLongitudeDeg
public double getMidLongitudeDeg() -
getMidLatitudeDeg
public double getMidLatitudeDeg() -
getMidAltitude
public double getMidAltitude() -
getMaxAltitude
public double getMaxAltitude() -
getMinAltitude
public double getMinAltitude() -
getLongitudeRangeDegree
public double getLongitudeRangeDegree() -
getLatitudeRangeDegree
public double getLatitudeRangeDegree() -
getAltitudeRange
public double getAltitudeRange() -
getMidPoint
public org.joml.Vector3d getMidPoint() -
intersects
public boolean intersects(double lonDeg, double latDeg) -
intersects
-
intersectsBox
public boolean intersectsBox(double minLonDeg, double minLatDeg, double maxLonDeg, double maxLatDeg) -
intersectsLongitude
public boolean intersectsLongitude(double lonDeg) -
intersectsLatitude
public boolean intersectsLatitude(double latDeg)
-