|
deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.deegree.geometry.standard.curvesegments.DefaultBezier
public class DefaultBezier
Default implementation of Bezier
segments.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.deegree.geometry.primitive.segments.CurveSegment |
---|
CurveSegment.CurveSegmentType |
Constructor Summary | |
---|---|
DefaultBezier(Points controlPoints,
int polynomialDegree,
Knot knot1,
Knot knot2)
Creates a new DefaultBezier 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. |
Knot |
getKnot1()
Returns the first knot that defines the spline's basis functions. |
Knot |
getKnot2()
Returns the second knot that defines the spline's basis functions. |
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 DefaultBezier(Points controlPoints, int polynomialDegree, Knot knot1, Knot knot2)
DefaultBezier
instance from the given parameters.
controlPoints
- interpolation pointspolynomialDegree
- knot1
- knot2
- Method Detail |
---|
public Knot getKnot1()
Bezier
getKnot1
in interface Bezier
public Knot getKnot2()
Bezier
getKnot2
in interface Bezier
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
|
deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |