FunctionPackage: cgToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 8.2
This page is new in 8.2.

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-2016, Franz Inc. Oakland, CA., USA. All rights reserved.
This page is new in the 8.2 release.
Created 2016.6.21.

ToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 8.2
This page is new in 8.2.