g4tools  5.4.0
Public Member Functions | Protected Attributes | List of all members
tools::spline::base_poly Class Reference
Inheritance diagram for tools::spline::base_poly:
Inheritance graph
[legend]

Public Member Functions

 base_poly ()
 
 base_poly (double x, double y)
 
virtual ~base_poly ()
 
 base_poly (base_poly const &a_from)
 
base_polyoperator= (base_poly const &a_from)
 
const double & X () const
 
const double & Y () const
 
double & X ()
 
double & Y ()
 

Protected Attributes

double fX
 
double fY
 

Detailed Description

Definition at line 18 of file spline.

Constructor & Destructor Documentation

◆ base_poly() [1/3]

tools::spline::base_poly::base_poly ( )
inline

Definition at line 20 of file spline.

20 :fX(0),fY(0) {}

◆ base_poly() [2/3]

tools::spline::base_poly::base_poly ( double  x,
double  y 
)
inline

Definition at line 21 of file spline.

21 :fX(x),fY(y) {}

◆ ~base_poly()

virtual tools::spline::base_poly::~base_poly ( )
inlinevirtual

Definition at line 22 of file spline.

22 {}

◆ base_poly() [3/3]

tools::spline::base_poly::base_poly ( base_poly const &  a_from)
inline

Definition at line 24 of file spline.

24 :fX(a_from.fX),fY(a_from.fY) {}

Member Function Documentation

◆ operator=()

base_poly& tools::spline::base_poly::operator= ( base_poly const &  a_from)
inline

Definition at line 25 of file spline.

25  {
26  if(this==&a_from) return *this;
27  fX = a_from.fX;
28  fY = a_from.fY;
29  return *this;
30  }

◆ X() [1/2]

double& tools::spline::base_poly::X ( )
inline

Definition at line 34 of file spline.

34 {return fX;}

◆ X() [2/2]

const double& tools::spline::base_poly::X ( ) const
inline

Definition at line 32 of file spline.

32 {return fX;}

◆ Y() [1/2]

double& tools::spline::base_poly::Y ( )
inline

Definition at line 35 of file spline.

35 {return fY;}

◆ Y() [2/2]

const double& tools::spline::base_poly::Y ( ) const
inline

Definition at line 33 of file spline.

33 {return fY;}

Member Data Documentation

◆ fX

double tools::spline::base_poly::fX
protected

Definition at line 37 of file spline.

◆ fY

double tools::spline::base_poly::fY
protected

Definition at line 38 of file spline.


The documentation for this class was generated from the following file:
tools::spline::base_poly::fX
double fX
Definition: spline:37
tools::spline::base_poly::fY
double fY
Definition: spline:38