Class PathSE3Ptr


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

      • PathSE3Ptr

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

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

        public PathSE3Ptr​(PathSE3 ptr)
        Do not take ownership of ptr.

        ptr can be null.

        The constructor is implicit on purpose.
    • Method Detail

      • getCPtr

        public static long getCPtr​(PathSE3Ptr obj)
      • delete

        public void delete()
      • deref

        public PathSE3 deref()
        The pointer stored in the object.
      • __ref__

        public PathSE3 __ref__()
        Dereferencing operator.
      • getDeref

        public PathSE3 getDeref()
        Member access operator.
      • equals

        public boolean equals​(PathSE3 p)
      • 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
      • size

        public int size()
      • capacity

        public long capacity()
      • reserve

        public void reserve​(long n)
      • isEmpty

        public boolean isEmpty()
      • clear

        public void clear()