Package WildMagic.LibFoundation.Curves
Class SingleCurve3f
- java.lang.Object
-
- WildMagic.LibFoundation.Curves.Curve3f
-
- WildMagic.LibFoundation.Curves.SingleCurve3f
-
- All Implemented Interfaces:
java.io.Serializable,IntegrateInterface
- Direct Known Subclasses:
BSplineCurve3f
public abstract class SingleCurve3f extends Curve3f implements IntegrateInterface, java.io.Serializable
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class WildMagic.LibFoundation.Curves.Curve3f
Curve3f.PointList
-
-
Field Summary
Fields Modifier and Type Field Description private static longserialVersionUID
-
Constructor Summary
Constructors Constructor Description SingleCurve3f(float fTMin, float fTMax)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description floatGetLength(float fT0, float fT1)Get the length of the curve for the specified time subinterval.floatGetTime(float fLength, int iIterations, float fTolerance)Re-parameterize the curve where the time value is defined as a function of arc length.floatIntegrate(float fTime)-
Methods inherited from class WildMagic.LibFoundation.Curves.Curve3f
GetBinormal, GetCurvature, GetFirstDerivative, GetFrame, GetMaxTime, GetMinTime, GetNormal, GetPosition, GetSecondDerivative, GetSpeed, GetTangent, GetThirdDerivative, GetTime, GetTorsion, GetTotalLength, GetVariation, SetTimeInterval, SubdivideByLength, SubdivideByTime, SubdivideByVariation, SubdivideByVariation
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SingleCurve3f
public SingleCurve3f(float fTMin, float fTMax)- See Also:
Curve3f(float fTMin, float fTMax)
-
-
Method Detail
-
GetLength
public float GetLength(float fT0, float fT1)Description copied from class:Curve3fGet the length of the curve for the specified time subinterval.
-
GetTime
public float GetTime(float fLength, int iIterations, float fTolerance)Description copied from class:Curve3fRe-parameterize the curve where the time value is defined as a function of arc length. Location the time value associated with this arc length along the curve.- Specified by:
GetTimein classCurve3f- Parameters:
fLength- Input arc length for which the associated time is to be determined. This length is measured from the starting point of the curve which is at the getMinTime().iIterations- iterations to run Newton's methodfTolerance- tolerance for early termination- Returns:
- Time value associated with this arc length along the curve. The returned value is always within the range of getMinTime() and getMaxTime().
-
Integrate
public float Integrate(float fTime)
- Specified by:
Integratein interfaceIntegrateInterface
-
-