deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official

org.deegree.geometry.primitive
Interface OrientableSurface

All Superinterfaces:
GeometricPrimitive, Geometry, GMLObject, Surface
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:$, $Date:$
Author:
Markus Schneider , last edited by: $Author:$

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, isWithin, isWithinDistance, overlaps, setCoordinateSystem, setGMLProperties, setId, setPrecision, touches
 
Methods inherited from interface org.deegree.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

deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org

]]>