org.geotools.geometry.iso.primitive
Class SurfaceBoundaryImpl

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.primitive.BoundaryImpl
              extended by org.geotools.geometry.iso.primitive.PrimitiveBoundaryImpl
                  extended by org.geotools.geometry.iso.primitive.SurfaceBoundaryImpl
All Implemented Interfaces:
java.io.Serializable, org.opengis.geometry.Boundary, org.opengis.geometry.complex.Complex, org.opengis.geometry.Geometry, org.opengis.geometry.primitive.PrimitiveBoundary, org.opengis.geometry.primitive.SurfaceBoundary, org.opengis.geometry.TransfiniteSet

public class SurfaceBoundaryImpl
extends PrimitiveBoundaryImpl
implements org.opengis.geometry.primitive.SurfaceBoundary

The boundary of Surfaces shall be represented as SurfaceBoundary.

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
SurfaceBoundaryImpl(org.opengis.referencing.crs.CoordinateReferenceSystem crs, org.opengis.geometry.primitive.Ring exterior, java.util.List<org.opengis.geometry.primitive.Ring> interior)
           
 
Method Summary
 SurfaceBoundaryImpl clone()
           
 java.util.Set<org.opengis.geometry.complex.Complex> createBoundary()
           
 boolean equals(java.lang.Object obj)
           
 int getDimension(org.opengis.geometry.DirectPosition point)
           
 org.opengis.geometry.Envelope getEnvelope()
           
 org.opengis.geometry.primitive.Ring getExterior()
           
 java.util.List<org.opengis.geometry.primitive.Ring> getInteriors()
           
 org.opengis.geometry.DirectPosition getRepresentativePoint()
           
 int hashCode()
           
 boolean isSimple()
           
 java.lang.String toString()
           
 
Methods inherited from class org.geotools.geometry.iso.primitive.BoundaryImpl
getBoundary, isCycle
 
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
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.opengis.geometry.Boundary
isCycle
 
Methods inherited from interface org.opengis.geometry.complex.Complex
getElements, getSubComplexes, getSuperComplexes, isMaximal
 
Methods inherited from interface org.opengis.geometry.Geometry
distance, getBoundary, getBuffer, getCentroid, getClosure, getConvexHull, getCoordinateDimension, getCoordinateReferenceSystem, getMaximalComplex, getMbRegion, getPrecision, isMutable, toImmutable, transform, transform
 
Methods inherited from interface org.opengis.geometry.TransfiniteSet
contains, contains, difference, equals, intersection, intersects, symmetricDifference, union
 

Constructor Detail

SurfaceBoundaryImpl

public SurfaceBoundaryImpl(org.opengis.referencing.crs.CoordinateReferenceSystem crs,
                           org.opengis.geometry.primitive.Ring exterior,
                           java.util.List<org.opengis.geometry.primitive.Ring> interior)
Parameters:
crs -
exterior -
interior -
Method Detail

clone

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

getExterior

public org.opengis.geometry.primitive.Ring getExterior()
Specified by:
getExterior in interface org.opengis.geometry.primitive.SurfaceBoundary

getInteriors

public java.util.List<org.opengis.geometry.primitive.Ring> getInteriors()
Specified by:
getInteriors in interface org.opengis.geometry.primitive.SurfaceBoundary

getEnvelope

public org.opengis.geometry.Envelope getEnvelope()
Specified by:
getEnvelope in interface org.opengis.geometry.Geometry
Specified by:
getEnvelope in class GeometryImpl

createBoundary

public java.util.Set<org.opengis.geometry.complex.Complex> createBoundary()
Specified by:
createBoundary in class ComplexImpl
Returns:
Set

isSimple

public boolean isSimple()
Specified by:
isSimple in interface org.opengis.geometry.Geometry

getDimension

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

getRepresentativePoint

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

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object


Copyright © 1996-2010 Geotools. All Rights Reserved.