Class EquivalentEllipsoid.Moments3D

java.lang.Object
inra.ijpb.measure.region3d.EquivalentEllipsoid.Moments3D
Enclosing class:
EquivalentEllipsoid

public class EquivalentEllipsoid.Moments3D
extends java.lang.Object
Encapsulates the results of 3D Moments computations.
  • Constructor Summary

    Constructors
    Constructor Description
    Moments3D()  
  • Method Summary

    Modifier and Type Method Description
    java.util.ArrayList<Vector3D> eigenVectors()
    Return the eigen vector of the moments.
    Ellipsoid equivalentEllipsoid()
    Converts the 3D moments stored in this instance into a 3D ellipsoid.

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Moments3D

      public Moments3D()
  • Method Details

    • equivalentEllipsoid

      public Ellipsoid equivalentEllipsoid()
      Converts the 3D moments stored in this instance into a 3D ellipsoid.
      Returns:
      the 3D ellipsoid with same inertia moments as the regions described by these moments.
    • eigenVectors

      public java.util.ArrayList<Vector3D> eigenVectors()
      Return the eigen vector of the moments. Uses a singular value decomposition of the matrix of moments.
      Returns:
      the eigen vector of the moments