Class ApprGaussPointsFit3f
- java.lang.Object
-
- WildMagic.LibFoundation.Approximation.ApprGaussPointsFit3f
-
- All Implemented Interfaces:
java.io.Serializable
public class ApprGaussPointsFit3f extends java.lang.Object implements java.io.Serializable
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private static long
serialVersionUID
-
Constructor Summary
Constructors Constructor Description ApprGaussPointsFit3f()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Box3f
GaussPointsFit3f(int iQuantity, java.util.Vector<Vector3f> kMeshVertices)
Fit points with a Gaussian distribution.
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
Method Detail
-
GaussPointsFit3f
public static Box3f GaussPointsFit3f(int iQuantity, java.util.Vector<Vector3f> kMeshVertices)
Fit points with a Gaussian distribution. The center is the mean of the points, the axes are the eigenvectors of the covariance matrix, and the extents are the eigenvalues of the covariance matrix and are returned in increasing order. The quantities are stored in a Box3just to have a single container. - Parameters:
iQuantity
- number of pointskMeshVertices
- vertices to examine- Returns:
- box with dimensions of Gaussian distribution
-
-