| Package | Description |
|---|---|
| com.jme3.scene.plugins.blender.math |
| Modifier and Type | Field and Description |
|---|---|
static Vector3d |
Vector3d.UNIT_X |
static Vector3d |
Vector3d.UNIT_XYZ |
static Vector3d |
Vector3d.UNIT_Y |
static Vector3d |
Vector3d.UNIT_Z |
static Vector3d |
Vector3d.ZERO |
| Modifier and Type | Method and Description |
|---|---|
Vector3d |
Vector3d.add(double addX,
double addY,
double addZ)
add adds the provided values to this vector, creating a
new vector that is then returned. |
Vector3d |
Vector3d.add(Vector3d vec)
add adds a provided vector to this vector creating a
resultant vector which is returned. |
Vector3d |
Vector3d.add(Vector3d vec,
Vector3d result)
add adds the values of a provided vector storing the
values in the supplied vector. |
Vector3d |
Vector3d.addLocal(double addX,
double addY,
double addZ)
addLocal adds the provided values to this vector
internally, and returns a handle to this vector for easy chaining of
calls. |
Vector3d |
Vector3d.addLocal(Vector3d vec)
addLocal adds a provided vector to this vector internally,
and returns a handle to this vector for easy chaining of calls. |
Vector3d |
Vector3d.clone() |
Vector3d |
Vector3d.cross(double otherX,
double otherY,
double otherZ,
Vector3d result)
cross calculates the cross product of this vector with a
parameter vector v. |
Vector3d |
Vector3d.cross(Vector3d v)
cross calculates the cross product of this vector with a
parameter vector v. |
Vector3d |
Vector3d.cross(Vector3d v,
Vector3d result)
cross calculates the cross product of this vector with a
parameter vector v. |
Vector3d |
Vector3d.crossLocal(double otherX,
double otherY,
double otherZ)
crossLocal calculates the cross product of this vector
with a parameter vector v. |
Vector3d |
Vector3d.crossLocal(Vector3d v)
crossLocal calculates the cross product of this vector
with a parameter vector v. |
Vector3d |
Vector3d.divide(double scalar)
divide divides the values of this vector by a scalar and
returns the result. |
Vector3d |
Vector3d.divide(Vector3d scalar)
divide divides the values of this vector by a scalar and
returns the result. |
Vector3d |
Vector3d.divideLocal(double scalar)
divideLocal divides this vector by a scalar internally,
and returns a handle to this vector for easy chaining of calls. |
Vector3d |
Vector3d.divideLocal(Vector3d scalar)
divideLocal divides this vector by a scalar internally,
and returns a handle to this vector for easy chaining of calls. |
Vector3d |
DTransform.getScale()
Return the scale vector in this matrix.
|
Vector3d |
DTransform.getTranslation()
Return the translation vector in this matrix.
|
Vector3d |
Vector3d.mult(double scalar)
mult multiplies this vector by a scalar. |
Vector3d |
Vector3d.mult(double scalar,
Vector3d product)
mult multiplies this vector by a scalar. |
Vector3d |
DQuaternion.mult(Vector3d v)
mult multiplies this quaternion by a parameter vector. |
Vector3d |
Vector3d.mult(Vector3d vec)
multLocal multiplies a provided vector to this vector
internally, and returns a handle to this vector for easy chaining of
calls. |
Vector3d |
DQuaternion.mult(Vector3d v,
Vector3d store)
mult multiplies this quaternion by a parameter vector. |
Vector3d |
Vector3d.mult(Vector3d vec,
Vector3d store)
multLocal multiplies a provided vector to this vector
internally, and returns a handle to this vector for easy chaining of
calls. |
Vector3d |
Vector3d.multLocal(double scalar)
multLocal multiplies this vector by a scalar internally,
and returns a handle to this vector for easy chaining of calls. |
Vector3d |
Vector3d.multLocal(double x,
double y,
double z)
multLocal multiplies this vector by 3 scalars
internally, and returns a handle to this vector for easy chaining of
calls. |
Vector3d |
Vector3d.multLocal(Vector3d vec)
multLocal multiplies a provided vector to this vector
internally, and returns a handle to this vector for easy chaining of
calls. |
Vector3d |
Vector3d.negate()
negate returns the negative of this vector. |
Vector3d |
Vector3d.negateLocal()
negateLocal negates the internal values of this vector. |
Vector3d |
Vector3d.normalize()
normalize returns the unit vector of this vector. |
Vector3d |
Vector3d.normalizeLocal()
normalizeLocal makes this vector into a unit vector of
itself. |
Vector3d |
Vector3d.scaleAdd(double scalar,
Vector3d add)
scaleAdd multiplies this vector by a scalar then adds the
given Vector3d. |
Vector3d |
Vector3d.scaleAdd(double scalar,
Vector3d mult,
Vector3d add)
scaleAdd multiplies the given vector by a scalar then adds
the given vector. |
Vector3d |
Vector3d.set(double x,
double y,
double z)
set sets the x,y,z values of the vector based on passed
parameters. |
Vector3d |
Vector3d.set(Vector3d vect)
set sets the x,y,z values of the vector by copying the
supplied vector. |
Vector3d |
Vector3d.subtract(double subtractX,
double subtractY,
double subtractZ)
subtract subtracts the provided values from this vector,
creating a new vector that is then returned. |
Vector3d |
Vector3d.subtract(Vector3d vec)
subtract subtracts the values of a given vector from those
of this vector creating a new vector object. |
Vector3d |
Vector3d.subtract(Vector3d vec,
Vector3d result)
subtract |
Vector3d |
Vector3d.subtractLocal(double subtractX,
double subtractY,
double subtractZ)
subtractLocal subtracts the provided values from this vector
internally, and returns a handle to this vector for easy chaining of
calls. |
Vector3d |
Vector3d.subtractLocal(Vector3d vec)
subtractLocal subtracts a provided vector to this vector
internally, and returns a handle to this vector for easy chaining of
calls. |
Vector3d |
Matrix.toScaleVector()
Retreives the scale vector from the matrix and stores it into a given
vector.
|
Vector3d |
Matrix.toTranslationVector() |
| Modifier and Type | Method and Description |
|---|---|
Vector3d |
Vector3d.add(Vector3d vec)
add adds a provided vector to this vector creating a
resultant vector which is returned. |
Vector3d |
Vector3d.add(Vector3d vec,
Vector3d result)
add adds the values of a provided vector storing the
values in the supplied vector. |
Vector3d |
Vector3d.addLocal(Vector3d vec)
addLocal adds a provided vector to this vector internally,
and returns a handle to this vector for easy chaining of calls. |
double |
Vector3d.angleBetween(Vector3d otherVector)
angleBetween returns (in radians) the angle between two vectors. |
Vector3d |
Vector3d.cross(double otherX,
double otherY,
double otherZ,
Vector3d result)
cross calculates the cross product of this vector with a
parameter vector v. |
Vector3d |
Vector3d.cross(Vector3d v)
cross calculates the cross product of this vector with a
parameter vector v. |
Vector3d |
Vector3d.cross(Vector3d v,
Vector3d result)
cross calculates the cross product of this vector with a
parameter vector v. |
Vector3d |
Vector3d.crossLocal(Vector3d v)
crossLocal calculates the cross product of this vector
with a parameter vector v. |
double |
Vector3d.distance(Vector3d v)
distance calculates the distance between this vector and
vector v. |
double |
Vector3d.distanceSquared(Vector3d v)
distanceSquared calculates the distance squared between
this vector and vector v. |
Vector3d |
Vector3d.divide(Vector3d scalar)
divide divides the values of this vector by a scalar and
returns the result. |
Vector3d |
Vector3d.divideLocal(Vector3d scalar)
divideLocal divides this vector by a scalar internally,
and returns a handle to this vector for easy chaining of calls. |
double |
Vector3d.dot(Vector3d vec)
dot calculates the dot product of this vector with a
provided vector. |
DQuaternion |
DQuaternion.fromAngleAxis(double angle,
Vector3d axis)
fromAngleAxis sets this quaternion to the values specified
by an angle and an axis of rotation. |
DQuaternion |
DQuaternion.fromAngleNormalAxis(double angle,
Vector3d axis)
fromAngleNormalAxis sets this quaternion to the values
specified by an angle and a normalized axis of rotation. |
Vector3d |
Vector3d.mult(double scalar,
Vector3d product)
mult multiplies this vector by a scalar. |
Vector3d |
DQuaternion.mult(Vector3d v)
mult multiplies this quaternion by a parameter vector. |
Vector3d |
Vector3d.mult(Vector3d vec)
multLocal multiplies a provided vector to this vector
internally, and returns a handle to this vector for easy chaining of
calls. |
Vector3d |
DQuaternion.mult(Vector3d v,
Vector3d store)
mult multiplies this quaternion by a parameter vector. |
Vector3d |
Vector3d.mult(Vector3d vec,
Vector3d store)
multLocal multiplies a provided vector to this vector
internally, and returns a handle to this vector for easy chaining of
calls. |
Vector3d |
Vector3d.multLocal(Vector3d vec)
multLocal multiplies a provided vector to this vector
internally, and returns a handle to this vector for easy chaining of
calls. |
Vector3d |
Vector3d.scaleAdd(double scalar,
Vector3d add)
scaleAdd multiplies this vector by a scalar then adds the
given Vector3d. |
Vector3d |
Vector3d.scaleAdd(double scalar,
Vector3d mult,
Vector3d add)
scaleAdd multiplies the given vector by a scalar then adds
the given vector. |
Vector3d |
Vector3d.set(Vector3d vect)
set sets the x,y,z values of the vector by copying the
supplied vector. |
void |
Matrix.setColumn(Vector3d col,
int column) |
DTransform |
DTransform.setScale(Vector3d scale)
Sets this scale to the given value.
|
void |
Matrix.setScale(Vector3d scale)
Sets the scale.
|
DTransform |
DTransform.setTranslation(Vector3d trans)
Sets this translation to the given value.
|
void |
Matrix.setTranslation(Vector3d translation) |
Vector3d |
Vector3d.subtract(Vector3d vec)
subtract subtracts the values of a given vector from those
of this vector creating a new vector object. |
Vector3d |
Vector3d.subtract(Vector3d vec,
Vector3d result)
subtract |
Vector3d |
Vector3d.subtractLocal(Vector3d vec)
subtractLocal subtracts a provided vector to this vector
internally, and returns a handle to this vector for easy chaining of
calls. |
void |
Matrix.toScaleVector(Vector3d vector)
Retreives the scale vector from the matrix and stores it into a given
vector.
|