Constructor | Description |
---|---|
AxisAngle(Vector3DReadOnly rotationVector) |
Creates an axis-angle such that it represents the same orientation the rotation vector
represents.
|
AxisAngle(Vector3DReadOnly axis,
double angle) |
Create an axis-angle from the given axis and angle.
|
AxisAngle32(Vector3DReadOnly rotationVector) |
Creates an axis-angle such that it represents the same orientation the rotation vector
represents.
|
AxisAngle32(Vector3DReadOnly axis,
float angle) |
Create an axis-angle from the given axis and angle.
|
Modifier and Type | Method | Description |
---|---|---|
default void |
AxisAngleBasics.set(Vector3DReadOnly axis,
double angle) |
Sets the axis and the angle of this axis-angle.
|
Modifier and Type | Method | Description |
---|---|---|
Vector3DReadOnly |
RotationScaleMatrix.getScale() |
Returns the read-only reference to the scale factors used to compose this rotation-scale matrix.
|
Modifier and Type | Method | Description |
---|---|---|
void |
RotationScaleMatrix.setEuler(Vector3DReadOnly eulerAngles) |
Resets the scale factors and sets the rotation part to represent the same orientation as the
given Euler angles
eulerAngles . |
void |
RotationScaleMatrix.setRotation(Vector3DReadOnly rotationVector) |
Sets the rotation part to the rotation vector
rotationVector . |
void |
RotationScaleMatrix.setRotationEuler(Vector3DReadOnly eulerAngles) |
Sets the rotation part to represent the same orientation as the given Euler angles
eulerAngles . |
Constructor | Description |
---|---|
RotationMatrix(Vector3DReadOnly rotationVector) |
Creates a new rotation matrix representing the same orientation as the given rotation vector
rotationVector . |
Modifier and Type | Method | Description |
---|---|---|
Vector3DReadOnly |
RotationScaleMatrixReadOnly.getScale() |
Returns the read-only reference to the scale factors used to compose this rotation-scale matrix.
|
Modifier and Type | Method | Description |
---|---|---|
default void |
Orientation3DBasics.setEuler(Vector3DReadOnly eulerAngles) |
Sets this orientation to represent the same orientation as the given Euler angles
eulerAngles . |
default void |
Orientation3DBasics.setRotationVector(Vector3DReadOnly rotationVector) |
Sets this orientation to represent the same orientation as the given
rotationVector . |
Modifier and Type | Method | Description |
---|---|---|
static double |
YawPitchRollConversion.computePitch(Vector3DReadOnly rotationVector) |
Computes the pitch from a rotation vector.
|
static double |
YawPitchRollConversion.computeRoll(Vector3DReadOnly rotationVector) |
Computes the roll from a rotation vector.
|
static double |
YawPitchRollConversion.computeYaw(Vector3DReadOnly rotationVector) |
Computes the yaw from a rotation vector.
|
static void |
AxisAngleConversion.convertRotationVectorToAxisAngle(Vector3DReadOnly rotationVector,
AxisAngleBasics axisAngleToPack) |
Converts the rotation vector into an axis-angle.
|
static void |
RotationMatrixConversion.convertRotationVectorToMatrix(Vector3DReadOnly rotationVector,
RotationMatrix matrixToPack) |
Converts the given rotation vector into a rotation matrix.
|
static void |
QuaternionConversion.convertRotationVectorToQuaternion(Vector3DReadOnly rotationVector,
QuaternionBasics quaternionToPack) |
Converts the rotation vector into a quaternion.
|
static void |
YawPitchRollConversion.convertRotationVectorToYawPitchRoll(Vector3DReadOnly rotationVector,
double[] yawPitchRollToPack) |
Converts the rotation vector into yaw-pitch-roll.
|
static void |
YawPitchRollConversion.convertRotationVectorToYawPitchRoll(Vector3DReadOnly rotationVector,
Vector3DBasics eulerAnglesToPack) |
Converts the rotation vector into yaw-pitch-roll.
|
Modifier and Type | Method | Description |
---|---|---|
static void |
EuclidCoreTestTools.assertRotationVectorEquals(java.lang.String messagePrefix,
Vector3DReadOnly expected,
Vector3DReadOnly actual,
double epsilon) |
|
static void |
EuclidCoreTestTools.assertRotationVectorEquals(java.lang.String messagePrefix,
Vector3DReadOnly expected,
Vector3DReadOnly actual,
double epsilon,
java.lang.String format) |
|
static void |
EuclidCoreTestTools.assertRotationVectorEquals(Vector3DReadOnly expected,
Vector3DReadOnly actual,
double epsilon) |
|
static void |
EuclidCoreTestTools.assertRotationVectorGeometricallyEquals(java.lang.String messagePrefix,
Vector3DReadOnly expected,
Vector3DReadOnly actual,
double epsilon) |
Asserts on a per component basis that the two rotation vectors represent the same geometry to an
epsilon . |
static void |
EuclidCoreTestTools.assertRotationVectorGeometricallyEquals(java.lang.String messagePrefix,
Vector3DReadOnly expected,
Vector3DReadOnly actual,
double epsilon,
java.lang.String format) |
Asserts on a per component basis that the two rotation vectors represent the same geometry to an
epsilon . |
static void |
EuclidCoreTestTools.assertRotationVectorGeometricallyEquals(Vector3DReadOnly expected,
Vector3DReadOnly actual,
double epsilon) |
Asserts on a per component basis that the two rotation vectors represent the same geometry to an
epsilon . |
static void |
EuclidCoreTestTools.assertVector3DGeometricallyEquals(java.lang.String messagePrefix,
Vector3DReadOnly expected,
Vector3DReadOnly actual,
double epsilon) |
Asserts on a per component basis that the two vectors represent the same geometry to an
epsilon . |
static void |
EuclidCoreTestTools.assertVector3DGeometricallyEquals(java.lang.String messagePrefix,
Vector3DReadOnly expected,
Vector3DReadOnly actual,
double epsilon,
java.lang.String format) |
Asserts on a per component basis that the two vectors represent the same geometry to an
epsilon . |
static void |
EuclidCoreTestTools.assertVector3DGeometricallyEquals(Vector3DReadOnly expected,
Vector3DReadOnly actual,
double epsilon) |
Asserts on a per component basis that the two vectors represent the same geometry to an
epsilon . |
static double |
TransformationTools.computeTransformedX(AffineTransform affineTransform,
boolean invert,
Vector3DReadOnly vectorOriginal) |
Computes and returns the x-coordinate resulting from the transformation of
vectorOriginal
by affineTransform . |
static double |
TransformationTools.computeTransformedX(QuaternionBasedTransform quaternionBasedTransform,
boolean invert,
Vector3DReadOnly vectorOriginal) |
Computes and returns the x-coordinate resulting from the transformation of
vectorOriginal
by quaternionBasedTransform . |
static double |
TransformationTools.computeTransformedX(RigidBodyTransform rigidBodyTransform,
boolean invert,
Vector3DReadOnly vectorOriginal) |
Computes and returns the x-coordinate resulting from the transformation of
vectorOriginal
by rigidBodyTransform . |
static double |
TransformationTools.computeTransformedY(AffineTransform affineTransform,
boolean invert,
Vector3DReadOnly vectorOriginal) |
Computes and returns the y-coordinate resulting from the transformation of
vectorOriginal
by affineTransform . |
static double |
TransformationTools.computeTransformedY(QuaternionBasedTransform quaternionBasedTransform,
boolean invert,
Vector3DReadOnly vectorOriginal) |
Computes and returns the y-coordinate resulting from the transformation of
vectorOriginal
by quaternionBasedTransform . |
static double |
TransformationTools.computeTransformedY(RigidBodyTransform rigidBodyTransform,
boolean invert,
Vector3DReadOnly vectorOriginal) |
Computes and returns the y-coordinate resulting from the transformation of
vectorOriginal
by rigidBodyTransform . |
static double |
TransformationTools.computeTransformedZ(AffineTransform affineTransform,
boolean invert,
Vector3DReadOnly vectorOriginal) |
Computes and returns the z-coordinate resulting from the transformation of
vectorOriginal
by affineTransform . |
static double |
TransformationTools.computeTransformedZ(QuaternionBasedTransform quaternionBasedTransform,
boolean invert,
Vector3DReadOnly vectorOriginal) |
Computes and returns the z-coordinate resulting from the transformation of
vectorOriginal
by quaternionBasedTransform . |
static double |
TransformationTools.computeTransformedZ(RigidBodyTransform rigidBodyTransform,
boolean invert,
Vector3DReadOnly vectorOriginal) |
Computes and returns the z-coordinate resulting from the transformation of
vectorOriginal
by rigidBodyTransform . |
static Vector3D |
EuclidCoreRandomTools.generateRandomOrthogonalVector3D(java.util.Random random,
Vector3DReadOnly vectorToBeOrthogonalTo,
boolean normalize) |
Deprecated.
|
static Vector3D |
EuclidCoreRandomTools.nextOrthogonalVector3D(java.util.Random random,
Vector3DReadOnly vectorToBeOrthogonalTo,
boolean normalize) |
Generates a random vector that is perpendicular to
vectorToBeOrthogonalTo . |
Modifier and Type | Method | Description |
---|---|---|
Vector3DReadOnly |
AffineTransform.getTranslationVector() |
Gets the read-only reference of the translation part of this affine transform.
|
Vector3DReadOnly |
QuaternionBasedTransform.getTranslationVector() |
Gets the read-only reference of the translation part of this affine transform.
|
Vector3DReadOnly |
RigidBodyTransform.getTranslationVector() |
Gets the read-only reference of the translation part of this rigid-body transform.
|
Modifier and Type | Method | Description |
---|---|---|
void |
AffineTransform.inverseTransform(Vector3DReadOnly vectorOriginal,
Vector3DBasics vectorTransformed) |
Performs the inverse of the transform on the given vector
vectorOriginal and stores
the result in vectorTransformed . |
void |
QuaternionBasedTransform.inverseTransform(Vector3DReadOnly vectorOriginal,
Vector3DBasics vectorTransformed) |
Performs the inverse of the transform on the given vector
vectorOriginal and stores
the result in vectorTransformed . |
void |
RigidBodyTransform.inverseTransform(Vector3DReadOnly vectorOriginal,
Vector3DBasics vectorTransformed) |
Performs the inverse of the transform on the given vector
vectorOriginal and stores
the result in vectorTransformed . |
void |
AffineTransform.setRotation(Vector3DReadOnly rotationVector) |
Sets the rotation part of this transform to the given rotation vector.
|
void |
QuaternionBasedTransform.setRotation(Vector3DReadOnly rotationVector) |
Sets the rotation part of this transform to the given rotation vector.
|
void |
RigidBodyTransform.setRotation(Vector3DReadOnly rotationVector) |
Sets the rotation part of this transform to the given rotation vector.
|
void |
RigidBodyTransform.setRotationAndZeroTranslation(Vector3DReadOnly rotationVector) |
Sets the rotation part of this transform to the given rotation vector and sets the translation
part to zero.
|
void |
AffineTransform.setRotationEuler(Vector3DReadOnly eulerAngles) |
Sets the rotation part of this transform to represent the same orientation as the given Euler
angles
eulerAngles . |
void |
QuaternionBasedTransform.setRotationEuler(Vector3DReadOnly eulerAngles) |
Sets the rotation part of this transform to represent the same orientation as the given Euler
angles
eulerAngles . |
void |
RigidBodyTransform.setRotationEuler(Vector3DReadOnly eulerAngles) |
Sets the rotation part of this transform to represent the same orientation as the given Euler
angles
eulerAngles . |
void |
RigidBodyTransform.setRotationEulerAndZeroTranslation(Vector3DReadOnly eulerAngles) |
Sets the rotation part of this transform to represent the same orientation as the given Euler
angles
eulerAngles and sets the translation part to zero. |
void |
AffineTransform.transform(Vector3DReadOnly vectorOriginal,
Vector3DBasics vectorTransformed) |
Transforms the given
vectorOriginal by this transform and stores the result in
vectorTransformed . |
void |
QuaternionBasedTransform.transform(Vector3DReadOnly vectorOriginal,
Vector3DBasics vectorTransformed) |
Transforms the given
vectorOriginal by this transform and stores the result in
vectorTransformed . |
void |
RigidBodyTransform.transform(Vector3DReadOnly vectorOriginal,
Vector3DBasics vectorTransformed) |
Transforms the given
vectorOriginal by this transform and stores the result in
vectorTransformed . |
Modifier and Type | Method | Description |
---|---|---|
void |
Transform.inverseTransform(Vector3DReadOnly vectorOriginal,
Vector3DBasics vectorTransformed) |
Performs the inverse of the transform on the given vector
vectorOriginal and stores
the result in vectorTransformed . |
void |
Transform.transform(Vector3DReadOnly vectorOriginal,
Vector3DBasics vectorTransformed) |
Transforms the given
vectorOriginal by this transform and stores the result in
vectorTransformed . |
Modifier and Type | Class | Description |
---|---|---|
class |
Vector3D |
A 3D vector represents a physical quantity with a magnitude and a direction.
|
class |
Vector3D32 |
A 3D vector represents a physical quantity with a magnitude and a direction.
|
Modifier and Type | Interface | Description |
---|---|---|
interface |
Vector3DBasics |
Write and read interface for a 3 dimensional vector.
|
Modifier and Type | Method | Description |
---|---|---|
default double |
Vector3DReadOnly.angle(Vector3DReadOnly other) |
Calculates and returns the angle in radians from this vector to
other . |
default double |
Vector3DReadOnly.dot(Vector3DReadOnly other) |
Calculates and returns the value of the dot product of this vector with
other . |
default boolean |
Vector3DReadOnly.geometricallyEquals(Vector3DReadOnly other,
double epsilon) |
Tests if
this and other represent the same vector 3D to an epsilon . |
Constructor | Description |
---|---|
Quaternion(Vector3DReadOnly rotationVector) |
Creates a new quaternion and initializes such that it represents the same orientation as the
given
rotationVector . |
Quaternion32(Vector3DReadOnly rotationVector) |
Creates a new quaternion and initializes such that it represents the same orientation as the
given
rotationVector . |
Vector4D(Vector3DReadOnly vector3D) |
Creates a new vector and initializes it to represent the given 3D vector
|
Vector4D32(Vector3DReadOnly vector3D) |
Creates a new vector and initializes it to represent the given 3D vector
|
Modifier and Type | Method | Description |
---|---|---|
default void |
Vector4DBasics.set(Vector3DReadOnly vector3D) |
Sets this 4D vector to represent the given 3D vector
|