HALFSPACE Function

function HALFSPACE(A, B, C, D, X, Y, Z, TOLHS)

Arguments

Type IntentOptional Attributes Name
real(kind=8) :: A

@# KKRtags: VORONOI geometry Given a plane Ax+By+C*z=D, and a point (X,Y,Z) in space, this func takes the value TRUE if (X,Y,Z) lies in the half-space defined by the plane and the origin (0,0,0) (including the plane itself). Else, the value FALSE is returned.

The criterion used is that the inner product of the vector (X,Y,Z) with the vector d connecting the origin to the plane vertically be less than or equal to d2: (d_x,d_y,d_z)*(X,Y,Z) =< d2.

Input:

real(kind=8) :: B

@# KKRtags: VORONOI geometry Given a plane Ax+By+C*z=D, and a point (X,Y,Z) in space, this func takes the value TRUE if (X,Y,Z) lies in the half-space defined by the plane and the origin (0,0,0) (including the plane itself). Else, the value FALSE is returned.

The criterion used is that the inner product of the vector (X,Y,Z) with the vector d connecting the origin to the plane vertically be less than or equal to d2: (d_x,d_y,d_z)*(X,Y,Z) =< d2.

Input:

real(kind=8) :: C

@# KKRtags: VORONOI geometry Given a plane Ax+By+C*z=D, and a point (X,Y,Z) in space, this func takes the value TRUE if (X,Y,Z) lies in the half-space defined by the plane and the origin (0,0,0) (including the plane itself). Else, the value FALSE is returned.

The criterion used is that the inner product of the vector (X,Y,Z) with the vector d connecting the origin to the plane vertically be less than or equal to d2: (d_x,d_y,d_z)*(X,Y,Z) =< d2.

Input:

real(kind=8) :: D

@# KKRtags: VORONOI geometry Given a plane Ax+By+C*z=D, and a point (X,Y,Z) in space, this func takes the value TRUE if (X,Y,Z) lies in the half-space defined by the plane and the origin (0,0,0) (including the plane itself). Else, the value FALSE is returned.

The criterion used is that the inner product of the vector (X,Y,Z) with the vector d connecting the origin to the plane vertically be less than or equal to d2: (d_x,d_y,d_z)*(X,Y,Z) =< d2.

Input:

real(kind=8) :: X

@# KKRtags: VORONOI geometry Given a plane Ax+By+C*z=D, and a point (X,Y,Z) in space, this func takes the value TRUE if (X,Y,Z) lies in the half-space defined by the plane and the origin (0,0,0) (including the plane itself). Else, the value FALSE is returned.

The criterion used is that the inner product of the vector (X,Y,Z) with the vector d connecting the origin to the plane vertically be less than or equal to d2: (d_x,d_y,d_z)*(X,Y,Z) =< d2.

Input:

real(kind=8) :: Y

@# KKRtags: VORONOI geometry Given a plane Ax+By+C*z=D, and a point (X,Y,Z) in space, this func takes the value TRUE if (X,Y,Z) lies in the half-space defined by the plane and the origin (0,0,0) (including the plane itself). Else, the value FALSE is returned.

The criterion used is that the inner product of the vector (X,Y,Z) with the vector d connecting the origin to the plane vertically be less than or equal to d2: (d_x,d_y,d_z)*(X,Y,Z) =< d2.

Input:

real(kind=8) :: Z

@# KKRtags: VORONOI geometry Given a plane Ax+By+C*z=D, and a point (X,Y,Z) in space, this func takes the value TRUE if (X,Y,Z) lies in the half-space defined by the plane and the origin (0,0,0) (including the plane itself). Else, the value FALSE is returned.

The criterion used is that the inner product of the vector (X,Y,Z) with the vector d connecting the origin to the plane vertically be less than or equal to d2: (d_x,d_y,d_z)*(X,Y,Z) =< d2.

Input:

real(kind=8) :: TOLHS

@# KKRtags: VORONOI geometry Given a plane Ax+By+C*z=D, and a point (X,Y,Z) in space, this func takes the value TRUE if (X,Y,Z) lies in the half-space defined by the plane and the origin (0,0,0) (including the plane itself). Else, the value FALSE is returned.

The criterion used is that the inner product of the vector (X,Y,Z) with the vector d connecting the origin to the plane vertically be less than or equal to d2: (d_x,d_y,d_z)*(X,Y,Z) =< d2.

Input:

Return Value logical