private IHookHelper mHookHelper = new HookHelperClass();
private IMap mMap;
private IActiveView mActiveView;
private INewRectangleFeedback mRectangleFeedback;
private IPoint mStartPoint = null;
private IPoint mSecondPoint = null;
private IPoint mTempSecondPoint = null; //Move时存储的第二个节点的临时点
private IPoint mTempLastPoint = null; //Move时存储的第三个节点的临时点
private IPointCollection mPointCollection;
private IFeatureLayer mCurrentLayer;
private System.Windows.Forms.Cursor mCursor = null;
private GetCursorAssist mGetCursor = new GetCursorAssist();
private bool mIsPan = false;
private bool mFiexdLength = true;
private IGeometry mResultGeo = null;
public override void OnCreate(object hook)
{
mHookHelper.Hook = hook;
mActiveView = mHookHelper.ActiveView;
mMap = mHookHelper.FocusMap;
mCurrentLayer = ServiceLocatorFactory.S
C#+AE利用Tool画矩形
最新推荐文章于 2021-03-25 10:27:35 发布