While preparing this post, I ran across his response, and I can’t do it much more justice, so here is his general implementation in MATLAB. Note: Much credit for this post and explanation should be given to Gareth Rees. Previously, we’ve described how to define a line segment in MATLAB, and we will use this definition in our current method for solving for line intersections. This will allow for further solutions for more complex questions, including a general solution regarding whether a point is inside or outside of a convex or non-convex polygon. One computational geometry question that we will want to address is how to determine the intersection of two line segments.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |