Blender V4.3
GEO_interpolate_curves.hh
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2023 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
5#pragma once
6
7#include "FN_field.hh"
8
9#include "BKE_attribute.hh"
10#include "BKE_curves.hh"
11
12namespace blender::geometry {
13
18void interpolate_curves(const bke::CurvesGeometry &from_curves,
19 const bke::CurvesGeometry &to_curves,
20 Span<int> from_curve_indices,
21 Span<int> to_curve_indices,
22 const IndexMask &dst_curve_mask,
23 Span<bool> dst_curve_flip_direction,
24 const float mix_factor,
25 bke::CurvesGeometry &dst_curves);
26
27} // namespace blender::geometry
Low-level operations for curves.
void interpolate_curves(const bke::CurvesGeometry &from_curves, const bke::CurvesGeometry &to_curves, Span< int > from_curve_indices, Span< int > to_curve_indices, const IndexMask &dst_curve_mask, Span< bool > dst_curve_flip_direction, const float mix_factor, bke::CurvesGeometry &dst_curves)