Class rctf


  • public class rctf
    extends CFacade
    Generated facet for DNA struct type 'rctf'.

    Class Documentation

    Blender Source Code

    float rectangle.

    • Field Detail

      • __DNA__SDNA_INDEX

        public static final int __DNA__SDNA_INDEX
        This is the sdna index of the struct rctf.

        It is required when allocating a new block to store data for rctf.

        See Also:
        StructDNA, BlockTable, Constant Field Values
      • __DNA__FIELD__xmin

        public static final long[] __DNA__FIELD__xmin
        Field descriptor (offset) for struct member 'xmin'.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         rctf rctf = ...;
         CPointer<Object> p = rctf.__dna__addressof(rctf.__DNA__FIELD__xmin);
         CPointer<Float> p_xmin = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'xmin'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__xmax

        public static final long[] __DNA__FIELD__xmax
        Field descriptor (offset) for struct member 'xmax'.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         rctf rctf = ...;
         CPointer<Object> p = rctf.__dna__addressof(rctf.__DNA__FIELD__xmax);
         CPointer<Float> p_xmax = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'xmax'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__ymin

        public static final long[] __DNA__FIELD__ymin
        Field descriptor (offset) for struct member 'ymin'.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         rctf rctf = ...;
         CPointer<Object> p = rctf.__dna__addressof(rctf.__DNA__FIELD__ymin);
         CPointer<Float> p_ymin = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'ymin'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__ymax

        public static final long[] __DNA__FIELD__ymax
        Field descriptor (offset) for struct member 'ymax'.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         rctf rctf = ...;
         CPointer<Object> p = rctf.__dna__addressof(rctf.__DNA__FIELD__ymax);
         CPointer<Float> p_ymax = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'ymax'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
    • Constructor Detail

      • rctf

        public rctf​(long __address,
                    Block __block,
                    BlockTable __blockTable)
      • rctf

        protected rctf​(rctf that)
    • Method Detail

      • getXmin

        public float getXmin()
                      throws java.io.IOException
        Get method for struct member 'xmin'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__xmin
      • setXmin

        public void setXmin​(float xmin)
                     throws java.io.IOException
        Set method for struct member 'xmin'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__xmin
      • getXmax

        public float getXmax()
                      throws java.io.IOException
        Get method for struct member 'xmax'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__xmax
      • setXmax

        public void setXmax​(float xmax)
                     throws java.io.IOException
        Set method for struct member 'xmax'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__xmax
      • getYmin

        public float getYmin()
                      throws java.io.IOException
        Get method for struct member 'ymin'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__ymin
      • setYmin

        public void setYmin​(float ymin)
                     throws java.io.IOException
        Set method for struct member 'ymin'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__ymin
      • getYmax

        public float getYmax()
                      throws java.io.IOException
        Get method for struct member 'ymax'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__ymax
      • setYmax

        public void setYmax​(float ymax)
                     throws java.io.IOException
        Set method for struct member 'ymax'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__ymax
      • __io__addressof

        public CPointer<rctf> __io__addressof()
        Instantiates a pointer on this instance.