public class MomentsOfInertia extends Object
More in https://en.wikipedia.org/wiki/Moment_of_inertia.
Modifier and Type | Class and Description |
---|---|
static class |
MomentsOfInertia.SymmetryClass |
Constructor and Description |
---|
MomentsOfInertia()
Creates a new empty instance of MomentsOfInertia
|
Modifier and Type | Method and Description |
---|---|
void |
addPoint(javax.vecmath.Point3d point,
double mass) |
double |
getAsymmetryParameter(double threshold) |
javax.vecmath.Point3d |
getCenterOfMass() |
double[] |
getElipsisRadii()
The effective value of this distance for a certain body is known as its
radius of / gyration with respect to the given axis.
|
double[][] |
getInertiaTensor() |
javax.vecmath.Matrix3d |
getOrientationMatrix()
The orientation Matrix is a 3x3 Matrix with a column for each principal
axis.
|
javax.vecmath.Vector3d[] |
getPrincipalAxes()
The principal axes of intertia
|
double[] |
getPrincipalMomentsOfInertia() |
double |
getRadiusOfGyration() |
MomentsOfInertia.SymmetryClass |
getSymmetryClass(double threshold) |
double |
symmetryCoefficient() |
public MomentsOfInertia()
public void addPoint(javax.vecmath.Point3d point, double mass)
public javax.vecmath.Point3d getCenterOfMass()
public double[] getPrincipalMomentsOfInertia()
public javax.vecmath.Vector3d[] getPrincipalAxes()
public javax.vecmath.Matrix3d getOrientationMatrix()
The orientation matrix indicates the rotation to bring the coordinate axes to the principal axes, in this direction.
public double[] getElipsisRadii()
public double getRadiusOfGyration()
public MomentsOfInertia.SymmetryClass getSymmetryClass(double threshold)
public double symmetryCoefficient()
public double getAsymmetryParameter(double threshold)
public double[][] getInertiaTensor()
Copyright © 2000–2019 BioJava. All rights reserved.