From ca5e1615a10fd8c31bb0367332cd5f3a1e8bd9aa Mon Sep 17 00:00:00 2001 From: mano-wii Date: Thu, 12 Sep 2019 13:28:53 -0300 Subject: BMesh: New tool `BM_mesh_intersect_edges` Along with the new utility `BM_vert_weld_linked_wire_edges_into_linked_faces` --- source/blender/bmesh/tools/bmesh_intersect_edges.h | 29 ++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 source/blender/bmesh/tools/bmesh_intersect_edges.h (limited to 'source/blender/bmesh/tools/bmesh_intersect_edges.h') diff --git a/source/blender/bmesh/tools/bmesh_intersect_edges.h b/source/blender/bmesh/tools/bmesh_intersect_edges.h new file mode 100644 index 00000000000..a22a1ca1e1d --- /dev/null +++ b/source/blender/bmesh/tools/bmesh_intersect_edges.h @@ -0,0 +1,29 @@ +/* + * 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. + */ + +/** \file + * \ingroup bmesh + */ + +#ifndef __BMESH_INTERSECT_EDGES_H__ +#define __BMESH_INTERSECT_EDGES_H__ + +void BM_vert_weld_linked_wire_edges_into_linked_faces( + BMesh *bm, BMVert *v, const float epsilon, BMEdge **r_edgenet[], int *r_edgenet_alloc_len); + +bool BM_mesh_intersect_edges(BMesh *bm, const char hflag, const float dist, GHash *r_targetmap); + +#endif /* __BMESH_INTERSECT_EDGES_H__ */ -- cgit v1.2.3