Class VelocityMatrix


  • public class VelocityMatrix
    extends java.lang.Object
    This is used to calculate the related velocity matrix for a post layout matrix
    • Constructor Detail

      • VelocityMatrix

        public VelocityMatrix()
    • Method Detail

      • clear

        public void clear()
      • setRotationVelocity

        public void setRotationVelocity​(SplineSet rot,
                                        float position)
      • setTranslationVelocity

        public void setTranslationVelocity​(SplineSet transX,
                                           SplineSet transY,
                                           float position)
      • setScaleVelocity

        public void setScaleVelocity​(SplineSet scaleX,
                                     SplineSet scaleY,
                                     float position)
      • setRotationVelocity

        public void setRotationVelocity​(KeyCycleOscillator oscR,
                                        float position)
      • applyTransform

        public void applyTransform​(float locationX,
                                   float locationY,
                                   int width,
                                   int height,
                                   float[] mAnchorDpDt)
        Apply the transform a velocity vector