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

line-segment-intersection

Arguments: line1-end1 line1-end2 line2-end1 line2-end2 &optional pos-to-return

Returns the point (a position object) at which two line segments intersect if they do intersect, and nil otherwise.

The first four arguments are position objects that specify the endpoints of the two line segments.

If pos-to-return is nil or unspecified, then a new position object is created and returned. Otherwise pos-to-return should be a position object, which will be modified and returned.

As usual, position objects should contain integers. See make-position.

See also line-segment-intersection-x-y.


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.