ae v0.0.2177 (2018-04-10T20:33:51Z)
Home
Dub
Repo
Shape
ae
utils
geometry
Undocumented in source.
struct
Shape (
T
) {
ShapeKind
kind
;
union
__anonymous
;
this
(Point!T point);
this
(Rect!T rect);
this
(Circle!T circle);
auto
opDispatch
(T args);
}
Constructors
this
this
(Point!T point)
Undocumented in source.
this
this
(Rect!T rect)
Undocumented in source.
this
this
(Circle!T circle)
Undocumented in source.
Members
Functions
opDispatch
auto
opDispatch
(T args)
Undocumented in source. Be warned that the author may not have intended to support it.
Unions
__anonymous
union
__anonymous
Undocumented in source.
Variables
kind
ShapeKind
kind
;
Undocumented in source.
Meta
Source
See Implementation
ae
utils
geometry
enums
ShapeKind
functions
circle
dist
dist2
intersects
point
rect
shape
sqrtx
manifest constants
TAU
structs
Circle
Point
Rect
Shape