Cross posting from Stack Overflow (not sure how to more correctly cross-post).
This started simple, as most things do...
I I just wanted a little structure to hold polar coordinates for a totally minor class...
But But starting with the second answerthis answer and borrowing from existing Objective-C concepts like CGPointCGPoint and CGSizeCGSize, the simple struct quickly morphed into a more complete solution.
I have this all in a _polar.h file that I have included in my files and I was wondering what other things should be included and/or other criticism of my technique.
Am I approaching this thing correctly?
(noteNote: startPointstartPoint and endPointendPoint are part of the structure to help solve other problems in my class and are not necessarily "normal" parts of a polar structure.)