14#ifdef LAGRANGE_ENABLE_LEGACY_FUNCTIONS
15 #include <lagrange/legacy/compute_mesh_covariance.h>
18#include <lagrange/SurfaceMesh.h>
29 std::array<double, 3>
center = {0, 0, 0};
50template <
typename Scalar,
typename Index>
A general purpose polygonal mesh class.
Definition SurfaceMesh.h:66
Main namespace for Lagrange.
std::array< std::array< Scalar, 3 >, 3 > compute_mesh_covariance(const SurfaceMesh< Scalar, Index > &mesh, const MeshCovarianceOptions &options={})
Compute the covariance matrix w.r.t.
Definition compute_mesh_covariance.cpp:98
Options struct for computing mesh covariance.
Definition compute_mesh_covariance.h:27
std::array< double, 3 > center
The center around which the covariance is computed.
Definition compute_mesh_covariance.h:29
std::optional< std::string_view > active_facets_attribute_name
The attribute name for the active facets in covariance computation.
Definition compute_mesh_covariance.h:32