lsst.geom
tickets.DM-23835-g1b0a77db9f
|
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
double applyForward(double x) const noexcept
Apply the transform in the forward direction.
A 2-d separable affine transform that can be used to map one interval to another.
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.
Point< double, 2 > Point2D
Scaling1d then(Scaling1d const &second) const noexcept
Compose two transforms.
geom::Point2D applyInverse(geom::Point2D const &p) const noexcept
Apply the inverse of the forward transform.
double getMinY() const noexcept
double applyInverse(double y) const noexcept
Apply the inverse of the forward transform;.
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].
const Scaling1d & 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.
const Scaling1d & getY() const noexcept
Return the 1-d scaling in the Y direction.
A floating-point coordinate rectangle geometry.
Scaling2d then(Scaling2d const &second) const noexcept
Compose two transforms.