aarondandy / vertesaur

A computational geometry and math library for the CLR with potential medical, gaming, and GIS uses.
http://mediocresoft.com/vertesaur
Other
11 stars 3 forks source link

consistent line, ray, segment intersection tests/calculation #51

Closed aarondandy closed 9 years ago

aarondandy commented 11 years ago

Make sure that the calculations for line, ray, and segment intersection are consistent. The same line, ray, segment should all intersect the same and produce the same intersection point from the same definition points where appropriate.

Ex:

There should be 9 tests for this scenario covering all combinations of ray, segment, and line.