25 #ifndef LSST_AFW_GEOM_ELLIPSES_radii_h_INCLUDED
26 #define LSST_AFW_GEOM_ELLIPSES_radii_h_INCLUDED
43 template <
typename Ellipticity_,
typename Radius_>
61 throw LSST_EXCEPT(lsst::pex::exceptions::InvalidParameterError,
62 "Ellipse radius cannot be negative.");
65 static std::string
getName() {
return "DeterminantRadius"; }
71 operator double const &()
const {
return _value; }
73 operator double &() {
return _value; }
83 template <
typename T1,
typename T2>
91 void assignFromQuadrupole(
double ixx,
double iyy,
double ixy,
Distortion &distortion);
95 void assignToQuadrupole(
Distortion const &distortion,
double &ixx,
double &iyy,
double &ixy)
const;
112 throw LSST_EXCEPT(lsst::pex::exceptions::InvalidParameterError,
113 "Ellipse radius cannot be negative.");
116 static std::string
getName() {
return "TraceRadius"; }
122 operator double const &()
const {
return _value; }
124 operator double &() {
return _value; }
134 template <
typename T1,
typename T2>
142 void assignFromQuadrupole(
double ixx,
double iyy,
double ixy,
Distortion &distortion);
146 void assignToQuadrupole(
Distortion const &distortion,
double &ixx,
double &iyy,
double &ixy)
const;
161 static std::string
getName() {
return "LogDeterminantRadius"; }
167 operator double const &()
const {
return _value; }
169 operator double &() {
return _value; }
179 template <
typename T1,
typename T2>
187 void assignFromQuadrupole(
double ixx,
double iyy,
double ixy,
Distortion &distortion);
191 void assignToQuadrupole(
Distortion const &distortion,
double &ixx,
double &iyy,
double &ixy)
const;
206 static std::string
getName() {
return "LogTraceRadius"; }
212 operator double const &()
const {
return _value; }
214 operator double &() {
return _value; }
224 template <
typename T1,
typename T2>
232 void assignFromQuadrupole(
double ixx,
double iyy,
double ixy,
Distortion &distortion);
236 void assignToQuadrupole(
Distortion const &distortion,
double &ixx,
double &iyy,
double &ixy)
const;
273 #endif // !LSST_AFW_GEOM_ELLIPSES_radii_h_INCLUDED
The natural logarithm of the TraceRadius.
static std::string getName()
LogTraceRadius(double value=0.0)
static std::string getName()
DeterminantRadius(double value=1.0)
LogDeterminantRadius(double value=0.0)
TraceRadius & operator=(double value)
LogTraceRadius & operator=(double value)
The natural logarithm of the DeterminantRadius.
static std::string getName()
The radius defined as the 4th root of the determinant of the quadrupole matrix.
DeterminantRadius & operator=(double value)
TraceRadius(double value=1.0)
An ellipse core with a complex ellipticity and radius parameterization.
Eigen::Matrix3d Jacobian
Parameter Jacobian matrix type.
static std::string getName()
LogDeterminantRadius & operator=(double value)
A complex ellipticity with magnitude .