|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.kuka.math.physics.PhysicsUtils
public final class PhysicsUtils
Utility class for physical calculations.
| Field Summary | |
|---|---|
static double |
ZERO_MASS_THRESHOLD_KG
The default threshold in [kg] when a mass will be considered zero. |
| Method Summary | |
|---|---|
static Vector3D |
combinedCenterOfMass(double mass1,
Vector3D com1,
double mass2,
Vector3D com2)
Calculates the combined center of mass of two objects. |
static InertiaTensor |
joinTensors(double mass1,
Vector3D com1,
InertiaTensor inertia1,
double mass2,
Vector3D com2,
InertiaTensor inertia2)
Joints two tensor values and calculates the resulting tensor. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final double ZERO_MASS_THRESHOLD_KG
| Method Detail |
|---|
public static Vector3D combinedCenterOfMass(double mass1,
Vector3D com1,
double mass2,
Vector3D com2)
mass1 - Mass of object 1 in [kg]com1 - Center of mass translation of object 1mass2 - Mass of object 2 in [kg]com2 - Center of mass translation of object 2
public static InertiaTensor joinTensors(double mass1,
Vector3D com1,
InertiaTensor inertia1,
double mass2,
Vector3D com2,
InertiaTensor inertia2)
The two tensors need to be defined in the same system as well as the two transformations of the center of masses.
mass1 - The mass of object 1 in [kg].com1 - The center of mass translation of object 1.inertia1 - The inertia tensor of object 1.mass2 - The mass of object 2 in [kg].com2 - The center of mass translation of object 2.inertia2 - The inertia tensor of object 2.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||