moab
moab::OrientedBox::CovarienceData Struct Reference

#include <OrientedBox.hpp>

List of all members.

Public Member Functions

 CovarienceData ()
 CovarienceData (const Matrix3 &m, const CartVect &c, double a)

Public Attributes

Matrix3 matrix
 Running sum for covariance matrix.
CartVect center
 Sum of triangle centroids weighted by 2*triangle area.
double area
 2x the sum of the triangle areas

Detailed Description

Structure to hold temporary accumulated triangle data for caculating box orietation. See box_from_covariance_data to see how this is used to calculate the final covariance matrix and resulting box orientation.

Definition at line 100 of file OrientedBox.hpp.


Constructor & Destructor Documentation

Definition at line 101 of file OrientedBox.hpp.

{}
moab::OrientedBox::CovarienceData::CovarienceData ( const Matrix3 m,
const CartVect c,
double  a 
) [inline]

Definition at line 102 of file OrientedBox.hpp.

      : matrix(m), center(c), area(a) {}

Member Data Documentation

2x the sum of the triangle areas

Definition at line 106 of file OrientedBox.hpp.

Sum of triangle centroids weighted by 2*triangle area.

Definition at line 105 of file OrientedBox.hpp.

Running sum for covariance matrix.

Definition at line 104 of file OrientedBox.hpp.


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines