A generic circle class for geometry calculations. More...
#include <circle.h>
Collaboration diagram for Mezzanine::Circle:Public Member Functions | |
| Circle () | |
| Class constructor. | |
| Circle (const Vector2 &CircleCenter, const Real CircleRadius) | |
| Descriptive constructor. More... | |
| Circle (const Vector2 &Point1, const Vector2 &Point2, const Vector2 &Point3) | |
| Vector constructor. More... | |
| ~Circle () | |
| Class destructor. | |
| Boole | IsInside (const Vector2 &Point) const |
| Gets whether or not a point is inside this circle. More... | |
Public Attributes | |
| Vector2 | Center |
| The center point of the circle. | |
| Real | Radius |
| The radius of the circle. | |
Descriptive constructor.
| CircleCenter | The center point of the circle. |
| CircleRadius | The radius of the circle. |
Definition at line 54 of file circle.cpp.
| Mezzanine::Circle::Circle | ( | const Vector2 & | Point1, |
| const Vector2 & | Point2, | ||
| const Vector2 & | Point3 | ||
| ) |
Vector constructor.
| Point1 | The first point determining the circles bounds. |
| Point2 | The second point determining the circles bounds. |
| Point3 | The third point determining the circles bounds. |
Definition at line 59 of file circle.cpp.
Gets whether or not a point is inside this circle.
| Point | The point to check against this circle. |
Definition at line 88 of file circle.cpp.
1.8.9.1. Thanks to the
Open Icon Library
for help with some of the icons.