|
JTS Topology Suite version 1.12 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.vividsolutions.jts.geom.prep.PreparedPoint
public class PreparedPoint
A prepared version for Puntal geometries.
| Constructor Summary | |
|---|---|
PreparedPoint(Puntal point)
|
|
| Method Summary | |
|---|---|
boolean |
contains(Geometry g)
Default implementation. |
boolean |
containsProperly(Geometry g)
Default implementation. |
boolean |
coveredBy(Geometry g)
Default implementation. |
boolean |
covers(Geometry g)
Default implementation. |
boolean |
crosses(Geometry g)
Default implementation. |
boolean |
disjoint(Geometry g)
Standard implementation for all geometries. |
protected boolean |
envelopeCovers(Geometry g)
Determines whether the envelope of this geometry covers the Geometry g. |
protected boolean |
envelopesIntersect(Geometry g)
Determines whether a Geometry g interacts with this geometry by testing the geometry envelopes. |
Geometry |
getGeometry()
Gets the original Geometry which has been prepared. |
java.util.List |
getRepresentativePoints()
Gets the list of representative points for this geometry. |
boolean |
intersects(Geometry g)
Tests whether this point intersects a Geometry. |
boolean |
isAnyTargetComponentInTest(Geometry testGeom)
Tests whether any representative of the target geometry intersects the test geometry. |
boolean |
overlaps(Geometry g)
Default implementation. |
java.lang.String |
toString()
|
boolean |
touches(Geometry g)
Default implementation. |
boolean |
within(Geometry g)
Default implementation. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public PreparedPoint(Puntal point)
| Method Detail |
|---|
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 PreparedGeometryg - the Geometry to test
Geometry.intersects(Geometry)public Geometry getGeometry()
PreparedGeometryGeometry which has been prepared.
getGeometry in interface PreparedGeometrypublic java.util.List getRepresentativePoints()
public boolean isAnyTargetComponentInTest(Geometry testGeom)
geom - the test geometryrepPts - the representative points of the target geometry
protected boolean envelopesIntersect(Geometry g)
g - a Geometry
protected boolean envelopeCovers(Geometry g)
g - a Geometry
public boolean contains(Geometry g)
contains in interface PreparedGeometryg - the Geometry to test
Geometry.contains(Geometry)public boolean containsProperly(Geometry g)
containsProperly in interface PreparedGeometryg - the Geometry to test
Geometry.contains(com.vividsolutions.jts.geom.Geometry)public boolean coveredBy(Geometry g)
coveredBy in interface PreparedGeometryg - the Geometry to test
Geometry.coveredBy(Geometry)public boolean covers(Geometry g)
covers in interface PreparedGeometryg - the Geometry to test
Geometry.covers(Geometry)public boolean crosses(Geometry g)
crosses in interface PreparedGeometryg - the Geometry to test
Geometry.crosses(Geometry)public boolean disjoint(Geometry g)
GeometryCollections as input.
disjoint in interface PreparedGeometryg - the Geometry to test
Geometry.disjoint(Geometry)public boolean overlaps(Geometry g)
overlaps in interface PreparedGeometryg - the Geometry to test
Geometry.overlaps(Geometry)public boolean touches(Geometry g)
touches in interface PreparedGeometryg - the Geometry to test
Geometry.touches(Geometry)public boolean within(Geometry g)
within in interface PreparedGeometryg - the Geometry to test
Geometry.within(Geometry)public java.lang.String toString()
toString in class java.lang.Object
|
JTS Topology Suite version 1.12 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||