intersection point of two graphic line segments

David V Glasgow dvglasgow at gmail.com
Wed Nov 11 12:27:21 EST 2015


Thanks Malte!

> On 11 Nov 2015, at 3:04 pm, Malte Brill <revolution at derbrill.de> wrote:
> 
> 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 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the use-livecode mailing list