|
HikoGUI
A low latency retained GUI
|
#include <hikogui/geometry/circle.hpp>
Public Types | |
| using | array_type = f32x4 |
Public Member Functions | |
| constexpr | circle (circle const &other) noexcept=default |
| constexpr | circle (circle &&other) noexcept=default |
| constexpr circle & | operator= (circle const &other) noexcept=default |
| constexpr circle & | operator= (circle &&other) noexcept=default |
| constexpr | circle (f32x4 v) noexcept |
| constexpr | operator f32x4 () const noexcept |
| constexpr | circle (point3 point, float radius) noexcept |
| constexpr | circle (float radius) noexcept |
| constexpr | circle (aarectangle square) noexcept |
| constexpr bool | empty () const noexcept |
| operator bool () const noexcept | |
| constexpr float | radius () const noexcept |
| constexpr float | diameter () const noexcept |
| constexpr point3 | center () const noexcept |
Friends | |
| constexpr friend circle | operator+ (circle const &lhs, float rhs) noexcept |
| constexpr friend circle | operator- (circle const &lhs, float rhs) noexcept |
| constexpr friend circle | operator* (circle const &lhs, float rhs) noexcept |
| constexpr friend point3 | midpoint (circle const &rhs) noexcept |
| constexpr friend aarectangle | bounding_rectangle (circle const &rhs) noexcept |
| constexpr circle | align (aarectangle haystack, circle needle, alignment alignment) noexcept |
| Align a rectangle within another rectangle. | |
A type defining a 2D circle.
|
friend |
Align a rectangle within another rectangle.
| haystack | The outside rectangle |
| needle | The circle to align into the rectangle. |
| alignment | How the inside circle should be aligned. |