|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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 curve| Method Detail |
|---|
public Curve getBaseCurve()
OffsetCurveCurve that the curve segment's definition is based on.
getBaseCurve in interface OffsetCurveCurve used as the base geometrypublic Point getDirection()
OffsetCurveCurve.
getDirection in interface OffsetCurvepublic Measure getDistance(Unit requestedUnits)
OffsetCurveCurve.
getDistance in interface OffsetCurverequestedUnits - 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 CurveSegmentpublic Point getStartPoint()
CurveSegment
getStartPoint in interface CurveSegmentpublic Point getEndPoint()
CurveSegment
getEndPoint in interface CurveSegmentpublic CurveSegment.CurveSegmentType getSegmentType()
CurveSegment
getSegmentType in interface CurveSegment
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||