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 226 of file geometry.h.

#include <geometry.h>

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

Public Member Functions

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

Public Attributes

vec2< T > mMax
 
vec2< T > mMin
 

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