Package org.locationtech.jts.geom.prep
Class PreparedPoint
java.lang.Object
org.locationtech.jts.geom.prep.BasicPreparedGeometry
org.locationtech.jts.geom.prep.PreparedPoint
- All Implemented Interfaces:
PreparedGeometry
A prepared version for
Puntal
geometries.
Instances of this class are thread-safe.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.locationtech.jts.geom.prep.BasicPreparedGeometry
contains, containsProperly, coveredBy, covers, crosses, disjoint, envelopeCovers, envelopesIntersect, getGeometry, getRepresentativePoints, isAnyTargetComponentInTest, overlaps, toString, touches, within
-
Constructor Details
-
PreparedPoint
-
-
Method Details
-
intersects
Tests whether this point intersects aGeometry
.The optimization here is that computing topology for the test geometry is avoided. This can be significant for large geometries.
- Specified by:
intersects
in interfacePreparedGeometry
- Overrides:
intersects
in classBasicPreparedGeometry
- Parameters:
g
- the Geometry to test- Returns:
- true if this Geometry intersects the given Geometry
- See Also:
-