Blender  V3.3
Public Attributes | List of all members
BVHTreeNearest Struct Reference

#include <BLI_kdopbvh.h>

Public Attributes

int index
 
float co [3]
 
float no [3]
 
float dist_sq
 
int flags
 

Detailed Description

Definition at line 37 of file BLI_kdopbvh.h.

Member Data Documentation

◆ co

float BVHTreeNearest::co[3]

◆ dist_sq

float BVHTreeNearest::dist_sq

◆ flags

int BVHTreeNearest::flags

Definition at line 49 of file BLI_kdopbvh.h.

◆ index

int BVHTreeNearest::index

The index of the nearest found (untouched if none is found within a dist radius from the given coordinates)

Definition at line 40 of file BLI_kdopbvh.h.

Referenced by BKE_bmbvh_find_face_closest(), BKE_bmbvh_find_vert_closest(), BKE_mesh_remap_calc_difference_from_mesh(), BKE_mesh_remap_calc_edges_from_mesh(), BKE_mesh_remap_calc_loops_from_mesh(), BKE_mesh_remap_calc_polys_from_mesh(), BKE_mesh_remap_calc_verts_from_mesh(), BKE_mesh_remesh_reproject_paint_mask(), BKE_remesh_reproject_sculpt_face_sets(), BKE_remesh_reproject_vertex_paint(), BKE_shrinkwrap_find_nearest_surface(), bmbvh_find_face_closest_cb(), bmbvh_find_vert_closest_cb(), cb_snap_edge(), cb_snap_edge_verts(), cb_snap_tri_edges(), cb_snap_tri_verts(), cb_snap_vert(), closest_point_on_surface(), dynamic_paint_paint_mesh_cell_point_cb_ex(), editmesh_looptri_nearest_point(), blender::nodes::node_geo_transfer_attribute_cc::get_closest_in_bvhtree(), blender::nodes::node_geo_transfer_attribute_cc::get_closest_pointcloud_points(), mesh_edges_nearest_point(), mesh_faces_nearest_point(), mesh_looptri_nearest_point(), mesh_remap_bvhtree_query_nearest(), mesh_tris_nearest_point_dp(), nearest_world_tree_co(), nearestVert(), optimal_check_callback(), py_bvhtree_find_nearest(), py_bvhtree_nearest_point_range_cb(), py_bvhtree_nearest_to_py_tuple(), remap_hair_emitter(), shrinkwrap_calc_nearest_surface_point(), shrinkwrap_calc_nearest_surface_point_cb_ex(), shrinkwrap_calc_nearest_vertex(), shrinkwrap_calc_nearest_vertex_cb_ex(), shrinkwrap_get_tarmat(), snap_mesh_edge_verts_mixed(), snap_mesh_polygon(), snapEditMesh(), snapMesh(), blender::ed::curves::convert_to_particle_system::try_convert_single_object(), update_hit(), and vert2geom_task_cb_ex().

◆ no

float BVHTreeNearest::no[3]

The documentation for this struct was generated from the following file: