boxBoxOverlap Function

private function boxBoxOverlap(center_a, dim_a, center_b, dim_b, norm_b) result(overlap)

This function checks for intersection of a axis aligned box and a parallelepiped.

Arguments

TypeIntentOptionalAttributesName
real(kind=rk), intent(in) :: center_a(3)
real(kind=rk), intent(in) :: dim_a(3)
real(kind=rk), intent(in) :: center_b(3)
real(kind=rk), intent(in) :: dim_b(3)

Halflength of the parallelepiped in each direction.

real(kind=rk), intent(in) :: norm_b(3,3)

Return Value logical


Called by

proc~~boxboxoverlap~~CalledByGraph proc~boxboxoverlap boxBoxOverlap proc~boxcubeoverlap boxCubeOverlap proc~boxcubeoverlap->proc~boxboxoverlap

Contents


Variables

TypeVisibilityAttributesNameInitial
real(kind=rk), private :: vec_ab(3)