14#include <lagrange/SurfaceMesh.h>
51template <
typename Scalar,
typename Index>
Main namespace for Lagrange.
Definition: AABBIGL.h:30
void rescale_uv_charts(SurfaceMesh< Scalar, Index > &mesh, const RescaleUVOptions &options={})
Rescale UV charts such that they are isotropic to their 3D images.
Definition: rescale_uv_charts.cpp:70
Definition: rescale_uv_charts.h:21
std::string_view chart_id_attribute_name
The name used for storing the patch ID attribute.
Definition: rescale_uv_charts.h:34
std::string_view uv_attribute_name
The uv attribute name to use for rescaling.
Definition: rescale_uv_charts.h:27
double uv_area_threshold
The threshold for UV area.
Definition: rescale_uv_charts.h:42