SourceXtractorPlusPlus  0.10
Please provide a description of the project.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ShapeParameters.h
Go to the documentation of this file.
1 
17 /*
18  * ShapeParameters.h
19  *
20  * Created on: Jan 27, 2017
21  * Author: mschefer
22  */
23 
24 #ifndef _SEIMPLEMENTATION_PLUGIN_SHAPEPARAMETERS_SHAPEPARAMETERS_H_
25 #define _SEIMPLEMENTATION_PLUGIN_SHAPEPARAMETERS_SHAPEPARAMETERS_H_
26 
27 #include "SEUtils/Types.h"
29 
30 namespace SourceXtractor {
31 
32 class ShapeParameters : public Property {
33 public:
34 
35  ShapeParameters(SeFloat a, SeFloat b, SeFloat theta, SeFloat abcor, SeFloat cxx, SeFloat cyy, SeFloat cxy, SeFloat area)
36  : m_a(a), m_b(b), m_theta(theta), m_abcor(abcor), m_cxx(cxx), m_cyy(cyy), m_cxy(cxy), m_area(area) {}
37 
38  virtual ~ShapeParameters() = default;
39 
43  SeFloat getEllipseA() const {
44  return m_a;
45  }
46 
50  SeFloat getEllipseB() const {
51  return m_b;
52  }
53 
58  return m_theta;
59  }
60 
68  return m_cxx;
69  }
70 
78  return m_cyy;
79  }
80 
88  return m_cxy;
89  }
90 
91  SeFloat getAbcor() const {
92  return m_abcor;
93  }
94 
95  SeFloat getArea() const {
96  return m_area;
97  }
98 
99 private:
100  SeFloat m_a, m_b, m_theta; // Ellipse semi-major axis, semi-minor axis, and angle
104 
105 };
106 
107 }
108 
109 
110 
111 #endif /* _SEIMPLEMENTATION_PLUGIN_SHAPEPARAMETERS_SHAPEPARAMETERS_H_ */
ShapeParameters(SeFloat a, SeFloat b, SeFloat theta, SeFloat abcor, SeFloat cxx, SeFloat cyy, SeFloat cxy, SeFloat area)
SeFloat32 SeFloat
Definition: Types.h:32
Base class for all Properties. (has no actual content)
Definition: Property.h:33
virtual ~ShapeParameters()=default