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

org.deegree.geometry.primitive
Interface GeometricPrimitive

All Superinterfaces:
Geometry, GMLObject
All Known Subinterfaces:
CompositeCurve, CompositeSolid, CompositeSurface, Curve, LinearRing, LineString, OrientableCurve, OrientableSurface, Point, Polygon, PolyhedralSurface, Ring, Solid, Surface, Tin, TriangulatedSurface
All Known Implementing Classes:
CurveReference, DefaultCompositeCurve, DefaultCompositeSolid, DefaultCompositeSurface, DefaultCurve, DefaultLinearRing, DefaultLineString, DefaultOrientableCurve, DefaultOrientableSurface, DefaultPoint, DefaultPolygon, DefaultPolyhedralSurface, DefaultRing, DefaultSolid, DefaultSurface, DefaultTin, DefaultTriangulatedSurface, GeometricPrimitiveReference, LineStringReference, PointReference, PolygonReference, SolidReference, SurfaceReference

public interface GeometricPrimitive
extends Geometry

A GeometricPrimitive is a contigous geometry with single dimensionality.

For every dimensionality, a specialized interface exists:

Version:
$Revision:$, $Date:$
Author:
Markus Schneider , last edited by: $Author:$

Nested Class Summary
static class GeometricPrimitive.PrimitiveType
          Convenience enum type for discriminating the different primitive variants.
 
Nested classes/interfaces inherited from interface org.deegree.geometry.Geometry
Geometry.GeometryType
 
Method Summary
 Geometry.GeometryType getGeometryType()
          Must always return Geometry.GeometryType#PRIMITIVE_GEOMETRY.
 GeometricPrimitive.PrimitiveType getPrimitiveType()
          Returns the type of primitive.
 
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

getGeometryType

Geometry.GeometryType getGeometryType()
Must always return Geometry.GeometryType#PRIMITIVE_GEOMETRY.

Specified by:
getGeometryType in interface Geometry
Returns:
must always return Geometry.GeometryType#PRIMITIVE_GEOMETRY

getPrimitiveType

GeometricPrimitive.PrimitiveType getPrimitiveType()
Returns the type of primitive.

Returns:
the type of primitive

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

]]>