Testing LineSegment2d's Collinearity method (AutoCAD's .net API)
The notoriously detailed AutoCAD .net documentation strikes again! What exactly is meant by a collinear LineSegment2d? Who knows? Luckily the documentation is there to save the day:
It is the paragon of lucidity:
Quelle surprise! So we have to write a test to see what it does. The test results are curious. For line segments, it seems that the projected lines are what is being reported. Not the line segments crossing over each other as would be expected.
Consider the code below and tell me what you think the answer would be? True or False?
Anyways, this is helpful because the results are what I am after anyways.
Written on April 12, 2019