14#include <lagrange/SurfaceMesh.h>
50template <
typename Scalar,
typename Index,
typename UVScalar = Scalar>
75template <
typename Scalar,
typename Index,
typename UVScalar = Scalar>
77 const SurfaceMesh<Scalar, Index>& mesh,
78 const UVMeshOptions& options = {});
A general purpose polygonal mesh class.
Definition SurfaceMesh.h:66
Main namespace for Lagrange.
SurfaceMesh< UVScalar, Index > uv_mesh_view(const SurfaceMesh< Scalar, Index > &mesh, const UVMeshOptions &options={})
Extract a UV mesh view from an input mesh.
Definition uv_mesh.cpp:52
SurfaceMesh< UVScalar, Index > uv_mesh_ref(SurfaceMesh< Scalar, Index > &mesh, const UVMeshOptions &options={})
Extract a UV mesh reference from an input mesh.
Definition uv_mesh.cpp:21
std::string_view uv_attribute_name
Input UV attribute name.
Definition uv_mesh.h:26