Elements
Elements copied to clipboard
Line should be renamed to LineSegment, and a new Infinite Line class should be created.
Many operations in Elements would benefit from an underlying "Infinite Line" construct with its own intersection logic (See ExtendTo, TrimTo, etc). This should really be a class called "Line
" and the current Line
Class should be renamed to LineSegment
for clarity.
In 2.0, we've made this behavior possible. Line
is now treated as a LineSegment
and the InfiniteLine
class represents an infinite line. It's not the best solution, but it's the least impactful.