is_intersecting Function

public function is_intersecting(cube, geometry, obj_pos) result(intersects)

Test the intersection between the given cube and the object specified by obj_pos.

This test obviously depends on the kind of object to intersect, thus a select case has to be used. Alternatively we might think of deploying function pointers.

Arguments

TypeIntentOptionalAttributesName
type(tem_cube_type), intent(in) :: cube
type(sdr_geometry_type), intent(in) :: geometry
integer, intent(in) :: obj_pos

Return Value logical


Calls

proc~~is_intersecting~~CallsGraph proc~is_intersecting is_intersecting proc~sdr_periodicplanecubeoverlap sdr_periodicPlaneCubeOverlap proc~is_intersecting->proc~sdr_periodicplanecubeoverlap proc~tem_cylindercubeoverlap tem_cylinderCubeOverlap proc~is_intersecting->proc~tem_cylindercubeoverlap proc~tem_trianglecubeoverlap tem_triangleCubeOverlap proc~is_intersecting->proc~tem_trianglecubeoverlap proc~tem_spherecubeoverlap tem_sphereCubeOverlap proc~is_intersecting->proc~tem_spherecubeoverlap proc~tem_linecubeoverlap tem_lineCubeOverlap proc~is_intersecting->proc~tem_linecubeoverlap proc~tem_ellipsoidcubeoverlap tem_ellipsoidCubeOverlap proc~is_intersecting->proc~tem_ellipsoidcubeoverlap proc~tem_pointcubeoverlap tem_pointCubeOverlap proc~is_intersecting->proc~tem_pointcubeoverlap proc~tem_boxcubeoverlap tem_boxCubeOverlap proc~is_intersecting->proc~tem_boxcubeoverlap proc~sdr_spacerinterwovencubeoverlap sdr_spacerInterwovenCubeOverlap proc~is_intersecting->proc~sdr_spacerinterwovencubeoverlap proc~sdr_periodicplanecubeoverlap->proc~tem_trianglecubeoverlap proc~sdr_spacerinterwovencubeoverlap->proc~tem_spherecubeoverlap

Called by

proc~~is_intersecting~~CalledByGraph proc~is_intersecting is_intersecting proc~create_children~2 create_children proc~create_children~2->proc~is_intersecting proc~inherit_intersectedobject inHerit_intersectedObject proc~inherit_intersectedobject->proc~is_intersecting proc~sdr_inherit_distancerefineobject sdr_inHerit_distanceRefineObject proc~sdr_inherit_distancerefineobject->proc~inherit_intersectedobject proc~sdr_build_prototree sdr_build_protoTree proc~sdr_build_prototree->proc~create_children~2 proc~sdr_refine_leaf sdr_refine_leaf proc~sdr_refine_leaf->proc~inherit_intersectedobject program~seeder seeder program~seeder->proc~sdr_inherit_distancerefineobject program~seeder->proc~sdr_build_prototree program~seeder->proc~sdr_refine_leaf

Contents


Variables

TypeVisibilityAttributesNameInitial
integer, public :: prim_pos
integer, public :: prim_kind