Getting Ordered Intersection Points of a Line along a Particular Direction

It seems to be a common problem: getting intersection points along a line.

This is what we want:

We want the ordered points.
Notice how the points are nicely ordered, from the start point of the picked line?

Here’s how I solved it:


Comments

2 responses to “Getting Ordered Intersection Points of a Line along a Particular Direction”

Leave a Reply

Your email address will not be published. Required fields are marked *