org.geotools.geometry.iso.coordinate
Class SurfacePatchImpl
java.lang.Object
org.geotools.geometry.iso.coordinate.SurfacePatchImpl
- All Implemented Interfaces:
- java.io.Serializable, org.opengis.geometry.coordinate.GenericSurface, org.opengis.geometry.primitive.SurfacePatch
- Direct Known Subclasses:
- PolygonImpl
public abstract class SurfacePatchImpl
- extends java.lang.Object
- implements org.opengis.geometry.primitive.SurfacePatch, java.io.Serializable
- Author:
- Jackson Roehrig & Sanjay Jena
GM_SurfacePatch (Figure 20) defines a homogeneous portion of a GM_Surface.
The multiplicity of the association "Segmentation" (Figure 12) specifies that
each GM_SurfacePatch shall be in at most one GM_Surface.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.opengis.geometry.coordinate.GenericSurface |
getArea, getPerimeter, getUpNormal |
SurfacePatchImpl
protected SurfacePatchImpl(SurfaceBoundaryImpl boundary)
- Constructs the Surface patch and stores the boundary
- Parameters:
boundary
-
getInterpolation
public org.opengis.geometry.primitive.SurfaceInterpolation getInterpolation()
- Specified by:
getInterpolation
in interface org.opengis.geometry.primitive.SurfacePatch
getBoundary
public SurfaceBoundaryImpl getBoundary()
- Specified by:
getBoundary
in interface org.opengis.geometry.primitive.SurfacePatch
getSurface
public org.opengis.geometry.primitive.Surface getSurface()
- Specified by:
getSurface
in interface org.opengis.geometry.primitive.SurfacePatch
getNumDerivativesOnBoundary
public int getNumDerivativesOnBoundary()
- Specified by:
getNumDerivativesOnBoundary
in interface org.opengis.geometry.primitive.SurfacePatch
getEnvelope
public abstract org.opengis.geometry.Envelope getEnvelope()
- Added to Class requirements of GM_SurfacePatch Returns the envelope of
the SurfacePatch
- Returns:
- Envelope of the CurveSegment
setSurface
public void setSurface(SurfaceImpl surface)
- Sets the reference to the corresponding Surface of this SurfacePatch
- Parameters:
surface
- Corresponding Surface
Copyright © 1996-2010 Geotools. All Rights Reserved.