org.deegree.geometry.standard.multi
Class DefaultMultiSurface
java.lang.Object
org.deegree.geometry.standard.AbstractDefaultGeometry
org.deegree.geometry.standard.multi.DefaultMultiGeometry<Surface>
org.deegree.geometry.standard.multi.DefaultMultiSurface
- All Implemented Interfaces:
- Iterable<Surface>, Collection<Surface>, List<Surface>, GMLObject, Object, TypedObjectNode, Geometry, MultiGeometry<Surface>, MultiSurface<Surface>
public class DefaultMultiSurface
- extends DefaultMultiGeometry<Surface>
- implements MultiSurface<Surface>
Default implementation of MultiSurface
.
- Version:
- $Revision: 31641 $, $Date: 2011-08-24 21:24:55 +0200 (Wed, 24 Aug 2011) $
- Author:
- Markus Schneider , last edited by: $Author: mschneider $
Methods inherited from class org.deegree.geometry.standard.multi.DefaultMultiGeometry |
add, add, addAll, addAll, clear, contains, containsAll, get, getCoordinateDimension, getEnvelope, getGeometryType, indexOf, isEmpty, isSFSCompliant, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, size, subList, toArray, toArray |
Methods inherited from class org.deegree.geometry.standard.AbstractDefaultGeometry |
contains, createFromJTS, crosses, equals, getAsDefaultGeometry, getBuffer, getCentroid, getConvexHull, getCoordinateSystem, getDifference, getDistance, getGMLProperties, getId, getIntersection, getJTSGeometry, getPrecision, getUnion, intersects, isBeyond, isDisjoint, isWithin, isWithinDistance, overlaps, setCoordinateSystem, setGMLProperties, setId, setPrecision, toString, touches |
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 java.util.List |
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, size, subList, toArray, toArray |
DefaultMultiSurface
public DefaultMultiSurface(String id,
ICRS crs,
PrecisionModel pm,
List<Surface> members)
- Creates a new
DefaultMultiSurface
from the given parameters.
- Parameters:
id
- identifier, may be nullcrs
- coordinate reference system, may be nullpm
- precision model, may be nullmembers
-
getArea
public double getArea()
- Description copied from interface:
MultiSurface
- The are of all contained
Surface
s measured in units of the used CRS
.
- Specified by:
getArea
in interface MultiSurface<Surface>
- Returns:
- area
getMultiGeometryType
public MultiGeometry.MultiGeometryType getMultiGeometryType()
- Specified by:
getMultiGeometryType
in interface MultiGeometry<Surface>
- Overrides:
getMultiGeometryType
in class DefaultMultiGeometry<Surface>
- Returns:
- the type of MultiGeometry, see
MultiGeometry.MultiGeometryType
buildJTSGeometry
protected com.vividsolutions.jts.geom.MultiPolygon buildJTSGeometry()
- Overrides:
buildJTSGeometry
in class DefaultMultiGeometry<Surface>
Copyright © 2011. All Rights Reserved.