Public Member Functions | |
Ellipse () | |
For STL use only. | |
Ellipse (float cxin, float cyin, float ain, float bin, float phiin) | |
Construct with parameters (center, semi-major axes, orientation). | |
bool | contains (float x, float y) |
Does this ellipse contain this point? Points exactly on the boundary are considered inside. | |
float | getCenterX () const |
float | getCenterY () const |
float | getRadiusX () const |
float | getRadiusY () const |
float | getOrientation () const |
Static Public Member Functions | |
static Ellipse | fitRegion (float cx, float cy, float s11, float s12, float s22) |
pass in centers and variances. |
w2img::Ellipse::Ellipse | ( | ) | [inline] |
For STL use only.
w2img::Ellipse::Ellipse | ( | float | cxin, | |
float | cyin, | |||
float | ain, | |||
float | bin, | |||
float | phiin | |||
) | [inline] |
Construct with parameters (center, semi-major axes, orientation).
bool w2img::Ellipse::contains | ( | float | x, | |
float | y | |||
) |
Does this ellipse contain this point? Points exactly on the boundary are considered inside.
static Ellipse w2img::Ellipse::fitRegion | ( | float | cx, | |
float | cy, | |||
float | s11, | |||
float | s12, | |||
float | s22 | |||
) | [static] |
float w2img::Ellipse::getCenterX | ( | ) | const [inline] |
float w2img::Ellipse::getCenterY | ( | ) | const [inline] |
float w2img::Ellipse::getOrientation | ( | ) | const [inline] |
float w2img::Ellipse::getRadiusX | ( | ) | const [inline] |
float w2img::Ellipse::getRadiusY | ( | ) | const [inline] |