Ejemplo n.º 1
0
 //设置捕捉环境
 public static void StartSnappingEnv()
 {
     if (m_bStartSnap)
     {
         m_SnappingEnv = DataEditCommon.GetSnapEnvironment(m_hookHelper, snappingType);
         if (m_SnappingEnv != null)
         {
             m_Snapper          = m_SnappingEnv.PointSnapper;
             m_SnappingFeedback = new SnappingFeedbackClass();
             m_SnappingFeedback.Initialize(m_hookHelper.Hook, m_SnappingEnv);
         }
     }
 }