public class Vector3 extends TSRVector3
swigCMemOwn
Constructor and Description |
---|
Vector3()
Initializes a new instance of the
Vector3 class. |
Vector3(float x,
float y,
float z)
Initializes a new instance of the
Vector3 class. |
Vector3(TSRVector3 vector)
Initializes a new instance of the
Vector3 class. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
float |
getLength()
Computes the length of the vector
|
int |
hashCode() |
java.lang.String |
toString() |
absolute, add, addLerp, addv, addWeighted, assign, assign, assign, closestAxis, cross, decrementBy, delete, divideBy, divideBy, divideBy, dot, finalize, fromYawPitchAngles, furthestAxis, getCPtr, getI, getJ, getK, getV, getX, getY, getZ, getZero, incrementBy, mag, magSquared, maxAxis, minAxis, mult, multiplyBy, multiplyBy, multiplyBy, negate, normalize, normalized, setV, setX, setY, setZ, solveTriangleAnglesUsingSideLengths, subtract
public Vector3(float x, float y, float z)
Vector3
class.x
- The x valuey
- The y valuez
- The z valuepublic Vector3(TSRVector3 vector)
Vector3
class.vector
- The other vectorpublic Vector3()
Vector3
class.public final float getLength()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object