|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.vividsolutions.jts.geom.prep.BasePreparedGeometry
A base class implementation for PreparedGeometry subclasses.
Contains default implementations for methods, which simply delegate
to the equivalent Geometry methods.
This class may be used as a "no-op" class for Geometry types
which do not have an actual PreparedGeometry implementation.
| Constructor Summary | |
BasePreparedGeometry(Geometry geom)
|
|
| Method Summary | |
boolean |
contains(Geometry g)
Default implementation. |
boolean |
containsProperly(Geometry g)
Default implementation. |
Geometry |
getGeometry()
Gets the original Geometry which has been prepared. |
boolean |
intersects(Geometry g)
Default implementation. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.vividsolutions.jts.geom.prep.PreparedGeometry |
coveredBy, covers, crosses, disjoint, overlaps, touches, within |
| Constructor Detail |
public BasePreparedGeometry(Geometry geom)
| Method Detail |
public Geometry getGeometry()
PreparedGeometryGeometry which has been prepared.
getGeometry in interface PreparedGeometrypublic boolean intersects(Geometry g)
intersects in interface PreparedGeometryg - the Geometry to test
Geometry.intersects(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
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||