Intersections

Functions

template<class T>
Shape<T> getIntersection(const Line<T> line1, const Line<T> line2)

Computes the intersection of two lines.

template<class T>
Shape<T> getIntersection(const Line<T> line, const Segment<T> seg)