org.geotools.geometry.iso.aggregate
Class AggregateImpl

java.lang.Object
  extended by org.geotools.geometry.iso.root.GeometryImpl
      extended by org.geotools.geometry.iso.aggregate.AggregateImpl
Type Parameters:
T -
All Implemented Interfaces:
java.io.Serializable, org.opengis.geometry.aggregate.Aggregate, org.opengis.geometry.Geometry, org.opengis.geometry.TransfiniteSet
Direct Known Subclasses:
MultiPrimitiveImpl

public abstract class AggregateImpl
extends GeometryImpl
implements org.opengis.geometry.aggregate.Aggregate

Author:
roehrig
See Also:
Serialized Form

Field Summary
protected  java.util.Set<? extends org.opengis.geometry.Geometry> elements
           
 
Fields inherited from class org.geotools.geometry.iso.root.GeometryImpl
crs, percision
 
Constructor Summary
AggregateImpl(org.opengis.referencing.crs.CoordinateReferenceSystem crs, java.util.Set<? extends org.opengis.geometry.Geometry> elements)
           
 
Method Summary
 GeometryImpl clone()
           
 org.opengis.geometry.Boundary getBoundary()
          Union the various elements together and return the result.
 int getDimension(org.opengis.geometry.DirectPosition point)
           
 java.util.Set<? extends org.opengis.geometry.Geometry> getElements()
           
 
Methods inherited from class org.geotools.geometry.iso.root.GeometryImpl
castToGeometryImpl, castToGeometryImpl, contains, contains, cRelate, crosses, difference, disjoint, distance, equals, getBuffer, getCentroid, getClosure, getConvexHull, getCoordinateDimension, getCoordinateReferenceSystem, getDistance, getEnvelope, getMbRegion, getPositionFactory, getPrecision, getRepresentativePoint, intersection, intersects, isCycle, isMutable, overlaps, relate, symmetricDifference, toImmutable, touches, transform, transform, union, within
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.opengis.geometry.Geometry
distance, getBuffer, getCentroid, getClosure, getConvexHull, getCoordinateDimension, getCoordinateReferenceSystem, getEnvelope, getMaximalComplex, getMbRegion, getPrecision, getRepresentativePoint, isCycle, isMutable, isSimple, toImmutable, transform, transform
 
Methods inherited from interface org.opengis.geometry.TransfiniteSet
contains, contains, difference, equals, intersection, intersects, symmetricDifference, union
 

Field Detail

elements

protected java.util.Set<? extends org.opengis.geometry.Geometry> elements
Constructor Detail

AggregateImpl

public AggregateImpl(org.opengis.referencing.crs.CoordinateReferenceSystem crs,
                     java.util.Set<? extends org.opengis.geometry.Geometry> elements)
Parameters:
crs -
Method Detail

getElements

public java.util.Set<? extends org.opengis.geometry.Geometry> getElements()
Specified by:
getElements in interface org.opengis.geometry.aggregate.Aggregate

clone

public GeometryImpl clone()
                   throws java.lang.CloneNotSupportedException
Specified by:
clone in interface org.opengis.geometry.Geometry
Specified by:
clone in class GeometryImpl
Throws:
java.lang.CloneNotSupportedException

getBoundary

public org.opengis.geometry.Boundary getBoundary()
Union the various elements together and return the result.

Specified by:
getBoundary in interface org.opengis.geometry.Geometry
Specified by:
getBoundary in class GeometryImpl

getDimension

public int getDimension(org.opengis.geometry.DirectPosition point)
Specified by:
getDimension in interface org.opengis.geometry.Geometry
Specified by:
getDimension in class GeometryImpl


Copyright © 1996-2010 Geotools. All Rights Reserved.