0.6.0
Loading...
Searching...
No Matches
octree.f90 File Reference

Data Types

type  mod_cg3_octree::t_octree_node
 Definition of an octree node. More...
 
type  mod_cg3_octree::t_octree
 Definition of a sparse octree. More...
 
interface  mod_cg3_octree::unalloc
 

Modules

module  mod_cg3_octree
 

Functions/Subroutines

pure subroutine mod_cg3_octree::cg3_finalize_octree (octree)
 Finalization routine for an octree.
 
pure subroutine, public mod_cg3_octree::cg3_create_octree_from_polyhedron (octree, polyhedron)
 Create an octree from a polyhedron.
 
logical pure function, public mod_cg3_octree::cg3_is_point_inside_octree (octree, point)
 Determine if a point lies inside the octree.
 
pure subroutine, public mod_cg3_octree::cg3_octree_direction_intersection (octree, origin, direction, nb_objects, object_list)
 Intersection of an octree with a directional ray.
 
pure subroutine, public mod_cg3_octree::cg3_octree_ray_intersection (octree, ray, nb_objects, object_list)
 Intersection of an octree with a ray.
 
pure subroutine, public mod_cg3_octree::cg3_octree_get_closest_objects (octree, point, nb_objects, object_list)
 Find the closest objects to a given point.
 
subroutine, public mod_cg3_octree::cg3_octree_write_vtk_file (octree, filename)
 Write the sparse octree to a VTK file.
 
pure recursive subroutine mod_cg3_octree::distribute_faces_in_childs (octree, node, polyhedron, depth)
 
logical pure function mod_cg3_octree::face_in_bounding_box (polyhedron, face, corner_min, corner_max)
 
logical pure function mod_cg3_octree::is_point_in_bounding_box (node, point)
 
pure recursive subroutine mod_cg3_octree::octree_node_direction_intersection (node, origin, direction, is_intersected)
 
pure recursive subroutine mod_cg3_octree::octree_node_ray_intersection (node, ray, is_intersected)
 
pure subroutine mod_cg3_octree::octree_node_get_maximal_distance (node, point, distance)
 
pure recursive subroutine mod_cg3_octree::octree_node_get_minimal_search_distance (node, point, distance)
 
logical pure function mod_cg3_octree::does_octree_node_intersect_sphere (node, center, radius)
 
recursive pure subroutine mod_cg3_octree::octree_node_get_objects_in_search_distance (node, point, distance, is_close_enough)
 
pure recursive subroutine mod_cg3_octree::octree_node_count_points_and_faces (node, nb_points, nb_faces)
 
recursive subroutine mod_cg3_octree::octree_write_points (node, tree_unit)
 
recursive subroutine mod_cg3_octree::octree_write_faces (node, tree_unit, offset)