|
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.DefaultCubicSpline
public class DefaultCubicSpline
Default implementation of CubicSpline
segments.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.deegree.geometry.primitive.segments.CurveSegment |
---|
CurveSegment.CurveSegmentType |
Constructor Summary | |
---|---|
DefaultCubicSpline(Points points,
Point vectorAtStart,
Point vectorAtEnd)
Creates a new DefaultCubicSpline instance from the given parameters. |
Method Summary | |
---|---|
Points |
getControlPoints()
Returns the control points of the spline. |
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. |
CurveSegment.CurveSegmentType |
getSegmentType()
Returns the type of curve segment. |
Point |
getStartPoint()
Returns the start point of the segment. |
Point |
getVectorAtEnd()
Returns the unit tangent vector at the end point of the spline. |
Point |
getVectorAtStart()
Returns the unit tangent vector at the start point of the spline. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultCubicSpline(Points points, Point vectorAtStart, Point vectorAtEnd)
DefaultCubicSpline
instance from the given parameters.
points
- control points, must have at least two entriesvectorAtStart
- the unit tangent vector at the start point of the splinevectorAtEnd
- the unit tangent vector at the end point of the splineMethod Detail |
---|
public Point getVectorAtStart()
CubicSpline
getVectorAtStart
in interface CubicSpline
public Point getVectorAtEnd()
CubicSpline
getVectorAtEnd
in interface CubicSpline
public int getCoordinateDimension()
CurveSegment
getCoordinateDimension
in interface CurveSegment
public Points getControlPoints()
CubicSpline
getControlPoints
in interface CubicSpline
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 |