24 #ifndef LSST_MEAS_BASE_Transform_h_INCLUDED
25 #define LSST_MEAS_BASE_Transform_h_INCLUDED
33 #include "lsst/afw/image.h"
34 #include "lsst/afw/table.h"
35 #include "lsst/pex/exceptions.h"
37 namespace lsst {
namespace meas {
namespace base {
87 virtual void operator()(afw::table::SourceCatalog
const & inputCatalog,
88 afw::table::BaseCatalog & outputCatalog,
89 afw::image::Wcs
const & wcs,
90 afw::image::Calib
const & calib)
const = 0;
102 afw::table::BaseCatalog
const & cat2)
const {
103 if (cat1.size() != cat2.size()) {
104 throw LSST_EXCEPT(pex::exceptions::LengthError,
"Catalog size mismatch");
112 #endif // !LSST_MEAS_BASE_Transform_h_INCLUDED