org.geotools.geometry.iso.primitive
Class ShellImpl

java.lang.Object
  extended by org.geotools.geometry.iso.root.GeometryImpl
      extended by org.geotools.geometry.iso.complex.ComplexImpl
          extended by org.geotools.geometry.iso.complex.CompositeImpl<OrientableSurfaceImpl>
              extended by org.geotools.geometry.iso.complex.CompositeSurfaceImpl
                  extended by org.geotools.geometry.iso.primitive.ShellImpl
All Implemented Interfaces:
java.io.Serializable, org.opengis.geometry.complex.Complex, org.opengis.geometry.complex.Composite, org.opengis.geometry.complex.CompositeSurface, org.opengis.geometry.Geometry, org.opengis.geometry.primitive.OrientablePrimitive, org.opengis.geometry.primitive.OrientableSurface, org.opengis.geometry.primitive.Primitive, org.opengis.geometry.primitive.Shell, org.opengis.geometry.TransfiniteSet

public class ShellImpl
extends CompositeSurfaceImpl
implements org.opengis.geometry.primitive.Shell

A Shell is used to represent a single connected component of a SolidBoundary. It consists of a number of references to OrientableSurfaces connected in a topological cycle (an object whose boundary is empty). Unlike a Ring, a Shell's elements have no natural sort order. Like Rings, Shells are simple. Shell: {isSimple() = TRUE}

Author:
Jackson Roehrig & Sanjay Jena
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.geotools.geometry.iso.complex.ComplexImpl
elements
 
Fields inherited from class org.geotools.geometry.iso.root.GeometryImpl
crs, percision
 
Constructor Summary
ShellImpl(org.opengis.referencing.crs.CoordinateReferenceSystem crs, java.util.List<org.opengis.geometry.primitive.OrientableSurface> generator)
           
 
Method Summary
 boolean isCycle()
           
 boolean isSimple()
           
 
Methods inherited from class org.geotools.geometry.iso.complex.CompositeSurfaceImpl
clone, createBoundary, getBoundary, getComplexes, getComposite, getContainedPrimitives, getContainingPrimitives, getDimension, getEnvelope, getGeneratorClass, getGenerators, getOrientation, getPrimitive, getProxy, getRepresentativePoint
 
Methods inherited from class org.geotools.geometry.iso.complex.ComplexImpl
addSubComplex, addSuperComplex, getElements, getMaximalComplex, getSubComplexes, getSuperComplexes, isMaximal, setElements
 
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, getMbRegion, getPositionFactory, getPrecision, intersection, intersects, 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.complex.CompositeSurface
getGenerators
 
Methods inherited from interface org.opengis.geometry.complex.Complex
getElements, getSubComplexes, getSuperComplexes, isMaximal
 
Methods inherited from interface org.opengis.geometry.primitive.OrientableSurface
getBoundary, getComposite, getPrimitive
 
Methods inherited from interface org.opengis.geometry.primitive.OrientablePrimitive
getOrientation
 
Methods inherited from interface org.opengis.geometry.primitive.Primitive
getComplexes, getContainedPrimitives, getContainingPrimitives, getProxy
 
Methods inherited from interface org.opengis.geometry.Geometry
clone, distance, getBuffer, getCentroid, getClosure, getConvexHull, getCoordinateDimension, getCoordinateReferenceSystem, getDimension, getEnvelope, getMaximalComplex, getMbRegion, getPrecision, getRepresentativePoint, isMutable, toImmutable, transform, transform
 
Methods inherited from interface org.opengis.geometry.TransfiniteSet
contains, contains, difference, equals, intersection, intersects, symmetricDifference, union
 

Constructor Detail

ShellImpl

public ShellImpl(org.opengis.referencing.crs.CoordinateReferenceSystem crs,
                 java.util.List<org.opengis.geometry.primitive.OrientableSurface> generator)
Parameters:
crs -
generator -
Method Detail

isSimple

public boolean isSimple()
Specified by:
isSimple in interface org.opengis.geometry.Geometry
Specified by:
isSimple in interface org.opengis.geometry.primitive.Shell
Overrides:
isSimple in class CompositeSurfaceImpl

isCycle

public boolean isCycle()
Specified by:
isCycle in interface org.opengis.geometry.Geometry
Overrides:
isCycle in class GeometryImpl


Copyright © 1996-2010 Geotools. All Rights Reserved.