public class Vector3D extends Vector
| Modifier and Type | Field and Description |
|---|---|
static Vector |
e1
e1, e2, e3 are the standard normalized vectors for dim 3.
|
static Vector |
e2 |
static Vector |
e3 |
static int |
X
X,Y,Z are the indexes of the coordinates x, y, z
|
static int |
Y |
static int |
Z |
x| Constructor and Description |
|---|
Vector3D(float x,
float y,
float z)
constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
rotX(float angle)
rotX
|
void |
rotY(float angle)
rotY
|
void |
rotZ(float angle)
rotZ
|
static Vector3D |
tmpVector(float x,
float y,
float z)
tmpVector
|
float |
x()
x
|
float |
y()
y
|
float |
z()
z
|
add, add, add, angle, compareTo, create, distance, distance, e, fromStream, invert, isEVector, len, multiply, multiply, multiply, normalize, normalize, orthogonizeInPlaneWith, scalar, scalar, scale, subtract, subtract, subtract, toStreamcheckDimension, checkDimension, clone, dimension, equals, hashCode, scale, scale, set, set, toStringpublic static final Vector e1
public static final Vector e2
public static final Vector e3
public static final int X
public static final int Y
public static final int Z
public Vector3D(float x,
float y,
float z)
v - vector coordinatespublic final float x()
public final float y()
public final float z()
public static final Vector3D tmpVector(float x, float y, float z)
x - x-coordinatey - y-coordinatez - z-coordinatepublic void rotX(float angle)
angle - x-rotation-anglepublic void rotY(float angle)
angle - y-rotation-anglepublic void rotZ(float angle)
angle - z-rotation-angleCopyright © 2012–2018. All rights reserved.