
JTS Topology Suite version 1.12  
PREV CLASS NEXT CLASS  FRAMES NO FRAMES  
SUMMARY: NESTED  FIELD  CONSTR  METHOD  DETAIL: FIELD  CONSTR  METHOD 
java.lang.Object com.vividsolutions.jts.algorithm.MinimumBoundingCircle
public class MinimumBoundingCircle
Computes the Minimum Bounding Circle (MBC)
for the points in a Geometry
.
The MBC is the smallest circle which contains
all the input points
(this is sometimes known as the Smallest Enclosing Circle).
This is equivalent to computing the Maximum Diameter
of the input point set.
The geometric circle can be specified in two equivalent ways, both of which are provide as output by this class:
Constructor Summary  

MinimumBoundingCircle(Geometry geom)
Creates a new object for computing the minimum bounding circle for the point set defined by the vertices of the given geometry. 
Method Summary  

Coordinate 
getCentre()
Gets the centre point of the computed Minimum Bounding Circle. 
Geometry 
getCircle()
Gets a geometry which represents the Minimum Bounding Circle. 
Coordinate[] 
getExtremalPoints()
Gets the extremal points which define the computed Minimum Bounding Circle. 
double 
getRadius()
Gets the radius of the computed Minimum Bounding Circle. 
Methods inherited from class java.lang.Object 

clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait 
Constructor Detail 

public MinimumBoundingCircle(Geometry geom)
geom
 the geometry to use to obtain the point setMethod Detail 

public Geometry getCircle()
public Coordinate[] getExtremalPoints()
public Coordinate getCentre()
public double getRadius()

JTS Topology Suite version 1.12  
PREV CLASS NEXT CLASS  FRAMES NO FRAMES  
SUMMARY: NESTED  FIELD  CONSTR  METHOD  DETAIL: FIELD  CONSTR  METHOD 