Function: intll

Syntax

intll (<pointA>,<pointB>,<pointC>, <pointD>)

Type

point

Returns

The intersection of two lines.

Parameters

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>.

Examples

point x = intll(A,B,C,D)

See Also

Functions:

intcc (point), intlc (point), intlp (point), intpp (point)