intersection point of two graphic line segments
Malte Brill
revolution at derbrill.de
Wed Nov 11 10:04:01 EST 2015
Hi David,
http://www.derbrill.de/animationEngine6.zip <http://www.derbrill.de/animationEngine6.zip>
ae is dual licensed (GPL3 / commercial) Stack is unlocked and the zip Contains a PDF + some examples. What you will be interested in:
lineSegmentIntersectionPoint(x1,y1,x2,y2,x3,y3,x4,y4)
get lineSegmentIntersectionPoint(100,200,120,210,0,0,140,220)
This function returns the intersectionpoint of 2 line segments or "no intersectionPoint" if the line segments do not intersect.
All the best,
Malte
More information about the use-livecode
mailing list