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 classMomentsOfInertia.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 voidaddPoint(javax.vecmath.Point3d point, double mass)javax.vecmath.Point3dcenterOfMass()doublegetAsymmetryParameter(double threshold)double[]getElipsisRadii()double[][]getInertiaTensor()javax.vecmath.Vector3d[]getPrincipalAxes()double[]getPrincipalMomentsOfInertia()doublegetRadiusOfGyration()MomentsOfInertia.SymmetryClassgetSymmetryClass(double threshold)doublesymmetryCoefficient()
-
-
-
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()
-
-