lsst.afw
tickets.DM-23835-g31c64b24f1
|
Go to the documentation of this file.
35 auto rhsCasted = dynamic_cast<PixelScaleBoundedField const *>(&rhs);
36 if (!rhsCasted)
return false;
38 return getBBox() == rhsCasted->getBBox() &&
getSkyWcs() == rhsCasted->getSkyWcs();
41 std::string PixelScaleBoundedField::toString()
const {
43 os <<
"PixelScaleBoundedField(" << _skyWcs <<
")";
An abstract base class for 2-d functions defined on an integer bounding boxes.
lsst::geom::Angle getPixelScale(lsst::geom::Point2D const &pixel) const
Get the pixel scale at the specified pixel position.
const geom::SkyWcs & getSkyWcs() const
Get the contained SkyWcs.
double evaluate(lsst::geom::Point2D const &position) const override
Evaluate the field at the given point.
bool operator==(BoundedField const &rhs) const override
BoundedFields (of the same sublcass) are equal if their bounding boxes and parameters are equal.
A base class for image defects.
lsst::geom::Box2I getBBox() const
Return the bounding box that defines the region where the field is valid.
constexpr double asDegrees() const noexcept