LSSTApplications
20.0.0
LSSTDataManagementBasePackage
|
Go to the documentation of this file.
34 r << (*this)[
XX], (*this)[
YX], (*this)[
XY], (*this)[
YY], (*this)[
X], (*this)[
Y];
39 (*this)[XX] = vector[XX];
40 (*this)[XY] = vector[XY];
41 (*this)[
X] = vector[
X];
42 (*this)[YX] = vector[YX];
43 (*this)[YY] = vector[YY];
44 (*this)[
Y] = vector[
Y];
49 r << (*this)[
XX], (*this)[
XY], (*this)[
X], (*this)[
YX], (*this)[
YY], (*this)[
Y], 0.0, 0.0, 1.0;
60 r.block<2, 4>(0, 0) = getLinear().dTransform(input);
68 r.block<2, 4>(0, 0) = getLinear().dTransform(input);
73 std::ios::fmtflags flags =
os.
flags();
77 os <<
"AffineTransform([(" <<
std::setw(10) << matrix(0, 0) <<
"," <<
std::setw(10) << matrix(0, 1) <<
","
78 <<
std::setw(10) << matrix(0, 2) <<
"),\n";
80 <<
std::setw(10) << matrix(1, 2) <<
"),\n";
82 <<
std::setw(10) << matrix(2, 2) <<
")])";
91 mp << p1.getX(), p2.getX(), p3.getX(), p1.getY(), p2.getY(), p3.getY(), 1.0, 1.0, 1.0;
94 mq << q1.getX(), q2.getX(), q3.getX(), q1.getY(), q2.getY(), q3.getY(), 1.0, 1.0, 1.0;
96 Eigen::Matrix3d
m = mq * mp.inverse();
A base class for image defects.
std::ostream & operator<<(std::ostream &os, lsst::geom::AffineTransform const &transform)
AffineTransform makeAffineTransformFromTriple(Point2D const &p1, Point2D const &p2, Point2D const &p3, Point2D const &q1, Point2D const &q2, Point2D const &q3)