|
Enrollment 28.2.0
|
It holds circle dimensions. More...
#include <ImageAttribute.h>
Public Member Functions | |
| void | WriteTo (Writer &writer) const final |
| Write itself into writer. | |
| Rectangle | BoundingRectangle () const |
| It provides bounding rectangle for circle. | |
| Circle (Point centerPoint, Radius circleRadius) | |
| Constructor store given coordinates. | |
Static Public Member Functions | |
| static Circle | CreateInscribedCircle (const Rectangle &rect) |
| Creates the largest circle that fits entirely within a given rectangle. | |
Public Attributes | |
| Point | center |
| top left | |
| Radius | radius = 0 |
| top right | |
It holds circle dimensions.
Constructor store given coordinates.
| centerPoint | center of circle |
| circleRadius | radius of circle |
References center, and radius.
Referenced by CreateInscribedCircle().
|
inlinenodiscard |
Creates the largest circle that fits entirely within a given rectangle.
| rect | The rectangle from which to create the inner circle. |
References Rectangle::CalculateCenter(), center, Circle(), Rectangle::GetHeight(), Rectangle::GetWidth(), and radius.
Referenced by Iris::GetISO19794IrisImage().
|
inlinefinalvirtual |
Write itself into writer.
| writer | Writer to use to serialize this Serializable |
Implements Serializable.