Show All |
Public Member Functions
-
Area ()
-
Area (const ivec2 &UL, const ivec2 &LR)
-
Area (int32_t aX1, int32_t aY1, int32_t aX2, int32_t aY2)
-
Area (const RectT< float > &r)
-
voidset (int32_t aX1, int32_t aY1, int32_t aX2, int32_t aY2)
-
int32_tgetWidth () const
-
int32_tgetHeight () const
-
ivec2getSize () const
-
vec2getCenter () const
-
int32_tcalcArea () const
-
voidclipBy (const Area &clip)
-
getClipBy (const Area &clip) const
-
int32_tgetX1 () const
-
voidsetX1 (int32_t aX1)
-
int32_tgetY1 () const
-
voidsetY1 (int32_t aY1)
-
int32_tgetX2 () const
-
voidsetX2 (int32_t aX2)
-
int32_tgetY2 () const
-
voidsetY2 (int32_t aY2)
-
ivec2getUL () const
-
ivec2getLR () const
-
boolcontains (const ivec2 &offset) const
-
boolcontains (const glm::tvec2< T, glm::defaultp > &offset) const
-
boolintersects (const Area &area) const
-
floatdistance (const vec2 &pt) const
-
floatdistance (const dvec2 &pt) const
-
floatdistance (const ivec2 &pt) const
-
floatdistanceSquared (const vec2 &pt) const
-
floatdistanceSquared (const dvec2 &pt) const
-
floatdistanceSquared (const ivec2 &pt) const
-
vec2closestPoint (const vec2 &pt) const
-
ivec2closestPoint (const ivec2 &pt) const
-
dvec2closestPoint (const dvec2 &pt) const
-
booloperator== (const Area &rhs) const
-
booloperator!= (const Area &rhs) const
-
booloperator< (const Area &aArea) const
-
const Areaoperator+ (const ivec2 &o) const
-
const Areaoperator- (const ivec2 &o) const
-
const Areaoperator+ (const Area &rhs) const
-
const Areaoperator- (const Area &rhs) const
-
Area &operator+= (const ivec2 &o)
-
Area &operator-= (const ivec2 &o)