Closed Jvinniec closed 5 years ago
CECoordinates
has been replaced by the CESkyCoord
class. CECoordinates
will be removed at some point in the future. That point is currently unknown, but it is noted that users should no longer be using CECoordinates
.
The following methods in
CECoordinates
are deprecated and should be removed in a future release (tentatively v1.4).Functions replace by CEAngle class
XCoordinate_Deg()
(replaced withXCoord().Deg()
)XCoordinate_Rad()
(replaced withXCoord().Rad()
)YCoordinate_Deg()
(replaced withYCoord().Deg()
)YCoordinate_Rad()
(replaced withYCoord().Rad()
)GetHMS()
(replaced by<XY>Coord().HmsVect()
)GetDMS()
(replaced by<XY>Coord().DmsVect()
)HMSToAngle()
(replaced byCEAngle::Hms(vector<double>)
andCEAngle::Hms(string)
)DMSToAngle()
(replaced byCEAngle::Dms(vector<double>)
andCEAngle::Dms(string)
)Constructors
CECoordinates(const CECoordinateType&)
(constructing from a coordinate type alone is not very helpful)CECoordinates(const std::vector<double>&, const std::vector<double>&, const CECoordinateType&)
(Instead use the primary constructor withCEAngle::Hms(const std::vector<double>&)
andCEAngle::Dms(const std::vector<double>&)
)Additionally... The methods identified in issue #20 as providing duplicate functionality should be removed as well in the next release. Specifically the long forms of the conversion methods that don't rely on CppEphem functions.