org.deegree_impl.model.geometry
Class GM_OrientablePrimitive_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
- All Implemented Interfaces:
- GM_Object, GM_OrientablePrimitive, GM_Primitive, java.io.Serializable
- Direct Known Subclasses:
- GM_OrientableCurve_Impl, GM_OrientableSurface_Impl
- abstract class GM_OrientablePrimitive_Impl
- extends GM_Primitive_Impl
- implements GM_OrientablePrimitive, java.io.Serializable
default implementation of the GM_OrientablePrimitive interface from
package jago.model. the implementation is abstract because it
doesn't make sense to instantiate it.
------------------------------------------------------------
- Version:
- 8.6.2001
- 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_OrientablePrimitive_Impl
protected GM_OrientablePrimitive_Impl(CS_CoordinateSystem crs,
char orientation)
throws GM_Exception
- the constructor sets the curves orientation
- Parameters:
crs
- spatial reference system of the geometryorientation
- orientation of the curve ('+'|'-')
- Throws:
GM_Exception
- will be thrown if orientation is invalid
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