Class QNormalizerCPtr


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

      • QNormalizerCPtr

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

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

        public QNormalizerCPtr​(QNormalizer ptr)
        Do not take ownership of ptr.

        ptr can be null.

        The constructor is implicit on purpose.
    • Method Detail

      • delete

        public void delete()
      • deref

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

        public QNormalizer __ref__()
        Dereferencing operator.
      • getDeref

        public QNormalizer getDeref()
        Member access operator.
      • 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
      • fromNormalized

        public Q fromNormalized​(Q q)
        Convert from a normalized configuration to a real
        configuration.
      • toNormalized

        public Q toNormalized​(Q q)
        Convert a real configuration to a normalized configuration.
      • setFromNormalized

        public void setFromNormalized​(Q q)
        Convert from a normalized configuration to a real
        configuration and assign the real configuration to q.
      • setToNormalized

        public void setToNormalized​(Q q)
        Convert a real configuration to a normalized configuration and
        write the normalized configuration to q.
      • getBounds

        public PairQ getBounds()
        The box of the configuration space with respect to which
        normalization is done.