org.geotools.geometry.jts.spatialschema.geometry.primitive
Class PolyhedralSurfaceImpl
java.lang.Object
org.geotools.geometry.jts.spatialschema.geometry.GeometryImpl
org.geotools.geometry.jts.spatialschema.geometry.primitive.PolyhedralSurfaceImpl
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable, JTSGeometry, 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
public class PolyhedralSurfaceImpl
- extends GeometryImpl
- implements org.opengis.geometry.coordinate.PolyhedralSurface
The PolyhedralSurfaceImpl
class/interface...
- Version:
- $Revision $
- Author:
- SYS Technologies, dillard
- See Also:
- Serialized Form
Methods inherited from class org.geotools.geometry.jts.spatialschema.geometry.GeometryImpl |
contains, contains, difference, distance, equals, 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.Geometry |
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 |
patches
protected java.util.List<PolygonImpl> patches
PolyhedralSurfaceImpl
public PolyhedralSurfaceImpl(org.opengis.referencing.crs.CoordinateReferenceSystem crs)
- Creates a new
PolyhedralSurfaceImpl
.
- Parameters:
crs
-
PolyhedralSurfaceImpl
public PolyhedralSurfaceImpl()
getBoundary
public org.opengis.geometry.primitive.SurfaceBoundary getBoundary()
- Description copied from class:
GeometryImpl
- Returns the boundary of this geometry. Returns null if the boundary is
empty.
- Specified by:
getBoundary
in interface org.opengis.geometry.Geometry
- Specified by:
getBoundary
in interface org.opengis.geometry.primitive.OrientableSurface
- Specified by:
getBoundary
in interface org.opengis.geometry.primitive.Primitive
- Overrides:
getBoundary
in class GeometryImpl
getPatches
public java.util.List<PolygonImpl> getPatches()
- Specified by:
getPatches
in interface org.opengis.geometry.coordinate.PolyhedralSurface
- Specified by:
getPatches
in interface org.opengis.geometry.primitive.Surface
getUpNormal
public double[] getUpNormal(org.opengis.geometry.DirectPosition point)
- Specified by:
getUpNormal
in interface org.opengis.geometry.coordinate.GenericSurface
getPerimeter
public double getPerimeter()
- Specified by:
getPerimeter
in interface org.opengis.geometry.coordinate.GenericSurface
getArea
public double getArea()
- Specified by:
getArea
in interface org.opengis.geometry.coordinate.GenericSurface
getComposite
public org.opengis.geometry.complex.CompositeSurface getComposite()
- Specified by:
getComposite
in interface org.opengis.geometry.primitive.OrientableSurface
- Specified by:
getComposite
in interface org.opengis.geometry.primitive.Primitive
getOrientation
public int getOrientation()
- Specified by:
getOrientation
in interface org.opengis.geometry.primitive.OrientablePrimitive
getPrimitive
public org.opengis.geometry.primitive.Surface getPrimitive()
- Specified by:
getPrimitive
in interface org.opengis.geometry.primitive.OrientablePrimitive
- Specified by:
getPrimitive
in interface org.opengis.geometry.primitive.OrientableSurface
getComplexes
public java.util.Set getComplexes()
- Specified by:
getComplexes
in interface org.opengis.geometry.primitive.Primitive
getContainingPrimitives
public java.util.Set getContainingPrimitives()
- Specified by:
getContainingPrimitives
in interface org.opengis.geometry.primitive.Primitive
getProxy
public org.opengis.geometry.primitive.OrientableSurface[] getProxy()
- Specified by:
getProxy
in interface org.opengis.geometry.primitive.Primitive
- Specified by:
getProxy
in interface org.opengis.geometry.primitive.Surface
getContainedPrimitives
public java.util.Set getContainedPrimitives()
- Specified by:
getContainedPrimitives
in interface org.opengis.geometry.primitive.Primitive
computeJTSPeer
protected com.vividsolutions.jts.geom.Geometry computeJTSPeer()
- Description copied from class:
GeometryImpl
- Subclasses must override this method to compute the JTS equivalent of
this geometry.
- Specified by:
computeJTSPeer
in class GeometryImpl
- Returns:
- See Also:
com.polexis.lite.spatialschema.geometry.GeometryImpl#computeJTSPeer()
clone
public PolyhedralSurfaceImpl clone()
- Description copied from class:
GeometryImpl
- Returns a deep copy of this geometric object. Subclasses must override
to make deep copies of members that are themselves mutable objects. Note
that all of the (private) members of GeometryImpl are already immutable
so this method simply delegates to the superclass (Object) clone.
- Specified by:
clone
in interface org.opengis.geometry.Geometry
- Overrides:
clone
in class GeometryImpl
Copyright © 1996-2010 Geotools. All Rights Reserved.