25 MutableSpan<int> r_indices,
26 MutableSpan<float> r_factors);
42 MutableSpan<int> r_indices,
43 MutableSpan<float> r_factors);
50 const bke::CurvesGeometry &to_curves,
51 Span<int> from_curve_indices,
52 Span<int> to_curve_indices,
53 const IndexMask &dst_curve_mask,
54 Span<bool> dst_curve_flip_direction,
56 bke::CurvesGeometry &dst_curves,
57 IndexMaskMemory &memory);
60 const bke::CurvesGeometry &to_curves,
61 Span<int> from_curve_indices,
62 Span<int> to_curve_indices,
63 Span<int> from_sample_indices,
64 Span<int> to_sample_indices,
65 Span<float> from_sample_factors,
66 Span<float> to_sample_factors,
67 const IndexMask &dst_curve_mask,
69 bke::CurvesGeometry &dst_curves,
70 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)