34 #ifndef LSST_AFW_MATH_DETAIL_POSITIONFUNCTOR_H
35 #define LSST_AFW_MATH_DETAIL_POSITIONFUNCTOR_H
60 typedef boost::shared_ptr<PositionFunctor>
Ptr;
75 typedef boost::shared_ptr<WcsPositionFunctor>
Ptr;
138 #endif // !defined(LSST_AFW_MATH_DETAIL_POSITIONFUNCTOR_H)
virtual lsst::afw::geom::Point2D operator()(int destCol, int destRow) const =0
virtual lsst::afw::geom::Point2D operator()(int destCol, int destRow) const
A coordinate class intended to represent absolute positions.
lsst::afw::image::Wcs const & _srcWcs
double indexToPosition(double ind)
Convert image index to image position.
WcsPositionFunctor(lsst::afw::geom::Point2D const &destXY0, lsst::afw::image::Wcs const &destWcs, lsst::afw::image::Wcs const &srcWcs)
geom::Point2D skyToPixel(geom::Angle sky1, geom::Angle sky2) const
Convert from sky coordinates (e.g. RA/dec) to pixel positions.
Implementation of the WCS standard for a any projection.
boost::shared_ptr< coord::Coord > pixelToSky(double pix1, double pix2) const
Convert from pixel position to sky coordinates (e.g. RA/dec)
lsst::afw::image::Wcs const & _destWcs
virtual ~WcsPositionFunctor()
Derived functor class to transform pixel position for a destination image to its position in the sour...
boost::shared_ptr< PositionFunctor > Ptr
Base class to transform pixel position for a destination image to its position in the original source...
lsst::afw::geom::Point2D const & _destXY0
virtual ~PositionFunctor()
boost::shared_ptr< WcsPositionFunctor > Ptr