|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.deegree.model.spatialschema.GeometryImpl
org.deegree.model.spatialschema.AggregateImpl
org.deegree.model.spatialschema.MultiPrimitiveImpl
public class MultiPrimitiveImpl
default implementation of the MultiPrimitive interface
| Field Summary |
|---|
| Fields inherited from class org.deegree.model.spatialschema.AggregateImpl |
|---|
aggregate |
| Fields inherited from class org.deegree.model.spatialschema.GeometryImpl |
|---|
boundary, centroid, convexHull, crs, empty, envelope, mute, valid |
| Fields inherited from interface org.deegree.model.spatialschema.Geometry |
|---|
BUFFER_CAP_BUTT, BUFFER_CAP_ROUND, BUFFER_CAP_SQUARE |
| Constructor Summary | |
|---|---|
protected |
MultiPrimitiveImpl(CoordinateSystem crs)
Creates a new MultiPrimitiveImpl object. |
| Method Summary | |
|---|---|
protected void |
calculateParam()
recalculates internal parameters |
Primitive[] |
getAllPrimitives()
returns all Primitives as array |
int |
getCoordinateDimension()
The operation "coordinateDimension" shall return the dimension of the coordinates that define this Geometry, which must be the same as the coordinate dimension of the coordinate reference system for this Geometry. |
int |
getDimension()
The operation "dimension" shall return the inherent dimension of this Geometry, which shall be less than or equal to the coordinate dimension. |
Primitive |
getPrimitiveAt(int index)
returns the Primitive at the submitted index. |
void |
merge(Aggregate aggregate)
merges this aggregation with another one |
| Methods inherited from class org.deegree.model.spatialschema.AggregateImpl |
|---|
add, equals, getAll, getIterator, getObjectAt, getSize, insertObjectAt, intersects, isEmpty, isMember, removeAll, removeObject, removeObjectAt, setCoordinateSystem, setObjectAt, toString, translate |
| Methods inherited from class org.deegree.model.spatialschema.GeometryImpl |
|---|
clone, contains, contains, difference, distance, getBoundary, getBuffer, getBuffer, getCentroid, getConvexHull, getCoordinateSystem, getEnvelope, getTolerance, intersection, isValid, isWithinDistance, setEmpty, setTolerance, setValid, union |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.deegree.model.spatialschema.Aggregate |
|---|
add, getAll, getIterator, getObjectAt, getSize, insertObjectAt, isMember, removeAll, removeObject, removeObjectAt, setObjectAt |
| Methods inherited from interface org.deegree.model.spatialschema.Geometry |
|---|
contains, contains, difference, distance, getBoundary, getBuffer, getBuffer, getCentroid, getConvexHull, getCoordinateSystem, getEnvelope, getTolerance, intersection, intersects, isEmpty, isWithinDistance, setTolerance, translate, union |
| Constructor Detail |
|---|
protected MultiPrimitiveImpl(CoordinateSystem crs)
crs - | Method Detail |
|---|
public void merge(Aggregate aggregate)
throws GeometryException
merge in interface Aggregatemerge in class AggregateImplGeometryException - will be thrown if the submitted isn't the same type as the recieving one.public Primitive getPrimitiveAt(int index)
getPrimitiveAt in interface MultiPrimitivepublic Primitive[] getAllPrimitives()
getAllPrimitives in interface MultiPrimitivepublic int getCoordinateDimension()
Geometry
getCoordinateDimension in interface Geometrypublic int getDimension()
Geometry
getDimension in interface Geometryprotected void calculateParam()
GeometryImpl
calculateParam in class GeometryImpl
|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org