|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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,
java.util.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. |
java.util.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,
java.util.List<Knot> knots,
boolean isPolynomial)
DefaultBSpline instance from the given parameters.
controlPoints - polynomialDegree - knots - isPolynomial - | Method Detail |
|---|
public int getCoordinateDimension()
CurveSegment
getCoordinateDimension in interface CurveSegmentpublic Points getControlPoints()
BSpline
getControlPoints in interface BSplinepublic int getPolynomialDegree()
BSpline
getPolynomialDegree in interface BSplinepublic java.util.List<Knot> getKnots()
BSpline
getKnots in interface BSplinepublic Point getStartPoint()
CurveSegment
getStartPoint in interface CurveSegmentpublic Point getEndPoint()
CurveSegment
getEndPoint in interface CurveSegmentpublic CurveSegment.CurveSegmentType getSegmentType()
CurveSegment
getSegmentType in interface CurveSegmentpublic boolean isPolynomial()
BSpline
isPolynomial in interface BSpline
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||