intll (<pointA>,<pointB>,<pointC>, <pointD>)
point
The intersection of two lines.
<pointA>
The start point
of the first line.
<pointB>
The finish point
of the first line.
<pointC>
The start point
of the second line.
<pointD>
The finish point
of the second line.
If the lines are parallel, the value of <pointA> is returned.
After execution of this function, the system identifier funcerr is set with an intersection status as follows:
-1: There was no intersection.
0: The intersection cut both lines.
1: The intersection cut Line 2 but missed Line 1 before <pointA>.
2: The intersection cut Line 2 but missed Line 1 beyond <pointB>.
4: The intersection cut Line 1 but missed Line 2 before<pointC>.
5: The intersection missed Line 1 before <pointA> and missed Line 2 before <pointC>.
6: The intersection missed Line 1 beyond <pointB> and missed Line 2 before <pointC>.
8: The intersection cut Line 1 but missed Line 2 beyond <pointD>.
9: The intersection missed Line 1 before <pointA> and missed Line 2 beyond <pointD>.
10: The intersection missed Line 1 beyond <pointB> and missed Line 2 beyond <pointD>.
point x = intll(A,B,C,D)
Functions: |