SourceXtractorPlusPlus  0.19
SourceXtractor++, the next generation SExtractor
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ErrorEllipse.h
Go to the documentation of this file.
1 
17 /*
18  * ErrorEllipse.h
19  *
20  * Created on: Feb 11, 2022
21  * Author: mkuemmel
22  */
23 
24 #ifndef _SEIMPLEMENTATION_PLUGIN_ERRORELLIPSE_ERRORELLIPSE_H_
25 #define _SEIMPLEMENTATION_PLUGIN_ERRORELLIPSE_ERRORELLIPSE_H_
26 
27 #include "SEUtils/Types.h"
29 
30 namespace SourceXtractor {
31 
32 class ErrorEllipse : public Property {
33 public:
34 
35  ErrorEllipse(SeFloat a_error, SeFloat b_error, SeFloat theta_error, SeFloat cxx_error, SeFloat cyy_error, SeFloat cxy_error)
36  : m_a_error(a_error), m_b_error(b_error), m_theta_error(theta_error), m_cxx_error(cxx_error), m_cyy_error(cyy_error), m_cxy_error(cxy_error) {}
37 
38  virtual ~ErrorEllipse() = default;
39 
44  return m_a_error;
45  }
46 
51  return m_b_error;
52  }
53 
58  return m_theta_error;
59  }
60 
62  return m_cxx_error;
63  }
64 
66  return m_cyy_error;
67  }
68 
70  return m_cxy_error;
71  }
72 
73 private:
74  SeFloat m_a_error, m_b_error, m_theta_error; // errors for ellipse semi-major axis, semi-minor axis, and angle
76 
77 };
78 
79 }
80 #endif /* _SEIMPLEMENTATION_PLUGIN_ERRORELLIPSE_ERRORELLIPSE_H_ */
SeFloat32 SeFloat
Definition: Types.h:32
ErrorEllipse(SeFloat a_error, SeFloat b_error, SeFloat theta_error, SeFloat cxx_error, SeFloat cyy_error, SeFloat cxy_error)
Definition: ErrorEllipse.h:35
SeFloat getEllipseCxxError() const
Definition: ErrorEllipse.h:61
SeFloat getEllipseThetaError() const
Definition: ErrorEllipse.h:57
Base class for all Properties. (has no actual content)
Definition: Property.h:33
SeFloat getEllipseCxyError() const
Definition: ErrorEllipse.h:69
SeFloat getEllipseBError() const
Definition: ErrorEllipse.h:50
SeFloat getEllipseAError() const
Definition: ErrorEllipse.h:43
SeFloat getEllipseCyyError() const
Definition: ErrorEllipse.h:65
virtual ~ErrorEllipse()=default