You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
nmWATI/Include/nmNum/nmCalculation/nmCalculationGeoDataWell.h

33 lines
969 B
C++

#ifndef NMCALCULATIONGEODATAWELL_H
#define NMCALCULATIONGEODATAWELL_H
#include <QString>
#include <QVector>
#include <QPointF>
class nmCalculationGeoDataWell
{
public:
// 默认构造函数
nmCalculationGeoDataWell();
// 带参数构造函数
nmCalculationGeoDataWell(const QPointF& center, double radius, int roundPointCount);
// 拷贝构造函数
nmCalculationGeoDataWell(const nmCalculationGeoDataWell& other);
// 重载赋值运算符
nmCalculationGeoDataWell& operator=(const nmCalculationGeoDataWell& other);
QPointF center() const;
void setCenter(QPointF newCenter);
double radius() const;
void setRadius(double newDRadius);
int roundPointCount() const;
void setRoundPointCount(int newIRoundPointCount);
public:
QPointF m_center; // 圆心位置
double m_dRadius; // 半径
int m_iRoundPointCount; // 圆周网格数量,用于加密
};
#endif // NMCALCULATIONGEODATAWELL_H