BornAgain  1.19.79
Open-source research software to simulate and fit neutron and x-ray reflectometry and grazing-incidence small-angle scattering
ROOT::Minuit2::MnParabolaPoint Class Reference

Description

A point of a parabola.

????!!!! in reality it is just a general point in two dimensional space, there is nothing that would indicate, that it belongs to a parabola. This class defines simpy an (x,y) pair!!!!

Author
Fred James and Matthias Winkler; comments added by Andras Zsenei and Lorenzo Moneta
Todo:
Should it be called MnParabolaPoint or just Point?

Definition at line 39 of file MnParabolaPoint.h.

Public Member Functions

 MnParabolaPoint (double x, double y)
 
 ~MnParabolaPoint ()
 
double X () const
 
double Y () const
 

Private Attributes

double fX
 
double fY
 

Constructor & Destructor Documentation

◆ MnParabolaPoint()

ROOT::Minuit2::MnParabolaPoint::MnParabolaPoint ( double  x,
double  y 
)
inline

Initializes the point with its coordinates.

Parameters
xthe x (first) coordinate of the point.
ythe y (second) coordinate of the point.

Definition at line 53 of file MnParabolaPoint.h.

◆ ~MnParabolaPoint()

ROOT::Minuit2::MnParabolaPoint::~MnParabolaPoint ( )
inline

Definition at line 55 of file MnParabolaPoint.h.

55 {}

Member Function Documentation

◆ X()

double ROOT::Minuit2::MnParabolaPoint::X ( ) const
inline

Accessor to the x (first) coordinate.

Returns
the x (first) coordinate of the point.

Definition at line 66 of file MnParabolaPoint.h.

66 {return fX;}

References fX.

◆ Y()

double ROOT::Minuit2::MnParabolaPoint::Y ( ) const
inline

Accessor to the y (second) coordinate.

Returns
the y (second) coordinate of the point.

Definition at line 77 of file MnParabolaPoint.h.

77 {return fY;}

References fY.

Member Data Documentation

◆ fX

double ROOT::Minuit2::MnParabolaPoint::fX
private

Definition at line 81 of file MnParabolaPoint.h.

Referenced by X().

◆ fY

double ROOT::Minuit2::MnParabolaPoint::fY
private

Definition at line 82 of file MnParabolaPoint.h.

Referenced by Y().


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