scatter 0.1.0
scatter::Ellipse Class Reference

[brief description] More...

#include <Ellipse.hpp>

Public Member Functions

 Ellipse (const Point &center, const double &minor, const double &major, const double &rotation)
 constructor
 
virtual ~Ellipse ()
 destructor
 
const PointgetCenter () const
 return the center Point
 
const double & getMinor () const
 return the length of the minor axis
 
const double & getMajor () const
 return the length of the major axis
 
const double & getRotation () const
 return the angle between the major and the horizontal axis (in rad)
 

Detailed Description

[brief description]

[long description]

Constructor & Destructor Documentation

◆ Ellipse()

scatter::Ellipse::Ellipse ( const Point & center,
const double & minor,
const double & major,
const double & rotation )

constructor

[long description]

Parameters
centercenter Point
minorlength of the minor axis
majorlength of the major axis
rotationangle between the major and the horizontal axis (in rad)

◆ ~Ellipse()

virtual scatter::Ellipse::~Ellipse ( )
virtual

destructor

[long description]

Member Function Documentation

◆ getCenter()

const Point & scatter::Ellipse::getCenter ( ) const

return the center Point

[long description]

Returns
center

◆ getMajor()

const double & scatter::Ellipse::getMajor ( ) const

return the length of the major axis

[long description]

Returns
length of the major axis

◆ getMinor()

const double & scatter::Ellipse::getMinor ( ) const

return the length of the minor axis

[long description]

Returns
length of the minor axis

◆ getRotation()

const double & scatter::Ellipse::getRotation ( ) const

return the angle between the major and the horizontal axis (in rad)

[long description]

Returns
angle between the major and the horizontal axis (in rad)

The documentation for this class was generated from the following file: