Hi Karsten
Most any square, or rectangle will do.
Here is a basic rounded square, which also does "assert failed."
I cannot comment on how or where to add exception handling for problems due to straight line segments,
because I have not studied the math (yet) :-)
- Brian
|