/* SPDX-License-Identifier: GPL-2.0-or-later */ #pragma once #include "BKE_curves.hh" namespace blender::geometry::curve_constraints { void compute_segment_lengths(OffsetIndices points_by_curve, Span positions, IndexMask curve_selection, MutableSpan r_segment_lengths); void solve_length_constraints(OffsetIndices points_by_curve, IndexMask curve_selection, Span segment_lenghts, MutableSpan positions); void solve_length_and_collision_constraints(OffsetIndices points_by_curve, IndexMask curve_selection, Span segment_lengths, Span start_positions, const Mesh &surface, const bke::CurvesSurfaceTransforms &transforms, MutableSpan positions); } // namespace blender::geometry::curve_constraints