PVector |
PVector.add(double x,
double y) |
Deprecated, for removal: This API element is subject to removal in a future version.
|
PVector |
PVector.add(double x,
double y,
double z) |
Deprecated, for removal: This API element is subject to removal in a future version.
|
PVector |
PVector.add(PVector v) |
Deprecated, for removal: This API element is subject to removal in a future version.
( begin auto-generated from PVector_add.xml )
Adds x, y, and z components to a vector, adds one vector to another, or
adds two independent vectors together.
|
static PVector |
PVector.add(PVector v1,
PVector v2) |
Deprecated, for removal: This API element is subject to removal in a future version.
Add two vectors
|
static PVector |
PVector.add(PVector v1,
PVector v2,
PVector target) |
Deprecated, for removal: This API element is subject to removal in a future version.
Add two vectors into a target vector
|
PVector |
PVector.copy() |
Deprecated, for removal: This API element is subject to removal in a future version.
( begin auto-generated from PVector_copy.xml )
Gets a copy of the vector, returns a PVector object.
|
PVector |
PVector.cross(PVector v) |
Deprecated, for removal: This API element is subject to removal in a future version.
( begin auto-generated from PVector_cross.xml )
Calculates and returns a vector composed of the cross product between two
vectors.
|
PVector |
PVector.cross(PVector v,
PVector target) |
Deprecated, for removal: This API element is subject to removal in a future version.
|
static PVector |
PVector.cross(PVector v1,
PVector v2,
PVector target) |
Deprecated, for removal: This API element is subject to removal in a future version.
|
PVector |
PVector.div(double n) |
Deprecated, for removal: This API element is subject to removal in a future version.
( begin auto-generated from PVector_div.xml )
Divides a vector by a scalar or divides one vector by another.
|
static PVector |
PVector.div(PVector v,
double n) |
Deprecated, for removal: This API element is subject to removal in a future version.
Divide a vector by a scalar and return the result in a new vector.
|
static PVector |
PVector.div(PVector v,
double n,
PVector target) |
Deprecated, for removal: This API element is subject to removal in a future version.
Divide a vector by a scalar and store the result in another vector.
|
static PVector |
PVector.fromAngle(double angle) |
Deprecated, for removal: This API element is subject to removal in a future version.
( begin auto-generated from PVector_sub.xml )
Make a new 2D unit vector from an angle.
|
static PVector |
PVector.fromAngle(double angle,
PVector target) |
Deprecated, for removal: This API element is subject to removal in a future version.
Make a new 2D unit vector from an angle
|
PVector |
PVector.lerp(double x,
double y,
double z,
double amt) |
Deprecated, for removal: This API element is subject to removal in a future version.
Linear interpolate the vector to x,y,z values
|
PVector |
PVector.lerp(PVector v,
double amt) |
Deprecated, for removal: This API element is subject to removal in a future version.
( begin auto-generated from PVector_rotate.xml )
Linear interpolate the vector to another vector
( end auto-generated )
|
static PVector |
PVector.lerp(PVector v1,
PVector v2,
double amt) |
Deprecated, for removal: This API element is subject to removal in a future version.
Linear interpolate between two vectors (returns a new PVector object)
|
PVector |
PVector.limit(double max) |
Deprecated, for removal: This API element is subject to removal in a future version.
( begin auto-generated from PVector_limit.xml )
Limit the magnitude of this vector to the value used for the max
parameter.
|
PVector |
PVector.mult(double n) |
Deprecated, for removal: This API element is subject to removal in a future version.
( begin auto-generated from PVector_mult.xml )
Multiplies a vector by a scalar or multiplies one vector by another.
|
static PVector |
PVector.mult(PVector v,
double n) |
Deprecated, for removal: This API element is subject to removal in a future version.
|
static PVector |
PVector.mult(PVector v,
double n,
PVector target) |
Deprecated, for removal: This API element is subject to removal in a future version.
Multiply a vector by a scalar, and write the result into a target
PVector.
|
PVector |
PVector.normalize() |
Deprecated, for removal: This API element is subject to removal in a future version.
( begin auto-generated from PVector_normalize.xml )
Normalize the vector to length 1 (make it a unit vector).
|
PVector |
PVector.normalize(PVector target) |
Deprecated, for removal: This API element is subject to removal in a future version.
|
static PVector |
PVector.random2D() |
Deprecated, for removal: This API element is subject to removal in a future version.
( begin auto-generated from PVector_random2D.xml )
Make a new 2D unit vector with a random direction.
|
static PVector |
PVector.random2D(PVector target) |
Deprecated, for removal: This API element is subject to removal in a future version.
Set a 2D vector to a random unit vector with a random direction
|
static PVector |
PVector.random3D() |
Deprecated, for removal: This API element is subject to removal in a future version.
( begin auto-generated from PVector_random3D.xml )
Make a new 3D unit vector with a random direction.
|
static PVector |
PVector.random3D(PVector target) |
Deprecated, for removal: This API element is subject to removal in a future version.
Set a 3D vector to a random unit vector with a random direction
|
PVector |
PVector.rotate(double theta) |
Deprecated, for removal: This API element is subject to removal in a future version.
( begin auto-generated from PVector_rotate.xml )
Rotate the vector by an angle (only 2D vectors), magnitude remains the
same
( end auto-generated )
|
PVector |
PVector.set(double[] source) |
Deprecated, for removal: This API element is subject to removal in a future version.
Set the x, y (and maybe z) coordinates using a double[] array as the
source.
|
PVector |
PVector.set(double x,
double y) |
Deprecated, for removal: This API element is subject to removal in a future version.
|
PVector |
PVector.set(double x,
double y,
double z) |
Deprecated, for removal: This API element is subject to removal in a future version.
( begin auto-generated from PVector_set.xml )
Sets the x, y, and z component of the vector using two or three separate
variables, the data from a PVector, or the values from a double array.
|
PVector |
PVector.set(PVector v) |
Deprecated, for removal: This API element is subject to removal in a future version.
|
PVector |
PVector.setMag(double len) |
Deprecated, for removal: This API element is subject to removal in a future version.
( begin auto-generated from PVector_setMag.xml )
Set the magnitude of this vector to the value used for the len
parameter.
|
PVector |
PVector.setMag(PVector target,
double len) |
Deprecated, for removal: This API element is subject to removal in a future version.
Sets the magnitude of this vector, storing the result in another vector.
|
PVector |
PVector.sub(double x,
double y) |
Deprecated, for removal: This API element is subject to removal in a future version.
|
PVector |
PVector.sub(double x,
double y,
double z) |
Deprecated, for removal: This API element is subject to removal in a future version.
|
PVector |
PVector.sub(PVector v) |
Deprecated, for removal: This API element is subject to removal in a future version.
( begin auto-generated from PVector_sub.xml )
Subtracts x, y, and z components from a vector, subtracts one vector from
another, or subtracts two independent vectors.
|
static PVector |
PVector.sub(PVector v1,
PVector v2) |
Deprecated, for removal: This API element is subject to removal in a future version.
Subtract one vector from another
|
static PVector |
PVector.sub(PVector v1,
PVector v2,
PVector target) |
Deprecated, for removal: This API element is subject to removal in a future version.
Subtract one vector from another and store in another vector
|