Function computes intersection of line with cube
If optional argument pntIntersect contains the intersection point of the line with cube
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(tem_line_type), | intent(in) | :: | line | line segment to check for intersection |
||
| type(tem_cube_type), | intent(in) | :: | cube | cube to intersect with |
||
| real(kind=rk), | intent(out), | optional | :: | pntIntersect(3) | intersection point if there is intersection |
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| real(kind=rk), | private | :: | proj | ||||
| real(kind=rk), | private | :: | loc_pntIntersect(3) |