14#include <lagrange/SurfaceMesh.h>
16#ifdef LAGRANGE_ENABLE_LEGACY_FUNCTIONS
17 #include <lagrange/legacy/orient_outward.h>
41template <
typename Scalar,
typename Index>
A general purpose polygonal mesh class.
Definition SurfaceMesh.h:66
Main namespace for Lagrange.
void orient_outward(lagrange::SurfaceMesh< Scalar, Index > &mesh, const OrientOptions &options={})
Orient the facets of a mesh so that the signed volume of each connected component is positive or nega...
Definition orient_outward.cpp:126
Options for orienting the facets of a mesh.
Definition orient_outward.h:26
bool positive
Whether to orient each volume positively or negatively.
Definition orient_outward.h:28