org.deegree.geometry.primitive
Interface OrientableSurface

All Superinterfaces:
GeometricPrimitive, Geometry, GMLObject, Object, Surface, TypedObjectNode
All Known Implementing Classes:
DefaultOrientableSurface

public interface OrientableSurface
extends Surface

An OrientableSurface consists of a wrapped base Surface and an additional orientation.

If the orientation is *not* reversed, then the OrientableSurfacec is identical to the base curve. If the orientation is reversed, then the OrientableSurface is a reference to a surface with an up-normal that reverses the direction for this OrientableSurface, the sense of "the top of the surface".

Version:
$Revision: 31641 $, $Date: 2011-08-24 21:24:55 +0200 (Wed, 24 Aug 2011) $
Author:
Markus Schneider , last edited by: $Author: mschneider $

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.deegree.geometry.primitive.Surface
Surface.SurfaceType
 
Nested classes/interfaces inherited from interface org.deegree.geometry.primitive.GeometricPrimitive
GeometricPrimitive.PrimitiveType
 
Nested classes/interfaces inherited from interface org.deegree.geometry.Geometry
Geometry.GeometryType
 
Method Summary
 Surface getBaseSurface()
          Returns the Surface that this OrientableSurface is based on.
 Surface.SurfaceType getSurfaceType()
          Must always return Surface.SurfaceType.OrientableSurface.
 boolean isReversed()
          Returns whether the orientation of this surface is reversed compared to the base surface.
 
Methods inherited from interface org.deegree.geometry.primitive.Surface
getArea, getExteriorRingCoordinates, getInteriorRingsCoordinates, getPatches, getPerimeter, getPrimitiveType
 
Methods inherited from interface org.deegree.geometry.primitive.GeometricPrimitive
getGeometryType
 
Methods inherited from interface org.deegree.geometry.Geometry
contains, crosses, equals, getBuffer, getCentroid, getConvexHull, getCoordinateDimension, getCoordinateSystem, getDifference, getDistance, getEnvelope, getId, getIntersection, getPrecision, getUnion, intersects, isBeyond, isDisjoint, isSFSCompliant, isWithin, isWithinDistance, overlaps, setCoordinateSystem, setGMLProperties, setId, setPrecision, touches
 
Methods inherited from interface org.deegree.commons.tom.gml.GMLObject
getGMLProperties
 

Method Detail

getSurfaceType

Surface.SurfaceType getSurfaceType()
Must always return Surface.SurfaceType.OrientableSurface.

Specified by:
getSurfaceType in interface Surface
Returns:
Surface.SurfaceType.OrientableSurface

isReversed

boolean isReversed()
Returns whether the orientation of this surface is reversed compared to the base surface.

Returns:
true, if the orientation is reversed, false otherwise

getBaseSurface

Surface getBaseSurface()
Returns the Surface that this OrientableSurface is based on.

Returns:
the base surface


Copyright © 2011. All Rights Reserved.