FunctionPackage: cgToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 10.1
Unrevised from 10.0 to 10.1.
10.0 version

on-line-segment-x-y-p

Arguments: x y end1-x end1-y end2-x end2-y &key (margin 4)

Returns true if a point lies on (or nearly on) a line segment amd returns nil otherwise.

The first two arguments are real numbers for the X and Y coordinates of the point, and the remaining required arguments are real numbers for the endpoints of the line segment.

The margin argument is a real number indicating the distance from the line within which the point must lie to be considered on the line. If it is within this distance, then true is returned, and otherwise nil is returned.

See also on-line-segment-p.


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

ToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 10.1
Unrevised from 10.0 to 10.1.
10.0 version