1 /*
2  * This program is free software; you can redistribute it and/or
3  * modify it under the terms of the GNU General Public License
4  * as published by the Free Software Foundation; either version 2
5  * of the License, or (at your option) any later version.
6  *
7  * This program is distributed in the hope that it will be useful,
8  * but WITHOUT ANY WARRANTY; without even the implied warranty of
9  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
10  * GNU General Public License for more details.
11  *
12  * You should have received a copy of the GNU General Public License
13  * along with this program; if not, write to the Free Software Foundation,
14  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
15  */
16 
17 #pragma once
18 
19 /** \file
20  * \ingroup bmesh
21  */
22 
23 struct CurveProfile;
24 struct MDeformVert;
25 
26 void BM_mesh_bevel(BMesh *bm,
27                    const float offset,
28                    const int offset_type,
29                    const int profile_type,
30                    const int segments,
31                    const float profile,
32                    const bool affect_type,
33                    const bool use_weights,
34                    const bool limit_offset,
35                    const struct MDeformVert *dvert,
36                    const int vertex_group,
37                    const int mat,
38                    const bool loop_slide,
39                    const bool mark_seam,
40                    const bool mark_sharp,
41                    const bool harden_normals,
42                    const int face_strength_mode,
43                    const int miter_outer,
44                    const int miter_inner,
45                    const float spread,
46                    const float smoothresh,
47                    const struct CurveProfile *custom_profile,
48                    const int vmesh_method);
49