|
| | Circle () noexcept |
| |
| | Circle (const T &x, const T &y, const float size, const uint numSegments=300) |
| |
| | Circle (const Point< T > &pos, const float size, const uint numSegments=300) |
| |
| | Circle (const Circle< T > &cir) noexcept |
| |
| const T & | getX () const noexcept |
| |
| const T & | getY () const noexcept |
| |
| const Point< T > & | getPos () const noexcept |
| |
| void | setX (const T &x) noexcept |
| |
| void | setY (const T &y) noexcept |
| |
| void | setPos (const T &x, const T &y) noexcept |
| |
| void | setPos (const Point< T > &pos) noexcept |
| |
| float | getSize () const noexcept |
| |
| void | setSize (const float size) noexcept |
| |
| uint | getNumSegments () const noexcept |
| |
| void | setNumSegments (const uint num) |
| |
| void | draw () |
| |
| void | drawOutline () |
| |
|
Circle< T > & | operator= (const Circle< T > &cir) noexcept |
| |
|
bool | operator== (const Circle< T > &cir) const noexcept |
| |
|
bool | operator!= (const Circle< T > &cir) const noexcept |
| |
template<typename T>
class Circle< T >
DGL Circle class.
This class describes a circle, defined by position, size and a minimum of 3 segments.
TODO: report if circle starts at top-left, bottom-right or center. and size grows from which point?