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: 31641 $, $Date: 2011-08-24 21:24:55 +0200 (Wed, 24 Aug 2011) $
Author:
Markus Schneider , last edited by: $Author: mschneider $

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


Copyright © 2011. All Rights Reserved.