|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.deegree.geometry.standard.curvesegments.DefaultOffsetCurve
public class DefaultOffsetCurve
Default implementation of OffsetCurve
segments.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.deegree.geometry.primitive.segments.CurveSegment |
---|
CurveSegment.CurveSegmentType |
Constructor Summary | |
---|---|
DefaultOffsetCurve(Curve baseCurve,
Point direction,
Measure distance)
Creates a new DefaultOffsetCurve instance from the given parameters. |
Method Summary | |
---|---|
Curve |
getBaseCurve()
Returns the Curve that the curve segment's definition is based on. |
int |
getCoordinateDimension()
Returns the coordinate dimension, i.e. the dimension of the space that the curve is embedded in. |
Point |
getDirection()
Returns the direction of the offset from the base Curve . |
Measure |
getDistance(Unit requestedUnits)
Returns the distance from the base Curve . |
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultOffsetCurve(Curve baseCurve, Point direction, Measure distance)
DefaultOffsetCurve
instance from the given parameters.
baseCurve
- the base geometrydirection
- the direction of the offsetdistance
- the distance from the base curveMethod Detail |
---|
public Curve getBaseCurve()
OffsetCurve
Curve
that the curve segment's definition is based on.
getBaseCurve
in interface OffsetCurve
Curve
used as the base geometrypublic Point getDirection()
OffsetCurve
Curve
.
getDirection
in interface OffsetCurve
public Measure getDistance(Unit requestedUnits)
OffsetCurve
Curve
.
getDistance
in interface OffsetCurve
requestedUnits
- units-of-measure that the distance shall be expressed as, or null for units of the underlying
coordinate system
public int getCoordinateDimension()
CurveSegment
getCoordinateDimension
in interface CurveSegment
public Point getStartPoint()
CurveSegment
getStartPoint
in interface CurveSegment
public Point getEndPoint()
CurveSegment
getEndPoint
in interface CurveSegment
public CurveSegment.CurveSegmentType getSegmentType()
CurveSegment
getSegmentType
in interface CurveSegment
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |