14#include <lagrange/SurfaceMesh.h>
63template <
typename Scalar,
typename Index>
A general purpose polygonal mesh class.
Definition SurfaceMesh.h:73
UVOrientationCount compute_uv_orientation(SurfaceMesh< Scalar, Index > &mesh, const UVOrientationOptions &options={})
Compute a per-facet orientation attribute using Shewchuk's exact orient2D predicate.
Definition compute_uv_orientation.cpp:96
Main namespace for Lagrange.
Per-facet orientation counts returned by compute_uv_orientation.
Definition compute_uv_orientation.h:39
size_t degenerate
Number of degenerate (zero-area) facets.
Definition compute_uv_orientation.h:41
size_t positive
Number of CCW (positively oriented) facets.
Definition compute_uv_orientation.h:40
size_t negative
Number of CW (negatively oriented / flipped) facets.
Definition compute_uv_orientation.h:42
Definition compute_uv_orientation.h:27
std::string_view uv_attribute_name
Input UV attribute name.
Definition compute_uv_orientation.h:30
std::string_view output_attribute_name
Output per-facet attribute name.
Definition compute_uv_orientation.h:34