#include <DrawCircle.hpp>
Definition at line 24 of file DrawCircle.hpp.
Basic Constructor.
- Date
- 2014/Dec/06
- Version
- 1.0.00
- Parameters
-
radius | Radius of the circle |
color | The color of the circle. |
filled | Whether circle is filled or not. |
- Returns
- none.
- Warning
- Only availble to 2D images
template<class D >
void Bial::Circle::Draw |
( |
Image< D > & |
img | ) |
const |
Draws 2D circle in input image.
- Date
- 2014/Dec/06
- Version
- 1.0.00
- Parameters
-
- Returns
- none.
- Warning
- circle displacement (center) is set to the center of the image.
template<class D >
void Bial::Circle::Draw |
( |
Image< D > & |
img, |
|
|
const Vector< float > & |
displacement |
|
) |
| const |
Draws 2D circle in input image.
- Date
- 2014/Dec/06
- Version
- 1.0.00
- Parameters
-
img | An image. |
displacement | Center of the circle. |
- Returns
- none.
- Warning
- none.
Returns a vector with coordinates of the pixels from this Figure.
- Date
- 2015/Jul/07
- Parameters
-
- Returns
- Vector with pixels.
- Warning
- none.
Returns a vector with coordinates of the pixels from this figure.
- Date
- 2015/Jul/07
- Parameters
-
displacement | Displacement from low coordinate of the figure. |
- Returns
- Vector with pixels.
- Warning
- none.
Plot 8 pixels based on calculated displacement.
- Date
- 2014/Dec/06
- Version
- 1.0.00
- Parameters
-
img | An image. |
displacement | Center of the circle. |
dx | horizontal displacement of the pixel |
dy | vertical displacement of the pixel |
- Returns
- none.
- Warning
- none.
template<class O >
void Bial::Circle::Print |
( |
O & |
os | ) |
const |
Prints circle information to stream.
- Date
- 2014/Dec/06
- Version
- 1.0.00
- Parameters
-
- Returns
- none.
- Warning
- none.
Vector< float > Bial::Circle::center |
bool Bial::Circle::filled |
float Bial::Circle::radius |
The documentation for this class was generated from the following file: