|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.deegree.geometry.standard.curvesegments.DefaultArcString
public class DefaultArcString
Default implementation of ArcString
segments.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.deegree.geometry.primitive.segments.CurveSegment |
---|
CurveSegment.CurveSegmentType |
Field Summary | |
---|---|
protected Points |
controlPoints
|
protected int |
numArcs
|
Constructor Summary | |
---|---|
DefaultArcString(Points controlPoints)
Creates a new DefaultArcString 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. |
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 int numArcs
protected Points controlPoints
Constructor Detail |
---|
public DefaultArcString(Points controlPoints)
DefaultArcString
instance from the given parameters.
controlPoints
- interpolation pointsMethod Detail |
---|
public int getCoordinateDimension()
CurveSegment
getCoordinateDimension
in interface CurveSegment
public Points getControlPoints()
ArcString
The number of points is always 2 * k + 1
points (k >= 1).
getControlPoints
in interface ArcString
null
public int getNumArcs()
ArcString
getNumArcs
in interface ArcString
n
of arcs (n >= 1)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 |