double [ ] function ( ) { if ( array == null ) { array = new double [ 3 ] ; } array [ 0 ] = x ; array [ 1 ] = y ; array [ 2 ] = z ; return array ; }
return a representation of this vector as a double array . this is only for temporary use . if used in any other fashion , the contents should be copied by using the get command to copy into your own array . concode_field_sep double[] array concode_elem_sep long serialVersionUID 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 PVector add concode_elem_sep PVector add concode_elem_sep void sub concode_elem_sep void sub concode_elem_sep PVector sub concode_elem_sep PVector sub concode_elem_sep void set concode_elem_sep void set concode_elem_sep void set concode_elem_sep void mult concode_elem_sep PVector mult concode_elem_sep PVector mult concode_elem_sep void mult concode_elem_sep PVector mult concode_elem_sep PVector mult concode_elem_sep double dot concode_elem_sep double dot concode_elem_sep double dot concode_elem_sep PVector cross concode_elem_sep PVector cross concode_elem_sep PVector cross concode_elem_sep double dist concode_elem_sep double dist concode_elem_sep void div concode_elem_sep PVector div concode_elem_sep PVector div concode_elem_sep void div concode_elem_sep PVector div concode_elem_sep PVector div concode_elem_sep double angleBetween concode_elem_sep double mag concode_elem_sep double heading2D concode_elem_sep int hashCode concode_elem_sep PVector get concode_elem_sep double[] get concode_elem_sep void normalize concode_elem_sep PVector normalize concode_elem_sep boolean equals concode_elem_sep void limit concode_elem_sep String toString