|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Vector3D | |
|---|---|
| ssmith.opengl | |
| Uses of Vector3D in ssmith.opengl |
|---|
| Methods in ssmith.opengl that return Vector3D | |
|---|---|
static Vector3D |
Vector3D.add(Vector3D a,
Vector3D b)
static method to return sum of two vectors |
Vector3D |
Vector3D.getMinus()
return a vector pointing on the opposite direction to this without affecting the value of this instance |
static Vector3D |
Vector3D.sub(Vector3D a,
Vector3D b)
static method to return difference of two vectors |
| Methods in ssmith.opengl with parameters of type Vector3D | |
|---|---|
void |
Vector3D.add(Vector3D other)
add other vector to this for theory see: http://www.euclideanspace.com/maths/algebra/vectors/index.htm |
static Vector3D |
Vector3D.add(Vector3D a,
Vector3D b)
static method to return sum of two vectors |
void |
Vector3D.bounds(Vector3D other,
int i)
use to combine bounds if i=0 take minimum otherwise maximum |
void |
Vector3D.copy(Vector3D other)
set the value of this instance to the value of other this can be used to reuse an instance without the overheads of garbidge collection |
void |
Vector3D.cross(Vector3D other)
cross product for theory see: http://www.euclideanspace.com/maths/algebra/vectors/index.htm |
double |
Vector3D.distanceSquared(Vector3D other)
return square of distance from end of this vector to end of other |
double |
Vector3D.dot(Vector3D other)
dot product for theory see: http://www.euclideanspace.com/maths/algebra/vectors/index.htm |
boolean |
Vector3D.equals(Vector3D other)
returns true if this vector has an equal value to other vector |
boolean |
Vector3D.greaterThan(Vector3D other)
returns true if any dimension of other vector is greater than the same dimension of this |
boolean |
Vector3D.lessThan(Vector3D other)
returns true if any dimension of other vector is less than the same dimension of this |
void |
Vector3D.scale(Vector3D other)
scale this vector posibly different in x,y and z directions |
void |
Vector3D.scaleInv(Vector3D other)
scale this vector by inverse of other |
void |
Vector3D.sub(Vector3D other)
subtract other vector from this for theory see: http://www.euclideanspace.com/maths/algebra/vectors/index.htm |
static Vector3D |
Vector3D.sub(Vector3D a,
Vector3D b)
static method to return difference of two vectors |
| Constructors in ssmith.opengl with parameters of type Vector3D | |
|---|---|
Vector3D(Vector3D in1)
copy constructor |
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||