Rect

Undocumented in source.

Constructors

this
this(T width, T height)
Undocumented in source.
this
this(vectp min, vectp max)
Undocumented in source.

Members

Aliases

vectp
alias vectp = Vector!(T, 2)
Undocumented in source.

Functions

Area
T Area()
Undocumented in source. Be warned that the author may not have intended to support it.
Dx
T Dx()
Undocumented in source. Be warned that the author may not have intended to support it.
Dy
T Dy()
Undocumented in source. Be warned that the author may not have intended to support it.
Empty
bool Empty()
Undocumented in source. Be warned that the author may not have intended to support it.
In
bool In(Rect s)
Undocumented in source. Be warned that the author may not have intended to support it.
add
void add(vectp v)
Undocumented in source. Be warned that the author may not have intended to support it.

Static functions

Contains
bool Contains(Rect!T aabb, Rect!T other)
Undocumented in source. Be warned that the author may not have intended to support it.
Intersects
bool Intersects(Rect!T a, Rect!T b)
Undocumented in source. Be warned that the author may not have intended to support it.
Merge
Rect!T Merge(Rect!T a, Rect!T b)
Undocumented in source. Be warned that the author may not have intended to support it.
MergedArea
T MergedArea(Rect!T a, Rect!T b)
Undocumented in source. Be warned that the author may not have intended to support it.
Proximity
T Proximity(Rect!T a, Rect!T b)
Undocumented in source. Be warned that the author may not have intended to support it.
abs
T abs(T v)
Undocumented in source. Be warned that the author may not have intended to support it.
maxv
vectp maxv(vectp v1, vectp v2)
Undocumented in source. Be warned that the author may not have intended to support it.
maxv
T maxv(T v1, T v2)
Undocumented in source. Be warned that the author may not have intended to support it.
minv
T minv(T v1, T v2)
Undocumented in source. Be warned that the author may not have intended to support it.
minv
vectp minv(vectp v1, vectp v2)
Undocumented in source. Be warned that the author may not have intended to support it.

Static variables

Zero
Rect Zero;
Undocumented in source.

Variables

max
vectp max;
Undocumented in source.
min
vectp min;
Undocumented in source.

Meta