14#include <lagrange/SurfaceMesh.h>
55template <
typename Scalar,
typename Index>
57 SurfaceMesh<Scalar, Index>& mesh,
59 std::string_view new_name,
77template <
typename Scalar,
typename Index>
79 SurfaceMesh<Scalar, Index>& mesh,
80 std::string_view old_name,
81 std::string_view new_name,
102template <
typename Scalar,
typename Index>
104 SurfaceMesh<Scalar, Index>& mesh,
126template <
typename Scalar,
typename Index>
128 SurfaceMesh<Scalar, Index>& mesh,
129 std::string_view name,
AttributeId map_attribute_in_place(SurfaceMesh< Scalar, Index > &mesh, AttributeId id, AttributeElement new_element)
Map attribute values to a different element type.
Definition: map_attribute.cpp:268
AttributeId map_attribute(SurfaceMesh< Scalar, Index > &mesh, AttributeId id, std::string_view new_name, AttributeElement new_element)
Map attribute values to a new attribute with a different element type.
Definition: map_attribute.cpp:241
uint32_t AttributeId
Identified to be used to access an attribute.
Definition: AttributeFwd.h:73
AttributeElement
Type of element to which the attribute is attached.
Definition: AttributeFwd.h:26
Main namespace for Lagrange.
Definition: AABBIGL.h:30