diff options
Diffstat (limited to 'source/blender/geometry/GEO_resample_curves.hh')
-rw-r--r-- | source/blender/geometry/GEO_resample_curves.hh | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/source/blender/geometry/GEO_resample_curves.hh b/source/blender/geometry/GEO_resample_curves.hh index 97399ccb0a5..7ecfb5c26ec 100644 --- a/source/blender/geometry/GEO_resample_curves.hh +++ b/source/blender/geometry/GEO_resample_curves.hh @@ -4,12 +4,12 @@ #include "FN_field.hh" -#include "BKE_geometry_set.hh" - -struct Curves; +#include "BKE_curves.hh" namespace blender::geometry { +using bke::CurvesGeometry; + /** * Create new curves where the selected curves have been resampled with a number of uniform-length * samples defined by the count field. Interpolate attributes to the result, with an accuracy that @@ -17,23 +17,23 @@ namespace blender::geometry { * * \note The values provided by the #count_field are clamped to 1 or greater. */ -Curves *resample_to_count(const CurveComponent &src_component, - const fn::Field<bool> &selection_field, - const fn::Field<int> &count_field); +CurvesGeometry resample_to_count(const CurvesGeometry &src_curves, + const fn::Field<bool> &selection_field, + const fn::Field<int> &count_field); /** * Create new curves resampled to make each segment have the length specified by the * #segment_length field input, rounded to make the length of each segment the same. * The accuracy will depend on the curve's resolution parameter. */ -Curves *resample_to_length(const CurveComponent &src_component, - const fn::Field<bool> &selection_field, - const fn::Field<float> &segment_length_field); +CurvesGeometry resample_to_length(const CurvesGeometry &src_curves, + const fn::Field<bool> &selection_field, + const fn::Field<float> &segment_length_field); /** * Evaluate each selected curve to its implicit evaluated points. */ -Curves *resample_to_evaluated(const CurveComponent &src_component, - const fn::Field<bool> &selection_field); +CurvesGeometry resample_to_evaluated(const CurvesGeometry &src_curves, + const fn::Field<bool> &selection_field); } // namespace blender::geometry |