|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.deegree.geometry.standard.curvesegments.DefaultBSpline
public class DefaultBSpline
Default implementation of BSpline
segments.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.deegree.geometry.primitive.segments.CurveSegment |
---|
CurveSegment.CurveSegmentType |
Constructor Summary | |
---|---|
DefaultBSpline(Points controlPoints,
int polynomialDegree,
List<Knot> knots,
boolean isPolynomial)
Creates a new DefaultBSpline instance from the given parameters. |
Method Summary | |
---|---|
Points |
getControlPoints()
Returns the control points of the segment. |
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. |
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. |
CurveSegment.CurveSegmentType |
getSegmentType()
Returns the type of curve segment. |
Point |
getStartPoint()
Returns the start point of the segment. |
boolean |
isPolynomial()
Returns whether the interpolation is polynomial or rational. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultBSpline(Points controlPoints, int polynomialDegree, List<Knot> knots, boolean isPolynomial)
DefaultBSpline
instance from the given parameters.
controlPoints
- polynomialDegree
- knots
- isPolynomial
- Method Detail |
---|
public int getCoordinateDimension()
CurveSegment
getCoordinateDimension
in interface CurveSegment
public Points getControlPoints()
BSpline
getControlPoints
in interface BSpline
public int getPolynomialDegree()
BSpline
getPolynomialDegree
in interface BSpline
public List<Knot> getKnots()
BSpline
getKnots
in interface BSpline
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
public boolean isPolynomial()
BSpline
isPolynomial
in interface BSpline
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |