|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.deegree.geometry.standard.AbstractDefaultGeometry
org.deegree.geometry.standard.primitive.DefaultSolid
public class DefaultSolid
Default implementation of Solid.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.deegree.geometry.primitive.Solid |
|---|
Solid.SolidType |
| 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 |
| Field Summary |
|---|
| Fields inherited from class org.deegree.geometry.standard.AbstractDefaultGeometry |
|---|
crs, env, id, jtsFactory, jtsGeometry, pm |
| Constructor Summary | |
|---|---|
DefaultSolid(String id,
ICRS crs,
PrecisionModel pm,
Surface exteriorSurface,
List<Surface> interiorSurfaces)
Creates a new DefaultSolid instance from the given parameters. |
|
| Method Summary | |
|---|---|
Measure |
getArea(Unit requestedBaseUnit)
|
int |
getCoordinateDimension()
Returns the coordinate dimension, i.e. the dimension of the space that the geometry is embedded in. |
Envelope |
getEnvelope()
Returns the minimal bounding box of the geometry. |
Surface |
getExteriorSurface()
Returns the exterior surface (shell) of the solid. |
Geometry.GeometryType |
getGeometryType()
Must always return Geometry.GeometryType#PRIMITIVE_GEOMETRY. |
List<Surface> |
getInteriorSurfaces()
Returns the interior surfaces of the solid. |
GeometricPrimitive.PrimitiveType |
getPrimitiveType()
Must always return GeometricPrimitive.PrimitiveType.Solid. |
Solid.SolidType |
getSolidType()
Returns the type of solid. |
Measure |
getVolume(Unit requestedBaseUnit)
|
| Methods inherited from class org.deegree.geometry.standard.AbstractDefaultGeometry |
|---|
buildJTSGeometry, contains, createFromJTS, crosses, equals, getAsDefaultGeometry, getBuffer, getCentroid, getConvexHull, getCoordinateSystem, getDifference, getDistance, getGMLProperties, getId, getIntersection, getJTSGeometry, getPrecision, getUnion, intersects, isBeyond, isDisjoint, isSFSCompliant, isWithin, isWithinDistance, overlaps, setCoordinateSystem, setGMLProperties, setId, setPrecision, toString, touches |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.deegree.geometry.Geometry |
|---|
contains, crosses, equals, getBuffer, getCentroid, getConvexHull, getCoordinateSystem, getDifference, getDistance, 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 |
| Constructor Detail |
|---|
public DefaultSolid(String id,
ICRS crs,
PrecisionModel pm,
Surface exteriorSurface,
List<Surface> interiorSurfaces)
DefaultSolid instance from the given parameters.
id - identifier, may be nullcrs - coordinate reference system, may be nullpm - precision model, may be nullexteriorSurface - the exterior surface (shell) of the solid, may be nullinteriorSurfaces - the interior surfaces of the solid, may be null or empty| Method Detail |
|---|
public int getCoordinateDimension()
Geometry
getCoordinateDimension in interface Geometrypublic Surface getExteriorSurface()
SolidPlease note that this method may return null. The following explanation is from the GML 3.1.1 schema (geometryPrimitives.xsd): In normal 3-dimensional Euclidean space, one (composite) surface is distinguished as the exterior. In the more general case, this is not always possible.
getExteriorSurface in interface Solidpublic List<Surface> getInteriorSurfaces()
Solid
getInteriorSurfaces in interface Solidpublic GeometricPrimitive.PrimitiveType getPrimitiveType()
SolidGeometricPrimitive.PrimitiveType.Solid.
getPrimitiveType in interface GeometricPrimitivegetPrimitiveType in interface SolidGeometricPrimitive.PrimitiveType.Solidpublic Solid.SolidType getSolidType()
Solid
getSolidType in interface Solidpublic Geometry.GeometryType getGeometryType()
GeometricPrimitiveGeometry.GeometryType#PRIMITIVE_GEOMETRY.
getGeometryType in interface GeometrygetGeometryType in interface GeometricPrimitiveGeometry.GeometryType#PRIMITIVE_GEOMETRYpublic Measure getArea(Unit requestedBaseUnit)
getArea in interface Solidpublic Measure getVolume(Unit requestedBaseUnit)
getVolume in interface Solidpublic Envelope getEnvelope()
Geometry
getEnvelope in interface GeometrygetEnvelope in class AbstractDefaultGeometry
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||