Files
Work/analytic/PAIRS.HPP
2024-08-07 09:12:07 -04:00

29 lines
764 B
C++

#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