#pragma once #include "vde/mesh/halfedge_mesh.h" #include namespace vde::mesh { using core::Point2D; using core::Point3D; using core::Vector3D; /// Geodesic distance from source vertices using the Heat Method (Crane et al. 2013) /// Returns per-vertex distance from the nearest source /// @param sources Source vertex indices /// @param t Time step (default = average edge length squared) std::vector geodesic_distance(const HalfedgeMesh& mesh, const std::vector& sources, double t = -1.0); } // namespace vde::mesh