tem_intersec_line_line Subroutine

public subroutine tem_intersec_line_line(edge, line, intersects, intersection)

This subroutine calculates the intersection between a line and a line. It gives back the coordinates of the intersection, the multiple of the direction vector of the intersection and the distance of the intersection to the center point of the line.

Arguments

TypeIntentOptionalAttributesName
type(tem_line), intent(in) :: edge
type(tem_line), intent(in) :: line
logical, intent(out) :: intersects
type(tem_intersec), intent(out) :: intersection

Called by

proc~~tem_intersec_line_line~~CalledByGraph proc~tem_intersec_line_line tem_intersec_line_line proc~exit_element exit_element proc~exit_element->proc~tem_intersec_line_line

Contents


Variables

TypeVisibilityAttributesNameInitial
real(kind=rk), private, dimension(3):: diff_vector
real(kind=rk), private, dimension(3):: normal
real(kind=rk), private, dimension(3):: enormal
real(kind=rk), private :: alignment
real(kind=rk), private :: dist_line
real(kind=rk), private :: dist_edge