|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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 spline| Method Detail |
|---|
public Point getVectorAtStart()
CubicSpline
getVectorAtStart in interface CubicSplinepublic Point getVectorAtEnd()
CubicSpline
getVectorAtEnd in interface CubicSplinepublic int getCoordinateDimension()
CurveSegment
getCoordinateDimension in interface CurveSegmentpublic Points getControlPoints()
CubicSpline
getControlPoints in interface CubicSplinepublic 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 | |||||||||