Circle class for visualization.
More...
#include <Circle2.h>
|
CLASS_DECLSPEC friend std::ostream & | operator<< (std::ostream &stream, Circle2 b) |
|
Represents a circle used for visualization purposes. This class is primarily intended for graphical representation.
- See also
- Visualizer2
◆ Circle2() [1/2]
CLASS_DECLSPEC GEOM_FADE2D::Circle2::Circle2 |
( |
double |
x, |
|
|
double |
y, |
|
|
double |
sqRadius_ |
|
) |
| |
- Parameters
-
x | x-coordinate of the center |
y | y-coordinate of the center |
sqRadius_ | squared radius of the circle |
◆ Circle2() [2/2]
CLASS_DECLSPEC GEOM_FADE2D::Circle2::Circle2 |
( |
const Point2 & |
center_, |
|
|
double |
sqRadius_ |
|
) |
| |
- Parameters
-
center_ | center of the circle |
sqRadius_ | squared radius of the circle |
◆ getCenter()
CLASS_DECLSPEC Point2 GEOM_FADE2D::Circle2::getCenter |
( |
| ) |
|
- Returns
- the center as a Point2 object
◆ getRadius()
CLASS_DECLSPEC double GEOM_FADE2D::Circle2::getRadius |
( |
| ) |
|
◆ getSqRadius()
CLASS_DECLSPEC double GEOM_FADE2D::Circle2::getSqRadius |
( |
| ) |
|
- Returns
- the squared radius
The documentation for this class was generated from the following file: