SourceXtractorPlusPlus  0.12
Please provide a description of the project.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
MeasurementFramePixelCentroid.h
Go to the documentation of this file.
1 
23 #ifndef _SEIMPLEMENTATION_PROPERTY_MEASUREMENTFRAMEPIXELCENTROID_H
24 #define _SEIMPLEMENTATION_PROPERTY_MEASUREMENTFRAMEPIXELCENTROID_H
25 
26 #include "SEUtils/Types.h"
28 
29 namespace SourceXtractor {
30 
32 public:
33 
37  virtual ~MeasurementFramePixelCentroid() = default;
38 
39  MeasurementFramePixelCentroid(SeFloat centroid_x, SeFloat centroid_y) : m_centroid_x(centroid_x), m_centroid_y(centroid_y) {}
40 
43  return m_centroid_x;
44  }
45 
48  return m_centroid_y;
49  }
50 
51 private:
53 
54 };
55 
56 } /* namespace SourceXtractor */
57 
58 
59 #endif
SeFloat getCentroidY() const
Y coordinate of centroid.
SeFloat32 SeFloat
Definition: Types.h:32
virtual ~MeasurementFramePixelCentroid()=default
Destructor.
Base class for all Properties. (has no actual content)
Definition: Property.h:33
MeasurementFramePixelCentroid(SeFloat centroid_x, SeFloat centroid_y)
SeFloat getCentroidX() const
X coordinate of centroid.