2D circle.
More...
#include <Circle2D.h>
2D circle.
Definition at line 25 of file Circle2D.h.
◆ Circle2D()
Circle2D |
( |
double | x, |
|
|
double | y, |
|
|
double | radius ) |
Constructor.
- Parameters
-
[in] | x | Center X coordinate. |
[in] | y | Center Y coordinate. |
[in] | radius | Radius. |
Definition at line 14 of file Circle2D.cc.
14 :
15 m_Center(x, y, 0),
16 m_Radius(radius)
17{
18}
◆ ~Circle2D()
◆ getCenter()
Get center.
Definition at line 45 of file Circle2D.h.
46 {
47 return m_Center;
48 }
◆ getRadius()
double getRadius |
( |
| ) |
const |
|
inline |
Get radius.
Definition at line 53 of file Circle2D.h.
54 {
55 return m_Radius;
56 }
◆ m_Center
◆ m_Radius
The documentation for this class was generated from the following files: