Initial
This commit is contained in:
28
analytic/PAIRS.HPP
Normal file
28
analytic/PAIRS.HPP
Normal file
@@ -0,0 +1,28 @@
|
||||
#ifndef _ANALYTIC_FLOATPAIRS_HPP_
|
||||
#define _ANALYTIC_FLOATPAIRS_HPP_
|
||||
#ifndef _COMMON_WINDOWS_HPP_
|
||||
#include <common/windows.hpp>
|
||||
#endif
|
||||
|
||||
class FloatPairs
|
||||
{
|
||||
public:
|
||||
FloatPairs(void);
|
||||
FloatPairs(const FloatPairs &someFloatPairs);
|
||||
FloatPairs(double column,double row);
|
||||
virtual ~FloatPairs();
|
||||
FloatPairs &operator=(const FloatPairs &someFloatPairs);
|
||||
BOOL operator==(const FloatPairs &someFloatPair)const;
|
||||
double column(void)const;
|
||||
void column(double newColumn);
|
||||
double row(void)const;
|
||||
void row(double newRow);
|
||||
void setPairs(double newColumn,double newRow);
|
||||
void setPairs(int newColumn,int newRow);
|
||||
static int fpmax(int firstVal,int secondVal);
|
||||
static int fpmin(int firstVal,int secondVal);
|
||||
private:
|
||||
double mColumn;
|
||||
double mRow;
|
||||
};
|
||||
#endif
|
||||
Reference in New Issue
Block a user