|
Blender V4.3
|
#include <BLI_kdopbvh.h>
Public Attributes | |
| int | index |
| float | co [3] |
| float | no [3] |
| float | dist_sq |
| int | flags |
Definition at line 38 of file BLI_kdopbvh.h.
| float BVHTreeNearest::co[3] |
Nearest coordinates (untouched it none is found within a dist radius from the given coordinates).
Definition at line 44 of file BLI_kdopbvh.h.
Referenced by BKE_mesh_remap_calc_loops_from_mesh(), BKE_mesh_remap_calc_verts_from_mesh(), bmbvh_find_vert_closest_cb(), blender::nodes::node_geo_proximity_cc::ProximityFunction::call(), blender::nodes::node_geo_sample_nearest_surface_cc::SampleNearestSurfaceFunction::call(), closest_point_on_surface(), dynamic_paint_paint_mesh_cell_point_cb_ex(), blender::nodes::get_closest_in_bvhtree(), mesh_corner_tris_nearest_point(), mesh_edges_nearest_point(), mesh_faces_nearest_point(), mesh_remap_bvhtree_query_nearest(), mesh_tris_nearest_point_dp(), nearest_world_tree(), nearest_world_tree_co(), blender::ed::sculpt_paint::PuffOperationExecutor::puff(), py_bvhtree_nearest_point_cb(), py_bvhtree_nearest_point_range_cb(), py_bvhtree_nearest_to_py_tuple(), SnapData::register_result(), remap_hair_emitter(), shrinkwrap_calc_nearest_surface_point_cb_ex(), shrinkwrap_calc_nearest_vertex_cb_ex(), shrinkwrap_get_tarmat(), snap_grid(), test_projected_vert_dist(), update_hit(), and vert2geom_task_cb_ex().
| float BVHTreeNearest::dist_sq |
squared distance to search around
Definition at line 49 of file BLI_kdopbvh.h.
Referenced by BKE_bmbvh_find_face_closest(), BKE_bmbvh_find_vert_closest(), BKE_shrinkwrap_find_nearest_surface(), bmbvh_find_face_closest_cb(), bmbvh_find_vert_closest_cb(), blender::nodes::node_geo_proximity_cc::ProximityFunction::call(), blender::nodes::node_geo_sample_nearest_surface_cc::SampleNearestSurfaceFunction::call(), closest_point_on_surface(), dynamic_paint_paint_mesh_cell_point_cb_ex(), blender::bke::find_nearest_tris(), blender::nodes::get_closest_in_bvhtree(), blender::nodes::node_geo_sample_nearest_cc::get_closest_pointcloud_points(), mesh_corner_tris_nearest_point(), mesh_corner_tris_target_project(), mesh_edges_nearest_point(), mesh_faces_nearest_point(), mesh_remap_bvhtree_query_nearest(), mesh_tris_nearest_point_dp(), nearest_world_mesh(), nearest_world_tree(), nearest_world_tree_co(), nearestVert(), optimal_check_callback(), blender::ed::sculpt_paint::PuffOperationExecutor::puff(), py_bvhtree_find_nearest(), py_bvhtree_nearest_point_cb(), py_bvhtree_nearest_point_range_cb(), py_bvhtree_nearest_to_py_tuple(), SnapData::register_result(), 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_grid(), snap_polygon_mesh(), snapArmature(), snapMesh(), test_projected_vert_dist(), blender::ed::curves::convert_to_particle_system::try_convert_single_object(), update_hit(), and vert2geom_task_cb_ex().
| int BVHTreeNearest::flags |
Definition at line 50 of file BLI_kdopbvh.h.
| 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 41 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_faces_from_mesh(), BKE_mesh_remap_calc_loops_from_mesh(), BKE_mesh_remap_calc_verts_from_mesh(), BKE_shrinkwrap_find_nearest_surface(), bmbvh_find_face_closest_cb(), bmbvh_find_vert_closest_cb(), blender::nodes::node_geo_sample_nearest_surface_cc::SampleNearestSurfaceFunction::call(), 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(), blender::bke::find_nearest_tris(), blender::nodes::get_closest_in_bvhtree(), blender::nodes::node_geo_sample_nearest_cc::get_closest_pointcloud_points(), mesh_corner_tris_nearest_point(), mesh_edges_nearest_point(), mesh_faces_nearest_point(), mesh_remap_bvhtree_query_nearest(), mesh_tris_nearest_point_dp(), nearest_world_tree_co(), nearestVert(), optimal_check_callback(), blender::ed::sculpt_paint::PuffOperationExecutor::puff(), py_bvhtree_find_nearest(), py_bvhtree_nearest_point_cb(), py_bvhtree_nearest_point_range_cb(), py_bvhtree_nearest_to_py_tuple(), SnapData::register_result(), 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_edge_points_mesh(), snap_polygon_mesh(), snapArmature(), snapMesh(), blender::ed::curves::convert_to_particle_system::try_convert_single_object(), update_hit(), and vert2geom_task_cb_ex().
| float BVHTreeNearest::no[3] |
Normal at nearest coordinates (untouched it none is found within a dist radius from the given coordinates).
Definition at line 47 of file BLI_kdopbvh.h.
Referenced by bmbvh_find_face_closest_cb(), bmbvh_find_vert_closest_cb(), cb_snap_edge(), cb_snap_vert(), closest_point_on_surface(), mesh_corner_tris_nearest_point(), mesh_edges_nearest_point(), mesh_faces_nearest_point(), mesh_tris_nearest_point_dp(), py_bvhtree_nearest_point_cb(), py_bvhtree_nearest_point_range_cb(), py_bvhtree_nearest_to_py_tuple(), SnapData::register_result(), shrinkwrap_calc_nearest_surface_point_cb_ex(), shrinkwrap_get_tarmat(), snap_grid(), and update_hit().