#pragma once #include "vde/core/point.h" #include #include namespace vde::mesh { struct DelaunayResult { std::vector vertices; std::vector> triangles; // indices into vertices }; /// Bowyer-Watson incremental Delaunay triangulation, O(n²) worst, O(n log n) typical DelaunayResult delaunay_2d(const std::vector& points); } // namespace vde::mesh