|
Blender V5.0
|
#include <BLI_kdopbvh.hh>
Public Attributes | |
| int | index |
| float | co [3] |
| float | no [3] |
| float | dist_sq |
| int | flags |
Definition at line 36 of file BLI_kdopbvh.hh.
| float BVHTreeNearest::co[3] |
Nearest coordinates (untouched it none is found within a dist radius from the given coordinates).
Definition at line 42 of file BLI_kdopbvh.hh.
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(), blender::bke::mesh_corner_tris_nearest_point(), blender::bke::mesh_edges_nearest_point(), blender::bke::mesh_faces_nearest_point(), mesh_remap_bvhtree_query_nearest(), mesh_tris_nearest_point_dp(), blender::ed::transform::nearest_world_tree(), blender::ed::transform::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(), blender::ed::transform::SnapData::register_result(), remap_hair_emitter(), shrinkwrap_calc_nearest_surface_point_cb_ex(), shrinkwrap_calc_nearest_vertex_cb_ex(), shrinkwrap_get_tarmat(), blender::ed::transform::snap_grid(), blender::ed::transform::test_projected_vert_dist(), update_hit(), and vert2geom_task_cb_ex().
| float BVHTreeNearest::dist_sq |
squared distance to search around
Definition at line 47 of file BLI_kdopbvh.hh.
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(), blender::bke::mesh_corner_tris_nearest_point(), mesh_corner_tris_target_project(), blender::bke::mesh_edges_nearest_point(), blender::bke::mesh_faces_nearest_point(), mesh_remap_bvhtree_query_nearest(), mesh_tris_nearest_point_dp(), blender::ed::transform::nearest_world_mesh(), blender::ed::transform::nearest_world_tree(), blender::ed::transform::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(), blender::ed::transform::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(), blender::ed::transform::snap_grid(), blender::ed::transform::snap_polygon_mesh(), blender::ed::transform::snapArmature(), blender::ed::transform::snapMesh(), blender::ed::transform::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 48 of file BLI_kdopbvh.hh.
| 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 39 of file BLI_kdopbvh.hh.
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(), blender::ed::transform::cb_snap_edge(), blender::ed::transform::cb_snap_edge_verts(), blender::ed::transform::cb_snap_tri_edges(), blender::ed::transform::cb_snap_tri_verts(), blender::ed::transform::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(), blender::bke::mesh_corner_tris_nearest_point(), blender::bke::mesh_edges_nearest_point(), blender::bke::mesh_faces_nearest_point(), mesh_remap_bvhtree_query_nearest(), mesh_tris_nearest_point_dp(), blender::ed::transform::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(), blender::ed::transform::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(), blender::ed::transform::snap_edge_points_mesh(), blender::ed::transform::snap_polygon_mesh(), blender::ed::transform::snapArmature(), blender::ed::transform::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 45 of file BLI_kdopbvh.hh.
Referenced by bmbvh_find_face_closest_cb(), bmbvh_find_vert_closest_cb(), blender::ed::transform::cb_snap_edge(), blender::ed::transform::cb_snap_vert(), closest_point_on_surface(), blender::bke::mesh_corner_tris_nearest_point(), blender::bke::mesh_edges_nearest_point(), blender::bke::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(), blender::ed::transform::SnapData::register_result(), shrinkwrap_calc_nearest_surface_point_cb_ex(), shrinkwrap_get_tarmat(), blender::ed::transform::snap_grid(), and update_hit().