Class TimeCycleSplineSet

    • Field Detail

      • mCurveFit

        protected CurveFit mCurveFit
      • mWaveShape

        protected int mWaveShape
      • mTimePoints

        protected int[] mTimePoints
      • mValues

        protected float[][] mValues
      • mCount

        protected int mCount
      • mType

        protected java.lang.String mType
      • mCache

        protected float[] mCache
      • sVal2PI

        protected static float sVal2PI
      • mContinue

        protected boolean mContinue
      • mLastTime

        protected long mLastTime
      • mLastCycle

        protected float mLastCycle
    • Constructor Detail

      • TimeCycleSplineSet

        public TimeCycleSplineSet()
    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • setType

        public void setType​(java.lang.String type)
      • calcWave

        protected float calcWave​(float period)
        Parameters:
        period - cycles per second
      • getCurveFit

        public CurveFit getCurveFit()
      • setStartTime

        protected void setStartTime​(long currentTime)
      • setPoint

        public void setPoint​(int position,
                             float value,
                             float period,
                             int shape,
                             float offset)
      • setup

        public void setup​(int curveType)