30 const VArray<float> &influence_by_point,
31 const bool smooth_ends,
32 const bool keep_shape,
40 const OffsetIndices<int> points_by_curve,
41 const VArray<bool> &point_selection,
42 const VArray<bool> &cyclic,
47 GMutableSpan attribute_data);
53 const OffsetIndices<int> points_by_curve,
54 const VArray<bool> &point_selection,
55 const VArray<bool> &cyclic,
57 const VArray<float> &influence_by_point,
60 GMutableSpan attribute_data);
66 const IndexMask &curves_to_smooth,
67 const VArray<bool> &point_selection,
69 const VArray<float> &influence_by_point,
73 const IndexMask &curves_to_smooth,
74 const VArray<bool> &point_selection,
Low-level operations for curves.
void smooth_curve_positions(bke::CurvesGeometry &curves, const IndexMask &curves_to_smooth, const VArray< bool > &point_selection, int iterations, const VArray< float > &influence_by_point, bool smooth_ends, bool keep_shape)
void smooth_curve_attribute(const IndexMask &curves_to_smooth, const OffsetIndices< int > points_by_curve, const VArray< bool > &point_selection, const VArray< bool > &cyclic, int iterations, float influence, bool smooth_ends, bool keep_shape, GMutableSpan attribute_data)
void gaussian_blur_1D(const GSpan src, int iterations, const VArray< float > &influence_by_point, const bool smooth_ends, const bool keep_shape, const bool is_cyclic, GMutableSpan dst)