MaximumInscribedCircle class
Constructors
- MaximumInscribedCircle(Geometry polygonal, double tolerance)
- Creates a new instance of a Maximum Inscribed Circle computation.
Properties
- centerCell ↔ CellMIC
-
getter/setter pair
- centerPoint ↔ Point
-
getter/setter pair
- centerPt ↔ Coordinate
-
getter/setter pair
- factory ↔ GeometryFactory
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- indexedDistance ↔ IndexedFacetDistance
-
getter/setter pair
- inputGeom ↔ Geometry
-
getter/setter pair
- ptLocater ↔ IndexedPointInAreaLocator
-
getter/setter pair
- radiusPoint ↔ Point
-
getter/setter pair
- radiusPt ↔ Coordinate
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- tolerance ↔ double
-
getter/setter pair
Methods
-
compute(
) → void -
createCell(
double x, double y, double hSide) → CellMIC -
createInitialGrid(
Envelope env, PriorityQueue cellQueue) → void - Initializes the queue with a cell covering the extent of the area.
-
createInterorPointCell(
Geometry geom) → CellMIC -
distanceToBoundaryPoint(
Point p) → double - Computes the signed distance from a point to the area boundary. Points outside the polygon are assigned a negative distance. Their containing cells will be last in the priority queue (but may still end up being tested since they may need to be refined).
-
distanceToBoundaryXY(
double x, double y) → double -
getCenterPoint(
) → Point - Gets the center point of the maximum inscribed circle (up to the tolerance distance).
-
getRadiusLineString(
) → LineString - Gets a line representing a radius of the Largest Empty Circle.
-
getRadiusPoint(
) → Point - Gets a point defining the radius of the Maximum Inscribed Circle. This is a point on the boundary which is nearest to the computed center of the Maximum Inscribed Circle. The line segment from the center to this point is a radius of the constructed circle, and this point lies on the boundary of the circle.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
computeMaximumIterations(
Geometry geom, double toleranceDist) → int - Computes the maximum number of iterations allowed. Uses a heuristic based on the size of the input geometry and the tolerance distance. A smaller tolerance distance allows more iterations. This is a rough heuristic, intended to prevent huge iterations for very thin geometries.
-
getCenter(
Geometry polygonal, double tolerance) → Point - Computes the center point of the Maximum Inscribed Circle of a polygonal geometry, up to a given tolerance distance.
-
getRadiusLine(
Geometry polygonal, double tolerance) → LineString - Computes a radius line of the Maximum Inscribed Circle of a polygonal geometry, up to a given tolerance distance.