|
deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.deegree.geometry.standard.curvesegments.DefaultArc
public class DefaultArc
Default implementation of Arc
segments.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.deegree.geometry.primitive.segments.CurveSegment |
---|
CurveSegment.CurveSegmentType |
Field Summary | |
---|---|
protected Points |
points
|
Constructor Summary | |
---|---|
DefaultArc(Point p1,
Point p2,
Point p3)
Creates a new DefaultArc instance from the given parameters. |
Method Summary | |
---|---|
Points |
getControlPoints()
Returns the control points of the interpolation. |
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. |
int |
getNumArcs()
Returns the number of arcs of the string. |
Point |
getPoint1()
Returns the first of the three control points. |
Point |
getPoint2()
Returns the second of the three control points. |
Point |
getPoint3()
Returns the last of the three control points. |
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 |
Field Detail |
---|
protected final Points points
Constructor Detail |
---|
public DefaultArc(Point p1, Point p2, Point p3)
DefaultArc
instance from the given parameters.
p1
- first control pointp2
- second control pointp3
- third control pointMethod Detail |
---|
public Point getPoint1()
Arc
getPoint1
in interface Arc
public Point getPoint2()
Arc
getPoint2
in interface Arc
public Point getPoint3()
Arc
getPoint3
in interface Arc
public int getCoordinateDimension()
CurveSegment
getCoordinateDimension
in interface CurveSegment
public Points getControlPoints()
ArcString
getControlPoints
in interface ArcString
public int getNumArcs()
ArcString
getNumArcs
in interface ArcString
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
|
deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |