Class MetricSE3Ptr


  • public class MetricSE3Ptr
    extends java.lang.Object
    The Ptr type represents a smart pointer that can take ownership
    of the underlying object.

    If the underlying object is owned by the smart pointer, it is destructed
    when there is no more smart pointers pointing to the object.
    • Constructor Detail

      • MetricSE3Ptr

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

        public MetricSE3Ptr()
        Empty smart pointer (Null).
      • MetricSE3Ptr

        public MetricSE3Ptr​(MetricSE3 ptr)
        Construct new smart pointer that takes ownership of the
        underlying object.

        Parameters:
        ptr - The object to take ownership of.
    • Method Detail

      • getCPtr

        public static long getCPtr​(MetricSE3Ptr obj)
      • delete

        public void delete()
      • isShared

        public boolean isShared()
      • isNull

        public boolean isNull()
        Check if smart pointer is null.

        Returns:
        true if smart pointer is null.
      • dereference

        public MetricSE3 dereference()
      • size

        public int size()