org.geotools.geometry.jts.spatialschema.geometry.complex
Class CompositeImpl

java.lang.Object
  extended by org.geotools.geometry.jts.spatialschema.geometry.GeometryImpl
      extended by org.geotools.geometry.jts.spatialschema.geometry.complex.ComplexImpl
          extended by org.geotools.geometry.jts.spatialschema.geometry.complex.CompositeImpl
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, JTSGeometry, org.opengis.geometry.complex.Complex, org.opengis.geometry.complex.Composite, org.opengis.geometry.Geometry, org.opengis.geometry.TransfiniteSet
Direct Known Subclasses:
CompositeCurveImpl, CompositeSurfaceImpl

public abstract class CompositeImpl
extends ComplexImpl
implements org.opengis.geometry.complex.Composite

A geometric complex with an underlying core geometry that is isomorphic to a primitive. Thus, a composite curve is a collection of curves whose geometry interface could be satisfied by a single curve (albeit a much more complex one). Composites are intended for use as attribute values in datasets in which the underlying geometry has been decomposed, usually to expose its topological nature.

Version:
2.0
Author:
ISO/DIS 19107, OpenGIS® consortium
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.geotools.geometry.jts.spatialschema.geometry.GeometryImpl
GeometryImpl.MathTransformFilter
 
Field Summary
 
Fields inherited from class org.geotools.geometry.jts.spatialschema.geometry.complex.ComplexImpl
setViewOfElements
 
Constructor Summary
CompositeImpl()
           
CompositeImpl(org.opengis.referencing.crs.CoordinateReferenceSystem crs)
           
 
Method Summary
 java.util.Collection<? extends org.opengis.geometry.primitive.Primitive> getGenerators()
          Returns a homogeneous collection of primitives whose union would be the core geometry of the composite.
 
Methods inherited from class org.geotools.geometry.jts.spatialschema.geometry.complex.ComplexImpl
computeJTSPeer, getElementList, getElements, getSubComplexes, getSubComplexSet, getSuperComplexes, isMaximal
 
Methods inherited from class org.geotools.geometry.jts.spatialschema.geometry.GeometryImpl
clone, contains, contains, difference, distance, equals, getBoundary, getBuffer, getCentroid, getClosure, getConvexHull, getCoordinateDimension, getCoordinateReferenceSystem, getDimension, getDistance, getEnvelope, getJTSGeometry, getMaximalComplex, getMbRegion, getPrecision, getRepresentativePoint, intersection, intersects, invalidateCachedJTSPeer, isCycle, isMutable, isSimple, listAsSet, setJTSPeer, setParent, symmetricDifference, toImmutable, transform, transform, union
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.opengis.geometry.complex.Complex
getElements, getSubComplexes, getSuperComplexes, isMaximal
 
Methods inherited from interface org.opengis.geometry.Geometry
clone, distance, getBoundary, getBuffer, getCentroid, getClosure, getConvexHull, getCoordinateDimension, getCoordinateReferenceSystem, getDimension, 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
 

Constructor Detail

CompositeImpl

public CompositeImpl()

CompositeImpl

public CompositeImpl(org.opengis.referencing.crs.CoordinateReferenceSystem crs)
Method Detail

getGenerators

public java.util.Collection<? extends org.opengis.geometry.primitive.Primitive> getGenerators()
Returns a homogeneous collection of primitives whose union would be the core geometry of the composite. The complex would include all primitives in the generator and all primitives on the boundary of these primitives, and so forth until points are included. Thus the generators on Composite is a subset of the elements on complex.

Specified by:
getGenerators in interface org.opengis.geometry.complex.Composite
Returns:
The list of primitives in this composite.


Copyright © 1996-2010 Geotools. All Rights Reserved.