9 #ifndef GlobeEngine_FeatureRange_h
10 #define GlobeEngine_FeatureRange_h
12 #include "OpenGL_Includes.h"
25 this->range[0] = _start;
26 this->range[1] = _end;
30 this->range[0] = copy.range[0];
31 this->range[1] = copy.range[1];
36 return this->range[0] == other.range[0] && this->range[1] == other.range[1];
40 return range[1] - range[0];
43 void setStart(
unsigned int _start) { this->range[0] = _start; }
45 void setEnd(
unsigned int _end) { this->range[1] = _end; };
Definition: ClusterGrid.h:17
FeatureRangeTemplate(const std::shared_ptr< FeatureRangeTemplate > copy)
Definition: FeatureRange.h:29
bool operator==(const FeatureRangeTemplate &other) const
Definition: FeatureRange.h:35
Definition: FeatureRange.h:16
FeatureRangeTemplate()
Definition: FeatureRange.h:19
void setStart(unsigned int _start)
Definition: FeatureRange.h:43
FeatureRangeTemplate(int _start, int _end)
Definition: FeatureRange.h:24
FeatureRangeTemplate< unsigned int > FeatureRange
Definition: FeatureRange.h:52
T getEnd()
Definition: FeatureRange.h:46
void setEnd(unsigned int _end)
Definition: FeatureRange.h:45
T getStart()
Definition: FeatureRange.h:44
T getAbsoluteDistance()
Definition: FeatureRange.h:39