13#include <lagrange/raycasting/Options.h>
17template <
typename Scalar,
typename Index>
18std::vector<AttributeId> prepare_attribute_ids(
19 const SurfaceMesh<Scalar, Index>& source,
23 std::vector<AttributeId> attribute_ids = options.attribute_ids;
24 if (options.project_vertices) {
28 std::sort(attribute_ids.begin(), attribute_ids.end());
30 std::unique(attribute_ids.begin(), attribute_ids.end()),
AttributeId attr_id_vertex_to_position() const
Attribute id for vertex -> positions.
Definition SurfaceMesh.h:2052
Raycasting operations.
Definition ClosestPointResult.h:22
Common options for projection functions.
Definition Options.h:117