org.deegree.geometry.primitive.segments
Interface CurveSegment

All Known Subinterfaces:
Arc, ArcByBulge, ArcByCenterPoint, ArcString, ArcStringByBulge, Bezier, BSpline, Circle, CircleByCenterPoint, Clothoid, CubicSpline, Geodesic, GeodesicString, LineStringSegment, OffsetCurve
All Known Implementing Classes:
DefaultArc, DefaultArcByBulge, DefaultArcByCenterPoint, DefaultArcString, DefaultArcStringByBulge, DefaultBezier, DefaultBSpline, DefaultCircle, DefaultCircleByCenterPoint, DefaultClothoid, DefaultCubicSpline, DefaultGeodesic, DefaultGeodesicString, DefaultLineStringSegment, DefaultOffsetCurve

public interface CurveSegment

A CurveSegment is a portion of a Curve which uses a single interpolation method.

Author:
Markus Schneider, Andreas Poth, last edited by: $Author: mschneider $

Nested Class Summary
static class CurveSegment.CurveSegmentType
          Convenience enum type for discriminating the different curve segment variants in switch statements.
 
Method Summary
 int getCoordinateDimension()
          Returns the coordinate dimension, i.e. the dimension of the space that the curve is embedded in.
 Point getEndPoint()
          Returns the end point of the segment.
 CurveSegment.CurveSegmentType getSegmentType()
          Returns the type of curve segment.
 Point getStartPoint()
          Returns the start point of the segment.
 

Method Detail

getSegmentType

CurveSegment.CurveSegmentType getSegmentType()
Returns the type of curve segment.

Returns:
the type of curve segment

getCoordinateDimension

int getCoordinateDimension()
Returns the coordinate dimension, i.e. the dimension of the space that the curve is embedded in.

Returns:
the coordinate dimension

getStartPoint

Point getStartPoint()
Returns the start point of the segment.

Returns:
the start point of the segment

getEndPoint

Point getEndPoint()
Returns the end point of the segment.

Returns:
the end point of the segment


Copyright © 2011. All Rights Reserved.