Uses of Class
gov.nasa.worldwind.geom.LatLon
-
-
Uses of LatLon in gov.nasa.worldwind.animation
Methods in gov.nasa.worldwind.animation with parameters of type LatLon Modifier and Type Method Description static long
AnimationSupport. getScaledTimeMillisecs(LatLon beginLatLon, LatLon endLatLon, long minTimeMillis, long maxTimeMillis)
Calcualte a scaled time based on the great circle distance between two points. -
Uses of LatLon in gov.nasa.worldwind.awt
Methods in gov.nasa.worldwind.awt that return LatLon Modifier and Type Method Description protected LatLon
AbstractViewInputHandler. getChangeInLocation(java.awt.Point point1, java.awt.Point point2, Vec4 vec1, Vec4 vec2)
-
Uses of LatLon in gov.nasa.worldwind.data
Methods in gov.nasa.worldwind.data that return LatLon Modifier and Type Method Description protected LatLon
TiledRasterProducer. computeDesiredTileDelta(Sector sector)
protected LatLon
TiledRasterProducer. computeIntegralLevelZeroTileDelta(LatLon originalDelta)
protected LatLon
TiledElevationProducer. computeRasterPixelSize(DataRaster raster)
protected LatLon
TiledRasterProducer. computeRasterPixelSize(DataRaster raster)
protected LatLon
TiledElevationProducer. computeRasterTileDelta(int tileWidth, int tileHeight, java.lang.Iterable<? extends DataRaster> rasters)
protected LatLon
TiledRasterProducer. computeRasterTileDelta(int tileWidth, int tileHeight, java.lang.Iterable<? extends DataRaster> rasters)
protected LatLon
TiledRasterProducer. computeSmallestPixelSize(java.lang.Iterable<? extends DataRaster> rasters)
Methods in gov.nasa.worldwind.data with parameters of type LatLon Modifier and Type Method Description protected LatLon
TiledRasterProducer. computeIntegralLevelZeroTileDelta(LatLon originalDelta)
protected int
TiledRasterProducer. computeNumLevels(LatLon levelZeroDelta, LatLon lastLevelDelta)
protected boolean
TiledRasterProducer. isWithinLatLonLimits(Sector sector, LatLon tileDelta, LatLon tileOrigin)
-
Uses of LatLon in gov.nasa.worldwind.geom
Subclasses of LatLon in gov.nasa.worldwind.geom Modifier and Type Class Description class
Position
Fields in gov.nasa.worldwind.geom declared as LatLon Modifier and Type Field Description static LatLon
LatLon. ZERO
Methods in gov.nasa.worldwind.geom that return LatLon Modifier and Type Method Description LatLon
LatLon. add(LatLon that)
LatLon
LatLon. add(Position that)
static LatLon
LatLon. fromDegrees(double latitude, double longitude)
Factory method for obtaining a newLatLon
from two angles expressed in degrees.static LatLon
LatLon. fromRadians(double latitude, double longitude)
Factor method for obtaining a newLatLon
from two angles expressed in radians.static LatLon
LatLon. getCenter(Globe globe, java.lang.Iterable<? extends LatLon> locations)
Computes the average location of a specified list of locations.static LatLon
LatLon. getCenter(java.lang.Iterable<? extends LatLon> locations)
Computes the average location of a specified list of locations.LatLon
Sector. getCentroid()
Returns the latitude and longitude of the sector's angular center: (minimum latitude + maximum latitude) / 2, (minimum longitude + maximum longitude) / 2.LatLon[]
Sector. getCorners()
Returns a list of the Lat/Lon coordinates of a Sector's corners.LatLon
Quaternion. getLatLon()
LatLon
BarycentricTriangle. getLocation(double[] w)
LatLon
GeoQuad. getNe()
LatLon
GeoQuad. getNw()
LatLon
GeoQuad. getSe()
LatLon
GeoQuad. getSw()
static LatLon[]
LatLon. greatCircleArcExtremeLocations(LatLon begin, LatLon end)
Returns two locations with the most extreme latitudes on the great circle arc defined by, and limited to, the two locations.static LatLon[]
LatLon. greatCircleArcExtremeLocations(java.lang.Iterable<? extends LatLon> locations)
Returns two locations with the most extreme latitudes on the sequence of great circle arcs defined by each pair of locations in the specified iterable.static LatLon
LatLon. greatCircleEndPosition(LatLon p, double greatCircleAzimuthRadians, double pathLengthRadians)
Computes the location on a great circle arc with the given starting location, azimuth, and arc distance.static LatLon
LatLon. greatCircleEndPosition(LatLon p, Angle greatCircleAzimuth, Angle pathLength)
Computes the location on a great circle arc with the given starting location, azimuth, and arc distance.static LatLon[]
LatLon. greatCircleExtremeLocations(LatLon location, Angle azimuth)
Returns two locations with the most extreme latitudes on the great circle with the given starting location and azimuth.LatLon
GeoQuad. interpolate(double t, double s)
static LatLon
LatLon. interpolate(double amount, LatLon value1, LatLon value2)
Returns the linear interpolation ofvalue1
andvalue2
, treating the geographic locations as simple 2D coordinate pairs.static LatLon
LatLon. interpolate(java.lang.String pathType, double amount, LatLon value1, LatLon value2)
Returns an interpolated location betweenvalue1
andvalue2
, according to the specified path type.static LatLon
LatLon. interpolateGreatCircle(double amount, LatLon value1, LatLon value2)
Returns the an interpolated location along the great-arc betweenvalue1
andvalue2
.static LatLon
LatLon. interpolateRhumb(double amount, LatLon value1, LatLon value2)
Returns the an interpolated location along the rhumb line betweenvalue1
andvalue2
.static LatLon
LatLon. intersectionWithMeridian(LatLon p1, LatLon p2, Angle meridian)
Determine where a line between two locations crosses a given meridian.static LatLon
LatLon. intersectionWithMeridian(LatLon p1, LatLon p2, Angle meridian, Globe globe)
Determine where a line between two locations crosses a given meridian.static LatLon
LatLon. linearEndPosition(LatLon p, Angle linearAzimuth, Angle pathLength)
Computes the location on a linear path given a starting location, azimuth, and arc distance along the line.LatLon
LatLon. parseLatLon(java.lang.String latLonString)
Parses a string containing latitude and longitude coordinates in either Degrees-minutes-seconds or decimal degrees.static LatLon
LatLon. rhumbEndPosition(LatLon p, double rhumbAzimuthRadians, double pathLengthRadians)
Computes the location on a rhumb line with the given starting location, rhumb azimuth, and arc distance along the line.static LatLon
LatLon. rhumbEndPosition(LatLon p, Angle rhumbAzimuth, Angle pathLength)
Computes the location on a rhumb line with the given starting location, rhumb azimuth, and arc distance along the line.LatLon
LatLon. subtract(LatLon that)
LatLon
LatLon. subtract(Position that)
Methods in gov.nasa.worldwind.geom that return types with arguments of type LatLon Modifier and Type Method Description java.util.List<LatLon>
Sector. asList()
Returns the coordinates of the sector as a list, in the order minLat, maxLat, minLon, maxLon.static java.util.List<LatLon>
LatLon. computeShiftedLocations(Position oldLocation, Position newLocation, java.lang.Iterable<? extends LatLon> locations)
Computes a new set of locations translated from a specified location to a new location.static java.util.List<LatLon>
LatLon. computeShiftedLocations(Globe globe, LatLon oldLocation, LatLon newLocation, java.lang.Iterable<? extends LatLon> locations)
static java.util.List<LatLon>
LatLon. cutLocationsAlongDateLine(java.lang.Iterable<? extends LatLon> locations, java.lang.String pole, Globe globe)
Divides a sequence of geographic locations that encloses a pole along the international dateline.java.util.Iterator<LatLon>
Sector. iterator()
Creates an iterator over the four corners of the sector, starting with the southwest position and continuing counter-clockwise.static java.util.List<LatLon>
LatLon. makeDatelineCrossingLocationsPositive(java.lang.Iterable<? extends LatLon> locations)
Transform the negative longitudes of a dateline-spanning location list to positive values that maintain the relationship with the other locations in the list.static java.util.List<java.util.List<LatLon>>
LatLon. repeatLocationsAroundDateline(java.lang.Iterable<? extends LatLon> locations)
Returns a list containing two copies of a sequence of geographic locations that cross the dateline: one that extends across the -180 longitude boundary and one that extends across the +180 longitude boundary.Methods in gov.nasa.worldwind.geom with parameters of type LatLon Modifier and Type Method Description LatLon
LatLon. add(LatLon that)
static Sector
Sector. boundingSector(LatLon pA, LatLon pB)
static Sector
Sector. boundingSector(Globe globe, LatLon center, double radius)
Returns a newSector
encompassing a circle centered at a given position, with a given radius in meter.static java.util.List<LatLon>
LatLon. computeShiftedLocations(Globe globe, LatLon oldLocation, LatLon newLocation, java.lang.Iterable<? extends LatLon> locations)
boolean
Sector. contains(LatLon latLon)
Determines whether a latitude/longitude position is within the sector.Angle
GeoQuad. distanceToEastEdge(LatLon p)
Angle
GeoQuad. distanceToNE(LatLon p)
Angle
GeoQuad. distanceToNorthEdge(LatLon p)
Angle
GeoQuad. distanceToNW(LatLon p)
Angle
GeoQuad. distanceToSE(LatLon p)
Angle
GeoQuad. distanceToSouthEdge(LatLon p)
Angle
GeoQuad. distanceToSW(LatLon p)
Angle
GeoQuad. distanceToWestEdge(LatLon p)
static double
LatLon. ellipsoidalDistance(LatLon p1, LatLon p2, double equatorialRadius, double polarRadius)
Computes the distance between two points on an ellipsoid iteratively.static Angle
LatLon. ellipsoidalForwardAzimuth(LatLon p1, LatLon p2, double equatorialRadius, double polarRadius)
Compute the forward azimuth between two positionsstatic boolean
LatLon. equals(LatLon a, LatLon b)
static Matrix
Matrix. fromGeographicToImage(java.awt.geom.Point2D[] imagePoints, LatLon[] geoPoints)
static Matrix
Matrix. fromImageToGeographic(java.awt.geom.Point2D[] imagePoints, LatLon[] geoPoints)
Computes aMatrix
that will map constrained 2D grid coordinates to geographic coordinates in degrees.static Angle
LatLon. getAverageDistance(Globe globe, LatLon center, java.lang.Iterable<? extends LatLon> locations)
Computes the average distance between a specified center point and a list of locations.double[]
BarycentricTriangle. getBarycentricCoords(LatLon location)
Vec4
Sphere. getPointOnSphere(LatLon location)
Computes a point on the sphere corresponding to a specified location.static LatLon[]
LatLon. greatCircleArcExtremeLocations(LatLon begin, LatLon end)
Returns two locations with the most extreme latitudes on the great circle arc defined by, and limited to, the two locations.static Angle
LatLon. greatCircleAzimuth(LatLon p1, LatLon p2)
Computes the azimuth angle (clockwise from North) that points from the first location to the second location.static Angle
LatLon. greatCircleDistance(LatLon p1, LatLon p2)
Computes the great circle angular distance between two locations.static LatLon
LatLon. greatCircleEndPosition(LatLon p, double greatCircleAzimuthRadians, double pathLengthRadians)
Computes the location on a great circle arc with the given starting location, azimuth, and arc distance.static LatLon
LatLon. greatCircleEndPosition(LatLon p, Angle greatCircleAzimuth, Angle pathLength)
Computes the location on a great circle arc with the given starting location, azimuth, and arc distance.static LatLon[]
LatLon. greatCircleExtremeLocations(LatLon location, Angle azimuth)
Returns two locations with the most extreme latitudes on the great circle with the given starting location and azimuth.static LatLon
LatLon. interpolate(double amount, LatLon value1, LatLon value2)
Returns the linear interpolation ofvalue1
andvalue2
, treating the geographic locations as simple 2D coordinate pairs.static LatLon
LatLon. interpolate(java.lang.String pathType, double amount, LatLon value1, LatLon value2)
Returns an interpolated location betweenvalue1
andvalue2
, according to the specified path type.static LatLon
LatLon. interpolateGreatCircle(double amount, LatLon value1, LatLon value2)
Returns the an interpolated location along the great-arc betweenvalue1
andvalue2
.static LatLon
LatLon. interpolateRhumb(double amount, LatLon value1, LatLon value2)
Returns the an interpolated location along the rhumb line betweenvalue1
andvalue2
.static LatLon
LatLon. intersectionWithMeridian(LatLon p1, LatLon p2, Angle meridian)
Determine where a line between two locations crosses a given meridian.static LatLon
LatLon. intersectionWithMeridian(LatLon p1, LatLon p2, Angle meridian, Globe globe)
Determine where a line between two locations crosses a given meridian.boolean
Sector. intersectsSegment(LatLon begin, LatLon end)
Determines whether this sector intersects the specified geographic line segment.static Angle
LatLon. linearAzimuth(LatLon p1, LatLon p2)
Computes the azimuth angle (clockwise from North) of a linear path two locations.static Angle
LatLon. linearDistance(LatLon p1, LatLon p2)
Computes the length of the linear path between two locations.static LatLon
LatLon. linearEndPosition(LatLon p, Angle linearAzimuth, Angle pathLength)
Computes the location on a linear path given a starting location, azimuth, and arc distance along the line.static boolean
LatLon. locationsCrossDateline(LatLon p1, LatLon p2)
static Angle
LatLon. pathDistance(java.lang.String pathType, LatLon value1, LatLon value2)
Returns the length of the path betweenvalue1
andvalue2
, according to the specified path type.static Angle
LatLon. rhumbAzimuth(LatLon p1, LatLon p2)
Computes the azimuth angle (clockwise from North) of a rhumb line (a line of constant heading) between two locations.static Angle
LatLon. rhumbDistance(LatLon p1, LatLon p2)
Computes the length of the rhumb line between two locations.static LatLon
LatLon. rhumbEndPosition(LatLon p, double rhumbAzimuthRadians, double pathLengthRadians)
Computes the location on a rhumb line with the given starting location, rhumb azimuth, and arc distance along the line.static LatLon
LatLon. rhumbEndPosition(LatLon p, Angle rhumbAzimuth, Angle pathLength)
Computes the location on a rhumb line with the given starting location, rhumb azimuth, and arc distance along the line.static Sector[]
Sector. splitBoundingSectors(Globe globe, LatLon center, double radius)
Returns an array of Sectors encompassing a circle centered at a given position, with a given radius in meters.LatLon
LatLon. subtract(LatLon that)
Method parameters in gov.nasa.worldwind.geom with type arguments of type LatLon Modifier and Type Method Description static Sector
Sector. boundingSector(java.lang.Iterable<? extends LatLon> locations)
static java.util.List<LatLon>
LatLon. computeShiftedLocations(Position oldLocation, Position newLocation, java.lang.Iterable<? extends LatLon> locations)
Computes a new set of locations translated from a specified location to a new location.static java.util.List<LatLon>
LatLon. computeShiftedLocations(Globe globe, LatLon oldLocation, LatLon newLocation, java.lang.Iterable<? extends LatLon> locations)
static java.util.List<LatLon>
LatLon. cutLocationsAlongDateLine(java.lang.Iterable<? extends LatLon> locations, java.lang.String pole, Globe globe)
Divides a sequence of geographic locations that encloses a pole along the international dateline.static Angle
LatLon. getAverageDistance(Globe globe, LatLon center, java.lang.Iterable<? extends LatLon> locations)
Computes the average distance between a specified center point and a list of locations.static Angle
LatLon. getAverageDistance(java.lang.Iterable<? extends LatLon> locations)
Compute the average rhumb distance between locations.static LatLon
LatLon. getCenter(Globe globe, java.lang.Iterable<? extends LatLon> locations)
Computes the average location of a specified list of locations.static LatLon
LatLon. getCenter(java.lang.Iterable<? extends LatLon> locations)
Computes the average location of a specified list of locations.static LatLon[]
LatLon. greatCircleArcExtremeLocations(java.lang.Iterable<? extends LatLon> locations)
Returns two locations with the most extreme latitudes on the sequence of great circle arcs defined by each pair of locations in the specified iterable.boolean
Sector. isSameSector(java.lang.Iterable<? extends LatLon> corners)
static boolean
Sector. isSector(java.lang.Iterable<? extends LatLon> corners)
static java.lang.String
LatLon. locationsContainPole(java.lang.Iterable<? extends LatLon> locations)
Determines if a sequence of geographic locations encloses either the North or South pole.static boolean
LatLon. locationsCrossDateLine(java.lang.Iterable<? extends LatLon> locations)
static java.util.List<LatLon>
LatLon. makeDatelineCrossingLocationsPositive(java.lang.Iterable<? extends LatLon> locations)
Transform the negative longitudes of a dateline-spanning location list to positive values that maintain the relationship with the other locations in the list.static java.util.List<java.util.List<LatLon>>
LatLon. repeatLocationsAroundDateline(java.lang.Iterable<? extends LatLon> locations)
Returns a list containing two copies of a sequence of geographic locations that cross the dateline: one that extends across the -180 longitude boundary and one that extends across the +180 longitude boundary.static Sector[]
Sector. splitBoundingSectors(java.lang.Iterable<? extends LatLon> locations)
Constructors in gov.nasa.worldwind.geom with parameters of type LatLon Constructor Description BarycentricQuadrilateral(LatLon p00, LatLon p10, LatLon p11, LatLon p01)
BarycentricTriangle(LatLon p00, LatLon p10, LatLon p01)
LatLon(LatLon latLon)
Position(LatLon latLon, double elevation)
Constructor parameters in gov.nasa.worldwind.geom with type arguments of type LatLon Constructor Description GeoQuad(java.util.List<? extends LatLon> corners)
-
Uses of LatLon in gov.nasa.worldwind.geom.coords
Methods in gov.nasa.worldwind.geom.coords that return LatLon Modifier and Type Method Description static LatLon
UTMCoord. locationFromUTMCoord(int zone, java.lang.String hemisphere, double easting, double northing, Globe globe)
Convenience method for converting a UTM coordinate to a geographic location. -
Uses of LatLon in gov.nasa.worldwind.globes
Methods in gov.nasa.worldwind.globes with parameters of type LatLon Modifier and Type Method Description Vec4
EllipsoidalGlobe. computeEllipsoidalPointFromLocation(LatLon location)
Computes a ellipsoidal point from a latitude and longitude.Vec4
Globe. computeEllipsoidalPointFromLocation(LatLon location)
Computes a ellipsoidal point from a latitude and longitude.Vec4
EllipsoidalGlobe. computePointFromLocation(LatLon location)
Vec4
Globe. computePointFromLocation(LatLon location)
Computes a cartesian point from a geographic location on the surface of this globe.Vec4
EllipsoidalGlobe. computePointFromPosition(LatLon latLon, double metersElevation)
Vec4
Globe. computePointFromPosition(LatLon latLon, double metersElevation)
Computes a cartesian point from a geographic location and elevation.double
EllipsoidalGlobe. getRadiusAt(LatLon location)
double
Globe. getRadiusAt(LatLon location)
Indicates the radius in meters of the globe's ellipsoid at a location.Method parameters in gov.nasa.worldwind.globes with type arguments of type LatLon Modifier and Type Method Description void
ElevationModel. composeElevations(Sector sector, java.util.List<? extends LatLon> latlons, int tileWidth, double[] buffer)
Determines the elevations at specified locations within a specifiedSector
.double[]
ElevationModel. getElevations(Sector sector, java.util.List<? extends LatLon> latlons, double[] targetResolution, double[] buffer)
Returns the elevations of a collection of locations.double
ElevationModel. getElevations(Sector sector, java.util.List<? extends LatLon> latlons, double targetResolution, double[] buffer)
Returns the elevations of a collection of locations.double[]
EllipsoidalGlobe. getElevations(Sector sector, java.util.List<? extends LatLon> latLons, double[] targetResolution, double[] elevations)
double
EllipsoidalGlobe. getElevations(Sector sector, java.util.List<? extends LatLon> latlons, double targetResolution, double[] elevations)
double[]
Globe. getElevations(Sector sector, java.util.List<? extends LatLon> latlons, double[] targetResolution, double[] elevations)
Indicates the elevations of a collection of locations.double
Globe. getElevations(Sector sector, java.util.List<? extends LatLon> latlons, double targetResolution, double[] elevations)
Indicates the elevations of a collection of locations.double[]
ElevationModel. getUnmappedElevations(Sector sector, java.util.List<? extends LatLon> latlons, double[] targetResolution, double[] buffer)
Returns the elevations of a collection of locations.double
ElevationModel. getUnmappedElevations(Sector sector, java.util.List<? extends LatLon> latlons, double targetResolution, double[] buffer)
Returns the elevations of a collection of locations. -
Uses of LatLon in gov.nasa.worldwind.layers
Fields in gov.nasa.worldwind.layers declared as LatLon Modifier and Type Field Description protected LatLon
TerrainProfileLayer. endLatLon
protected LatLon
TerrainProfileLayer. startLatLon
Fields in gov.nasa.worldwind.layers with type parameters of type LatLon Modifier and Type Field Description protected java.util.ArrayList<? extends LatLon>
WorldMapLayer. footPrintPositions
protected java.util.ArrayList<? extends LatLon>
TerrainProfileLayer. pathPositions
Methods in gov.nasa.worldwind.layers that return LatLon Modifier and Type Method Description protected LatLon
AbstractGraticuleLayer. computeLabelOffset(DrawContext dc)
LatLon
TerrainProfileLayer. getEndLatLon()
Get the profile end position lat/lon whenTerrainProfileLayer.FOLLOW_NONE
.LatLon
TerrainProfileLayer. getStartLatLon()
Get the profile start position lat/lon whenTerrainProfileLayer.FOLLOW_NONE
.protected LatLon
AbstractGraticuleLayer. greatCircleIntersectionAtLatitude(LatLon p1, LatLon p2, Angle latitude)
Computes the intersection point position between a great circle segment and a parallel.protected LatLon
AbstractGraticuleLayer. greatCircleIntersectionAtLongitude(LatLon p1, LatLon p2, Angle longitude)
Computes the intersection point position between a great circle segment and a meridian.protected LatLon
AbstractGraticuleLayer. greatCircleMidPoint(LatLon p1, LatLon p2)
Methods in gov.nasa.worldwind.layers that return types with arguments of type LatLon Modifier and Type Method Description protected java.util.ArrayList<LatLon>
WorldMapLayer. computeViewFootPrint(DrawContext dc, int steps)
Compute the view range footprint on the globe.java.util.List<? extends LatLon>
TextureTile. getCorners()
java.util.List<? extends LatLon>
WorldMapLayer. getFootPrintPositions()
Get the current view footprint position list.java.util.List<? extends LatLon>
TerrainProfileLayer. getPathPositions()
Get the path positions that the profile follows if set toTerrainProfileLayer.FOLLOW_PATH
.Methods in gov.nasa.worldwind.layers with parameters of type LatLon Modifier and Type Method Description protected void
LatLonGraticuleLayer. addLabel(double value, java.lang.String labelType, java.lang.String graticuleType, double resolution, LatLon labelOffset)
protected void
GARSGraticuleLayer. addLevel0Label(double value, java.lang.String labelType, java.lang.String graticuleType, double resolution, LatLon labelOffset)
protected void
TerrainProfileLayer. computeMirroredPositions(LatLon centerLatLon)
protected int
TerrainProfileLayer. computeObjectSample(LatLon pos)
Compute the sample number along the path closest to the givenLatLon
.protected Angle
AbstractGraticuleLayer. getDeltaLongitude(LatLon p1, Angle longitude)
java.util.Collection<? extends Renderable>
CachedRenderableLayer. getRenderables(LatLon location)
Returns all Renderables at a specfied location.protected LatLon
AbstractGraticuleLayer. greatCircleIntersectionAtLatitude(LatLon p1, LatLon p2, Angle latitude)
Computes the intersection point position between a great circle segment and a parallel.protected LatLon
AbstractGraticuleLayer. greatCircleIntersectionAtLongitude(LatLon p1, LatLon p2, Angle longitude)
Computes the intersection point position between a great circle segment and a meridian.protected LatLon
AbstractGraticuleLayer. greatCircleMidPoint(LatLon p1, LatLon p2)
protected boolean
ViewControlsSelectListener. isPathCrossingAPole(LatLon p1, LatLon p2)
void
TerrainProfileLayer. setEndLatLon(LatLon latLon)
Set the profile end position lat/lon whenTerrainProfileLayer.FOLLOW_NONE
.protected void
TerrainProfileLayer. setPosition(int index, LatLon latLon)
void
TerrainProfileLayer. setStartLatLon(LatLon latLon)
Set the profile start position lat/lon whenTerrainProfileLayer.FOLLOW_NONE
.Method parameters in gov.nasa.worldwind.layers with type arguments of type LatLon Modifier and Type Method Description void
SurfaceImageLayer. addImage(java.lang.String name, java.awt.image.BufferedImage image, java.util.List<? extends LatLon> corners)
Add aBufferedImage
to the collection at an explicitly specified location.void
SurfaceImageLayer. addImage(java.lang.String imagePath, java.util.List<? extends LatLon> corners)
Add an image to the collection at an explicitly specified location.void
TerrainProfileLayer. setPathPositions(java.util.ArrayList<? extends LatLon> positions)
Set the path positions that the profile should follow ifTerrainProfileLayer.FOLLOW_PATH
. -
Uses of LatLon in gov.nasa.worldwind.layers.placename
Fields in gov.nasa.worldwind.layers.placename declared as LatLon Modifier and Type Field Description static LatLon
PlaceNameLayer. GRID_1152x2304
static LatLon
PlaceNameLayer. GRID_144x288
static LatLon
PlaceNameLayer. GRID_16x32
static LatLon
PlaceNameLayer. GRID_1x1
static LatLon
PlaceNameLayer. GRID_288x576
static LatLon
PlaceNameLayer. GRID_36x72
static LatLon
PlaceNameLayer. GRID_4x8
static LatLon
PlaceNameLayer. GRID_576x1152
static LatLon
PlaceNameLayer. GRID_72x144
static LatLon
PlaceNameLayer. GRID_8x16
Methods in gov.nasa.worldwind.layers.placename that return LatLon Modifier and Type Method Description LatLon
PlaceNameService. getTileDelta()
Constructors in gov.nasa.worldwind.layers.placename with parameters of type LatLon Constructor Description PlaceNameService(java.lang.String service, java.lang.String dataset, java.lang.String fileCachePath, Sector sector, LatLon tileDelta, java.awt.Font font, boolean versionTag)
PlaceNameService Constructor -
Uses of LatLon in gov.nasa.worldwind.ogc.kml.impl
Methods in gov.nasa.worldwind.ogc.kml.impl that return types with arguments of type LatLon Modifier and Type Method Description static java.util.List<LatLon>
KMLUtil. rotateSector(Globe globe, Sector sector, Angle rotation)
Rotate the corners of a sector around a normal vector through the sector centroid.Method parameters in gov.nasa.worldwind.ogc.kml.impl with type arguments of type LatLon Modifier and Type Method Description static void
KMLExportUtil. exportBoundaryAsLinearRing(javax.xml.stream.XMLStreamWriter xmlWriter, java.lang.Iterable<? extends LatLon> boundary, java.lang.Double altitude)
Export the boundary of a polygon as a KML LinearRing. -
Uses of LatLon in gov.nasa.worldwind.poi
Fields in gov.nasa.worldwind.poi declared as LatLon Modifier and Type Field Description protected LatLon
BasicPointOfInterest. latlon
Methods in gov.nasa.worldwind.poi that return LatLon Modifier and Type Method Description LatLon
BasicPointOfInterest. getLatlon()
LatLon
PointOfInterest. getLatlon()
Constructors in gov.nasa.worldwind.poi with parameters of type LatLon Constructor Description BasicPointOfInterest(LatLon latlon)
-
Uses of LatLon in gov.nasa.worldwind.render
Subclasses of LatLon in gov.nasa.worldwind.render Modifier and Type Class Description protected static class
SurfacePolygon.Vertex
Fields in gov.nasa.worldwind.render declared as LatLon Modifier and Type Field Description protected LatLon
SurfaceEllipse. center
protected LatLon
SurfaceQuad. center
protected static LatLon
SurfaceObjectTileBuilder. DEFAULT_LEVEL_ZERO_TILE_DELTA
The default level zero tile delta used to construct a LevelSet.protected LatLon
SurfaceText. drawLocation
The lower-left location of the text box after applying offset.Fields in gov.nasa.worldwind.render with type parameters of type LatLon Modifier and Type Field Description protected java.util.List<java.util.List<LatLon>>
AbstractSurfaceShape. activeGeometry
protected java.util.List<java.util.List<LatLon>>
AbstractSurfaceShape. activeOutlineGeometry
protected java.util.List<java.util.List<? extends LatLon>>
ExtrudedPolygon. boundaries
The location of each vertex in this shape's boundaries.protected java.util.List<java.lang.Iterable<? extends LatLon>>
SurfacePolygon. boundaries
protected java.util.List<LatLon>
FramebufferTexture. corners
protected java.util.List<LatLon>
SurfaceImage. corners
protected java.util.List<? extends LatLon>
ExtrudedPolygon.ExtrudedBoundaryInfo. locations
The boundary vertices.protected java.lang.Iterable<? extends LatLon>
SurfacePolyline. locations
Methods in gov.nasa.worldwind.render that return LatLon Modifier and Type Method Description LatLon
SurfaceEllipse. getCenter()
LatLon
SurfaceQuad. getCenter()
LatLon[]
Quadrilateral. getCorners()
LatLon
SurfaceIcon. getLocation()
Get the icon reference location on the globe.LatLon
ExtrudedPolygon. getReferenceLocation()
Indicates the location to use as a reference location for computed geometry.Methods in gov.nasa.worldwind.render that return types with arguments of type LatLon Modifier and Type Method Description protected java.lang.Iterable<? extends LatLon>
SurfaceIcons. computeDrawLocations(DrawContext dc, SurfaceTileDrawContext sdc)
protected java.util.List<LatLon>
SurfaceEllipse. computeLocations(Globe globe, int intervals)
protected abstract java.util.List<java.util.List<LatLon>>
AbstractSurfaceShape. createGeometry(Globe globe, double edgeIntervalsPerDegree)
protected java.util.List<java.util.List<LatLon>>
AbstractSurfaceShape. createGeometry(Globe globe, SurfaceTileDrawContext sdc)
protected java.util.List<java.util.List<LatLon>>
SurfaceEllipse. createGeometry(Globe globe, double edgeIntervalsPerDegree)
protected java.util.List<java.util.List<LatLon>>
SurfaceMultiPolygon. createGeometry(Globe globe, double edgeIntervalsPerDegree)
protected java.util.List<java.util.List<LatLon>>
SurfacePolygon. createGeometry(Globe globe, double edgeIntervalsPerDegree)
protected java.util.List<java.util.List<LatLon>>
SurfacePolyline. createGeometry(Globe globe, double edgeIntervalsPerDegree)
protected java.util.List<java.util.List<LatLon>>
SurfacePolylines. createGeometry(Globe globe, double edgeIntervalsPerDegree)
protected java.util.List<java.util.List<LatLon>>
SurfacePolylines. createGeometry(Globe globe, SurfaceTileDrawContext sdc)
protected java.util.List<java.util.List<LatLon>>
SurfaceQuad. createGeometry(Globe globe, double edgeIntervalsPerDegree)
protected java.util.List<java.util.List<LatLon>>
SurfaceSector. createGeometry(Globe globe, double edgeIntervalsPerDegree)
protected java.util.List<LatLon>
AbstractSurfaceShape. cutAlongDateLine(java.util.List<LatLon> locations, java.lang.String pole, Globe globe)
Divide a list of locations that encloses a pole along the international date line.protected java.util.List<? extends LatLon>
ExtrudedPolygon. fillBoundary(java.lang.Iterable<? extends LatLon> corners)
protected java.util.List<java.util.List<LatLon>>
AbstractSurfaceShape. getActiveGeometry()
protected java.util.List<java.util.List<? extends LatLon>>
ExtrudedPolygon. getBoundaries()
Returns this shape's boundaries.java.util.List<java.lang.Iterable<? extends LatLon>>
SurfacePolygon. getBoundaries()
java.lang.Iterable<? extends LatLon>
SurfaceMultiPolygon. getBoundary(int index)
protected java.util.List<java.util.List<LatLon>>
AbstractSurfaceShape. getCachedGeometry(DrawContext dc, SurfaceTileDrawContext sdc)
java.util.List<LatLon>
FramebufferTexture. getCorners()
java.util.List<LatLon>
SurfaceImage. getCorners()
java.util.List<? extends LatLon>
SurfaceTile. getCorners()
java.lang.Iterable<? extends LatLon>
SurfaceEllipse. getLocations(Globe globe)
java.lang.Iterable<? extends LatLon>
SurfaceIcons. getLocations()
java.lang.Iterable<? extends LatLon>
SurfaceMultiPolygon. getLocations(Globe globe)
java.lang.Iterable<? extends LatLon>
SurfacePolygon. getLocations()
java.lang.Iterable<? extends LatLon>
SurfacePolygon. getLocations(Globe globe)
java.lang.Iterable<? extends LatLon>
SurfacePolyline. getLocations()
java.lang.Iterable<? extends LatLon>
SurfacePolyline. getLocations(Globe globe)
java.lang.Iterable<? extends LatLon>
SurfacePolylines. getLocations()
java.lang.Iterable<? extends LatLon>
SurfacePolylines. getLocations(Globe globe)
java.lang.Iterable<? extends LatLon>
SurfaceQuad. getLocations(Globe globe)
java.lang.Iterable<? extends LatLon>
SurfaceSector. getLocations(Globe globe)
java.lang.Iterable<? extends LatLon>
SurfaceShape. getLocations(Globe globe)
Returns the shape's locations as they appear on the specifiedglobe
, or null if the shape has no locations.java.lang.Iterable<? extends LatLon>
ExtrudedPolygon. getOuterBoundary()
Returns the list of locations or positions defining this polygon's outer boundary.java.lang.Iterable<? extends LatLon>
Polygon. getOuterBoundary()
Returns the list of positions defining this polygon's outer boundary.java.lang.Iterable<? extends LatLon>
SurfacePolygon. getOuterBoundary()
java.util.List<? extends LatLon>
ContourLinePolygon. getPositions()
Get the list ofLatLon
that describe the current bounding polygon.protected java.util.List<? extends LatLon>
ExtrudedPolygon. outerBoundary()
Returns a reference to the outer boundary of this polygon.protected java.util.List<java.util.List<LatLon>>
AbstractSurfaceShape. repeatAroundDateline(java.util.List<LatLon> locations)
Returns a list containing two copies of the specified list of locations crossing the dateline: one that extends across the -180 longitude boundary and one that extends across the +180 longitude boundary.Methods in gov.nasa.worldwind.render with parameters of type LatLon Modifier and Type Method Description protected void
AbstractSurfaceShape. addIntermediateLocations(LatLon a, LatLon b, double edgeIntervalsPerDegree, java.util.List<LatLon> locations)
protected void
SurfaceIcon. applyDrawTransform(DrawContext dc, SurfaceTileDrawContext sdc, LatLon location, double drawScale)
protected void
AbstractSurfaceShape. applyInteriorState(DrawContext dc, SurfaceTileDrawContext sdc, ShapeAttributes attributes, WWTexture texture, LatLon refLocation)
protected void
SurfacePolygon. applyInteriorState(DrawContext dc, SurfaceTileDrawContext sdc, ShapeAttributes attributes, WWTexture texture, LatLon refLocation)
protected void
AbstractSurfaceShape. applyInteriorTextureState(DrawContext dc, SurfaceTileDrawContext sdc, ShapeAttributes attributes, WWTexture texture, LatLon refLocation)
protected java.awt.geom.Rectangle2D.Double
SurfaceIcon. computeDrawDimension(DrawContext dc, LatLon location)
protected Vec4
AbstractSurfaceRenderable. computeDrawPoint(LatLon location, SurfaceTileDrawContext sdc)
protected double
SurfaceIcon. computeDrawScale(DrawContext dc, SurfaceTileDrawContext sdc, LatLon location)
protected int
AbstractSurfaceRenderable. computeHemisphereOffset(Sector sector, LatLon location)
protected double
SurfaceIcons. computeLocationDistanceDegreesSquared(Sector drawSector, LatLon location)
protected double
AbstractSurfaceRenderable. computePixelSizeAtLocation(DrawContext dc, LatLon location)
protected Sector
AbstractSurfaceRenderable. computeRotatedSectorBounds(Sector sector, LatLon location, Angle heading)
protected int[]
SurfacePolygons. doTessellateInterior(DrawContext dc, LatLon referenceLocation)
void
SurfaceEllipse. setCenter(LatLon center)
void
SurfaceQuad. setCenter(LatLon center)
void
Quadrilateral. setCorners(LatLon southWest, LatLon northEast)
void
SurfaceIcon. setLocation(LatLon location)
Set the icon reference location on the globe.void
ExtrudedPolygon. setReferenceLocation(LatLon referenceLocation)
Specifies the location to use as a reference location for computed geometry.protected int[]
SurfacePolygons. tessellateInterior(DrawContext dc, LatLon referenceLocation)
protected int
SurfacePolygons. tessellateInteriorVertices(com.jogamp.opengl.glu.GLUtessellator tess, LatLon referenceLocation)
protected int[]
SurfacePolylines. tessellateOutline(DrawContext dc, LatLon referenceLocation)
protected boolean
SurfacePolylines. tessellatePart(com.jogamp.opengl.GL2 gl, VecBuffer vecBuffer, LatLon referenceLocation)
protected boolean
SurfacePolygons. tessellateRing(com.jogamp.opengl.glu.GLUtessellator tess, VecBuffer vecBuffer, LatLon referenceLocation)
protected Vec4
FramebufferTexture. transformToQuadCoordinates(Matrix geoToCartesian, LatLon latLon)
Method parameters in gov.nasa.worldwind.render with type arguments of type LatLon Modifier and Type Method Description void
SurfaceMultiPolygon. addBoundary(java.lang.Iterable<? extends LatLon> iterable)
void
ExtrudedPolygon. addInnerBoundary(java.lang.Iterable<? extends LatLon> corners)
Add an inner boundary to this polygon.void
ExtrudedPolygon. addInnerBoundary(java.lang.Iterable<? extends LatLon> corners, java.lang.Iterable<?> imageSources)
Add an inner boundary to this polygon and specify images to apply to each of the boundary's faces.void
SurfacePolygon. addInnerBoundary(java.lang.Iterable<? extends LatLon> iterable)
protected void
AbstractSurfaceShape. addIntermediateLocations(LatLon a, LatLon b, double edgeIntervalsPerDegree, java.util.List<LatLon> locations)
protected Extent
AbstractShape. computeExtentFromPositions(Globe globe, double verticalExaggeration, java.lang.Iterable<? extends LatLon> positions)
Computes this shape's approximate extent from its positions.protected java.lang.String
AbstractSurfaceShape. containsPole(java.lang.Iterable<? extends LatLon> locations)
Determine if a list of geographic locations encloses either the North or South pole.protected java.util.List<LatLon>
AbstractSurfaceShape. cutAlongDateLine(java.util.List<LatLon> locations, java.lang.String pole, Globe globe)
Divide a list of locations that encloses a pole along the international date line.protected void
AbstractSurfaceShape. doCombineContour(CombineContext cc, java.lang.Iterable<? extends LatLon> contour)
protected void
AbstractSurfaceShape. drawLineStrip(DrawContext dc, java.util.List<LatLon> locations)
protected void
ExtrudedPolygon. exportBoundaryAsLinearRing(javax.xml.stream.XMLStreamWriter xmlWriter, java.lang.Iterable<? extends LatLon> boundary)
Writes the boundary in KML as either a list of lat, lon, altitude tuples or lat, lon tuples, depending on the type originally specified.protected void
Polygon. exportBoundaryAsLinearRing(javax.xml.stream.XMLStreamWriter xmlWriter, java.lang.Iterable<? extends LatLon> boundary)
Writes the boundary in KML as either a list of lat, lon, altitude tuples or lat, lon tuples, depending on the type originally specified.protected java.util.List<? extends LatLon>
ExtrudedPolygon. fillBoundary(java.lang.Iterable<? extends LatLon> corners)
protected void
AbstractSurfaceShape. generateIntermediateLocations(java.lang.Iterable<? extends LatLon> iterable, double edgeIntervalsPerDegree, boolean makeClosedPath, java.util.List<LatLon> locations)
protected void
AbstractSurfaceShape. generateIntermediateLocations(java.lang.Iterable<? extends LatLon> iterable, double edgeIntervalsPerDegree, boolean makeClosedPath, java.util.List<LatLon> locations)
protected void
SurfaceImage. initializeGeometry(java.lang.Iterable<? extends LatLon> corners)
protected java.util.List<java.util.List<LatLon>>
AbstractSurfaceShape. repeatAroundDateline(java.util.List<LatLon> locations)
Returns a list containing two copies of the specified list of locations crossing the dateline: one that extends across the -180 longitude boundary and one that extends across the +180 longitude boundary.void
SurfaceImage. setCorners(java.lang.Iterable<? extends LatLon> corners)
void
SurfaceImage. setImageSource(java.lang.Object imageSource, java.lang.Iterable<? extends LatLon> corners)
void
SurfaceIcons. setLocations(java.lang.Iterable<? extends LatLon> newLocations)
void
SurfacePolygon. setLocations(java.lang.Iterable<? extends LatLon> iterable)
void
SurfacePolyline. setLocations(java.lang.Iterable<? extends LatLon> iterable)
void
SurfacePolylines. setLocations(java.lang.Iterable<? extends LatLon> iterable)
void
ExtrudedPolygon. setOuterBoundary(java.lang.Iterable<? extends LatLon> corners)
Specifies the latitude and longitude of the locations defining the outer boundary of this polygon.void
ExtrudedPolygon. setOuterBoundary(java.lang.Iterable<? extends LatLon> corners, java.lang.Double height)
Specifies the latitude and longitude of the outer boundary locations defining this polygon, and optionally the extruded polygon's height.void
ExtrudedPolygon. setOuterBoundary(java.lang.Iterable<? extends LatLon> corners, java.lang.Iterable<?> imageSources)
Specifies the latitudes, longitudes and outer-boundary images for the outer boundary of this polygon.void
SurfacePolygon. setOuterBoundary(java.lang.Iterable<? extends LatLon> iterable)
void
ContourLinePolygon. setPositions(java.util.ArrayList<? extends LatLon> positions)
Set the list ofLatLon
that describes a closed polygon - one which last position is equal to the first, used to delineate the extent of the contour line.void
Polyline. setPositions(java.lang.Iterable<? extends LatLon> inPositions, double altitude)
Deprecated.Sets the paths positions as latitude and longitude values at a constant altitude.Constructors in gov.nasa.worldwind.render with parameters of type LatLon Constructor Description Quadrilateral(LatLon southwestCorner, LatLon northeastCorner, double elevation)
SurfaceCircle(LatLon center, double radius)
Constructs a new surface circle with the default attributes, the specified center location and radius (in meters).SurfaceCircle(LatLon center, double radius, int intervals)
Constructs a new surface circle with the default attributes, the specified center location, radius (in meters), and initial number of geometry intervals.SurfaceCircle(ShapeAttributes normalAttrs, LatLon center, double radius)
Constructs a new surface circle with the specified normal (as opposed to highlight) attributes, the specified center location, and radius (in meters).SurfaceCircle(ShapeAttributes normalAttrs, LatLon center, double radius, int intervals)
Constructs a new surface circle with the specified normal (as opposed to highlight) attributes, the specified center location, radius (in meters), and initial number of geometry intervals.SurfaceEllipse(LatLon center, double majorRadius, double minorRadius)
Constructs a new surface ellipse with the default attributes, the specified center location and radii (in meters).SurfaceEllipse(LatLon center, double majorRadius, double minorRadius, Angle heading)
Constructs a new surface ellipse with the default attributes, the specified center location, radii (in meters), and heading clockwise from North.SurfaceEllipse(LatLon center, double majorRadius, double minorRadius, Angle heading, int intervals)
Constructs a new surface ellipse with the default attributes, the specified center location, radii (in meters), heading clockwise from North, and initial number of geometry intervals.SurfaceEllipse(ShapeAttributes normalAttrs, LatLon center, double majorRadius, double minorRadius)
Constructs a new surface ellipse with the specified normal (as opposed to highlight) attributes, the specified center location, and radii (in meters).SurfaceEllipse(ShapeAttributes normalAttrs, LatLon center, double majorRadius, double minorRadius, Angle heading)
Constructs a new surface ellipse with the specified normal (as opposed to highlight) attributes, the specified center location, radii (in meters), and heading clockwise from North.SurfaceEllipse(ShapeAttributes normalAttrs, LatLon center, double majorRadius, double minorRadius, Angle heading, int intervals)
Constructs a new surface ellipse with the specified normal (as opposed to highlight) attributes, the specified center location, radii (in meters), heading clockwise from North, and initial number of geometry intervals.SurfaceIcon(java.lang.Object imageSource, LatLon location)
SurfaceQuad(LatLon center, double width, double height)
Constructs a new surface quad with the default attributes, the specified center location and dimensions (in meters).SurfaceQuad(LatLon center, double width, double height, Angle heading)
Constructs a new surface quad with the default attributes, the specified center location, dimensions (in meters), and heading clockwise from North.SurfaceQuad(ShapeAttributes normalAttrs, LatLon center, double width, double height)
Constructs a new surface quad with the specified normal (as opposed to highlight) attributes, the specified center location and dimensions (in meters).SurfaceQuad(ShapeAttributes normalAttrs, LatLon center, double width, double height, Angle heading)
Constructs a new surface quad with the specified normal (as opposed to highlight) attributes, the specified center location and dimensions (in meters).SurfaceSquare(LatLon center, double size)
Constructs a new surface square with the default attributes, the specified center location and size (in meters).SurfaceSquare(LatLon center, double size, Angle heading)
Constructs a new surface square with the default attributes, the specified center location, size (in meters), and heading clockwise from North.SurfaceSquare(ShapeAttributes normalAttrs, LatLon center, double size)
Constructs a new surface square with the specified normal (as opposed to highlight) attributes, the specified center location and size (in meters).SurfaceSquare(ShapeAttributes normalAttrs, LatLon center, double size, Angle heading)
Constructs a new surface square with the specified normal (as opposed to highlight) attributes, the specified center location and dimensions (in meters).Vertex(LatLon location)
Constructor parameters in gov.nasa.worldwind.render with type arguments of type LatLon Constructor Description ContourLinePolygon(double elevation, java.util.ArrayList<? extends LatLon> positions)
ExtrudedBoundaryInfo(java.util.List<? extends LatLon> locations)
Constructs a boundary info instance for a specified boundary.ExtrudedPolygon(java.lang.Iterable<? extends LatLon> corners, double height, java.lang.Iterable<?> imageSources)
Constructs an extruded polygon from an outer boundary, a height, and images for its outer faces.ExtrudedPolygon(java.lang.Iterable<? extends LatLon> corners, java.lang.Double height)
Constructs an extruded polygon for a specified list of outer boundary locations and a height.FBOTexture(WWTexture imageSource, Sector sector, java.util.List<LatLon> corners)
FramebufferTexture(WWTexture imageSource, Sector sector, java.util.List<LatLon> corners)
Path(java.lang.Iterable<? extends LatLon> coords, double elevation)
Creates a path with specified coordinates.Polyline(java.lang.Iterable<? extends LatLon> positions, double elevation)
Deprecated.SurfaceIcons(java.lang.Object imageSource, java.lang.Iterable<? extends LatLon> locations)
SurfaceImage(java.lang.Object imageSource, java.lang.Iterable<? extends LatLon> corners)
SurfaceMultiPolygon(ShapeAttributes normalAttrs, java.lang.Iterable<? extends LatLon> iterable)
SurfaceMultiPolygon(java.lang.Iterable<? extends LatLon> iterable)
SurfacePolygon(ShapeAttributes normalAttrs, java.lang.Iterable<? extends LatLon> iterable)
Constructs a new surface polygon with the specified normal (as opposed to highlight) attributes and the specified iterable of locations.SurfacePolygon(java.lang.Iterable<? extends LatLon> iterable)
Constructs a new surface polygon with the default attributes and the specified iterable of locations.SurfacePolyline(ShapeAttributes normalAttrs, java.lang.Iterable<? extends LatLon> iterable)
Constructs a new surface polyline with the specified normal (as opposed to highlight) attributes and the specified iterable of locations.SurfacePolyline(java.lang.Iterable<? extends LatLon> iterable)
Constructs a new surface polyline with the default attributes and the specified iterable of locations. -
Uses of LatLon in gov.nasa.worldwind.render.airspaces
Fields in gov.nasa.worldwind.render.airspaces declared as LatLon Modifier and Type Field Description protected LatLon
CappedEllipticalCylinder. center
protected LatLon
AbstractAirspace. groundReference
Fields in gov.nasa.worldwind.render.airspaces with type parameters of type LatLon Modifier and Type Field Description protected java.util.List<java.util.List<LatLon>>
SurfaceBox. activeCenterLineGeometry
protected java.util.Map<LatLon,java.lang.Double>
AbstractAirspace. elevationMap
protected java.util.List<LatLon>
Curtain. locations
protected java.util.List<LatLon>
SurfaceBox. locations
Methods in gov.nasa.worldwind.render.airspaces that return LatLon Modifier and Type Method Description protected LatLon[]
Orbit. getAdjustedLocations(Globe globe)
LatLon
CappedCylinder. getCenter()
Returns the geographic location of the cylinder's center.LatLon
CappedEllipticalCylinder. getCenter()
Returns the geographic location of the cylinder's center.LatLon
AbstractAirspace. getGroundReference()
LatLon
Airspace. getGroundReference()
Returns the current ground reference location.LatLon
SphereAirspace. getLocation()
Returns the center location of the sphere.LatLon[]
Box. getLocations()
LatLon[]
Orbit. getLocations()
Methods in gov.nasa.worldwind.render.airspaces that return types with arguments of type LatLon Modifier and Type Method Description protected java.util.List<java.util.List<LatLon>>
SurfaceBox. createGeometry(Globe globe, double edgeIntervalsPerDegree)
protected java.util.List<LatLon>
Polygon. getLocationList()
java.lang.Iterable<LatLon>
Curtain. getLocations()
Returns the curtain's locations.java.util.List<LatLon>
Polygon. getLocations()
java.lang.Iterable<? extends LatLon>
Route. getLocations()
java.util.List<LatLon>
SurfaceBox. getLocations()
java.lang.Iterable<? extends LatLon>
SurfaceBox. getLocations(Globe globe)
protected java.util.ArrayList<LatLon>
SurfaceBox. makeLocations(int offset, int count, double edgeIntervalsPerDegree)
Methods in gov.nasa.worldwind.render.airspaces with parameters of type LatLon Modifier and Type Method Description Box
Route. addLeg(LatLon start, LatLon end)
Box
Route. addLeg(LatLon start, LatLon end, double lowerAltitude, double upperAltitude, double leftWidth, double rightWidth)
Box
TrackAirspace. addLeg(LatLon start, LatLon end, double lowerAltitude, double upperAltitude, double leftWidth, double rightWidth)
protected void
AbstractAirspace. adjustForGroundReference(DrawContext dc, boolean[] terrainConformant, double[] altitudes, LatLon groundRef)
protected void
Curtain. drawCurtainFill(DrawContext dc, int count, LatLon[] locations, java.lang.String pathType, double splitThreshold, double[] altitudes, boolean[] terrainConformant, Vec4 referenceCenter)
protected void
Curtain. drawCurtainOutline(DrawContext dc, int count, LatLon[] locations, java.lang.String pathType, double splitThreshold, double[] altitudes, boolean[] terrainConformant, Vec4 referenceCenter)
protected Curtain.CurtainGeometry
Curtain. getCurtainGeometry(DrawContext dc, int count, LatLon[] locations, java.lang.String pathType, double splitThreshold, double[] altitudes, boolean[] terrainConformant, Vec4 referenceCenter)
protected int
Curtain. getSectionPillarCount(DrawContext dc, LatLon begin, LatLon end, java.lang.String pathType, double splitThreshold)
protected void
Curtain. makeCurtainGeometry(DrawContext dc, int count, LatLon[] locations, java.lang.String pathType, double splitThreshold, double[] altitudes, boolean[] terrainConformant, Vec4 referenceCenter, Curtain.CurtainGeometry dest)
protected void
Curtain. makeSectionInfo(DrawContext dc, int count, LatLon[] locations, java.lang.String pathType, double splitThreshold, Curtain.SectionRenderInfo[] ri, int[] counts)
protected void
Curtain. makeSectionVertices(DrawContext dc, LatLon begin, LatLon end, java.lang.String pathType, double[] altitude, boolean[] terrainConformant, int pillars, int vertexPos, float[] dest, Vec4 referenceCenter)
protected void
Curtain. makeSegment(Globe globe, LatLon locA, LatLon locB, java.util.List<LatLon> tessellatedLocations)
void
CappedCylinder. setCenter(LatLon location)
Sets the cylinder's center.void
CappedEllipticalCylinder. setCenter(LatLon location)
Sets the cylinder's center.void
AbstractAirspace. setGroundReference(LatLon groundReference)
void
Airspace. setGroundReference(LatLon groundReference)
Sets the reference location used to determine the elevation offset for airspace surfaces whose altitude datum isAVKey.ABOVE_GROUND_REFERENCE
.void
SphereAirspace. setLocation(LatLon location)
Sets the center location of the sphere.void
Box. setLocations(LatLon beginLocation, LatLon endLocation)
Sets the leg's locations, in geographic coordinates.void
Orbit. setLocations(LatLon location1, LatLon location2)
Method parameters in gov.nasa.worldwind.render.airspaces with type arguments of type LatLon Modifier and Type Method Description protected void
Curtain. addLocations(java.lang.Iterable<? extends LatLon> newLocations)
protected void
Polygon. addLocations(java.lang.Iterable<? extends LatLon> newLocations)
protected void
Route. addLocations(java.lang.Iterable<? extends LatLon> newLocations)
protected int
Polygon. computeEllipsoidalPolygon(Globe globe, java.util.List<? extends LatLon> locations, java.util.List<java.lang.Boolean> edgeFlags, Vec4[] points, java.lang.Boolean[] edgeFlagArray, Matrix[] transform)
protected Position
AbstractAirspace. computeReferencePosition(java.util.List<? extends LatLon> locations, double[] altitudes)
protected void
Polygon. doRenderGeometry(DrawContext dc, java.lang.String drawStyle, java.util.List<LatLon> locations, java.util.List<java.lang.Boolean> edgeFlags)
protected void
AbstractAirspace. makeExtremePoints(Globe globe, double verticalExaggeration, java.lang.Iterable<? extends LatLon> locations, java.util.List<Vec4> extremePoints)
protected void
Curtain. makeSegment(Globe globe, LatLon locA, LatLon locB, java.util.List<LatLon> tessellatedLocations)
protected void
Curtain. makeTessellatedLocations(Globe globe, java.util.List<LatLon> tessellatedLocations)
protected void
Polygon. makeTessellatedLocations(Globe globe, int subdivisions, java.util.List<LatLon> locations, java.util.List<LatLon> tessellatedLocations)
void
Curtain. setLocations(java.lang.Iterable<? extends LatLon> locations)
Sets the curtain's locations, in geographic coordinates.void
Polygon. setLocations(java.lang.Iterable<? extends LatLon> locations)
void
Route. setLocations(java.lang.Iterable<? extends LatLon> locations)
void
SurfaceBox. setLocations(java.util.List<LatLon> locations)
Constructors in gov.nasa.worldwind.render.airspaces with parameters of type LatLon Constructor Description Box(LatLon beginLocation, LatLon endLocation, double leftWidth, double rightWidth)
CappedCylinder(LatLon location, double radius)
CappedEllipticalCylinder(LatLon location, double minorRadius, double majorRadius, Angle heading)
Layer(LatLon location, double radius)
Layer(LatLon location, double radius, Angle leftAzimuth, Angle rightAzimuth)
Layer(LatLon location, double radius, Angle leftAzimuth, Angle rightAzimuth, double lowerAltitude, double upperAltitude)
Orbit(LatLon location1, LatLon location2, java.lang.String orbitType, double width)
PartialCappedCylinder(LatLon location, double radius)
PartialCappedCylinder(LatLon location, double radius, Angle leftAzimuth, Angle rightAzimuth)
SphereAirspace(LatLon location, double radius)
Constructor parameters in gov.nasa.worldwind.render.airspaces with type arguments of type LatLon Constructor Description Curtain(java.lang.Iterable<? extends LatLon> locations)
PolyArc(java.util.List<? extends LatLon> locations)
PolyArc(java.util.List<? extends LatLon> locations, double radius, Angle leftAzimuth, Angle rightAzimuth)
Polygon(java.lang.Iterable<? extends LatLon> locations)
Route(java.util.List<? extends LatLon> locations, double width)
-
Uses of LatLon in gov.nasa.worldwind.symbology.milstd2525
Methods in gov.nasa.worldwind.symbology.milstd2525 with parameters of type LatLon Modifier and Type Method Description java.lang.String
MilStd2525UnitsFormat. latLon(LatLon latlon)
Format angles of latitude and longitude according to the current angle format. -
Uses of LatLon in gov.nasa.worldwind.symbology.milstd2525.graphics.areas
Method parameters in gov.nasa.worldwind.symbology.milstd2525.graphics.areas with type arguments of type LatLon Modifier and Type Method Description protected SurfacePolygon
SearchArea. createPolygon(java.util.List<? extends LatLon> positions)
-
Uses of LatLon in gov.nasa.worldwind.symbology.milstd2525.graphics.lines
Methods in gov.nasa.worldwind.symbology.milstd2525.graphics.lines with parameters of type LatLon Modifier and Type Method Description protected java.util.List<Position>
PullUpPoint. asPositionList(LatLon... locations)
Convert a list of LatLon to a list of Positions at zero elevation.Method parameters in gov.nasa.worldwind.symbology.milstd2525.graphics.lines with type arguments of type LatLon Modifier and Type Method Description protected SurfacePolygon
PrincipleDirectionOfFire. createPolygon(java.util.List<? extends LatLon> positions)
-
Uses of LatLon in gov.nasa.worldwind.terrain
Methods in gov.nasa.worldwind.terrain that return types with arguments of type LatLon Modifier and Type Method Description protected java.util.ArrayList<LatLon>
HighResolutionTerrain. computeLocations(HighResolutionTerrain.RectTile tile)
Computes the tile's cell locations, determined by the tile's density and sector.protected java.util.ArrayList<LatLon>
RectangularTessellator. computeLocations(RectangularTessellator.RectTile tile)
Methods in gov.nasa.worldwind.terrain with parameters of type LatLon Modifier and Type Method Description int
BasicElevationModel.ElevationTile. computeElevationIndex(LatLon location)
java.lang.Double
HighResolutionTerrain. getElevation(LatLon location)
Computes the elevation at a specified location.java.lang.Double
Terrain. getElevation(LatLon location)
Computes the elevation at a specified location.Position[]
HighResolutionTerrain. getExtremeElevations(LatLon center, double width, double height)
Determines the minimum and maximum elevations and their locations within a specified geographic quadrilateral.Vec4
SectorGeometryList. getSurfacePoint(LatLon latLon)
Computes a Cartesian point at a specified location on the terrain.Method parameters in gov.nasa.worldwind.terrain with type arguments of type LatLon Modifier and Type Method Description void
AbstractElevationModel. composeElevations(Sector sector, java.util.List<? extends LatLon> latlons, int tileWidth, double[] buffer)
void
CompoundElevationModel. composeElevations(Sector sector, java.util.List<? extends LatLon> latlons, int tileWidth, double[] buffer)
void
WCSElevationModel. composeElevations(Sector sector, java.util.List<? extends LatLon> latlons, int tileWidth, double[] buffer)
void
WMSBasicElevationModel. composeElevations(Sector sector, java.util.List<? extends LatLon> latlons, int tileWidth, double[] buffer)
protected double[]
CompoundElevationModel. doGetElevations(Sector sector, java.util.List<? extends LatLon> latlons, double[] targetResolution, double[] buffer, boolean mapMissingData)
protected double
LocalElevationModel. doGetElevations(Sector sector, java.util.List<? extends LatLon> latlons, double targetResolution, double[] buffer, boolean mapMissingData)
Performs the lookup and assembly of elevations for a list of specified locations.protected void
HighResolutionTerrain. getCachedElevations(java.util.List<LatLon> latlons, double[] elevations)
double[]
AbstractElevationModel. getElevations(Sector sector, java.util.List<? extends LatLon> latLons, double[] targetResolutions, double[] elevations)
double
BasicElevationModel. getElevations(Sector sector, java.util.List<? extends LatLon> latlons, double targetResolution, double[] buffer)
protected double
BasicElevationModel. getElevations(Sector sector, java.util.List<? extends LatLon> latlons, double targetResolution, double[] buffer, boolean mapMissingData)
double
BathymetryFilterElevationModel. getElevations(Sector sector, java.util.List<? extends LatLon> latlons, double targetResolution, double[] buffer)
double[]
CompoundElevationModel. getElevations(Sector sector, java.util.List<? extends LatLon> latLons, double[] targetResolutions, double[] elevations)
double
CompoundElevationModel. getElevations(Sector sector, java.util.List<? extends LatLon> latlons, double targetResolution, double[] buffer)
Returns the elevations of a collection of locations.protected void
HighResolutionTerrain. getElevations(Sector sector, java.util.List<LatLon> latlons, double[] targetResolution, double[] elevations)
double
LocalElevationModel. getElevations(Sector sector, java.util.List<? extends LatLon> latlons, double targetResolution, double[] buffer)
double
ZeroElevationModel. getElevations(Sector sector, java.util.List<? extends LatLon> latlons, double targetResolution, double[] buffer)
double[]
AbstractElevationModel. getUnmappedElevations(Sector sector, java.util.List<? extends LatLon> latLons, double[] targetResolutions, double[] elevations)
double
BasicElevationModel. getUnmappedElevations(Sector sector, java.util.List<? extends LatLon> latlons, double targetResolution, double[] buffer)
double
BathymetryFilterElevationModel. getUnmappedElevations(Sector sector, java.util.List<? extends LatLon> latlons, double targetResolution, double[] buffer)
double[]
CompoundElevationModel. getUnmappedElevations(Sector sector, java.util.List<? extends LatLon> latLons, double[] targetResolutions, double[] elevations)
double
CompoundElevationModel. getUnmappedElevations(Sector sector, java.util.List<? extends LatLon> latlons, double targetResolution, double[] buffer)
Returns the elevations of a collection of locations.double
LocalElevationModel. getUnmappedElevations(Sector sector, java.util.List<? extends LatLon> latlons, double targetResolution, double[] buffer)
double
ZeroElevationModel. getUnmappedElevations(Sector sector, java.util.List<? extends LatLon> latlons, double targetResolution, double[] buffer)
-
Uses of LatLon in gov.nasa.worldwind.tracks
Constructors in gov.nasa.worldwind.tracks with parameters of type LatLon Constructor Description TrackPointImpl(LatLon latLon, double elevation, java.lang.String time)
-
Uses of LatLon in gov.nasa.worldwind.util
Fields in gov.nasa.worldwind.util declared as LatLon Modifier and Type Field Description static LatLon
WWMath. LONGITUDE_OFFSET_180
protected LatLon
Level. tileDelta
Fields in gov.nasa.worldwind.util with type parameters of type LatLon Modifier and Type Field Description protected java.util.ArrayList<java.lang.Iterable<? extends LatLon>>
ContourList. contours
Methods in gov.nasa.worldwind.util that return LatLon Modifier and Type Method Description protected static LatLon
DataConfigurationUtils. getDataDescriptorLatLon(org.w3c.dom.Element context, java.lang.String path, javax.xml.xpath.XPath xpath)
LatLon
VecBuffer.LocationAccessor. getElement(int position)
static LatLon
WWXML. getLatLon(org.w3c.dom.Element context, java.lang.String path, javax.xml.xpath.XPath xpath)
Returns theLatLon
value of an element identified by an XPath expression.LatLon
LevelSet. getLevelZeroTileDelta()
LatLon
VecBuffer. getLocation(int position)
Returns the vector element at the specified position, as a geographicLatLon
.protected LatLon
ShapeEditor. getShapeCenter()
Returns the shape's center location, or null if it has no designated center.LatLon
RestorableSupport. getStateObjectAsLatLon(RestorableSupport.StateObject stateObject)
Returns the value of the StateObject as a LatLon.LatLon
RestorableSupport. getStateValueAsLatLon(RestorableSupport.StateObject context, java.lang.String name)
LatLon
RestorableSupport. getStateValueAsLatLon(java.lang.String name)
LatLon
Level. getTileDelta()
LatLon
LevelSet. getTileOrigin()
LatLon
RasterControlPointList.ControlPoint. getWorldPointAsLatLon()
protected static LatLon
DataConfigurationUtils. getWWDotNetLayerSetLatLon(org.w3c.dom.Element context, java.lang.String path, javax.xml.xpath.XPath xpath)
LatLon[]
GeometryBuilder. makeCylinderLocations(Globe globe, LatLon center, double minorRadius, double majorRadius, Angle heading, int slices)
LatLon[]
GeometryBuilder. makeCylinderLocations(Globe globe, LatLon center, double radius, int slices)
LatLon[]
GeometryBuilder. makeDiskLocations(Globe globe, LatLon center, double[] radii, Angle heading, int slices, int loops)
LatLon[]
GeometryBuilder. makeDiskLocations(Globe globe, LatLon center, double innerRadius, double outerRadius, int slices, int loops)
LatLon[]
GeometryBuilder. makeLongCylinderLocations(Globe globe, LatLon center1, LatLon center2, double radius, int arcSlices, int lengthSlices)
LatLon[]
GeometryBuilder. makeLongDiskLocations(Globe globe, LatLon center1, LatLon center2, double innerRadius, double outerRadius, int arcSlices, int lengthSlices, int loops)
LatLon[]
GeometryBuilder. makePartialCylinderLocations(Globe globe, LatLon center, double radius, int slices, double start, double sweep)
LatLon[]
GeometryBuilder. makePartialDiskLocations(Globe globe, LatLon center, double innerRadius, double outerRadius, int slices, int loops, double start, double sweep)
Methods in gov.nasa.worldwind.util that return types with arguments of type LatLon Modifier and Type Method Description static java.util.List<LatLon>
ImageUtil. computeImageCorners(int imageWidth, int imageHeight, Matrix imageToGeographic)
Returns the geographic corners of an image with the specified dimensions, and a transform that maps image coordinates to geographic coordinates.java.lang.Iterable<? extends LatLon>
ContourList. getContour(int index)
java.lang.Iterable<? extends LatLon>
CompoundVecBuffer. getLocations()
Returns an iterator over this buffer's logical vectors, as LatLon locations.java.lang.Iterable<LatLon>
VecBuffer. getLocations()
Returns an iterator over this buffer's logical vectors, as LatLon locations.java.lang.Iterable<? extends LatLon>
CompoundVecBuffer. getReverseLocations()
Returns a reverse iterator over this buffer's logical vectors, as LatLon locations.java.lang.Iterable<LatLon>
VecBuffer. getReverseLocations()
Returns a reverse iterator over this buffer's logical vectors, as LatLon locations.java.util.List<LatLon>
RestorableSupport. getStateObjectAsLatLonList(RestorableSupport.StateObject stateObject)
Returns the value of the StateObject as a List of LatLons.java.util.List<LatLon>
RestorableSupport. getStateValueAsLatLonList(RestorableSupport.StateObject context, java.lang.String name)
java.util.List<LatLon>
RestorableSupport. getStateValueAsLatLonList(java.lang.String name)
java.util.Iterator<LatLon>
CompoundVecBuffer.LocationIterable. iterator(int index)
java.util.Iterator<LatLon>
CompoundVecBuffer.LocationIterable. reverseIterator(int index)
Methods in gov.nasa.worldwind.util with parameters of type LatLon Modifier and Type Method Description void
RestorableSupport. addStateValueAsLatLon(RestorableSupport.StateObject context, java.lang.String name, LatLon location)
void
RestorableSupport. addStateValueAsLatLon(java.lang.String name, LatLon location)
static org.w3c.dom.Element
WWXML. appendLatLon(org.w3c.dom.Element context, java.lang.String path, LatLon ll)
Append a heirarcy of new elements with a path to a context element, ending with an element formatted as a LatLon.static void
ImageUtil. computeBestFittingControlPoints4(java.awt.geom.Point2D[] imagePoints, LatLon[] geoPoints, java.awt.geom.Point2D[] outImagePoints, LatLon[] outGeoPoints)
Computes which three control points out of four provide the best estimate an image's geographic location.protected Vec4
ShapeEditor. computeControlPointDelta(LatLon previousLocation, LatLon currentLocation)
Computes the Cartesian difference between two control points.protected Position
ShapeEditor. computeEdgeLocation(LatLon center, LatLon location, double length)
Computes a control point location at the edge of a shape.protected Position
ShapeEditor. computeRectangularEdgeLocation(LatLon begin, LatLon end, double width)
Computes a control point location at the edge of a rectangular shape.Sector
Level. computeSectorForPosition(Angle latitude, Angle longitude, LatLon tileOrigin)
protected double
ShapeEditor. doGetControlPointAltitude(LatLon location, Renderable shape)
protected double
ShapeEditor. getControlPointAltitude(LatLon location)
Computes the appropriate absolute altitude at which to place a control point at a specified location.java.util.Set<T>
BasicQuadTree. getItemsAtLocation(LatLon location, java.util.Set<T> outItems)
Finds and returns the items within a tree cell containing a specified location.Matrix
SurfaceTileDrawContext. getModelviewMatrix(LatLon referenceLocation)
Returns a Matrix mapping geographic coordinates to pixels in the off-screen tile.static boolean
WWMath. isLocationInside(LatLon location, java.lang.Iterable<? extends LatLon> locations)
Determines whether aLatLon
location is located inside a given polygon.java.lang.String
UnitsFormat. latLon(LatLon latlon)
Format angles of latitude and longitude according to the current angle format.java.lang.String
UnitsFormat. latLon2(LatLon latlon)
Format angles of latitude and longitude according to the current angle format and in the form "20°N 85°S".java.lang.String
UnitsFormat. latLon2NL(LatLon latlon)
Format angles withUnitsFormat.latLon2(gov.nasa.worldwind.geom.LatLon)
and append a new-line character.java.lang.String
UnitsFormat. latLonNL(LatLon latlon)
Format angles of latitude and longitude according to the current angle format, and append a new-line character.LatLon[]
GeometryBuilder. makeCylinderLocations(Globe globe, LatLon center, double minorRadius, double majorRadius, Angle heading, int slices)
LatLon[]
GeometryBuilder. makeCylinderLocations(Globe globe, LatLon center, double radius, int slices)
void
GeometryBuilder. makeCylinderVertices(Terrain terrain, LatLon center, double radius, double[] altitudes, boolean[] terrainConformant, int slices, int stacks, Vec4 refPoint, float[] dest)
void
GeometryBuilder. makeCylinderVertices(Terrain terrain, LatLon center, double minorRadius, double majorRadius, Angle heading, double[] altitudes, boolean[] terrainConformant, int slices, int stacks, Vec4 refPoint, float[] dest)
LatLon[]
GeometryBuilder. makeDiskLocations(Globe globe, LatLon center, double[] radii, Angle heading, int slices, int loops)
LatLon[]
GeometryBuilder. makeDiskLocations(Globe globe, LatLon center, double innerRadius, double outerRadius, int slices, int loops)
void
GeometryBuilder. makeDiskVertices(Terrain terrain, LatLon center, double[] radii, Angle heading, double altitude, boolean terrainConformant, int slices, int loops, Vec4 refPoint, float[] dest)
void
GeometryBuilder. makeDiskVertices(Terrain terrain, LatLon center, double innerRadius, double outerRadius, double altitude, boolean terrainConformant, int slices, int loops, Vec4 refPoint, float[] dest)
LatLon[]
GeometryBuilder. makeLongCylinderLocations(Globe globe, LatLon center1, LatLon center2, double radius, int arcSlices, int lengthSlices)
void
GeometryBuilder. makeLongCylinderVertices(Terrain terrain, LatLon center1, LatLon center2, double radius, double[] altitudes, boolean[] terrainConformant, int arcSlices, int lengthSlices, int stacks, Vec4 refPoint, float[] dest)
LatLon[]
GeometryBuilder. makeLongDiskLocations(Globe globe, LatLon center1, LatLon center2, double innerRadius, double outerRadius, int arcSlices, int lengthSlices, int loops)
void
GeometryBuilder. makeLongDiskVertices(Terrain terrain, LatLon center1, LatLon center2, double innerRadius, double outerRadius, double altitude, boolean terrainConformant, int arcSlices, int lengthSlices, int loops, Vec4 refPoint, float[] dest)
LatLon[]
GeometryBuilder. makePartialCylinderLocations(Globe globe, LatLon center, double radius, int slices, double start, double sweep)
void
GeometryBuilder. makePartialCylinderVertices(Terrain terrain, LatLon center, double radius, double[] altitudes, boolean[] terrainConformant, int slices, int stacks, double start, double sweep, Vec4 refPoint, float[] dest)
LatLon[]
GeometryBuilder. makePartialDiskLocations(Globe globe, LatLon center, double innerRadius, double outerRadius, int slices, int loops, double start, double sweep)
void
GeometryBuilder. makePartialDiskVertices(Terrain terrain, LatLon center, double innerRadius, double outerRadius, double altitude, boolean terrainConformant, int slices, int loops, double start, double sweep, Vec4 refPoint, float[] dest)
void
GeometryBuilder. makeRadialWallVertices(Terrain terrain, LatLon center, double innerRadius, double outerRadius, double angle, double[] altitudes, boolean[] terrainConformant, int pillars, int stacks, Vec4 refPoint, float[] dest)
static Sector
ImageUtil. positionImage(java.awt.image.BufferedImage sourceImage, java.awt.Point[] imagePoints, LatLon[] geoPoints, java.awt.image.BufferedImage destImage)
static Sector
ImageUtil. positionImage3(java.awt.image.BufferedImage sourceImage, java.awt.Point[] imagePoints, LatLon[] geoPoints, java.awt.image.BufferedImage destImage)
static Sector
ImageUtil. positionImage4(java.awt.image.BufferedImage sourceImage, java.awt.Point[] imagePoints, LatLon[] geoPoints, java.awt.image.BufferedImage destImage)
void
VecBuffer. putLocation(int position, LatLon ll)
Sets the vector element at the specified position, as a geographic LatLon.static Sector
ImageUtil. warpImageWithControlPoints(java.awt.image.BufferedImage sourceImage, java.awt.geom.Point2D[] imagePoints, LatLon[] geoPoints, java.awt.image.BufferedImage destImage)
Convenience method for transforming a georeferenced source image into a geographically aligned destination image.static Sector
ImageUtil. warpImageWithControlPoints3(java.awt.image.BufferedImage sourceImage, java.awt.geom.Point2D[] imagePoints, LatLon[] geoPoints, java.awt.image.BufferedImage destImage)
Transforms a georeferenced source image into a geographically aligned destination image.static Sector
ImageUtil. warpImageWithControlPoints4(java.awt.image.BufferedImage sourceImage, java.awt.geom.Point2D[] imagePoints, LatLon[] geoPoints, java.awt.image.BufferedImage destImage)
Transforms a georeferenced source image into a geographically aligned destination image.Method parameters in gov.nasa.worldwind.util with type arguments of type LatLon Modifier and Type Method Description void
ContourList. addContour(java.lang.Iterable<? extends LatLon> contour)
protected int
ShapeEditor. addNearestLocation(Position terrainPosition, double altitude, java.util.List<LatLon> locations)
Inserts the location nearest to a specified position on an edge of a specified list of locations into the appropriate place in that list.void
RestorableSupport. addStateValueAsLatLonList(RestorableSupport.StateObject context, java.lang.String name, java.lang.Iterable<? extends LatLon> locations)
protected void
ShapeEditor. appendLocation(ShapeEditor.ControlPointMarker controlPoint, java.util.List<LatLon> locations)
Adds a location to either the beginning or the end of a specified list of locations.static java.lang.String
WWMath. computeWindingOrderOfLocations(java.lang.Iterable<? extends LatLon> locations)
Returns the winding order of the polygon described by the specified locations, with respect to an axis perpendicular to the (lat, lon) coordinates, and pointing in the direction of "positive elevation".java.util.Set<T>
BasicQuadTree. getItemsAtLocation(java.lang.Iterable<LatLon> locations, java.util.Set<T> outItems)
Finds and returns the items within tree cells containing specified locations.static boolean
WWMath. isLocationInside(LatLon location, java.lang.Iterable<? extends LatLon> locations)
Determines whether aLatLon
location is located inside a given polygon.static boolean
WWMath. isPolygonClosed(java.lang.Iterable<? extends LatLon> locations)
Returns whether the geographic polygon described by the specified locations defines a closed loop.protected void
ShapeEditor. moveLocation(ShapeEditor.ControlPointMarker controlPoint, Position terrainPosition, java.util.List<LatLon> locations)
Moves a control point location.abstract void
ImageTiler.ImageTilerListener. newTile(java.awt.image.BufferedImage tileImage, java.util.List<? extends LatLon> corners)
void
VecBuffer. putLocations(int position, java.lang.Iterable<? extends LatLon> iterable)
Sets a subsequence of this buffer with the contents of the specified Iterable.protected void
ShapeEditor. rotateLocations(Position terrainPosition, java.util.List<LatLon> locations)
Rotates a shape's locations.void
ContourList. setContour(int index, java.lang.Iterable<? extends LatLon> contour)
void
ImageTiler. tileImage(java.awt.image.BufferedImage image, java.util.List<? extends LatLon> corners, ImageTiler.ImageTilerListener listener)
-
Uses of LatLon in gov.nasa.worldwind.util.combine
Fields in gov.nasa.worldwind.util.combine with type parameters of type LatLon Modifier and Type Field Description protected java.util.ArrayList<LatLon>
CombineContext. currentContour
The vertices of the current contour currently being assembled.Method parameters in gov.nasa.worldwind.util.combine with type arguments of type LatLon Modifier and Type Method Description void
CombineContext. addContour(java.lang.Iterable<? extends LatLon> contour)
Adds the specified iterable to this context's list of contours. -
Uses of LatLon in gov.nasa.worldwind.util.gdal
Methods in gov.nasa.worldwind.util.gdal that return LatLon Modifier and Type Method Description protected static LatLon
GDALUtils. getLatLonForRasterPoint(double[] gt, int x, int y, org.gdal.osr.CoordinateTransformation ct)
-
Uses of LatLon in gov.nasa.worldwind.util.measure
Methods in gov.nasa.worldwind.util.measure that return LatLon Modifier and Type Method Description protected LatLon
MeasureTool. computeControlPointLocation(java.lang.String control, Globe globe, Angle heading, LatLon center, double width, double height)
protected LatLon
MeasureTool. computeQuadEdgeMidpointLocation(java.lang.String control, Globe globe, Angle heading, LatLon center, double width, double height)
protected LatLon
MeasureTool. moveShapeByControlPoint(MeasureTool.ControlPoint controlPoint, Globe globe, Angle heading, LatLon center, double width, double height)
Methods in gov.nasa.worldwind.util.measure with parameters of type LatLon Modifier and Type Method Description protected boolean
MeasureTool. areLocationsRedundant(LatLon locA, LatLon locB)
protected java.lang.Double
MeasureTool. computeAccumulatedLength(LatLon pos)
protected Angle
MeasureTool. computeAngleBetween(LatLon a, LatLon b, LatLon c)
protected LatLon
MeasureTool. computeControlPointLocation(java.lang.String control, Globe globe, Angle heading, LatLon center, double width, double height)
protected LatLon
MeasureTool. computeQuadEdgeMidpointLocation(java.lang.String control, Globe globe, Angle heading, LatLon center, double width, double height)
protected Position
MeasureTool. computeSurfacePosition(LatLon latLon)
protected LatLon
MeasureTool. moveShapeByControlPoint(MeasureTool.ControlPoint controlPoint, Globe globe, Angle heading, LatLon center, double width, double height)
void
MeasureTool.ControlPointWithLeader. setLeaderLocations(LatLon begin, LatLon end)
protected void
MeasureTool. updateControlPointWithLeader(MeasureTool.ControlPointWithLeader cp, LatLon controlLocation)
Method parameters in gov.nasa.worldwind.util.measure with type arguments of type LatLon Modifier and Type Method Description void
LengthMeasurer. setPositions(java.util.ArrayList<? extends LatLon> positions, double elevation)
-
Uses of LatLon in gov.nasa.worldwind.view
Fields in gov.nasa.worldwind.view declared as LatLon Modifier and Type Field Description protected LatLon
ViewElevationAnimator. endLatLon
Methods in gov.nasa.worldwind.view with parameters of type LatLon Modifier and Type Method Description protected static double
ViewElevationAnimator. computeMidZoom(Globe globe, LatLon beginLatLon, LatLon endLatLon, double beginZoom, double endZoom)
Constructors in gov.nasa.worldwind.view with parameters of type LatLon Constructor Description ViewElevationAnimator(Globe globe, double beginZoom, double endZoom, LatLon beginLatLon, LatLon endLatLon, int altitudeMode, PropertyAccessor.DoubleAccessor propertyAccessor)
Create the animator. -
Uses of LatLon in gov.nasa.worldwind.view.firstperson
Constructors in gov.nasa.worldwind.view.firstperson with parameters of type LatLon Constructor Description FlyToElevationAnimator(BasicFlyView flyView, Globe globe, double beginZoom, double endZoom, LatLon beginLatLon, LatLon endLatLon, int altitudeMode, PropertyAccessor.DoubleAccessor propertyAccessor)
-
Uses of LatLon in gov.nasa.worldwindx.applications.glider
Fields in gov.nasa.worldwindx.applications.glider declared as LatLon Modifier and Type Field Description protected static LatLon
GliderTestApp. ne
protected static LatLon
GliderTestApp. nw
protected static LatLon
GliderTestApp. se
protected static LatLon
GliderTestApp. sw
Fields in gov.nasa.worldwindx.applications.glider with type parameters of type LatLon Modifier and Type Field Description protected java.util.List<LatLon>
GliderImage. corners
protected static java.util.List<LatLon>
GliderTestApp. corners
Methods in gov.nasa.worldwindx.applications.glider that return types with arguments of type LatLon Modifier and Type Method Description java.util.List<LatLon>
GliderImage. getCorners()
java.util.List<LatLon>
GliderRegionOfInterest. getLocations()
Returns the region's vertices.protected static java.util.ArrayList<LatLon>
GliderTestApp. makeBorder(float[][] field, int width, int height, java.util.ArrayList<LatLon> latLons)
Method parameters in gov.nasa.worldwindx.applications.glider with type arguments of type LatLon Modifier and Type Method Description protected static java.util.ArrayList<LatLon>
GliderTestApp. makeBorder(float[][] field, int width, int height, java.util.ArrayList<LatLon> latLons)
protected static float[][]
GliderTestApp. makeField(java.util.List<LatLon> corners, int width, int height, Angle angle)
void
GliderRegionOfInterest. setLocations(java.lang.Iterable<? extends LatLon> locations)
Set the region's location.Constructor parameters in gov.nasa.worldwindx.applications.glider with type arguments of type LatLon Constructor Description GliderImage(java.lang.String imageSource, java.lang.Iterable<? extends LatLon> corners, double altitude)
Construct an image from a file.GliderImage(java.lang.String name, java.lang.Object imageSource, java.lang.Iterable<? extends LatLon> corners, double altitude)
Construct an image from a file orBufferedImage
and an arbitrary bounding region.GliderRegionOfInterest(java.lang.Iterable<? extends LatLon> locations, java.awt.Color color)
Create a region of interest and assign it a color. -
Uses of LatLon in gov.nasa.worldwindx.applications.sar
Subclasses of LatLon in gov.nasa.worldwindx.applications.sar Modifier and Type Class Description class
SARPosition
Methods in gov.nasa.worldwindx.applications.sar that return LatLon Modifier and Type Method Description LatLon[]
SARSegmentPlane. computeLocationsToFitPositions(Position position1, Position position2)
protected static LatLon[]
SARSegmentPlane. computeLocationsToFitPositions(WorldWindow wwd, SegmentPlane segmentPlane, Position position1, Position position2, boolean recallUserDefinedHGap)
LatLon[]
SARSegmentPlane. getPlaneLocations()
Methods in gov.nasa.worldwindx.applications.sar that return types with arguments of type LatLon Modifier and Type Method Description java.util.ArrayList<? extends LatLon>
CloudCeiling. getPositions()
Methods in gov.nasa.worldwindx.applications.sar with parameters of type LatLon Modifier and Type Method Description void
SARSegmentPlane. setPlaneLocations(LatLon location1, LatLon location2)
Method parameters in gov.nasa.worldwindx.applications.sar with type arguments of type LatLon Modifier and Type Method Description protected void
ElevationPlane. doRenderGeometry(DrawContext dc, java.lang.String drawStyle, java.util.List<LatLon> locations, java.util.List<java.lang.Boolean> edgeFlags)
void
CloudCeiling. setPositions(java.util.ArrayList<? extends LatLon> newPositions)
void
TerrainProfilePanel. updatePath(java.util.ArrayList<? extends LatLon> positions)
-
Uses of LatLon in gov.nasa.worldwindx.applications.sar.segmentplane
Methods in gov.nasa.worldwindx.applications.sar.segmentplane that return LatLon Modifier and Type Method Description LatLon[]
SegmentPlane. getPlaneLocations()
Methods in gov.nasa.worldwindx.applications.sar.segmentplane with parameters of type LatLon Modifier and Type Method Description protected void
SegmentPlaneEditor. moveSegmentLocationWithPlane(LatLon[] newPlaneLocations, int segmentPositionIndex)
void
SegmentPlane. setPlaneLocations(LatLon location1, LatLon location2)
-
Uses of LatLon in gov.nasa.worldwindx.applications.worldwindow.core
Methods in gov.nasa.worldwindx.applications.worldwindow.core with parameters of type LatLon Modifier and Type Method Description void
Controller. moveToLocation(LatLon location)
-
Uses of LatLon in gov.nasa.worldwindx.applications.worldwindow.util.measuretool
Methods in gov.nasa.worldwindx.applications.worldwindow.util.measuretool with parameters of type LatLon Modifier and Type Method Description protected boolean
WWOMeasureDisplay. areLocationsRedundant(LatLon locA, LatLon locB, UnitsFormat units)
protected java.lang.Double
WWOMeasureDisplay. computeAccumulatedLength(LatLon pos, WWOMeasureTool mt)
protected Angle
WWOMeasureDisplay. computeAngleBetween(LatLon a, LatLon b, LatLon c)
protected Position
WWOMeasureTool. computeSurfacePosition(LatLon latLon)
-
Uses of LatLon in gov.nasa.worldwindx.examples
Fields in gov.nasa.worldwindx.examples declared as LatLon Modifier and Type Field Description protected LatLon
ViewIteration.AppFrame.GoToLatLonFromCurrent. latlon
Fields in gov.nasa.worldwindx.examples with type parameters of type LatLon Modifier and Type Field Description protected static java.util.List<LatLon>
VideoOnTerrain. CORNERS
Methods in gov.nasa.worldwindx.examples that return LatLon Modifier and Type Method Description LatLon[]
ShapeEditingExtension.Arrow. getLocations()
protected static LatLon
KeepingObjectsInView. randomLocation(Sector sector)
Methods in gov.nasa.worldwindx.examples that return types with arguments of type LatLon Modifier and Type Method Description protected static java.lang.Iterable<LatLon>
Airspaces. makeLatLon(double[] src)
Methods in gov.nasa.worldwindx.examples with parameters of type LatLon Modifier and Type Method Description protected double
ShapeEditingExtension.ShapeEditorExtension. doGetControlPointAltitude(LatLon location, Renderable shape)
protected Vec4
AirspaceBuilder.AirspaceBuilderController. getPoint(LatLon latlon, double elevation)
protected Vec4
AirspaceBuilder.AirspaceBuilderController. getSurfacePoint(LatLon latlon, double elevation)
void
ShapeEditingExtension.Arrow. setLocations(LatLon location0, LatLon location1)
protected void
AirspaceBuilder.AirspaceBuilderController. zoomTo(LatLon latLon, Angle heading, Angle pitch, double zoom)
Method parameters in gov.nasa.worldwindx.examples with type arguments of type LatLon Modifier and Type Method Description double[]
GetBestElevations.AppFrame. getBestElevations(java.util.List<LatLon> locations)
Retrieve elevations for a specified list of locations.Constructors in gov.nasa.worldwindx.examples with parameters of type LatLon Constructor Description Arrow(LatLon location0, LatLon location1, double altitude)
-
Uses of LatLon in gov.nasa.worldwindx.examples.multiwindow
Fields in gov.nasa.worldwindx.examples.multiwindow declared as LatLon Modifier and Type Field Description protected static LatLon
FlatAndRoundGlobes. START_LOCATION
-
Uses of LatLon in gov.nasa.worldwindx.examples.util
Fields in gov.nasa.worldwindx.examples.util with type parameters of type LatLon Modifier and Type Field Description protected java.lang.Iterable<? extends LatLon>
LabeledPath. locations
The labeled path's locations as specified by the application.java.util.ArrayList<LatLon>
OpenStreetMapShapefileLoader.OSMShapes. locations
Methods in gov.nasa.worldwindx.examples.util that return types with arguments of type LatLon Modifier and Type Method Description static java.util.List<LatLon>
ShapeUtils. createSquareInViewport(WorldWindow wwd, Position position, Angle heading, double sizeInMeters)
java.lang.Iterable<? extends LatLon>
LabeledPath. getLocations()
Returns the labeled path's locations.Methods in gov.nasa.worldwindx.examples.util with parameters of type LatLon Modifier and Type Method Description protected void
DirectedSurfacePolyline. computeArrowheadGeometry(DrawContext dc, SurfaceTileDrawContext sdc, LatLon begin, LatLon end)
Compute the geometry of a direction arrow for a polyline segment.protected Vec4
LabeledPath. computePoint(DrawContext dc, LatLon location)
Computes a model-coordinate point from a LatLon or Position, applying the path's altitude mode.protected double
SurfaceImageEditor. computeSurfaceElevation(WorldWindow wwd, LatLon latLon)
Method parameters in gov.nasa.worldwindx.examples.util with type arguments of type LatLon Modifier and Type Method Description void
LabeledPath. setLocations(java.lang.Iterable<? extends LatLon> locations)
Specifies the labeled path's locations, which replace the path's current locations, if any.Constructor parameters in gov.nasa.worldwindx.examples.util with type arguments of type LatLon Constructor Description DirectedSurfacePolyline(ShapeAttributes normalAttrs, java.lang.Iterable<? extends LatLon> iterable)
Constructs a new directed surface polyline with the specified normal (as opposed to highlight) attributes and the specified iterable of locations.DirectedSurfacePolyline(java.lang.Iterable<? extends LatLon> iterable)
Constructs a new directed surface polyline with the default attributes and the specified iterable of locations.LabeledPath(java.lang.Iterable<? extends LatLon> locations)
Creates a labeled path with specified locations.LabeledPath(java.lang.Iterable<? extends LatLon> locations, ScreenAnnotation annotation)
Creates a labeled path with the specified label annotation and locations. -
Uses of LatLon in gov.nasa.worldwindx.performance
Fields in gov.nasa.worldwindx.performance declared as LatLon Modifier and Type Field Description protected static LatLon
VeryManyPaths. START_LOCATION
-