[Kstars-devel] SkyPoint/SkyObject refactoring
Khudyakov Alexey
alexey.skladnoy at gmail.com
Thu May 28 13:24:39 CEST 2009
Hello
I think that SkyPoint class should not be superclass of SkyObject. Instead it
should be its data member.
It could be justified by following arguments. SkyObject _is_ _not_ really a
SkyPoint it is a some entity which has some celestial coordinate. Moreover
SkyPoint doesn't define any virtual methods except for updateCoords and so
doesn't define any part of SkyObject's API. And last point is SkyPoint is used
on its own without regard to SkyObject family.
Cons: This is and extensive change.
Any comment/suggestions/whatever ?
--
Khudyakov Alexey
More information about the Kstars-devel
mailing list