4 ms·
Point object could be either, since the coordinate systems are truly interchangeable, e.g. the class could just store everything as Cartesian internally and con
by variadix 2y ago
Point object could be either, since the coordinate systems are truly interchangeable, e.g. the class could just store everything as Cartesian internally and convert to/from polar as needed. In a class with more mutually exclusive properties I can see how this wouldn’t work so well.