Hi all.
Would it be a good idea to have a polar coordinate class and derive from it spherical and cylindrical coordinate classes?
Or should I keep 3 separate classes?
ddanbe
2,724
Professional Procrastinator
Featured Poster
Recommended Answers
Jump to Post
- Is SphericalCoordinate a kind of PolarCoordinate? If not, it shouldn't be a subclass. EndOf.
- Are there situations where you will use or accept a PolarCoordinate without worrying about whether it's cylindrical or spherical? If so, the common superclass will be useful
- Is there a useful amount of implementation detail that's …
All 2 Replies
JamesCherrill
4,733
Most Valuable Poster
Team Colleague
Featured Poster
ddanbe
2,724
Professional Procrastinator
Featured Poster
F1dark
commented:
Is this really works?
+0
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.