LSST Applications g0fba68d861+05a5e06e50,g1fd858c14a+904f1f4196,g2c84ff76c0+247cd845a2,g2c9e612ef2+f5117f1d55,g35bb328faa+fcb1d3bbc8,g4af146b050+123c2f4d45,g4d2262a081+a9e7a6e053,g4e0f332c67+c58e4b632d,g53246c7159+fcb1d3bbc8,g5a012ec0e7+ac98094cfc,g60b5630c4e+f5117f1d55,g67b6fd64d1+dd0349c22b,g78460c75b0+2f9a1b4bcd,g786e29fd12+cf7ec2a62a,g7b71ed6315+fcb1d3bbc8,g87b7deb4dc+2a1aa4536a,g8852436030+d21aad2af4,g89139ef638+dd0349c22b,g8d6b6b353c+f5117f1d55,g9125e01d80+fcb1d3bbc8,g989de1cb63+dd0349c22b,g9f33ca652e+0a580a37dd,g9f7030ddb1+ae84e0d5a5,ga2b97cdc51+f5117f1d55,gabe3b4be73+1e0a283bba,gb1101e3267+1d994e7598,gb58c049af0+f03b321e39,gb89ab40317+dd0349c22b,gcca6a94b71+4ed007ada1,gcf25f946ba+d21aad2af4,gd315a588df+9d9c5ccff1,gd6cbbdb0b4+75aa4b1db4,gd9a9a58781+fcb1d3bbc8,gde0f65d7ad+6fce216140,ge278dab8ac+c61fbefdff,ge410e46f29+dd0349c22b,ge82c20c137+e12a08b75a,gf67bdafdda+dd0349c22b,v28.0.2.rc1
LSST Data Management Base Package
|
A 1-d affine transform that can be used to map one interval to another. More...
#include <Scaling1d.h>
Public Member Functions | |
Scaling1d (double scale, double shift) noexcept | |
Construct from the given multiplicative scale and additive shift. | |
Scaling1d (Scaling1d const &) noexcept=default | |
Default copy constructor. | |
Scaling1d (Scaling1d &&) noexcept=default | |
Default move constructor. | |
Scaling1d & | operator= (Scaling1d const &) noexcept=default |
Default copy assignment. | |
Scaling1d & | operator= (Scaling1d &&) noexcept=default |
Default move assignment. | |
double | applyForward (double x) const noexcept |
Apply the transform in the forward direction. | |
double | applyInverse (double y) const noexcept |
Apply the inverse of the forward transform;. | |
double | getScale () const noexcept |
Return the multiplicative scaling. | |
double | getShift () const noexcept |
Return the additive shift. | |
Scaling1d | inverted () const noexcept |
Invert the transform. | |
Scaling1d | then (Scaling1d const &second) const noexcept |
Compose two transforms. | |
A 1-d affine transform that can be used to map one interval to another.
The transform is represented as an additive shift followed by a multiplicative scaling.
noexcept
.Definition at line 46 of file Scaling1d.h.
|
inlinenoexcept |
Construct from the given multiplicative scale and additive shift.
Definition at line 50 of file Scaling1d.h.
|
defaultnoexcept |
Default copy constructor.
|
defaultnoexcept |
Default move constructor.
|
inlinenoexcept |
Apply the transform in the forward direction.
Result is defined to be (x + getShift()) * getScale()
.
Definition at line 72 of file Scaling1d.h.
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
Invert the transform.
If r = t.inverted()
, then r.applyForward(x)
is equivalent to t.applyInverse(x)
and r.applyInverse(y)
is equivalent to t.applyForward(y)
.
Definition at line 96 of file Scaling1d.h.
Default move assignment.
Default copy assignment.
Compose two transforms.
If r = a.then(b)
, then r.applyForward(x)
is equivalent to b.applyForward(a.applyForward(x))
and r.applyInverse(y)
is equivalent to a.applyInverse(b.applyInverse(y))
.
Definition at line 107 of file Scaling1d.h.