The Circle class. Models a common circle.
More...
#include <circle.h>
The Circle class. Models a common circle.
◆ Circle() [1/2]
| bitrl::utils::geom::Circle::Circle |
( |
real_t |
r | ) |
|
|
inlineexplicit |
Construct a circle centerd at the origin.
◆ Circle() [2/2]
Construct a circle given its radius and center.
◆ area()
| real_t bitrl::utils::geom::Circle::area |
( |
| ) |
const |
|
inline |
◆ center()
| GeomPoint< 2 > bitrl::utils::geom::Circle::center |
( |
| ) |
const |
|
inlinenoexcept |
Returns the center of the circle.
◆ is_inside() [1/2]
Returns true if the given point lies inside the circle.
◆ is_inside() [2/2]
Returns true if the given spatial point (x, y) lies within the circle.
◆ radius()
| real_t bitrl::utils::geom::Circle::radius |
( |
| ) |
const |
|
inlinenoexcept |
Returns the radius of the circle.
The documentation for this class was generated from the following file:
- libs/bitrl/src/bitrl/utils/geometry/shapes/circle.h