public class PreparedPoint extends BasicPreparedGeometry
Puntal
geometries.
Instances of this class are thread-safe.
Constructor and Description |
---|
PreparedPoint(Puntal point) |
Modifier and Type | Method and Description |
---|---|
boolean |
intersects(Geometry g)
Tests whether this point intersects a
Geometry . |
contains, containsProperly, coveredBy, covers, crosses, disjoint, envelopeCovers, envelopesIntersect, getGeometry, getRepresentativePoints, isAnyTargetComponentInTest, overlaps, toString, touches, within
public PreparedPoint(Puntal point)
public boolean intersects(Geometry g)
Geometry
.
The optimization here is that computing topology for the test geometry is avoided. This can be significant for large geometries.
intersects
in interface PreparedGeometry
intersects
in class BasicPreparedGeometry
g
- the Geometry to testGeometry.intersects(Geometry)