LSSTApplications  10.0+286,10.0+36,10.0+46,10.0-2-g4f67435,10.1+152,10.1+37,11.0,11.0+1,11.0-1-g47edd16,11.0-1-g60db491,11.0-1-g7418c06,11.0-2-g04d2804,11.0-2-g68503cd,11.0-2-g818369d,11.0-2-gb8b8ce7
LSSTDataManagementBasePackage
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
lsst::afw::geom::ellipses::DeterminantRadius Class Reference

The radius defined as the 4th root of the determinant of the quadrupole matrix. More...

#include <radii.h>

Public Member Functions

void normalize ()
 
 DeterminantRadius (double value=1.0)
 
 DeterminantRadius (LogDeterminantRadius const &other)
 
 operator double const & () const
 
 operator double & ()
 
DeterminantRadiusoperator= (double value)
 
DeterminantRadiusoperator= (LogDeterminantRadius const &other)
 

Static Public Member Functions

static std::string getName ()
 

Private Member Functions

void operator= (TraceRadius const &)
 Undefined and disabled; conversion between trace and determinant radii requires ellipticity. More...
 
void operator= (LogTraceRadius const &)
 Undefined and disabled; conversion between trace and determinant radii requires ellipticity. More...
 
void assignFromQuadrupole (double ixx, double iyy, double ixy, Distortion &distortion)
 
BaseCore::Jacobian dAssignFromQuadrupole (double ixx, double iyy, double ixy, Distortion &distortion)
 
void assignToQuadrupole (Distortion const &distortion, double &ixx, double &iyy, double &ixy) const
 
BaseCore::Jacobian dAssignToQuadrupole (Distortion const &distortion, double &ixx, double &iyy, double &ixy) const
 

Private Attributes

double _value
 

Friends

template<typename T1 , typename T2 >
class Separable
 

Detailed Description

The radius defined as the 4th root of the determinant of the quadrupole matrix.

The determinant radius is equal to the standard radius for a circle, and \(\pi R_{det}^2\) is the area of the ellipse.

Definition at line 57 of file radii.h.

Constructor & Destructor Documentation

lsst::afw::geom::ellipses::DeterminantRadius::DeterminantRadius ( double  value = 1.0)
inlineexplicit

Definition at line 68 of file radii.h.

lsst::afw::geom::ellipses::DeterminantRadius::DeterminantRadius ( LogDeterminantRadius const &  other)
inlineexplicit

Definition at line 280 of file radii.h.

280 : _value(std::exp(other)) {}

Member Function Documentation

void lsst::afw::geom::ellipses::DeterminantRadius::assignFromQuadrupole ( double  ixx,
double  iyy,
double  ixy,
Distortion distortion 
)
private
void lsst::afw::geom::ellipses::DeterminantRadius::assignToQuadrupole ( Distortion const &  distortion,
double &  ixx,
double &  iyy,
double &  ixy 
) const
private
BaseCore::Jacobian lsst::afw::geom::ellipses::DeterminantRadius::dAssignFromQuadrupole ( double  ixx,
double  iyy,
double  ixy,
Distortion distortion 
)
private
BaseCore::Jacobian lsst::afw::geom::ellipses::DeterminantRadius::dAssignToQuadrupole ( Distortion const &  distortion,
double &  ixx,
double &  iyy,
double &  ixy 
) const
private
static std::string lsst::afw::geom::ellipses::DeterminantRadius::getName ( )
inlinestatic

Definition at line 66 of file radii.h.

66 { return "DeterminantRadius"; }
void lsst::afw::geom::ellipses::DeterminantRadius::normalize ( )
inline

Definition at line 60 of file radii.h.

60  {
61  if (_value < 0)
62  throw LSST_EXCEPT(lsst::pex::exceptions::InvalidParameterError,
63  "Ellipse radius cannot be negative.");
64  }
#define LSST_EXCEPT(type,...)
Definition: Exception.h:46
lsst::afw::geom::ellipses::DeterminantRadius::operator double & ( )
inline

Definition at line 74 of file radii.h.

lsst::afw::geom::ellipses::DeterminantRadius::operator double const & ( ) const
inline

Definition at line 72 of file radii.h.

DeterminantRadius& lsst::afw::geom::ellipses::DeterminantRadius::operator= ( double  value)
inline

Definition at line 76 of file radii.h.

76 { _value = value; return *this; }
DeterminantRadius & lsst::afw::geom::ellipses::DeterminantRadius::operator= ( LogDeterminantRadius const &  other)
inline

Definition at line 285 of file radii.h.

285  {
286  _value = std::exp(other);
287  return *this;
288 }
void lsst::afw::geom::ellipses::DeterminantRadius::operator= ( TraceRadius const &  )
private

Undefined and disabled; conversion between trace and determinant radii requires ellipticity.

void lsst::afw::geom::ellipses::DeterminantRadius::operator= ( LogTraceRadius const &  )
private

Undefined and disabled; conversion between trace and determinant radii requires ellipticity.

Friends And Related Function Documentation

template<typename T1 , typename T2 >
friend class Separable
friend

Definition at line 82 of file radii.h.

Member Data Documentation

double lsst::afw::geom::ellipses::DeterminantRadius::_value
private

Definition at line 109 of file radii.h.


The documentation for this class was generated from the following file: