Blender V5.0
GEO_fit_curves.hh
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2025 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
5#pragma once
6
7#include "BKE_curves.hh"
8
9namespace blender::geometry {
10
11enum class FitMethod {
20};
21
36 const IndexMask &curve_selection,
37 const VArray<float> &thresholds,
38 const VArray<bool> &corners,
39 FitMethod method,
40 const bke::AttributeFilter &attribute_filter);
41
42} // namespace blender::geometry
Low-level operations for curves.
#define Split(a, ahi, alo)
bke::CurvesGeometry fit_poly_to_bezier_curves(const bke::CurvesGeometry &src_curves, const IndexMask &curve_selection, const VArray< float > &thresholds, const VArray< bool > &corners, FitMethod method, const bke::AttributeFilter &attribute_filter)
Definition fit_curves.cc:19