36 if (!rhsCasted)
return false;
38 return getBBox() == rhsCasted->getBBox() &&
getSkyWcs() == rhsCasted->getSkyWcs();
41 std::string PixelScaleBoundedField::toString()
const {
43 os <<
"PixelScaleBoundedField(" << _skyWcs <<
")";
constexpr double asDegrees() const noexcept
Return an Angle's value in degrees.
bool operator==(BoundedField const &rhs) const override
BoundedFields (of the same sublcass) are equal if their bounding boxes and parameters are equal...
lsst::geom::Angle getPixelScale(lsst::geom::Point2D const &pixel) const
Get the pixel scale at the specified pixel position.
geom::SkyWcs const & getSkyWcs() const
Get the contained SkyWcs.
A BoundedField that gives the amount a pixel is distorted at each point.
A base class for image defects.
lsst::geom::Box2I getBBox() const
Return the bounding box that defines the region where the field is valid.
double evaluate(lsst::geom::Point2D const &position) const override
Evaluate the field at the given point.
An abstract base class for 2-d functions defined on an integer bounding boxes.
A BoundedField that gives the amount a pixel is distorted at each point.