|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.deegree.geometry.standard.curvesegments.DefaultArcByCenterPoint
public class DefaultArcByCenterPoint
Default implementation of ArcByCenterPoint
segments.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.deegree.geometry.primitive.segments.CurveSegment |
---|
CurveSegment.CurveSegmentType |
Constructor Summary | |
---|---|
DefaultArcByCenterPoint(Point midPoint,
Measure radius,
Angle startAngle,
Angle endAngle)
Creates a new DefaultArcByCenterPoint instance from the given parameters. |
Method Summary | |
---|---|
int |
getCoordinateDimension()
Returns the coordinate dimension, i.e. the dimension of the space that the curve is embedded in. |
Angle |
getEndAngle()
Returns the bearing of the arc at the end. |
Point |
getEndPoint()
Returns the end point of the segment. |
Point |
getMidPoint()
Returns the center point of the arc. |
Measure |
getRadius(Unit requestedUnits)
Returns the radius of the arc. |
CurveSegment.CurveSegmentType |
getSegmentType()
Returns the type of curve segment. |
Angle |
getStartAngle()
Returns the bearing of the arc at the start. |
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 DefaultArcByCenterPoint(Point midPoint, Measure radius, Angle startAngle, Angle endAngle)
DefaultArcByCenterPoint
instance from the given parameters.
midPoint
- radius
- startAngle
- endAngle
- Method Detail |
---|
public Angle getEndAngle()
ArcByCenterPoint
getEndAngle
in interface ArcByCenterPoint
public Point getMidPoint()
ArcByCenterPoint
getMidPoint
in interface ArcByCenterPoint
public Measure getRadius(Unit requestedUnits)
ArcByCenterPoint
getRadius
in interface ArcByCenterPoint
requestedUnits
- units that the radius should be expressed as
public Angle getStartAngle()
ArcByCenterPoint
getStartAngle
in interface ArcByCenterPoint
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 |