Add WCSData::calculateBounds
This commit is contained in:
+4
-3
@@ -35,9 +35,10 @@ public:
|
||||
WCSData();
|
||||
WCSData(char *header, int nrec);
|
||||
~WCSData();
|
||||
SkyPoint pixelToWorld(QPointF pixel) const;
|
||||
QPointF worldToPixel(SkyPoint point) const;
|
||||
void calculateBounds(double &minRa, double &maxRa, double &minDec, double &maxDec);
|
||||
bool pixelToWorld(const QPointF &pixel, SkyPoint &point) const;
|
||||
bool worldToPixel(const SkyPoint &point, QPointF &pixel) const;
|
||||
void calculateBounds(int w, int h, double &minRa, double &maxRa, double &minDec, double &maxDec);
|
||||
bool valid() const { return wcs; };
|
||||
};
|
||||
|
||||
struct ImageInfoData
|
||||
|
||||
Reference in New Issue
Block a user