Rosetta
|
Container class for ellipse parameters. More...
#include <EllipseParameters.hh>
Public Member Functions | |
EllipseParameters () | |
Default constructor for ellipse parameters. More... | |
EllipseParameters (Real h, Real k, Real a, Real b, MathMatrix< Real > rotation) | |
@Brief Construct a set of ellipse parameters given axes, center, and rotation More... | |
EllipseParameters (EllipseParameters const &src) | |
Create a new set of ellipse parameters from an existing initialized object. More... | |
~EllipseParameters () override | |
EllipseParametersOP | clone () const |
void | add_buffer (Real major_buffer, Real minor_buffer) |
Add buffer to major & minor radius. More... | |
Real | center_h () const |
Get the x-coordinate of the ellipse center. More... | |
Real | center_k () const |
Get the y-coordinate of the ellipse center. More... | |
Real | major_radius () const |
Get the major radius length of the ellipse. More... | |
Real | minor_radius () const |
Get the minor radius length of the ellipse. More... | |
MathMatrix< Real > | rotation () const |
2D matrix defining the ellipse rotation More... | |
![]() | |
VirtualBase ()=default | |
Default constructor. More... | |
virtual | ~VirtualBase ()=default |
The virtual destructor is one of the main reasons for the VirtualBase class. More... | |
VirtualBase (VirtualBase const &)=default | |
VirtualBase (VirtualBase &&)=default | |
VirtualBase & | operator= (VirtualBase const &)=default |
VirtualBase & | operator= (VirtualBase &&)=default |
Private Attributes | |
Real | h_ |
Real | k_ |
Real | a_ |
Real | b_ |
MathMatrix< Real > | rotation_ |
Container class for ellipse parameters.
numeric::linear_algebra::EllipseParameters::EllipseParameters | ( | ) |
numeric::linear_algebra::EllipseParameters::EllipseParameters | ( | Real | h, |
Real | k, | ||
Real | a, | ||
Real | b, | ||
MathMatrix< Real > | rotation | ||
) |
@Brief Construct a set of ellipse parameters given axes, center, and rotation
numeric::linear_algebra::EllipseParameters::EllipseParameters | ( | EllipseParameters const & | src | ) |
Create a new set of ellipse parameters from an existing initialized object.
|
override |
Real numeric::linear_algebra::EllipseParameters::center_h | ( | ) | const |
Get the x-coordinate of the ellipse center.
References h_.
Real numeric::linear_algebra::EllipseParameters::center_k | ( | ) | const |
Get the y-coordinate of the ellipse center.
References k_.
EllipseParametersOP numeric::linear_algebra::EllipseParameters::clone | ( | ) | const |
References EllipseParameters().
Real numeric::linear_algebra::EllipseParameters::major_radius | ( | ) | const |
Get the major radius length of the ellipse.
References a_.
Real numeric::linear_algebra::EllipseParameters::minor_radius | ( | ) | const |
Get the minor radius length of the ellipse.
References b_.
MathMatrix< Real > numeric::linear_algebra::EllipseParameters::rotation | ( | ) | const |
2D matrix defining the ellipse rotation
References rotation_.
|
private |
Referenced by add_buffer(), and major_radius().
|
private |
Referenced by add_buffer(), and minor_radius().
|
private |
Referenced by center_h().
|
private |
Referenced by center_k().
|
private |
Referenced by EllipseParameters(), and rotation().