org.deegree_impl.model.geometry
Class GM_OrientableSurface_Impl
java.lang.Object
org.deegree_impl.model.geometry.GM_Object_Impl
org.deegree_impl.model.geometry.GM_Primitive_Impl
org.deegree_impl.model.geometry.GM_OrientablePrimitive_Impl
org.deegree_impl.model.geometry.GM_OrientableSurface_Impl
- All Implemented Interfaces:
- GM_Object, GM_OrientablePrimitive, GM_OrientableSurface, GM_Primitive, java.io.Serializable
- Direct Known Subclasses:
- GM_Surface_Impl
- abstract class GM_OrientableSurface_Impl
- extends GM_OrientablePrimitive_Impl
- implements GM_OrientableSurface, java.io.Serializable
default implementation of the GM_OrientableSurface interface from
package jago.model. the implementation is abstract because
only initialization of the spatial reference system is unique to
all orientated surfaces
-----------------------------------------------------------------------
- Version:
- 05.04.2002
- Author:
- Andreas Poth
Methods inherited from class org.deegree_impl.model.geometry.GM_Object_Impl |
calculateParam, clone, contains, contains, difference, distance, equals, getBoundary, getBuffer, getCentroid, getConvexHull, getCoordinateSystem, getEnvelope, intersection, intersects, isEmpty, isValid, isWithinDistance, setCoordinateSystem, setEmpty, setValid, toString, translate, union |
Methods inherited from class java.lang.Object |
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.deegree.model.geometry.GM_Object |
contains, contains, difference, distance, getBoundary, getBuffer, getCentroid, getConvexHull, getCoordinateDimension, getCoordinateSystem, getDimension, getEnvelope, intersection, intersects, isEmpty, isWithinDistance, translate, union |
serialVersionUID
private static final long serialVersionUID
- Use serialVersionUID for interoperability.
- See Also:
- Constant Field Values
orientation
protected char orientation
GM_OrientableSurface_Impl
protected GM_OrientableSurface_Impl(CS_CoordinateSystem crs)
throws GM_Exception
- Creates a new GM_OrientableSurface_Impl object.
- Parameters:
crs
-
- Throws:
GM_Exception
GM_OrientableSurface_Impl
protected GM_OrientableSurface_Impl(CS_CoordinateSystem crs,
char orientation)
throws GM_Exception
- Creates a new GM_OrientableSurface_Impl object.
- Parameters:
crs
- orientation
-
- Throws:
GM_Exception
getOrientation
public char getOrientation()
- returns the orientation of a curve
- Specified by:
getOrientation
in interface GM_OrientablePrimitive
- Returns:
- curve orientation ('+'|'-')
setOrientation
public void setOrientation(char orientation)
throws GM_Exception
- sets the curves orientation
- Specified by:
setOrientation
in interface GM_OrientablePrimitive
- Parameters:
orientation
- orientation of the curve ('+'|'-')
- Throws:
GM_Exception
- will be thrown if orientation is invalid