com.bbn.openmap.geo
Interface BoundingCircle
- All Known Implementing Classes:
- BoundingCircle.Impl, RadialRegion
public interface BoundingCircle
Interface that describes a bounding circle around a given point on
a sphere.
Nested Class Summary |
static class |
BoundingCircle.Impl
A simple implementation of BoundingCircle, storing the center
and radius as data members. |
getCenter
Geo getCenter()
- Returns a Geo representing the center of the circle.
- Returns:
- Geo
getRadius
double getRadius()
- Returns:
- the radius of the bounding circle in radians.
intersects
boolean intersects(BoundingCircle bc)
- Returns:
- whether this bounding circle intersects with another.
intersects
boolean intersects(Geo g,
double radius)
- Returns:
- whether this bounding circle intersects with a Geo with a radius (radians) around it.
Copyright (C) BBNT Solutions LLC; See http://openmap.bbn.com/ for details