Class MomentsOfInertia
- java.lang.Object
-
- org.biojava.nbio.structure.symmetry.geometry.MomentsOfInertia
-
public class MomentsOfInertia extends java.lang.Object
- Author:
- Peter
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MomentsOfInertia.SymmetryClass
-
Constructor Summary
Constructors Constructor Description MomentsOfInertia()
Creates a new instance of MomentsOfInertia
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addPoint(javax.vecmath.Point3d point, double mass)
javax.vecmath.Point3d
centerOfMass()
double
getAsymmetryParameter(double threshold)
double[]
getElipsisRadii()
double[][]
getInertiaTensor()
javax.vecmath.Vector3d[]
getPrincipalAxes()
double[]
getPrincipalMomentsOfInertia()
double
getRadiusOfGyration()
MomentsOfInertia.SymmetryClass
getSymmetryClass(double threshold)
double
symmetryCoefficient()
-
-
-
Method Detail
-
addPoint
public void addPoint(javax.vecmath.Point3d point, double mass)
-
centerOfMass
public javax.vecmath.Point3d centerOfMass()
-
getPrincipalMomentsOfInertia
public double[] getPrincipalMomentsOfInertia()
-
getPrincipalAxes
public javax.vecmath.Vector3d[] getPrincipalAxes()
-
getElipsisRadii
public double[] getElipsisRadii()
-
getRadiusOfGyration
public double getRadiusOfGyration()
-
getSymmetryClass
public MomentsOfInertia.SymmetryClass getSymmetryClass(double threshold)
-
symmetryCoefficient
public double symmetryCoefficient()
-
getAsymmetryParameter
public double getAsymmetryParameter(double threshold)
-
getInertiaTensor
public double[][] getInertiaTensor()
-
-