Circle for visualization.
More...
#include <Circle2.h>
|
std::ostream & | operator<< (std::ostream &stream, Circle2 b) |
|
Circle for visualization.
- See also
- Visualizer2
◆ Circle2() [1/2]
GEOM_FADE25D::Circle2::Circle2 |
( |
double |
x, |
|
|
double |
y, |
|
|
double |
sqRadius_ |
|
) |
| |
Constructor.
- Parameters
-
x | is x-coordinate of the center |
y | is y-coordinate of the center |
sqRadius_ | is the squared radius of the circle |
- Warning
- The method expects the squared radius
◆ Circle2() [2/2]
GEOM_FADE25D::Circle2::Circle2 |
( |
const Point2 & |
center_, |
|
|
double |
sqRadius_ |
|
) |
| |
Constructor.
- Parameters
-
center_ | center of the circle |
sqRadius_ | squared radius of the circle |
- Warning
- The method expects the squared radius
◆ getCenter()
Point2 GEOM_FADE25D::Circle2::getCenter |
( |
| ) |
|
Get the center of the circle.
- Returns
- a Point2 which represents the center
◆ getRadius()
double GEOM_FADE25D::Circle2::getRadius |
( |
| ) |
|
Get the radius of the circle.
- Returns
- the radius
◆ getSqRadius()
double GEOM_FADE25D::Circle2::getSqRadius |
( |
| ) |
|
Get the squared radius of the circle.
- Returns
- the squared radius
The documentation for this class was generated from the following file: