DirectPosition
, which is derived from OGC/ISO specifications.@Deprecated public class LatLonPointRadius extends GeneralDirectPosition
ordinates
Constructor and Description |
---|
LatLonPointRadius(LatLon center,
double radius)
Deprecated.
Creates a representation of point-radius search region.
|
Modifier and Type | Method and Description |
---|---|
LatLon[] |
getCircularRegionApproximation(int numberOfPoints)
Deprecated.
Gets the circular region approximation on the earth surface using haversine
formula.
|
Rectangle2D |
getRectangularRegionApproximation(int numberOfPoints)
Deprecated.
Calculates the rectangular region enclosing the circular search region.
|
clone, getCoordinate, getCoordinateReferenceSystem, getDimension, getOrdinate, hashCode, setCoordinate, setCoordinateReferenceSystem, setLocation, setOrdinate, toString
equals, getDirectPosition, normalize
public LatLonPointRadius(LatLon center, double radius)
center
- the center of the search regionradius
- the radius of the search regionpublic LatLon[] getCircularRegionApproximation(int numberOfPoints)
numberOfPoints
- the number of points used to estimate the circular regionpublic Rectangle2D getRectangularRegionApproximation(int numberOfPoints)
numberOfPoints
- the number of points used to estimate the circular search regionCopyright © 2010–2013 The Apache Software Foundation. All rights reserved.