29 : val_(v), pos_(p), count_(cnt) {}
31 {
return pos_ == spd.
pos_; }
73 {
return (*((*
this)[isect]))[ipart]; }
75 {
return (*((*
this)[isect]))[ipart]; }
79 {
return ((*
this)[isect])->size(); }
80 inline float angle(
int isect,
int bound=0)
const;
81 inline float angle(
int isect,
Angle::Type,
int bound=0)
const;
83 int sector(
float ang)
const;
94 const float angstep = fullc /
size();
96 return centerang + bound * angstep * .5f;
102 float ang =
angle( isect, bound );
117 const float fsect =
size() * (usrang / 360);
119 if ( sect >=
size() ) sect = 0;
126 for (
int isect=0; isect<nrsect; isect++ )
130 for (
int ipart=0; ipart<nrparts; ipart++ )
A circle of data.
Definition: statdirdata.h:53
bool operator==(const ArrayNDInfo &a1, const ArrayNDInfo &a2)
Definition: arrayndinfo.h:51
float val_
actual angle or a value of interest
Definition: statdirdata.h:34
Setup setup_
Definition: statdirdata.h:86
Interval< float > usrposrg_
Definition: statdirdata.h:65
int count_
nr data pts contributing (for confidence)
Definition: statdirdata.h:35
Angle::Type angletype_
Definition: statdirdata.h:67
size_type size() const
Definition: objectset.h:48
#define mNINT32(x)
Definition: commondefs.h:48
Set of (small) copyable elements.
Definition: commontypes.h:26
const SectorPartData & getPartData(int isect, int ipart) const
Definition: statdirdata.h:74
SectorPartData & getPartData(int isect, int ipart)
Definition: statdirdata.h:72
float angle0_
Definition: statdirdata.h:66
Part of a data sector.
Definition: statdirdata.h:24
Definition: statdirdata.h:57
Type
Definition: angles.h:25
void getFullCircle(Type typ, T &t)
Definition: angles.h:32
T convert(Type inptyp, T val, Type outtyp)
Definition: angles.h:74
TypeSet< SectorPartData > SectorData
Definition: statdirdata.h:40
Setup()
Definition: statdirdata.h:60
Statistics.
Definition: array2dinterpol.h:27
int nrParts(int isect) const
Definition: statdirdata.h:78
DirectionalData(int nrsectors=0, int nrparts=0)
Definition: statdirdata.h:124
float pos_
0=center 1=on circle = maximum value
Definition: statdirdata.h:33
#define mClass(module)
Definition: commondefs.h:161
SectorPartData(float v=0, float p=0.5, int cnt=0)
Definition: statdirdata.h:28
int sector(float ang) const
Definition: statdirdata.h:113
ObjectSet where the objects contained are owned by this set.
Definition: manobjectset.h:49
float angle(int isect, int bound=0) const
Definition: statdirdata.h:91
int nrSectors() const
Definition: statdirdata.h:76