This routine checks for plane box overlap this routine is conversion of c-code tribox3.c planeBoxOverlap function
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=rk), | intent(in) | :: | normal(3) | normal direction of the plane |
||
| real(kind=rk), | intent(in) | :: | origin(3) | origin of the plane |
||
| real(kind=rk), | intent(in) | :: | boxhalfwidth(3) | halfwidth of the box |
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| integer, | private | :: | iDir | ||||
| real(kind=rk), | private | :: | vmin(3) | ||||
| real(kind=rk), | private | :: | vmax(3) | ||||
| real(kind=rk), | private | :: | tmp |