|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.jhu.ece.iacl.jist.structures.geom.PolySpline
public class PolySpline
The Class PolySpline.
| Constructor Summary | |
|---|---|
PolySpline(int degree)
Instantiates a new poly spline. |
|
| Method Summary | |
|---|---|
void |
computeCoefficients(Point3f[] controlPoints,
double[] s)
Compute coefficients. |
Point3f[] |
getCurve()
Gets the curve. |
Point3f[] |
getCurve(double spacing)
Gets the curve. |
Point3f[] |
getCurve(int steps)
Gets the curve. |
double |
getLength()
Gets the length. |
double |
getValue()
Gets the value. |
Point3f |
interpolate(double s)
Interpolate. |
void |
setLength(double length)
Sets the length. |
void |
setValue(double value)
Sets the value. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PolySpline(int degree)
degree - the degree| Method Detail |
|---|
public void setLength(double length)
length - the new lengthpublic double getLength()
public void setValue(double value)
value - the new valuepublic double getValue()
Curve
getValue in interface Curvepublic Point3f[] getCurve()
Curve
getCurve in interface Curvepublic Point3f[] getCurve(double spacing)
spacing - the spacing
public Point3f[] getCurve(int steps)
steps - the steps
public Point3f interpolate(double s)
s - the s
public void computeCoefficients(Point3f[] controlPoints,
double[] s)
controlPoints - the control pointss - the s
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||