Class RampInterpolator_dCPtr


  • public class RampInterpolator_dCPtr
    extends java.lang.Object
    Ptr stores a pointer and optionally takes ownership of the value.
    • Constructor Detail

      • RampInterpolator_dCPtr

        public RampInterpolator_dCPtr​(long cPtr,
                                      boolean cMemoryOwn)
      • RampInterpolator_dCPtr

        public RampInterpolator_dCPtr()
        Default constructor yielding a NULL-pointer.
      • RampInterpolator_dCPtr

        public RampInterpolator_dCPtr​(RampInterpolator_d ptr)
        Do not take ownership of ptr.

        ptr can be null.

        The constructor is implicit on purpose.
    • Method Detail

      • delete

        public void delete()
      • isShared

        public boolean isShared()
        check if this Ptr has shared ownership or none
        ownership
        Returns:
        true if Ptr has shared ownership, false if it has no ownership.
      • isNull

        public boolean isNull()
        checks if the pointer is null
        Returns:
        Returns true if the pointer is null
      • x

        public double x​(double t)
      • dx

        public double dx​(double t)
      • ddx

        public double ddx​(double t)
      • getStart

        public double getStart()
        Returns the start rotation of the interpolator
        Returns:
        The start rotation of the interpolator
      • getEnd

        public double getEnd()
        Returns the end rotation of the interpolator
        Returns:
        The end rotation of the interpolator
      • duration

        public double duration()