Class PreparedPolygon

Hierarchy: Object , BasicPreparedGeometry, PreparedPolygon
All Implemented Interfaces: PreparedGeometry
public class PreparedPolygon
extends BasicPreparedGeometry
A prepared version for Polygonal geometries. This class supports both Polygons and MultiPolygons.

This class does not support MultiPolygons which are non-valid (e.g. with overlapping elements).

Instances of this class are thread-safe and immutable.

Authors:
mbdavis
public PreparedPolygon(Polygonal poly)
public synchronized FastSegmentSetIntersectionFinder getIntersectionFinder()
Gets the indexed intersection finder for this geometry.
Returns:
the intersection finder
public synchronized PointOnGeometryLocator getPointLocator()
public boolean intersects(Geometry g)
public boolean contains(Geometry g)
public boolean containsProperly(Geometry g)
public boolean covers(Geometry g)