Blender V5.3
BKE_editmesh_bvh.hh File Reference
#include "BLI_math_vector_types.hh"
#include "BLI_span.hh"

Go to the source code of this file.

Namespaces

namespace  blender
 BMesh Iterators.

Typedefs

typedef bool(*) blender::BMBVHTree_FaceFilter(struct BMFace *f, void *userdata)

Enumerations

enum  { blender::BMBVH_RETURN_ORIG = (1 << 0) , blender::BMBVH_RESPECT_SELECT = (1 << 1) , blender::BMBVH_RESPECT_HIDDEN = (1 << 2) }

Functions

BMBVHTree * blender::BKE_bmbvh_new_from_editmesh (struct BMEditMesh *em, struct BMesh *bm, int flag, const float3 *cos_cage, bool cos_cage_free)
BMBVHTree * blender::BKE_bmbvh_new_ex (struct BMesh *bm, Span< std::array< BMLoop *, 3 > > looptris, int flag, const float3 *cos_cage, bool cos_cage_free, bool(*test_fn)(struct BMFace *, void *user_data), void *user_data)
BMBVHTree * blender::BKE_bmbvh_new (struct BMesh *bm, Span< std::array< BMLoop *, 3 > > looptris, int flag, const float3 *cos_cage, bool cos_cage_free)
void blender::BKE_bmbvh_free (BMBVHTree *tree)
struct BVHTree * blender::BKE_bmbvh_tree_get (BMBVHTree *tree)
struct BMFace * blender::BKE_bmbvh_ray_cast (const BMBVHTree *tree, const float co[3], const float dir[3], float radius, float *r_dist, float r_hitout[3], float r_cagehit[3])
struct BMFace * blender::BKE_bmbvh_ray_cast_filter (const BMBVHTree *tree, const float co[3], const float dir[3], float radius, float *r_dist, float r_hitout[3], float r_cagehit[3], BMBVHTree_FaceFilter filter_cb, void *filter_userdata)
struct BMVert * blender::BKE_bmbvh_find_vert_closest (const BMBVHTree *tree, const float co[3], float dist_max)
struct BMFace * blender::BKE_bmbvh_find_face_closest (const BMBVHTree *tree, const float co[3], float dist_max)
struct BVHTreeOverlap * blender::BKE_bmbvh_overlap (const BMBVHTree *bmtree_a, const BMBVHTree *bmtree_b, unsigned int *r_overlap_tot)
struct BVHTreeOverlap * blender::BKE_bmbvh_overlap_self (const BMBVHTree *bmtree, unsigned int *r_overlap_tot)