| Package | Description |
|---|---|
| org.apache.commons.math4.geometry.euclidean.threed |
This package provides basic 3D geometry components.
|
| Modifier and Type | Method | Description |
|---|---|---|
FieldVector3D<T> |
FieldVector3D.add(double factor,
Cartesian3D v) |
Add a scaled vector to the instance.
|
FieldVector3D<T> |
FieldVector3D.add(double factor,
FieldVector3D<T> v) |
Add a scaled vector to the instance.
|
FieldVector3D<T> |
FieldVector3D.add(Cartesian3D v) |
Add a vector to the instance.
|
FieldVector3D<T> |
FieldVector3D.add(FieldVector3D<T> v) |
Add a vector to the instance.
|
FieldVector3D<T> |
FieldVector3D.add(T factor,
Cartesian3D v) |
Add a scaled vector to the instance.
|
FieldVector3D<T> |
FieldVector3D.add(T factor,
FieldVector3D<T> v) |
Add a scaled vector to the instance.
|
FieldVector3D<T> |
FieldRotation.applyInverseTo(Cartesian3D u) |
Apply the inverse of the rotation to a vector.
|
FieldVector3D<T> |
FieldRotation.applyInverseTo(FieldVector3D<T> u) |
Apply the inverse of the rotation to a vector.
|
static <T extends RealFieldElement<T>> |
FieldRotation.applyInverseTo(Rotation r,
FieldVector3D<T> u) |
Apply the inverse of a rotation to a vector.
|
FieldVector3D<T> |
FieldRotation.applyTo(Cartesian3D u) |
Apply the rotation to a vector.
|
FieldVector3D<T> |
FieldRotation.applyTo(FieldVector3D<T> u) |
Apply the rotation to a vector.
|
static <T extends RealFieldElement<T>> |
FieldRotation.applyTo(Rotation r,
FieldVector3D<T> u) |
Apply a rotation to a vector.
|
FieldVector3D<T> |
FieldVector3D.crossProduct(Cartesian3D v) |
Compute the cross-product of the instance with another vector.
|
static <T extends RealFieldElement<T>> |
FieldVector3D.crossProduct(Cartesian3D v1,
FieldVector3D<T> v2) |
Compute the cross-product of two vectors.
|
FieldVector3D<T> |
FieldVector3D.crossProduct(FieldVector3D<T> v) |
Compute the cross-product of the instance with another vector.
|
static <T extends RealFieldElement<T>> |
FieldVector3D.crossProduct(FieldVector3D<T> v1,
Cartesian3D v2) |
Compute the cross-product of two vectors.
|
static <T extends RealFieldElement<T>> |
FieldVector3D.crossProduct(FieldVector3D<T> v1,
FieldVector3D<T> v2) |
Compute the cross-product of two vectors.
|
FieldVector3D<T> |
FieldRotation.getAxis() |
Deprecated.
as of 3.6, replaced with
FieldRotation.getAxis(RotationConvention) |
FieldVector3D<T> |
FieldRotation.getAxis(RotationConvention convention) |
Get the normalized axis of the rotation.
|
FieldVector3D<T> |
FieldVector3D.negate() |
Get the opposite of the instance.
|
FieldVector3D<T> |
FieldVector3D.normalize() |
Get a normalized vector aligned with the instance.
|
FieldVector3D<T> |
FieldVector3D.orthogonal() |
Get a vector orthogonal to the instance.
|
FieldVector3D<T> |
FieldVector3D.scalarMultiply(double a) |
Multiply the instance by a scalar.
|
FieldVector3D<T> |
FieldVector3D.scalarMultiply(T a) |
Multiply the instance by a scalar.
|
FieldVector3D<T> |
FieldVector3D.subtract(double factor,
Cartesian3D v) |
Subtract a scaled vector from the instance.
|
FieldVector3D<T> |
FieldVector3D.subtract(double factor,
FieldVector3D<T> v) |
Subtract a scaled vector from the instance.
|
FieldVector3D<T> |
FieldVector3D.subtract(Cartesian3D v) |
Subtract a vector from the instance.
|
FieldVector3D<T> |
FieldVector3D.subtract(FieldVector3D<T> v) |
Subtract a vector from the instance.
|
FieldVector3D<T> |
FieldVector3D.subtract(T factor,
Cartesian3D v) |
Subtract a scaled vector from the instance.
|
FieldVector3D<T> |
FieldVector3D.subtract(T factor,
FieldVector3D<T> v) |
Subtract a scaled vector from the instance.
|
| Modifier and Type | Method | Description |
|---|---|---|
FieldVector3D<T> |
FieldVector3D.add(double factor,
FieldVector3D<T> v) |
Add a scaled vector to the instance.
|
FieldVector3D<T> |
FieldVector3D.add(FieldVector3D<T> v) |
Add a vector to the instance.
|
FieldVector3D<T> |
FieldVector3D.add(T factor,
FieldVector3D<T> v) |
Add a scaled vector to the instance.
|
static <T extends RealFieldElement<T>> |
FieldVector3D.angle(Cartesian3D v1,
FieldVector3D<T> v2) |
Compute the angular separation between two vectors.
|
static <T extends RealFieldElement<T>> |
FieldVector3D.angle(FieldVector3D<T> v1,
Cartesian3D v2) |
Compute the angular separation between two vectors.
|
static <T extends RealFieldElement<T>> |
FieldVector3D.angle(FieldVector3D<T> v1,
FieldVector3D<T> v2) |
Compute the angular separation between two vectors.
|
FieldVector3D<T> |
FieldRotation.applyInverseTo(FieldVector3D<T> u) |
Apply the inverse of the rotation to a vector.
|
static <T extends RealFieldElement<T>> |
FieldRotation.applyInverseTo(Rotation r,
FieldVector3D<T> u) |
Apply the inverse of a rotation to a vector.
|
FieldVector3D<T> |
FieldRotation.applyTo(FieldVector3D<T> u) |
Apply the rotation to a vector.
|
static <T extends RealFieldElement<T>> |
FieldRotation.applyTo(Rotation r,
FieldVector3D<T> u) |
Apply a rotation to a vector.
|
static <T extends RealFieldElement<T>> |
FieldVector3D.crossProduct(Cartesian3D v1,
FieldVector3D<T> v2) |
Compute the cross-product of two vectors.
|
FieldVector3D<T> |
FieldVector3D.crossProduct(FieldVector3D<T> v) |
Compute the cross-product of the instance with another vector.
|
static <T extends RealFieldElement<T>> |
FieldVector3D.crossProduct(FieldVector3D<T> v1,
Cartesian3D v2) |
Compute the cross-product of two vectors.
|
static <T extends RealFieldElement<T>> |
FieldVector3D.crossProduct(FieldVector3D<T> v1,
FieldVector3D<T> v2) |
Compute the cross-product of two vectors.
|
static <T extends RealFieldElement<T>> |
FieldVector3D.distance(Cartesian3D v1,
FieldVector3D<T> v2) |
Compute the distance between two vectors according to the L2 norm.
|
T |
FieldVector3D.distance(FieldVector3D<T> v) |
Compute the distance between the instance and another vector according to the L2 norm.
|
static <T extends RealFieldElement<T>> |
FieldVector3D.distance(FieldVector3D<T> v1,
Cartesian3D v2) |
Compute the distance between two vectors according to the L2 norm.
|
static <T extends RealFieldElement<T>> |
FieldVector3D.distance(FieldVector3D<T> v1,
FieldVector3D<T> v2) |
Compute the distance between two vectors according to the L2 norm.
|
static <T extends RealFieldElement<T>> |
FieldVector3D.distance1(Cartesian3D v1,
FieldVector3D<T> v2) |
Compute the distance between two vectors according to the L1 norm.
|
T |
FieldVector3D.distance1(FieldVector3D<T> v) |
Compute the distance between the instance and another vector according to the L1 norm.
|
static <T extends RealFieldElement<T>> |
FieldVector3D.distance1(FieldVector3D<T> v1,
Cartesian3D v2) |
Compute the distance between two vectors according to the L1 norm.
|
static <T extends RealFieldElement<T>> |
FieldVector3D.distance1(FieldVector3D<T> v1,
FieldVector3D<T> v2) |
Compute the distance between two vectors according to the L1 norm.
|
static <T extends RealFieldElement<T>> |
FieldVector3D.distanceInf(Cartesian3D v1,
FieldVector3D<T> v2) |
Compute the distance between two vectors according to the L∞ norm.
|
T |
FieldVector3D.distanceInf(FieldVector3D<T> v) |
Compute the distance between the instance and another vector according to the L∞ norm.
|
static <T extends RealFieldElement<T>> |
FieldVector3D.distanceInf(FieldVector3D<T> v1,
Cartesian3D v2) |
Compute the distance between two vectors according to the L∞ norm.
|
static <T extends RealFieldElement<T>> |
FieldVector3D.distanceInf(FieldVector3D<T> v1,
FieldVector3D<T> v2) |
Compute the distance between two vectors according to the L∞ norm.
|
static <T extends RealFieldElement<T>> |
FieldVector3D.distanceSq(Cartesian3D v1,
FieldVector3D<T> v2) |
Compute the square of the distance between two vectors.
|
T |
FieldVector3D.distanceSq(FieldVector3D<T> v) |
Compute the square of the distance between the instance and another vector.
|
static <T extends RealFieldElement<T>> |
FieldVector3D.distanceSq(FieldVector3D<T> v1,
Cartesian3D v2) |
Compute the square of the distance between two vectors.
|
static <T extends RealFieldElement<T>> |
FieldVector3D.distanceSq(FieldVector3D<T> v1,
FieldVector3D<T> v2) |
Compute the square of the distance between two vectors.
|
static <T extends RealFieldElement<T>> |
FieldVector3D.dotProduct(Cartesian3D v1,
FieldVector3D<T> v2) |
Compute the dot-product of two vectors.
|
T |
FieldVector3D.dotProduct(FieldVector3D<T> v) |
Compute the dot-product of the instance and another vector.
|
static <T extends RealFieldElement<T>> |
FieldVector3D.dotProduct(FieldVector3D<T> v1,
Cartesian3D v2) |
Compute the dot-product of two vectors.
|
static <T extends RealFieldElement<T>> |
FieldVector3D.dotProduct(FieldVector3D<T> v1,
FieldVector3D<T> v2) |
Compute the dot-product of two vectors.
|
FieldVector3D<T> |
FieldVector3D.subtract(double factor,
FieldVector3D<T> v) |
Subtract a scaled vector from the instance.
|
FieldVector3D<T> |
FieldVector3D.subtract(FieldVector3D<T> v) |
Subtract a vector from the instance.
|
FieldVector3D<T> |
FieldVector3D.subtract(T factor,
FieldVector3D<T> v) |
Subtract a scaled vector from the instance.
|
| Constructor | Description |
|---|---|
FieldRotation(FieldVector3D<T> u,
FieldVector3D<T> v) |
Build one of the rotations that transform one vector into another one.
|
FieldRotation(FieldVector3D<T> u1,
FieldVector3D<T> u2,
FieldVector3D<T> v1,
FieldVector3D<T> v2) |
Build the rotation that transforms a pair of vectors into another pair.
|
FieldRotation(FieldVector3D<T> axis,
T angle) |
Deprecated.
as of 3.6, replaced with
FieldRotation(FieldVector3D, RealFieldElement, RotationConvention) |
FieldRotation(FieldVector3D<T> axis,
T angle,
RotationConvention convention) |
Build a rotation from an axis and an angle.
|
FieldVector3D(double a,
FieldVector3D<T> u) |
Multiplicative constructor
Build a vector from another one and a scale factor.
|
FieldVector3D(double a1,
FieldVector3D<T> u1,
double a2,
FieldVector3D<T> u2) |
Linear constructor
Build a vector from two other ones and corresponding scale factors.
|
FieldVector3D(double a1,
FieldVector3D<T> u1,
double a2,
FieldVector3D<T> u2,
double a3,
FieldVector3D<T> u3) |
Linear constructor
Build a vector from three other ones and corresponding scale factors.
|
FieldVector3D(double a1,
FieldVector3D<T> u1,
double a2,
FieldVector3D<T> u2,
double a3,
FieldVector3D<T> u3,
double a4,
FieldVector3D<T> u4) |
Linear constructor
Build a vector from four other ones and corresponding scale factors.
|
FieldVector3D(T a,
FieldVector3D<T> u) |
Multiplicative constructor
Build a vector from another one and a scale factor.
|
FieldVector3D(T a1,
FieldVector3D<T> u1,
T a2,
FieldVector3D<T> u2) |
Linear constructor
Build a vector from two other ones and corresponding scale factors.
|
FieldVector3D(T a1,
FieldVector3D<T> u1,
T a2,
FieldVector3D<T> u2,
T a3,
FieldVector3D<T> u3) |
Linear constructor
Build a vector from three other ones and corresponding scale factors.
|
FieldVector3D(T a1,
FieldVector3D<T> u1,
T a2,
FieldVector3D<T> u2,
T a3,
FieldVector3D<T> u3,
T a4,
FieldVector3D<T> u4) |
Linear constructor
Build a vector from four other ones and corresponding scale factors.
|
Copyright © 2003–2017 The Apache Software Foundation. All rights reserved.