Class SbVec4i32

    • Field Summary

      Fields 
      Modifier and Type Field Description
      int[] array  
    • Field Detail

      • array

        public final int[] array
    • Constructor Detail

      • SbVec4i32

        public SbVec4i32()
      • SbVec4i32

        public SbVec4i32​(int c0,
                         int c1,
                         int c2,
                         int c3)
      • SbVec4i32

        public SbVec4i32​(int[] components)
      • SbVec4i32

        public SbVec4i32​(SbVec4i32 copyFrom)
    • Method Detail

      • setValue

        public SbVec4i32 setValue​(int c0,
                                  int c1,
                                  int c2,
                                  int c3)
      • setValue

        public SbVec4i32 setValue​(int[] components,
                                  int startIndex)
      • setValue

        public void setValue​(SbVec4i32 copyFrom)
      • getValue

        public int[] getValue()
      • setValueAt

        public void setValueAt​(int index,
                               int value)
      • setValue

        public SbVec4i32 setValue​(int[] components)
      • getValueAt

        public int getValueAt​(int index)
      • getY

        public int getY()
      • setW

        public void setW​(int value)
      • setX

        public void setX​(int value)
      • setY

        public void setY​(int value)
      • setZ

        public void setZ​(int value)
      • getX

        public int getX()
      • getW

        public int getW()
      • getZ

        public int getZ()
      • over

        public SbVec4i32 over​(double d)
        Component-wise binary scalar division operator.
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • minus

        public SbVec4i32 minus​(SbVec4i32 v2)
        Component-wise binary vector subtraction operator.
      • toArray

        public static SbVec4i32[] toArray​(long nativeArray,
                                          long length)
      • plus

        public SbVec4i32 plus​(SbVec4i32 v2)
        Component-wise binary vector addition operator.
      • multiply

        public void multiply​(double d)
        Component-wise scalar multiplication operator.
      • dot

        public int dot​(SbVec4i32 v)
        Returns dot (inner) product of vector and another vector.
      • divide

        public void divide​(int d)
        Component-wise scalar division operator.
      • multiply

        public void multiply​(int d)
        Component-wise scalar multiplication operator.
      • negate

        public void negate()
        Negates each component of vector in place.
      • times

        public SbVec4i32 times​(int d)
        Component-wise binary scalar multiplication operator.
      • over

        public SbVec4i32 over​(int d)
        Component-wise binary scalar division operator.
      • times

        public SbVec4i32 times​(double d)
        Component-wise binary scalar multiplication operator.
      • substract

        public void substract​(SbVec4i32 u)
        Component-wise vector subtraction operator.
      • divide

        public void divide​(double d)
        Component-wise scalar division operator.
      • add

        public void add​(SbVec4i32 u)
        Component-wise vector addition operator.