Add facets to AABB.
Facets added to AABB are removed to facets list that is also returned.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(aabb_node_object), | intent(inout) | :: | self | AABB. |
||
| type(facet_object), | intent(inout), | allocatable | :: | facet(:) | Facets list. |
subroutine add_facets(self, facet)
!< Add facets to AABB.
!<
!< @note Facets added to AABB are removed to facets list that is also returned.
class(aabb_node_object), intent(inout) :: self !< AABB.
type(facet_object), allocatable, intent(inout) :: facet(:) !< Facets list.
if (allocated(self%aabb)) call self%aabb%add_facets(facet=facet)
endsubroutine add_facets