public class GeoEllipse extends GeoPolygon
| Constructor and Description |
|---|
GeoEllipse(GeoCoord geoCenter,
double angle,
double longAxis,
double shortAxis)
Instantiates a new geographic ellipse.
|
| Modifier and Type | Method and Description |
|---|---|
double |
getAngle()
Gets the angle (azimuth) for this Ellipse.
|
GeoCoord |
getCenter()
Gets the center coordinate for this Ellipse.
|
double |
getMinorRadius()
Gets the minor radius (short axis) for this Ellipse.
|
double |
getRadius()
Get the radius of this ellipse.
|
getCoordinates, getData, getGeoBounds, getGeoPoints, getRenderStyle, project, setData, setGeoPoints, setRenderStyleaddPoint, contains, contains, contains, contains, contains, contains, getBoundingBox, getBounds, getBounds2D, getPathIterator, getPathIterator, inside, intersects, intersects, invalidate, reset, translatepublic GeoEllipse(GeoCoord geoCenter, double angle, double longAxis, double shortAxis)
geoCenter - the center of the ellipseangle - the angle that the long axis forms with true north,
measured clockwise in degreeslongAxis - the long axis the long (major) axis of the ellipse,
measured in metersshortAxis - the short axis the short (minor) axis of the ellipse,
measured in meterspublic double getAngle()
public GeoCoord getCenter()
public double getMinorRadius()