#include <hikogui/geometry/circle.hpp>
|
|
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 |
|
|
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.
◆ align
Align a rectangle within another rectangle.
- Parameters
-
| haystack | The outside rectangle |
| needle | The circle to align into the rectangle. |
| alignment | How the inside circle should be aligned. |
- Returns
- The needle circle repositioned and aligned inside the haystack.
The documentation for this class was generated from the following file: