This subroutine checks at which face, edge or corner the line leaves the element and calculates the next element.
found intersection, so exit loop
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=long_k), | intent(in) | :: | TreeID | |||
| type(tem_line) | :: | line | ||||
| type(treelmesh_type), | intent(in) | :: | tree |
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| type(tem_plane), | private | :: | face | ||||
| type(tem_line), | private | :: | edge | ||||
| real(kind=rk), | private | :: | corner(3) | ||||
| type(tem_intersec), | private | :: | intersection | ||||
| logical, | private | :: | intersects | ||||
| type(tem_intersec_elem), | private | :: | elem | ||||
| integer, | private | :: | coord(4) | ||||
| integer, | private | :: | iDir |