1、求两条直线的交点
intersection_lines (Operator)
Name
intersection_lines — Calculate the intersection point of two lines
Signature
intersection_lines( : : Line1Row1, Line1Column1, Line1Row2, Line1Column2, Line2Row1, Line2Column1, Line2Row2, Line2Column2 : Row, Column, IsOverlapping)
Description
intersection_lines calculates the intersection point of two lines, which are defined by two of their points (Line1Row1,Line1Column1), (Line1Row2,Line1Column2), and (Line2Row1,Line2Column1), (Line2Row2,Line2Column2) respectively. The intersection point, if it exists, is returned in (Row,Column). If both lines are identical, IsOverlapping returns the value 1, otherwise 0 is returned. In this case no intersection point is returned in (Row,Column).