Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2013-04-04 22:22:01 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-04-04 22:22:01 +0400
commit5aee8b1487b49811fb8e00d2d3bf0a41a24c5ff2 (patch)
tree057b40566ac4057919805e22cb5e77d56e9b04fa /source/blender/bmesh/intern/bmesh_queries.h
parente8c272422a44a25a0324eeade4154fe349f401fe (diff)
py api, bmesh
- add BMEdge.calc_face_angle_signed() which gives a negative angle for for concave edges. - add BMEdge.is_convex
Diffstat (limited to 'source/blender/bmesh/intern/bmesh_queries.h')
-rw-r--r--source/blender/bmesh/intern/bmesh_queries.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/bmesh/intern/bmesh_queries.h b/source/blender/bmesh/intern/bmesh_queries.h
index 8326709a2eb..ec52a7af162 100644
--- a/source/blender/bmesh/intern/bmesh_queries.h
+++ b/source/blender/bmesh/intern/bmesh_queries.h
@@ -62,6 +62,7 @@ bool BM_vert_is_manifold(BMVert *v);
bool BM_edge_is_manifold(BMEdge *e);
bool BM_edge_is_boundary(BMEdge *e);
bool BM_edge_is_contiguous(BMEdge *e);
+bool BM_edge_is_convex(BMEdge *e);
bool BM_loop_is_convex(BMLoop *l);
@@ -71,6 +72,7 @@ void BM_loop_calc_face_direction(BMLoop *l, float r_normal[3]);
void BM_loop_calc_face_tangent(BMLoop *l, float r_tangent[3]);
float BM_edge_calc_face_angle(BMEdge *e);
+float BM_edge_calc_face_angle_signed(BMEdge *e);
void BM_edge_calc_face_tangent(BMEdge *e, BMLoop *e_loop, float r_tangent[3]);
float BM_vert_calc_edge_angle(BMVert *v);