Function lsst::afw::geom::makeWcsPairTransform

Function Documentation

std::shared_ptr<TransformPoint2ToPoint2> lsst::afw::geom::makeWcsPairTransform(SkyWcs const &src, SkyWcs const &dst)

A Transform obtained by putting two SkyWcs objects “back to back”.

Provides basic exception safety.

Return

a Transform whose forward transformation converts from src pixels to dst pixels, and whose inverse transformation converts in the opposite direction.

Parameters
  • src: the WCS for the source pixels

  • dst: the WCS for the destination pixels