diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-03-19 08:28:38 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-08-18 11:09:30 +0400 |
commit | b9ebf441396ed58027dd13390a84ef268386324b (patch) | |
tree | 0336fa2e96298fe8d2c9d012c39a0e61f65043b1 /source/blender/bmesh/tools/bmesh_intersect.h | |
parent | 4795b61c1b4a112a4c9ee2637d5936988e19515a (diff) |
BMesh: intersect tool
Modeling tool to cut intersections into geometry (like boolean, without calculating inside/outside).
Faces are split along intersections, leaving new edges selected.
Access from Face menu.
Diffstat (limited to 'source/blender/bmesh/tools/bmesh_intersect.h')
-rw-r--r-- | source/blender/bmesh/tools/bmesh_intersect.h | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/source/blender/bmesh/tools/bmesh_intersect.h b/source/blender/bmesh/tools/bmesh_intersect.h new file mode 100644 index 00000000000..af6e510a8f6 --- /dev/null +++ b/source/blender/bmesh/tools/bmesh_intersect.h @@ -0,0 +1,35 @@ +/* + * ***** BEGIN GPL LICENSE BLOCK ***** + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * + * ***** END GPL LICENSE BLOCK ***** + */ + +#ifndef __BMESH_INTERSECT_H__ +#define __BMESH_INTERSECT_H__ + +/** \file blender/bmesh/tools/bmesh_intersect.h + * \ingroup bmesh + */ + +bool BM_mesh_intersect( + BMesh *bm, + struct BMLoop *(*looptris)[3], const int looptris_tot, + int (*test_fn)(BMFace *f, void *user_data), void *user_data, + const bool use_self, const bool use_separate, + const float eps); + +#endif /* __BMESH_INTERSECT_H__ */ |