tem_pointCubeOverlap Function

public function tem_pointCubeOverlap(point, cube) result(overlap)

This function checks whether the given point is found inside given cube.

Point is inside the cube only if the point is >= cube origin and < cube max. Point lying on the cube max is not part of the cube

Arguments

TypeIntentOptionalAttributesName
type(tem_point_type) :: point

Coordinate of the point to check for intersection.

type(tem_cube_type) :: cube

Cube to intersect with.

Return Value logical


Contents


Variables

TypeVisibilityAttributesNameInitial
logical, private :: dirrange(3)