SourceXtractorPlusPlus  0.14
Please provide a description of the project.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
EllipticalAperture.h
Go to the documentation of this file.
1 
17 /*
18  * EllipticalAperture.h
19  *
20  * Created on: Oct 08, 2018
21  * Author: Alejandro Alvarez
22  */
23 
24 #ifndef _SEFRAMEWORK_SEFRAMEWORK_APERTURE_ELLIPTICALAPERTURE_H
25 #define _SEFRAMEWORK_SEFRAMEWORK_APERTURE_ELLIPTICALAPERTURE_H
26 
27 #include "Aperture.h"
28 
29 namespace SourceXtractor {
30 
31 class EllipticalAperture : public Aperture {
32 public:
33  virtual ~EllipticalAperture() = default;
34 
35  EllipticalAperture(SeFloat cxx, SeFloat cyy, SeFloat cxy, SeFloat rad_max);
36 
37  SeFloat getArea(SeFloat center_x, SeFloat center_y, SeFloat pixel_x, SeFloat pixel_y) const override;
38 
39  PixelCoordinate getMinPixel(SeFloat centroid_x, SeFloat centroid_y) const override;
40 
41  PixelCoordinate getMaxPixel(SeFloat centroid_x, SeFloat centroid_y) const override;
42 
43  SeFloat getRadiusSquared(SeFloat center_x, SeFloat center_y, SeFloat pixel_x, SeFloat pixel_y) const override;
44 
45 private:
50 };
51 
52 } // end SourceXtractor
53 
54 #endif // _SEFRAMEWORK_SEFRAMEWORK_APERTURE_ELLIPTICALAPERTURE_H
SeFloat32 SeFloat
Definition: Types.h:32
EllipticalAperture(SeFloat cxx, SeFloat cyy, SeFloat cxy, SeFloat rad_max)
SeFloat getArea(SeFloat center_x, SeFloat center_y, SeFloat pixel_x, SeFloat pixel_y) const override
PixelCoordinate getMaxPixel(SeFloat centroid_x, SeFloat centroid_y) const override
A pixel coordinate made of two integers m_x and m_y.
PixelCoordinate getMinPixel(SeFloat centroid_x, SeFloat centroid_y) const override
virtual ~EllipticalAperture()=default
SeFloat getRadiusSquared(SeFloat center_x, SeFloat center_y, SeFloat pixel_x, SeFloat pixel_y) const override