|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Surface
Surface
instances are 2D-geometries that consist of an arbitrary number of surface patches which are not
necessarily planar.
Nested Class Summary | |
---|---|
static class |
Surface.SurfaceType
Convenience enum type for discriminating the different surface variants. |
Nested classes/interfaces inherited from interface org.deegree.geometry.primitive.GeometricPrimitive |
---|
GeometricPrimitive.PrimitiveType |
Nested classes/interfaces inherited from interface org.deegree.geometry.Geometry |
---|
Geometry.GeometryType |
Method Summary | |
---|---|
Measure |
getArea(Unit requestedBaseUnit)
|
Points |
getExteriorRingCoordinates()
Convenience method for accessing the control points of the exterior ring of a simple polygon surface. |
List<Points> |
getInteriorRingsCoordinates()
Convenience method for accessing the control points of the interior rings of a simple polygon surface. |
List<? extends SurfacePatch> |
getPatches()
Returns the patches that constitute this surface. |
Measure |
getPerimeter(Unit requestedUnit)
|
GeometricPrimitive.PrimitiveType |
getPrimitiveType()
Must always return GeometricPrimitive.PrimitiveType.Surface . |
Surface.SurfaceType |
getSurfaceType()
Returns the type of surface. |
Methods inherited from interface org.deegree.geometry.primitive.GeometricPrimitive |
---|
getGeometryType |
Methods inherited from interface org.deegree.geometry.Geometry |
---|
contains, crosses, equals, getBuffer, getCentroid, getConvexHull, getCoordinateDimension, getCoordinateSystem, getDifference, getDistance, getEnvelope, getId, getIntersection, getPrecision, getUnion, intersects, isBeyond, isDisjoint, isSFSCompliant, isWithin, isWithinDistance, overlaps, setCoordinateSystem, setGMLProperties, setId, setPrecision, touches |
Methods inherited from interface org.deegree.commons.tom.gml.GMLObject |
---|
getGMLProperties |
Method Detail |
---|
GeometricPrimitive.PrimitiveType getPrimitiveType()
GeometricPrimitive.PrimitiveType.Surface
.
getPrimitiveType
in interface GeometricPrimitive
GeometricPrimitive.PrimitiveType.Surface
Surface.SurfaceType getSurfaceType()
Measure getArea(Unit requestedBaseUnit)
requestedBaseUnit
-
Measure getPerimeter(Unit requestedUnit)
requestedUnit
-
List<? extends SurfacePatch> getPatches()
Points getExteriorRingCoordinates()
NOTE: This method is only safe to use when the surface consists of a single planar patch that has a linear interpolated exterior ring.
IllegalArgumentException
- if the surface has more than one patch, the patch is not planar or the exterior boundary is not
completely described by linear interpolated segmentsList<Points> getInteriorRingsCoordinates()
NOTE: This method is only safe to use when the surface consists of a single planar patch that has linear interpolated interior rings.
IllegalArgumentException
- if the surface has more than one patch, the patch is not planar or the interior boundaries are not
completely described by linear interpolated segments
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |