Class Model3DCPtr


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

      • Model3DCPtr

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

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

        public Model3DCPtr​(Model3D ptr)
        Do not take ownership of ptr.

        ptr can be null.

        The constructor is implicit on purpose.
    • Method Detail

      • getCPtr

        public static long getCPtr​(Model3DCPtr obj)
      • delete

        public void delete()
      • deref

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

        public Model3D __ref__()
        Dereferencing operator.
      • getDeref

        public Model3D getDeref()
        Member access operator.
      • equals

        public boolean equals​(Model3D 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
      • isDynamic

        public boolean isDynamic()
        true if data in the model are expected to change