LSSTApplications
20.0.0
LSSTDataManagementBasePackage
|
Go to the documentation of this file.
22 #ifndef LSST_AFW_MATH_POLYNOMIALS_Scaling2d_h_INCLUDED
23 #define LSST_AFW_MATH_POLYNOMIALS_Scaling2d_h_INCLUDED
29 namespace lsst {
namespace geom {
namespace polynomials {
121 #endif // !LSST_AFW_MATH_POLYNOMIALS_Scaling2d_h_INCLUDED
A 2-d separable affine transform that can be used to map one interval to another.
Scaling1d const & getY() const noexcept
Return the 1-d scaling in the Y direction.
Scaling2d(Scaling2d &&) noexcept=default
Default move constructor.
Scaling2d(Scaling1d const &x, Scaling1d const &y) noexcept
Construct from the given 1-d scalings.
A 1-d affine transform that can be used to map one interval to another.
Scaling2d(Scaling2d const &) noexcept=default
Default copy constructor.
Point< double, 2 > Point2D
geom::Point2D applyInverse(geom::Point2D const &p) const noexcept
Apply the inverse of the forward transform.
double getMinY() const noexcept
Scaling1d makeUnitRangeScaling1d(double min, double max) noexcept
Return a Scaling1d that maps the interval [min, max] to [-1, 1].
double getMaxX() const noexcept
double getMinX() const noexcept
Scaling2d makeUnitRangeScaling2d(geom::Box2D const &box)
Return a Scaling1d that maps the given box to [-1, 1]x[-1, 1].
A base class for image defects.
Scaling1d const & getX() const noexcept
Return the 1-d scaling in the X direction.
Scaling2d inverted() const noexcept
Invert the transform.
double getMaxY() const noexcept
geom::Point2D applyForward(geom::Point2D const &p) const noexcept
Apply the transform in the forward direction.
A floating-point coordinate rectangle geometry.
Scaling2d then(Scaling2d const &second) const noexcept
Compose two transforms.