CGLINEINTERSECT
This function returns the intersection of two line segments, represented by four points.
Categories
Utilities
Params
x0: in, required
The x location of the one end of the first line segment.
y0: in, required
The y location of the one end of the first line segment.
x1: in, required
The x location of the other end of the first line segment.
y1: in, required
The y location of the other end of the first line segment.
x2: in, required
The x location of the one end of the second line segment.
y2: in, required
The y location of the one end of the second line segment.
x3: in, required
The x location of the other end of the second line segment.
y3: in, required
The y location of the other end of the second line segment.
Author
FANNING SOFTWARE CONSULTING::
David W. Fanning
1645 Sheely Drive
Fort Collins, CO 80526 USA
Phone: 970-221-0438
E-mail: [email protected]
Coyote's Guide to IDL Programming: http://www.idlcoyote.com
History
Change History::
Written, 10 September 2014 on suggestion of Wang Kang.
Copyright
Copyright (c) 2014, Fanning Software Consulting, Inc.