deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official

org.deegree.geometry.primitive.segments
Interface BSpline

All Superinterfaces:
CurveSegment
All Known Subinterfaces:
Bezier
All Known Implementing Classes:
DefaultBezier, DefaultBSpline

public interface BSpline
extends CurveSegment

CurveSegment that uses either polynomial or rational interpolation.

Description from the GML 3.1.1 schema:

A B-Spline is a piecewise parametric polynomial or rational curve described in terms of control points and basis functions. Knots are breakpoints on the curve that connect its pieces. They are given as a non-decreasing sequence of real numbers. If the weights in the knots are equal then it is a polynomial spline. The degree is the algebraic degree of the basis functions.

Version:
$Revision:$, $Date:$
Author:
Markus Schneider , last edited by: $Author:$

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.deegree.geometry.primitive.segments.CurveSegment
CurveSegment.CurveSegmentType
 
Method Summary
 Points getControlPoints()
          Returns the control points of the segment.
 List<Knot> getKnots()
          Returns the knots that define the spline basis functions.
 int getPolynomialDegree()
          Returns the degree of the polynomial used for interpolation in this spline.
 boolean isPolynomial()
          Returns whether the interpolation is polynomial or rational.
 
Methods inherited from interface org.deegree.geometry.primitive.segments.CurveSegment
getCoordinateDimension, getEndPoint, getSegmentType, getStartPoint
 

Method Detail

getControlPoints

Points getControlPoints()
Returns the control points of the segment.

Returns:
the control points of the segment

getPolynomialDegree

int getPolynomialDegree()
Returns the degree of the polynomial used for interpolation in this spline.

Returns:
the degree of the polynomial

isPolynomial

boolean isPolynomial()
Returns whether the interpolation is polynomial or rational.

Returns:
true, if the interpolation is polynomial, false if it's rational

getKnots

List<Knot> getKnots()
Returns the knots that define the spline basis functions.

Returns:
list of distinctive knots

deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org

]]>