|
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 nearest_world_tree_co(), SnapData::register_result(), and snap_grid().
| float BVHTreeNearest::dist_sq |
squared distance to search around
Definition at line 49 of file BLI_kdopbvh.h.
Referenced by blender::nodes::node_geo_proximity_cc::ProximityFunction::call(), blender::nodes::node_geo_sample_nearest_surface_cc::SampleNearestSurfaceFunction::call(), nearest_world_mesh(), nearest_world_tree(), nearest_world_tree_co(), nearestVert(), blender::ed::sculpt_paint::PuffOperationExecutor::puff(), SnapData::register_result(), SnapData::snap_boundbox(), SnapData::snap_edge_points_impl(), snap_grid(), snapArmature(), SnapData::SnapData(), blender::ed::curves::convert_to_particle_system::try_convert_single_object(), 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 closest_point_on_surface(), blender::bke::find_nearest_tris(), blender::nodes::get_closest_in_bvhtree(), blender::nodes::node_geo_sample_nearest_cc::get_closest_pointcloud_points(), nearest_world_tree_co(), py_bvhtree_find_nearest(), py_bvhtree_nearest_point_range_cb(), SnapData::register_result(), shrinkwrap_calc_nearest_surface_point(), shrinkwrap_calc_nearest_vertex(), shrinkwrap_get_tarmat(), SnapData::snap_edge(), snap_edge_points_mesh(), SnapData::snap_point(), snap_polygon_mesh(), snapArmature(), SnapData::SnapData(), and snapMesh().
| 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 SnapData::register_result(), SnapData::snap_edge(), SnapData::snap_edge_points_impl(), snap_grid(), and SnapData::SnapData().