Point

Point on a 2D plane.

Members

Functions

dist
auto dist()
Undocumented in source. Be warned that the author may not have intended to support it.
dist2
auto dist2()
Undocumented in source. Be warned that the author may not have intended to support it.
getCenter
Point!T getCenter()
Undocumented in source. Be warned that the author may not have intended to support it.
opBinary
Point!T opBinary(Point!T other)
Undocumented in source. Be warned that the author may not have intended to support it.
translate
void translate(T dx, T dy)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

x
T x;
y
T y;

The coordinates.

Meta