Blender  V3.3
GEO_fillet_curves.hh
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 
3 #pragma once
4 
5 #include "BLI_function_ref.hh"
6 #include "BLI_index_mask.hh"
7 
8 #include "BKE_curves.hh"
9 
10 namespace blender::geometry {
11 
13  IndexMask curve_selection,
14  const VArray<float> &radius,
15  const VArray<int> &counts,
16  bool limit_radius);
17 
19  IndexMask curve_selection,
20  const VArray<float> &radius,
21  bool limit_radius);
22 
23 } // namespace blender::geometry
Low-level operations for curves.
struct CurvesGeometry CurvesGeometry
static float limit_radius(const float3 &position_prev, const float3 &position, const float3 &position_next, const float angle_prev, const float angle, const float angle_next, const float radius_prev, const float radius, const float radius_next)
bke::CurvesGeometry fillet_curves_bezier(const bke::CurvesGeometry &src_curves, IndexMask curve_selection, const VArray< float > &radius, bool limit_radius)
bke::CurvesGeometry fillet_curves_poly(const bke::CurvesGeometry &src_curves, IndexMask curve_selection, const VArray< float > &radius, const VArray< int > &counts, bool limit_radius)