14#include <lagrange/SurfaceMesh.h>
15#include <lagrange/types/ConnectivityType.h>
50template <
typename Scalar,
typename Index>
A general purpose polygonal mesh class.
Definition SurfaceMesh.h:66
Main namespace for Lagrange.
size_t compute_uv_charts(SurfaceMesh< Scalar, Index > &mesh, const UVChartOptions &options={})
Compute UV charts of an input mesh.
Definition compute_uv_charts.cpp:23
ConnectivityType
This type defines the condition when two facets are considered as "connected".
Definition ConnectivityType.h:19
@ Edge
Two facets are considered connected if they share an edge.
Definition ConnectivityType.h:21
Definition compute_uv_charts.h:20
std::string_view uv_attribute_name
Input UV attribute name.
Definition compute_uv_charts.h:25
ConnectivityType connectivity_type
Connectivity type used for chart computation.
Definition compute_uv_charts.h:31
std::string_view output_attribute_name
Output chart id attribute name.
Definition compute_uv_charts.h:28