21 MutableSpan<int> r_indices,
22 MutableSpan<float> r_factors);
38 MutableSpan<int> r_indices,
39 MutableSpan<float> r_factors);
46 const bke::CurvesGeometry &to_curves,
47 Span<int> from_curve_indices,
48 Span<int> to_curve_indices,
49 const IndexMask &dst_curve_mask,
50 Span<bool> dst_curve_flip_direction,
52 bke::CurvesGeometry &dst_curves,
53 IndexMaskMemory &memory);
56 const bke::CurvesGeometry &to_curves,
57 Span<int> from_curve_indices,
58 Span<int> to_curve_indices,
59 Span<int> from_sample_indices,
60 Span<int> to_sample_indices,
61 Span<float> from_sample_factors,
62 Span<float> to_sample_factors,
63 const IndexMask &dst_curve_mask,
65 bke::CurvesGeometry &dst_curves,
66 IndexMaskMemory &memory);
Low-level operations for curves.
void interpolate_curves_with_samples(const bke::CurvesGeometry &from_curves, const bke::CurvesGeometry &to_curves, Span< int > from_curve_indices, Span< int > to_curve_indices, Span< int > from_sample_indices, Span< int > to_sample_indices, Span< float > from_sample_factors, Span< float > to_sample_factors, const IndexMask &dst_curve_mask, float mix_factor, bke::CurvesGeometry &dst_curves, IndexMaskMemory &memory)
void sample_curve_padded(const Span< float3 > positions, bool cyclic, MutableSpan< int > r_indices, MutableSpan< float > r_factors)
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, float mix_factor, bke::CurvesGeometry &dst_curves, IndexMaskMemory &memory)