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

Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|

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. ## TodoHK: Dim is a bad naming here, halflength would be better. |
||

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

Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|

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