planeBoxOverlap Function

private function planeBoxOverlap(normal, origin, boxhalfwidth) result(overlaps)

This routine checks for plane box overlap this routine is conversion of c-code tribox3.c planeBoxOverlap function

Arguments

TypeIntentOptionalAttributesName
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

Return Value logical


Called by

proc~~planeboxoverlap~~CalledByGraph proc~planeboxoverlap planeBoxOverlap proc~triboxoverlap_loc triBoxOverlap_loc proc~triboxoverlap_loc->proc~planeboxoverlap proc~tem_trianglecubeoverlap tem_triangleCubeOverlap proc~tem_trianglecubeoverlap->proc~triboxoverlap_loc proc~tem_planecubeoverlap tem_planeCubeOverlap proc~tem_planecubeoverlap->proc~tem_trianglecubeoverlap proc~tem_shape_subtreefromgeominters tem_shape_subTreeFromGeomInters proc~tem_shape_subtreefromgeominters->proc~tem_trianglecubeoverlap proc~tem_stlcubeoverlap tem_stlCubeOverlap proc~tem_shape_subtreefromgeominters->proc~tem_stlcubeoverlap proc~tem_stlcubeoverlap->proc~tem_trianglecubeoverlap proc~tem_create_subtree_of tem_create_subTree_of proc~tem_create_subtree_of->proc~tem_shape_subtreefromgeominters proc~tem_cano_initsubtree tem_cano_initSubTree proc~tem_cano_initsubtree->proc~tem_planecubeoverlap proc~tem_boxcubeoverlap tem_boxCubeOverlap proc~tem_boxcubeoverlap->proc~tem_planecubeoverlap

Contents


Variables

TypeVisibilityAttributesNameInitial
integer, private :: iDir
real(kind=rk), private :: vmin(3)
real(kind=rk), private :: vmax(3)
real(kind=rk), private :: tmp