org.geotools.geometry.iso.coordinate
Class PolyhedralSurfaceImpl

java.lang.Object
  extended by org.geotools.geometry.iso.root.GeometryImpl
      extended by org.geotools.geometry.iso.primitive.PrimitiveImpl
          extended by org.geotools.geometry.iso.primitive.OrientablePrimitiveImpl
              extended by org.geotools.geometry.iso.primitive.OrientableSurfaceImpl
                  extended by org.geotools.geometry.iso.primitive.SurfaceImpl
                      extended by org.geotools.geometry.iso.coordinate.PolyhedralSurfaceImpl
All Implemented Interfaces:
java.io.Serializable, org.opengis.geometry.coordinate.GenericSurface, org.opengis.geometry.coordinate.PolyhedralSurface, org.opengis.geometry.Geometry, org.opengis.geometry.primitive.OrientablePrimitive, org.opengis.geometry.primitive.OrientableSurface, org.opengis.geometry.primitive.Primitive, org.opengis.geometry.primitive.Surface, org.opengis.geometry.TransfiniteSet
Direct Known Subclasses:
TriangulatedSurfaceImpl

public class PolyhedralSurfaceImpl
extends SurfaceImpl
implements org.opengis.geometry.coordinate.PolyhedralSurface

A PolyhedralSurface (Figure 21) is a Surface composed of polygon surfaces (Polygon) connected along their common boundary curves. This differs from Surface only in the restriction on the types of surface patches acceptable.

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

Field Summary
 
Fields inherited from class org.geotools.geometry.iso.primitive.SurfaceImpl
patch
 
Fields inherited from class org.geotools.geometry.iso.primitive.OrientablePrimitiveImpl
proxy
 
Fields inherited from class org.geotools.geometry.iso.primitive.PrimitiveImpl
complex, containedPrimitive, containingPrimitive
 
Fields inherited from class org.geotools.geometry.iso.root.GeometryImpl
crs, percision
 
Constructor Summary
PolyhedralSurfaceImpl(org.opengis.referencing.crs.CoordinateReferenceSystem crs, java.util.List<org.opengis.geometry.coordinate.Polygon> tiles)
          The constructor for a PolyhedralSurface takes the facet Polygons and creates the necessary aggregate surface.
PolyhedralSurfaceImpl(SurfaceBoundaryImpl boundary)
           
 
Method Summary
 java.util.List<? extends org.opengis.geometry.coordinate.Polygon> getPatches()
           
 
Methods inherited from class org.geotools.geometry.iso.primitive.SurfaceImpl
clone, createProxy, equals, getArea, getBoundary, getBoundaryRings, getComposite, getDimension, getEnvelope, getPerimeter, getPrimitive, getProxy, getRepresentativePoint, getUpNormal, hashCode, isSimple, setBoundary, setPatches, toString, transform
 
Methods inherited from class org.geotools.geometry.iso.primitive.OrientablePrimitiveImpl
getOrientation
 
Methods inherited from class org.geotools.geometry.iso.primitive.PrimitiveImpl
addComplex, addContainedPrimitive, addContainingPrimitive, getComplexes, getContainedPrimitives, getContainingPrimitives, getMaximalComplex
 
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, isCycle, isMutable, overlaps, relate, symmetricDifference, toImmutable, touches, transform, union, within
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.opengis.geometry.primitive.Surface
getProxy
 
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
 
Methods inherited from interface org.opengis.geometry.Geometry
clone, distance, 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
 
Methods inherited from interface org.opengis.geometry.coordinate.GenericSurface
getArea, getPerimeter, getUpNormal
 

Constructor Detail

PolyhedralSurfaceImpl

public PolyhedralSurfaceImpl(org.opengis.referencing.crs.CoordinateReferenceSystem crs,
                             java.util.List<org.opengis.geometry.coordinate.Polygon> tiles)
The constructor for a PolyhedralSurface takes the facet Polygons and creates the necessary aggregate surface. PolyhedralSurface::PolyhedralSurface(tiles[1..n]: Polygon ) : PolyhedralSurface

Parameters:
crs -
tiles -

PolyhedralSurfaceImpl

public PolyhedralSurfaceImpl(SurfaceBoundaryImpl boundary)
Parameters:
factory -
boundary -
Method Detail

getPatches

public java.util.List<? extends org.opengis.geometry.coordinate.Polygon> getPatches()
Specified by:
getPatches in interface org.opengis.geometry.coordinate.PolyhedralSurface
Specified by:
getPatches in interface org.opengis.geometry.primitive.Surface
Overrides:
getPatches in class SurfaceImpl


Copyright © 1996-2010 Geotools. All Rights Reserved.