Home | History | Annotate | Download | only in range

Lines Matching refs:end

17 // A float version of Range. RangeF is made of a start and end position; when
25 // Initializes the range with a start and end.
26 constexpr RangeF(float start, float end) : start_(start), end_(end) {}
28 // Initializes the range with the same start and end positions.
43 constexpr float end() const { return end_; }
44 void set_end(float end) { end_ = end; }
49 constexpr bool is_reversed() const { return start() > end(); }
50 constexpr bool is_empty() const { return start() == end(); }
53 constexpr float GetMin() const { return start() < end() ? start() : end(); }
54 constexpr float GetMax() const { return start() > end() ? start() : end(); }
57 return start() == other.start() && end() == other.end();
84 // Floor/Ceil/Round the start and end values of the given RangeF.