|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object nl.idgis.giserver.spatialoperations.GeometryCard
public class GeometryCard
This class will the container for the gml object acting as the instigator for intersections with features geometries. The intersection is instigated by the method intersection. If there was a buffer specified the intersection the intersection is also done for the buffered variant. The results will be registered in this class. Before a new intersection is done the registered values must be reset.
Constructor Summary | |
---|---|
GeometryCard(org.deegree.model.spatialschema.Geometry geom,
java.lang.String id)
|
Method Summary | |
---|---|
void |
addBuffer(double buffer)
Specify a buffer to this card geometry object. |
void |
addGeometry(org.deegree.model.spatialschema.Geometry geom)
|
double |
getAreaBufferedIntersected()
|
double |
getAreaIntersected()
|
org.deegree.model.spatialschema.Envelope |
getEnvelope()
|
org.deegree.model.spatialschema.Envelope |
getEnvelopeMax(org.deegree.model.spatialschema.Envelope envelope)
|
org.deegree.model.spatialschema.Geometry |
getGeom()
|
org.deegree.model.spatialschema.Geometry |
getGeomBuffered()
|
org.deegree.model.spatialschema.Geometry |
getGeomBufferedIntersected()
|
GeometryReportMode |
getGeometryReportMode()
|
org.deegree.model.spatialschema.Geometry |
getGeomIntersected()
|
java.lang.String |
getId()
|
java.lang.String |
getIdBuffered()
|
double |
getLengthBufferedIntersected()
|
double |
getLengthIntersected()
|
double |
getPerimeterBufferedIntersected()
|
double |
getPerimeterIntersected()
|
boolean |
hasGeometry()
|
boolean |
haveIntersectionGeometry()
|
void |
intersection(org.deegree.model.spatialschema.Geometry geomIntersect)
Determine the intersection between two geometries. |
void |
resetIntersection()
Reset registered values from intersection |
void |
setGeometryReportMode(GeometryReportMode geometryReportMode)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GeometryCard(org.deegree.model.spatialschema.Geometry geom, java.lang.String id)
Method Detail |
---|
public void addBuffer(double buffer) throws org.deegree.model.spatialschema.GeometryException
buffer
- size of the buffer.
org.deegree.model.spatialschema.GeometryException
public void addGeometry(org.deegree.model.spatialschema.Geometry geom)
public boolean hasGeometry()
public org.deegree.model.spatialschema.Envelope getEnvelope()
public void intersection(org.deegree.model.spatialschema.Geometry geomIntersect) throws org.deegree.model.spatialschema.GeometryException
geomIntersect
- geometry intersecting object
org.deegree.model.spatialschema.GeometryException
public GeometryReportMode getGeometryReportMode()
public void setGeometryReportMode(GeometryReportMode geometryReportMode)
public org.deegree.model.spatialschema.Geometry getGeomIntersected()
public org.deegree.model.spatialschema.Geometry getGeomBufferedIntersected()
public org.deegree.model.spatialschema.Envelope getEnvelopeMax(org.deegree.model.spatialschema.Envelope envelope) throws org.deegree.model.spatialschema.GeometryException
org.deegree.model.spatialschema.GeometryException
public boolean haveIntersectionGeometry()
public java.lang.String getId()
public java.lang.String getIdBuffered()
public double getAreaIntersected()
public double getPerimeterIntersected()
public double getLengthIntersected()
public double getAreaBufferedIntersected()
public double getPerimeterBufferedIntersected()
public double getLengthBufferedIntersected()
public void resetIntersection()
public org.deegree.model.spatialschema.Geometry getGeom()
public org.deegree.model.spatialschema.Geometry getGeomBuffered()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |