Package org.apache.lucene.spatial3d.geom
Interface GeoSizeable
-
- All Known Subinterfaces:
GeoBBox
,GeoCircle
,GeoPointShape
- All Known Implementing Classes:
GeoBaseBBox
,GeoBaseCircle
,GeoDegenerateHorizontalLine
,GeoDegenerateLatitudeZone
,GeoDegenerateLongitudeSlice
,GeoDegeneratePoint
,GeoDegenerateVerticalLine
,GeoExactCircle
,GeoLatitudeZone
,GeoLongitudeSlice
,GeoNorthLatitudeZone
,GeoNorthRectangle
,GeoRectangle
,GeoSouthLatitudeZone
,GeoSouthRectangle
,GeoStandardCircle
,GeoWideDegenerateHorizontalLine
,GeoWideLongitudeSlice
,GeoWideNorthRectangle
,GeoWideRectangle
,GeoWideSouthRectangle
,GeoWorld
public interface GeoSizeable
Some shapes can compute radii of a geocircle in which they are inscribed.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GeoPoint
getCenter()
Returns the center of a circle into which the area will be inscribed.double
getRadius()
Returns the radius of a circle into which the GeoSizeable area can be inscribed.
-
-
-
Method Detail
-
getRadius
double getRadius()
Returns the radius of a circle into which the GeoSizeable area can be inscribed.- Returns:
- the radius.
-
getCenter
GeoPoint getCenter()
Returns the center of a circle into which the area will be inscribed.- Returns:
- the center.
-
-