double function ( int arg0 ) { switch ( arg0 ) { case 0 : { return x ; } case 1 : { return y ; } case 2 : { return z ; } default : { throw new ArrayIndexOutOfBoundsException ( arg0 ) ; } } }
gets a single element of this vector . elements 0 , 1 , and 2 correspond to x , y , and z. concode_field_sep double DOUBLE_PREC concode_elem_sep double x concode_elem_sep double y concode_elem_sep double z concode_field_sep void add concode_elem_sep void add concode_elem_sep void sub concode_elem_sep void sub concode_elem_sep void set concode_elem_sep void set concode_elem_sep void set concode_elem_sep double distance concode_elem_sep double normSquared concode_elem_sep double dot concode_elem_sep void cross concode_elem_sep void scale concode_elem_sep void scale concode_elem_sep double norm concode_elem_sep double distanceSquared concode_elem_sep void normalize concode_elem_sep void setZero concode_elem_sep void setRandom concode_elem_sep String toString