RN - public class ConstAccelCurve<RN extends org.jscience.mathematics.number.Number<RN>> extends PolynomialMotionCurve<ConstAccelCurveStateVarSymbol,RN>
myCurvePoly, myStateVars, mySymbolSuffix| Constructor and Description |
|---|
ConstAccelCurve(String symbolSuffix,
org.appdapter.bind.math.jscience.number.NumberFactory<RN> numFact) |
ConstAccelCurve(String symbolSuffix,
org.jscience.mathematics.function.Variable<RN> offsetTimeVar,
org.appdapter.bind.math.jscience.number.NumberFactory<RN> numFact)
In this form, the timeOffset variable is supplied externally so that it may
easily be shared among other curves.
|
| Modifier and Type | Method and Description |
|---|---|
void |
configureWithDoubles(double timeOffset,
double constAccel,
double initPos,
double initVel) |
RN |
getAccelAtCurrentState() |
org.jscience.mathematics.function.Polynomial<RN> |
getAccelCurve() |
RN |
getPositionAtCurrentState() |
RN |
getTimeOffsetAtCurrentState() |
RN |
getVelocityAtCurrentState() |
org.jscience.mathematics.function.Polynomial<RN> |
getVelocityCurve() |
RN |
makeNumber(double dval) |
void |
setConstAccel(RN constAccel) |
void |
setInitPosition(RN initPos) |
void |
setInitVelocity(RN initVel) |
void |
setTimeOffset(RN timeOffset) |
evalCurvePolyAtCurrentState, evalDerivPolyAtCurrentState, getCurvePoly, getDerivativeStateFrame, getDerivPolyForStateVarSymbol, getFiniteTimeCurve, getFullSymbolStringForStateVar, getPolyVar, getStateFrame, getStateVariable, getStateVarVal, makeOutputDerivativeNormPoly, readStateFromFrame, setCurvePoly, setStateVarVal, useExistingPolyVarpublic ConstAccelCurve(String symbolSuffix, org.jscience.mathematics.function.Variable<RN> offsetTimeVar, org.appdapter.bind.math.jscience.number.NumberFactory<RN> numFact)
symbolSuffix - offsetTimeVar - public org.jscience.mathematics.function.Polynomial<RN> getVelocityCurve()
public org.jscience.mathematics.function.Polynomial<RN> getAccelCurve()
public RN getVelocityAtCurrentState()
public RN getPositionAtCurrentState()
public RN getAccelAtCurrentState()
public RN getTimeOffsetAtCurrentState()
public void setInitPosition(RN initPos)
public void setInitVelocity(RN initVel)
public void setConstAccel(RN constAccel)
public void setTimeOffset(RN timeOffset)
public RN makeNumber(double dval)
public void configureWithDoubles(double timeOffset,
double constAccel,
double initPos,
double initVel)
Copyright © 2010-2016. All Rights Reserved.