Class MomentsOfInertia
java.lang.Object
org.biojava.nbio.structure.symmetry.geometry.MomentsOfInertia
- Author:
- Peter
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddPoint(javax.vecmath.Point3d point, double mass) javax.vecmath.Point3ddoublegetAsymmetryParameter(double threshold) double[]double[][]javax.vecmath.Vector3d[]double[]doublegetSymmetryClass(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()
-