SourceXtractorPlusPlus  0.11
Please provide a description of the project.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
WorldCentroid.h
Go to the documentation of this file.
1 
17 /*
18  * WorldCentroid.h
19  *
20  * Created on: Nov 21, 2016
21  * Author: mschefer
22  */
23 
24 #ifndef _SEIMPLEMENTATION_PLUGIN_WORLDCENTROID_WORLDCENTROID_H_
25 #define _SEIMPLEMENTATION_PLUGIN_WORLDCENTROID_WORLDCENTROID_H_
26 
27 #include "SEUtils/Types.h"
29 
30 namespace SourceXtractor {
31 
32 class WorldCentroid : public Property {
33 public:
34 
35  virtual ~WorldCentroid() = default;
36 
37  WorldCentroid(SeFloat centroid_alpha, SeFloat centroid_delta)
38  : m_centroid_alpha(centroid_alpha), m_centroid_delta(centroid_delta) {}
39 
41  return m_centroid_alpha;
42  }
43 
45  return m_centroid_delta;
46  }
47 
48 private:
50 
51 };
52 
53 }
54 
55 #endif
SeFloat32 SeFloat
Definition: Types.h:32
WorldCentroid(SeFloat centroid_alpha, SeFloat centroid_delta)
Definition: WorldCentroid.h:37
Base class for all Properties. (has no actual content)
Definition: Property.h:33
SeFloat getCentroidAlpha() const
Definition: WorldCentroid.h:40
SeFloat getCentroidDelta() const
Definition: WorldCentroid.h:44
virtual ~WorldCentroid()=default