org.geotools.geometry.iso.primitive
Class BoundaryImpl

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
All Implemented Interfaces:
java.io.Serializable, org.opengis.geometry.Boundary, org.opengis.geometry.complex.Complex, org.opengis.geometry.Geometry, org.opengis.geometry.TransfiniteSet
Direct Known Subclasses:
ComplexBoundaryImpl, PrimitiveBoundaryImpl

public abstract class BoundaryImpl
extends ComplexImpl
implements org.opengis.geometry.Boundary

The abstract root data type for all the data types used to represent the boundary of geometric objects is Boundary (Figure 7). Any subclass of Object will use a subclass of Boundary to represent its boundary through the operation Object::boundary. By the nature of geometry, boundary objects are cycles. Boundary: {isCycle() = 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
BoundaryImpl(org.opengis.referencing.crs.CoordinateReferenceSystem crs)
           
 
Method Summary
 org.opengis.geometry.Boundary getBoundary()
           
 boolean isCycle()
           
 
Methods inherited from class org.geotools.geometry.iso.complex.ComplexImpl
addSubComplex, addSuperComplex, createBoundary, getElements, getMaximalComplex, getSubComplexes, getSuperComplexes, isMaximal, setElements
 
Methods inherited from class org.geotools.geometry.iso.root.GeometryImpl
castToGeometryImpl, castToGeometryImpl, clone, contains, contains, cRelate, crosses, difference, disjoint, distance, equals, getBuffer, getCentroid, getClosure, getConvexHull, getCoordinateDimension, getCoordinateReferenceSystem, getDimension, getDistance, getEnvelope, getMbRegion, getPositionFactory, getPrecision, getRepresentativePoint, 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.Complex
getElements, getSubComplexes, getSuperComplexes, isMaximal
 
Methods inherited from interface org.opengis.geometry.Geometry
clone, distance, getBuffer, getCentroid, getClosure, getConvexHull, getCoordinateDimension, getCoordinateReferenceSystem, getDimension, getEnvelope, getMaximalComplex, getMbRegion, getPrecision, getRepresentativePoint, isMutable, isSimple, toImmutable, transform, transform
 
Methods inherited from interface org.opengis.geometry.TransfiniteSet
contains, contains, difference, equals, intersection, intersects, symmetricDifference, union
 

Constructor Detail

BoundaryImpl

public BoundaryImpl(org.opengis.referencing.crs.CoordinateReferenceSystem crs)
Parameters:
crs -
Method Detail

isCycle

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

getBoundary

public org.opengis.geometry.Boundary getBoundary()
Specified by:
getBoundary in interface org.opengis.geometry.Geometry
Specified by:
getBoundary in class GeometryImpl


Copyright © 1996-2010 Geotools. All Rights Reserved.