Class NodeTwoXYs


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

    Class Documentation

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

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

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

        Pointer Arithmetics

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

         NodeTwoXYs nodetwoxys = ...;
         CPointer<Object> p = nodetwoxys.__dna__addressof(NodeTwoXYs.__DNA__FIELD__x1);
         CPointer<Short> p_x1 = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'x1'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__x2

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

        Pointer Arithmetics

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

         NodeTwoXYs nodetwoxys = ...;
         CPointer<Object> p = nodetwoxys.__dna__addressof(NodeTwoXYs.__DNA__FIELD__x2);
         CPointer<Short> p_x2 = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'x2'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__y1

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

        Pointer Arithmetics

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

         NodeTwoXYs nodetwoxys = ...;
         CPointer<Object> p = nodetwoxys.__dna__addressof(NodeTwoXYs.__DNA__FIELD__y1);
         CPointer<Short> p_y1 = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'y1'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__y2

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

        Pointer Arithmetics

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

         NodeTwoXYs nodetwoxys = ...;
         CPointer<Object> p = nodetwoxys.__dna__addressof(NodeTwoXYs.__DNA__FIELD__y2);
         CPointer<Short> p_y2 = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'y2'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__fac_x1

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

        Pointer Arithmetics

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

         NodeTwoXYs nodetwoxys = ...;
         CPointer<Object> p = nodetwoxys.__dna__addressof(NodeTwoXYs.__DNA__FIELD__fac_x1);
         CPointer<Float> p_fac_x1 = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'fac_x1'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__fac_x2

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

        Pointer Arithmetics

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

         NodeTwoXYs nodetwoxys = ...;
         CPointer<Object> p = nodetwoxys.__dna__addressof(NodeTwoXYs.__DNA__FIELD__fac_x2);
         CPointer<Float> p_fac_x2 = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'fac_x2'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__fac_y1

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

        Pointer Arithmetics

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

         NodeTwoXYs nodetwoxys = ...;
         CPointer<Object> p = nodetwoxys.__dna__addressof(NodeTwoXYs.__DNA__FIELD__fac_y1);
         CPointer<Float> p_fac_y1 = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'fac_y1'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__fac_y2

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

        Pointer Arithmetics

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

         NodeTwoXYs nodetwoxys = ...;
         CPointer<Object> p = nodetwoxys.__dna__addressof(NodeTwoXYs.__DNA__FIELD__fac_y2);
         CPointer<Float> p_fac_y2 = p.cast(new Class[]{Float.class});
         

        Metadata

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

      • NodeTwoXYs

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

        protected NodeTwoXYs​(NodeTwoXYs that)
    • Method Detail

      • getX1

        public short getX1()
                    throws java.io.IOException
        Get method for struct member 'x1'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__x1
      • setX1

        public void setX1​(short x1)
                   throws java.io.IOException
        Set method for struct member 'x1'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__x1
      • getX2

        public short getX2()
                    throws java.io.IOException
        Get method for struct member 'x2'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__x2
      • setX2

        public void setX2​(short x2)
                   throws java.io.IOException
        Set method for struct member 'x2'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__x2
      • getY1

        public short getY1()
                    throws java.io.IOException
        Get method for struct member 'y1'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__y1
      • setY1

        public void setY1​(short y1)
                   throws java.io.IOException
        Set method for struct member 'y1'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__y1
      • getY2

        public short getY2()
                    throws java.io.IOException
        Get method for struct member 'y2'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__y2
      • setY2

        public void setY2​(short y2)
                   throws java.io.IOException
        Set method for struct member 'y2'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__y2
      • getFac_x1

        public float getFac_x1()
                        throws java.io.IOException
        Get method for struct member 'fac_x1'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__fac_x1
      • setFac_x1

        public void setFac_x1​(float fac_x1)
                       throws java.io.IOException
        Set method for struct member 'fac_x1'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__fac_x1
      • getFac_x2

        public float getFac_x2()
                        throws java.io.IOException
        Get method for struct member 'fac_x2'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__fac_x2
      • setFac_x2

        public void setFac_x2​(float fac_x2)
                       throws java.io.IOException
        Set method for struct member 'fac_x2'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__fac_x2
      • getFac_y1

        public float getFac_y1()
                        throws java.io.IOException
        Get method for struct member 'fac_y1'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__fac_y1
      • setFac_y1

        public void setFac_y1​(float fac_y1)
                       throws java.io.IOException
        Set method for struct member 'fac_y1'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__fac_y1
      • getFac_y2

        public float getFac_y2()
                        throws java.io.IOException
        Get method for struct member 'fac_y2'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__fac_y2
      • setFac_y2

        public void setFac_y2​(float fac_y2)
                       throws java.io.IOException
        Set method for struct member 'fac_y2'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__fac_y2
      • __io__addressof

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