| Package | Description |
|---|---|
| com.flowpowered.math | |
| com.flowpowered.math.matrix | |
| com.flowpowered.math.vector |
| Modifier and Type | Method and Description |
|---|---|
static Vector4d |
GenericMath.normalizeSafe(Vector4d v)
Attempts to normalize a vector.
|
| Modifier and Type | Method and Description |
|---|---|
static Vector4d |
GenericMath.normalizeSafe(Vector4d v)
Attempts to normalize a vector.
|
| Modifier and Type | Method and Description |
|---|---|
Vector4d |
Matrix4d.getColumn(int col) |
Vector4d |
Matrix4d.getRow(int row) |
Vector4d |
Matrix4d.transform(double x,
double y,
double z,
double w) |
Vector4d |
Matrix4d.transform(float x,
float y,
float z,
float w) |
Vector4d |
Matrix4d.transform(Vector4d v) |
| Modifier and Type | Method and Description |
|---|---|
static Matrix4d |
Matrix4d.createScaling(Vector4d v) |
Matrix4d |
Matrix4d.scale(Vector4d v) |
Vector4d |
Matrix4d.transform(Vector4d v) |
| Modifier and Type | Field and Description |
|---|---|
static Vector4d |
Vector4d.ONE |
static Vector4d |
Vector4d.UNIT_W |
static Vector4d |
Vector4d.UNIT_X |
static Vector4d |
Vector4d.UNIT_Y |
static Vector4d |
Vector4d.UNIT_Z |
static Vector4d |
Vector4d.ZERO |
| Modifier and Type | Method and Description |
|---|---|
Vector4d |
Vector4d.abs() |
Vector4d |
Vector4d.add(double x,
double y,
double z,
double w) |
Vector4d |
Vector4d.add(float x,
float y,
float z,
float w) |
Vector4d |
Vector4d.add(Vector4d v) |
Vector4d |
Vector4d.ceil() |
Vector4d |
Vector4d.clone() |
Vector4d |
Vector4d.div(double a) |
Vector4d |
Vector4d.div(double x,
double y,
double z,
double w) |
Vector4d |
Vector4d.div(float a) |
Vector4d |
Vector4d.div(float x,
float y,
float z,
float w) |
Vector4d |
Vector4d.div(Vector4d v) |
Vector4d |
Vector4d.floor() |
static Vector4d |
Vector4d.from(double n) |
static Vector4d |
Vector4d.from(double x,
double y,
double z,
double w) |
Vector4d |
Vector4d.max(double x,
double y,
double z,
double w) |
Vector4d |
Vector4d.max(float x,
float y,
float z,
float w) |
Vector4d |
Vector4d.max(Vector4d v) |
Vector4d |
Vector4d.min(double x,
double y,
double z,
double w) |
Vector4d |
Vector4d.min(float x,
float y,
float z,
float w) |
Vector4d |
Vector4d.min(Vector4d v) |
Vector4d |
Vector4d.mul(double a) |
Vector4d |
Vector4d.mul(double x,
double y,
double z,
double w) |
Vector4d |
Vector4d.mul(float a) |
Vector4d |
Vector4d.mul(float x,
float y,
float z,
float w) |
Vector4d |
Vector4d.mul(Vector4d v) |
Vector4d |
Vector4d.negate() |
Vector4d |
Vector4d.normalize() |
Vector4d |
Vector4d.pow(double power) |
Vector4d |
Vector4d.pow(float pow) |
Vector4d |
Vector4d.project(double x,
double y,
double z,
double w) |
Vector4d |
Vector4d.project(float x,
float y,
float z,
float w) |
Vector4d |
Vector4d.project(Vector4d v) |
Vector4d |
Vector4d.round() |
Vector4d |
Vector4d.sub(double x,
double y,
double z,
double w) |
Vector4d |
Vector4d.sub(float x,
float y,
float z,
float w) |
Vector4d |
Vector4d.sub(Vector4d v) |
Vector4d |
Vector4d.toDouble() |
Vector4d |
Vector4f.toDouble() |
Vector4d |
Vector4l.toDouble() |
Vector4d |
Vector4i.toDouble() |
Vector4d |
VectorNd.toVector4() |
Vector4d |
Vector3d.toVector4() |
Vector4d |
Vector2d.toVector4() |
Vector4d |
Vector3d.toVector4(double w) |
Vector4d |
Vector2d.toVector4(double z,
double w) |
Vector4d |
Vector3d.toVector4(float w) |
Vector4d |
Vector2d.toVector4(float z,
float w) |
| Modifier and Type | Method and Description |
|---|---|
Vector4d |
Vector4d.add(Vector4d v) |
int |
Vector4d.compareTo(Vector4d v) |
double |
Vector4d.distance(Vector4d v) |
double |
Vector4d.distanceSquared(Vector4d v) |
Vector4d |
Vector4d.div(Vector4d v) |
double |
Vector4d.dot(Vector4d v) |
Vector4d |
Vector4d.max(Vector4d v) |
Vector4d |
Vector4d.min(Vector4d v) |
Vector4d |
Vector4d.mul(Vector4d v) |
Vector4d |
Vector4d.project(Vector4d v) |
Vector4d |
Vector4d.sub(Vector4d v) |
| Constructor and Description |
|---|
Vector2d(Vector4d v) |
Vector3d(Vector4d v) |
Vector4d(Vector4d v) |
VectorNd(Vector4d v) |
Copyright © 2013–2016 Flow Powered. All rights reserved.