FastLED 3.9.15
Loading...
Searching...
No Matches
fl::rect< T > Struct Template Reference

Detailed Description

template<typename T>
struct fl::rect< T >

Definition at line 436 of file geometry.h.

#include <geometry.h>

+ Inheritance diagram for fl::rect< T >:

Public Member Functions

 rect () FL_NOEXCEPT=default
 
 rect (const rect &other) FL_NOEXCEPT=default
 
 rect (const vec2< T > &min, const vec2< T > &max) FL_NOEXCEPT
 
 rect (rect &&other) noexcept=default
 
 rect (T min_x, T min_y, T max_x, T max_y) FL_NOEXCEPT
 
bool contains (const T &x, const T &y) const FL_NOEXCEPT
 
bool contains (const vec2< T > &p) const FL_NOEXCEPT
 
bool empty () const FL_NOEXCEPT
 
void expand (const rect &r) FL_NOEXCEPT
 
void expand (const vec2< T > &p) FL_NOEXCEPT
 
void expand (T x, T y) FL_NOEXCEPT
 
u16 height () const FL_NOEXCEPT
 
bool operator!= (const rect &r) const FL_NOEXCEPT
 
template<typename U>
bool operator!= (const rect< U > &r) const FL_NOEXCEPT
 
rectoperator= (const rect &other)=default
 
rectoperator= (rect &&other) noexcept=default
 
bool operator== (const rect &r) const FL_NOEXCEPT
 
template<typename U>
bool operator== (const rect< U > &r) const FL_NOEXCEPT
 
u16 width () const FL_NOEXCEPT
 

Public Attributes

vec2< T > mMax
 
vec2< T > mMin
 

The documentation for this struct was generated from the following file: