Class ParabolicBlendQPtr


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

      • ParabolicBlendQPtr

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

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

        public ParabolicBlendQPtr​(ParabolicBlendQ 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 Q x​(double t)
        Conditional comment:

        End of conditional comment.
      • dx

        public Q dx​(double t)
        Conditional comment:

        End of conditional comment.
      • ddx

        public Q ddx​(double t)
        Conditional comment:

        End of conditional comment.
      • duration

        public double duration()
        get the duration of the blend
        Returns:
        duration
      • tau1

        public double tau1()
        Conditional comment:

        End of conditional comment.

        Note: For ParabolicBlend tau1()==tau2()
      • tau2

        public double tau2()
        Conditional comment:

        End of conditional comment.

        Note: For ParabolicBlend tau1()==tau2()