Function | Package: cg | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 10.1 Unrevised from 10.0 to 10.1. 10.0 version

## line-segment-intersection-x-y

Arguments: line1-end1-x line1-end1-y line1-end2-x line1-end2-y line2-end1-x line2-end1-y line2-end2-x line2-end2-y

Returns the point (x and y coordinates returned as multiple values) at which two line segments intersect if they do intersect, and returns `nil` otherwise.

The eight arguments are real numbers that specify the endpoints of the two line segments. See also line-segment-intersection which uses position objects rather than coordinates as arguments and return value.

Copyright (c) 1998-2022, Franz Inc. Lafayette, CA., USA. All rights reserved.
This page was not revised from the 10.0 page.
Created 2019.8.20.

|  | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 10.1 Unrevised from 10.0 to 10.1. 10.0 version