Class MomentsOfInertia
java.lang.Object
org.biojava.nbio.structure.symmetry.geometry.MomentsOfInertia
- Author:
- Peter
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addPoint
(javax.vecmath.Point3d point, double mass) javax.vecmath.Point3d
double
getAsymmetryParameter
(double threshold) double[]
double[][]
javax.vecmath.Vector3d[]
double[]
double
getSymmetryClass
(double threshold) double
-
Constructor Details
-
MomentsOfInertia
public MomentsOfInertia()Creates a new instance of MomentsOfInertia
-
-
Method Details
-
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
-
symmetryCoefficient
public double symmetryCoefficient() -
getAsymmetryParameter
public double getAsymmetryParameter(double threshold) -
getInertiaTensor
public double[][] getInertiaTensor()
-