2026-10-04 00:04:20 +08:00
|
|
|
#ifndef _SNAPSPRINKERJIG_H__
|
2026-09-28 15:28:50 +08:00
|
|
|
#define _SNAPSPRINKERJIG_H__
|
|
|
|
|
|
|
|
|
|
#include "SprinklerByLineDlg.h"
|
|
|
|
|
#include "XDbOsnapPoint.h"
|
|
|
|
|
|
|
|
|
|
class CSnapSprinklerPreview;
|
|
|
|
|
class TSnapSprinkerJig: public TSprinklerJig
|
|
|
|
|
{
|
|
|
|
|
public:
|
|
|
|
|
|
2026-10-04 00:04:20 +08:00
|
|
|
TSnapSprinkerJig(CSprinkIsometryDlg *dlg, XPoint pt1, double nXDist, double nYDist); //等距喷头
|
|
|
|
|
TSnapSprinkerJig(CSprinklerByLineDlg *dlg, XPoint pt1); //直线喷头
|
|
|
|
|
TSnapSprinkerJig(CSprinklerByRectDlg *dlg, XPoint pt1); //矩形喷头
|
|
|
|
|
TSnapSprinkerJig(CSprinklerByFreeDlg *dlg, XPoint pt1); //任意喷头
|
|
|
|
|
TSnapSprinkerJig(CSprinklerBySectionDlg *dlg, XPoint pt1, XPoint pt2, XPoint pt3); //扇形喷头
|
|
|
|
|
TSnapSprinkerJig(CSprinklerByArcDlg *dlg, XPoint pt1, XPoint pt2); //弧形喷头
|
2026-09-28 15:28:50 +08:00
|
|
|
virtual DragStatus sampler();
|
|
|
|
|
|
|
|
|
|
protected:
|
|
|
|
|
|
|
|
|
|
virtual AcDbEntity* entity() const;
|
|
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
|
|
|
|
|
XDbOsnapPoint *m_pOsnapPoint;
|
|
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
#endif
|