public class MomentsOfInertia
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
MomentsOfInertia.SymmetryClass |
Constructor and Description |
---|
MomentsOfInertia()
Creates a new instance of MomentsOfInertia
|
Modifier and Type | Method and Description |
---|---|
void |
addPoint(Point3d point,
double mass) |
Point3d |
centerOfMass() |
double |
getAsymmetryParameter(double threshold) |
double[] |
getElipsisRadii() |
double[][] |
getInertiaTensor() |
Vector3d[] |
getPrincipalAxes() |
double[] |
getPrincipalMomentsOfInertia() |
double |
getRadiusOfGyration() |
MomentsOfInertia.SymmetryClass |
getSymmetryClass(double threshold) |
double |
symmetryCoefficient() |
public MomentsOfInertia()
public void addPoint(Point3d point, double mass)
public Point3d centerOfMass()
public double[] getPrincipalMomentsOfInertia()
public Vector3d[] getPrincipalAxes()
public double[] getElipsisRadii()
public double getRadiusOfGyration()
public MomentsOfInertia.SymmetryClass getSymmetryClass(double threshold)
public double symmetryCoefficient()
public double getAsymmetryParameter(double threshold)
public double[][] getInertiaTensor()