Package rope.vector

Class bvec

java.lang.Object
rope.vector.bvec
All Implemented Interfaces:
R_Constants
Direct Known Subclasses:
bvec2, bvec3, bvec4, bvec5, bvec6

public abstract class bvec extends Object implements R_Constants
  • Field Details

    • x

      public boolean x
    • y

      public boolean y
    • z

      public boolean z
    • w

      public boolean w
    • e

      public boolean e
    • f

      public boolean f
  • Constructor Details

    • bvec

      public bvec(int size)
  • Method Details

    • get_size

      @Deprecated public int get_size()
      Deprecated.
      Returns:
      the number of components
    • size

      public int size()
      Returns:
      the number of components
    • get

      public bvec get()
    • get

      public Boolean get(int index)
    • x

      public boolean x()
      return single boolean component
      Returns:
      boolean
    • y

      public boolean y()
    • z

      public boolean z()
    • w

      public boolean w()
    • a

      public boolean a()
    • b

      public boolean b()
    • c

      public boolean c()
    • d

      public boolean d()
    • e

      public boolean e()
    • f

      public boolean f()
    • xy

      public bvec2 xy()
      return multi float component
      Returns:
      float
    • xyz

      public bvec3 xyz()
    • xyzw

      public bvec4 xyzw()
    • ab

      public bvec2 ab()
    • abc

      public bvec3 abc()
    • abcd

      public bvec4 abcd()
    • abcde

      public bvec5 abcde()
    • abcdef

      public bvec6 abcdef()
    • array

      public boolean[] array()
      return the list of component
      Returns:
      boolean []