Blender V4.3
BVHTreeRayHit Struct Reference

#include <BLI_kdopbvh.h>

Public Attributes

int index
float co [3]
float no [3]
float dist

Detailed Description

Definition at line 65 of file BLI_kdopbvh.h.

Member Data Documentation

◆ co

◆ dist

float BVHTreeRayHit::dist

Distance to the hit point.

Definition at line 73 of file BLI_kdopbvh.h.

Referenced by BKE_bmbvh_ray_cast(), BKE_bmbvh_ray_cast_filter(), BKE_psys_collision_neartest_cb(), BKE_shrinkwrap_project_normal(), bmbvh_ray_cast_cb(), bmbvh_ray_cast_handle_hit(), boid_find_ground(), bvh_callback(), bvhtree_test_edges_isect_2d_ray_cb(), bvhtree_test_edges_isect_2d_vert_cb(), cast_ray_highpoly(), blender::ed::sculpt_paint::cloth::cloth_brush_collision_cb(), blender::ed::sculpt_paint::cloth::cloth_brush_solve_collision(), collision_detect(), collision_response(), dynamic_paint_paint_mesh_cell_point_cb_ex(), eff_calc_visibility(), eff_tri_ray_hit(), blender::ed::greasepencil::find_curve_intersections(), find_internal_spring_target_vertex(), followtrack_project_to_depth_object_if_needed(), blender::ed::sculpt_paint::grease_pencil_fill_extension_cut(), harmonic_ray_callback(), heat_ray_source_visible(), imapaint_pick_face(), isect_bvhtree_point_v3(), knife_bvh_raycast(), knife_bvh_raycast_cb(), mesh_corner_tris_raycast_backface_culling_cb(), mesh_corner_tris_spherecast(), mesh_edges_spherecast(), mesh_faces_spherecast(), mesh_remap_bvhtree_query_raycast(), mesh_tris_spherecast_dp(), mesh_verts_spherecast_do(), meshdeform_ray_tree_intersect(), blender::ed::sculpt_paint::min_distance_edit::min_distance_edit_invoke(), py_bvhtree_ray_cast(), py_bvhtree_raycast_cb(), py_bvhtree_raycast_to_py_tuple(), raycast_all_cb(), blender::nodes::node_geo_raycast_cc::raycast_to_mesh(), raycastMesh(), SnapData::register_result_raycast(), rule_avoid_collision(), blender::ed::sculpt_paint::sample_curves_3d_brush(), blender::ed::sculpt_paint::sample_curves_surface_3d_brush(), blender::ed::sculpt_paint::AddOperationExecutor::sample_in_center(), blender::bke::mesh_surface_sample::sample_surface_points_projected(), shape_cut(), shrinkwrap_calc_normal_projection_cb_ex(), shrinkwrap_get_tarmat(), blender::geometry::curve_constraints::solve_length_and_collision_constraints(), blender::draw::statvis_calc_thickness(), test_edges_isect_2d_ray(), and test_edges_isect_2d_vert().

◆ index

int BVHTreeRayHit::index

Index of the tree node (untouched if no hit is found).

Definition at line 67 of file BLI_kdopbvh.h.

Referenced by BKE_bmbvh_ray_cast(), BKE_bmbvh_ray_cast_filter(), 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_psys_collision_neartest_cb(), BKE_shrinkwrap_project_normal(), bmbvh_ray_cast_cb(), bmbvh_ray_cast_handle_hit(), boid_find_ground(), bvh_callback(), bvhtree_test_edges_isect_2d_ray_cb(), bvhtree_test_edges_isect_2d_vert_cb(), cast_ray_highpoly(), blender::ed::sculpt_paint::cloth::cloth_brush_collision_cb(), blender::ed::sculpt_paint::cloth::cloth_brush_solve_collision(), collision_detect(), dynamic_paint_paint_mesh_cell_point_cb_ex(), eff_calc_visibility(), eff_tri_ray_hit(), blender::ed::sculpt_paint::SlideOperationExecutor::find_closest_ray_hit(), blender::ed::greasepencil::find_curve_intersections(), find_internal_spring_target_vertex(), followtrack_project_to_depth_object_if_needed(), blender::ed::sculpt_paint::grease_pencil_fill_extension_cut(), harmonic_ray_callback(), heat_ray_source_visible(), isect_bvhtree_point_v3(), knife_bvh_raycast(), knife_bvh_raycast_cb(), mesh_corner_tris_raycast_backface_culling_cb(), mesh_corner_tris_spherecast(), mesh_edges_spherecast(), mesh_faces_spherecast(), mesh_remap_bvhtree_query_raycast(), mesh_tris_spherecast_dp(), mesh_verts_spherecast_do(), meshdeform_ray_tree_intersect(), blender::ed::sculpt_paint::min_distance_edit::min_distance_edit_invoke(), point_inside_bvh_cb(), py_bvhtree_ray_cast(), py_bvhtree_raycast_cb(), py_bvhtree_raycast_to_py_tuple(), raycast_all_cb(), blender::nodes::node_geo_raycast_cc::raycast_to_mesh(), raycastMesh(), SnapData::register_result_raycast(), rule_avoid_collision(), blender::ed::sculpt_paint::sample_curves_3d_brush(), blender::ed::sculpt_paint::sample_curves_surface_3d_brush(), blender::ed::sculpt_paint::AddOperationExecutor::sample_in_center(), blender::bke::mesh_surface_sample::sample_surface_points_projected(), shape_cut(), shrinkwrap_calc_normal_projection_cb_ex(), shrinkwrap_get_tarmat(), blender::geometry::curve_constraints::solve_length_and_collision_constraints(), blender::draw::statvis_calc_thickness(), test_edges_isect_2d_ray(), and test_edges_isect_2d_vert().

◆ no


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