14#ifdef LAGRANGE_ENABLE_LEGACY_FUNCTIONS
15 #include <lagrange/legacy/compute_dijkstra_distance.h>
18#include <lagrange/SurfaceMesh.h>
19#include <lagrange/utils/SmallVector.h>
34template <
typename Scalar,
typename Index>
65template <
typename Scalar,
typename Index>
std::optional< std::vector< Index > > compute_dijkstra_distance(SurfaceMesh< Scalar, Index > &mesh, const DijkstraDistanceOptions< Scalar, Index > &options={})
Computes dijkstra distance from a seed facet.
Definition: compute_dijkstra_distance.cpp:24
Main namespace for Lagrange.
Definition: AABBIGL.h:30
Option struct for compute_dijkstra_distance.
Definition: compute_dijkstra_distance.h:36
bool output_involved_vertices
Output involved vertices.
Definition: compute_dijkstra_distance.h:50
Index seed_facet
Seed facet index.
Definition: compute_dijkstra_distance.h:38
Scalar radius
Maximum radius of the dijkstra distance.
Definition: compute_dijkstra_distance.h:44
std::string_view output_attribute_name
Output attribute name for dijkstra distance.
Definition: compute_dijkstra_distance.h:47
SmallVector< Scalar, 3 > barycentric_coords
Seed facet barycentric coordinate.
Definition: compute_dijkstra_distance.h:41