| Package | Description |
|---|---|
| de.tsl2.nano.math.vector |
| Modifier and Type | Class and Description |
|---|---|
class |
Vector3D
3-dim constraint numeric vector providing x,y,z coordinates and rotations
|
| Modifier and Type | Field and Description |
|---|---|
static Vector |
Vector3D.e1
e1, e2, e3 are the standard normalized vectors for dim 3.
|
static Vector |
Vector3D.e2 |
static Vector |
Vector3D.e3 |
| Modifier and Type | Method and Description |
|---|---|
static Vector |
Vector.add(Vector v1,
Vector... vv)
add
|
Vector |
Coordinate.clone(float adapt)
clone with adaption. convenience for clone+scale.
|
static Vector |
Vector.create(int dim,
float defaultValue)
create
|
Vector |
Vector.distance(Vector v2)
distance between this and v2. see
subtract(Vector, Vector...). |
static Vector |
Vector.e(int dim,
int row)
creates an n-dim normalized vector with number 1 on given row.
|
static Vector |
Vector.invert(Vector v)
invert given vector
|
static Vector |
Vector.normalize(Vector v)
normalize the given vector
|
static Vector |
Vector.scale(Vector v,
float f)
scale
|
static Vector |
Vector.subtract(Vector v1,
Vector... vv)
subtract
|
| Modifier and Type | Method and Description |
|---|---|
static List<Vector> |
Vector.fromStream(InputStream stream) |
| Modifier and Type | Method and Description |
|---|---|
void |
Vector.add(Vector v)
add
|
static Vector |
Vector.add(Vector v1,
Vector... vv)
add
|
static Vector |
Vector.add(Vector v1,
Vector... vv)
add
|
float |
Vector.angle(Vector v)
through the scalar product it is possible to calculate the angle between two vectors.
|
int |
Vector.compareTo(Vector o) |
Vector |
Vector.distance(Vector v2)
distance between this and v2. see
subtract(Vector, Vector...). |
static Vector |
Vector.invert(Vector v)
invert given vector
|
protected static int |
Vector.isEVector(Vector v)
isEVector
|
float |
Vector.multiply(Vector v)
delegates to
scalar(float...) |
void |
Vector.multiply(Vector[] m)
multiply with an equal-dim matrix
|
static Vector |
Vector.normalize(Vector v)
normalize the given vector
|
void |
Vector.orthogonizeInPlaneWith(Vector v2)
orthogonizeInPlaneWith
|
float |
Vector.scalar(Vector v)
see
scalar(float...) |
static Vector |
Vector.scale(Vector v,
float f)
scale
|
void |
Vector.subtract(Vector v)
subtract
|
static Vector |
Vector.subtract(Vector v1,
Vector... vv)
subtract
|
static Vector |
Vector.subtract(Vector v1,
Vector... vv)
subtract
|
| Modifier and Type | Method and Description |
|---|---|
static InputStream |
Vector.toStream(List<Vector> vl) |
Copyright © 2012–2020. All rights reserved.