I have a few questions:
- Why does this check happen? Is it because if two points are on opposite side of planet Earth, you don’t know which direction to draw the polyline to?
- When does this check happen? We have already written a lot of code for entities, and now we have no idea if this validation needs to happen only for polylines, or we should check other entities, too.
- Is there a way to get a more helpful error that points towards the actual entity throwing the error?
- Why am I able to reproduce this error for polyline entities but when I use primitives, the same coordinates don’t throw the error?
Sandcastle links:
- Drawing entities between Alejos and Wellington with entity framework. Click the option to draw the polyline and observe the crash:
- SAME coordinates drawn with primitives does not throw an error: