31 return std::pow(_skyWcs.getPixelScale(position).asDegrees(), 2) * _inverseScale;
34 bool PixelScaleBoundedField::operator==(BoundedField
const &rhs)
const {
36 if (!rhsCasted)
return false;
38 return getBBox() == rhsCasted->getBBox() && getSkyWcs() == rhsCasted->getSkyWcs();
41 std::string PixelScaleBoundedField::toString()
const {
43 os <<
"PixelScaleBoundedField(" << _skyWcs <<
")";
A base class for image defects.
A BoundedField that gives the amount a pixel is distorted at each point.