Cannot open file (/var/www/vhosts/aprendtech.com/httpdocs/wordpress/wp-content/backup/.htaccess)Cannot write to file (/var/www/vhosts/aprendtech.com/httpdocs/wordpress/wp-content/backup/.htaccess) AprendBlog » Intersection of line segments


Aug 31

Intersection of line segments

Tag: softwareadmin @ 10:33 am

A post by Loren Shure of Mathworks, reminded me of a function, PolylineIntersectSegment.m, that I wrote to compute the intersection of a polyline with a line segment. This function nicely combines the topics of my last two posts, use of complex variables and lines, so I will discuss it in more detail. The use of complex variables simplifies the code and makes it easier to understand and modify.

more –>;