Class PreparedPolygon

java.lang.Object
org.locationtech.jts.geom.prep.BasicPreparedGeometry
org.locationtech.jts.geom.prep.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.