/// <summary>
        /// 获取选中点
        /// </summary>
        /// <param name="TransIfHasComp">如果选中在一个零件上,是否变化到零件内部</param>
        /// <returns></returns>
        public IMathPoint GetSelecPoint(bool TransIfHasComp)
        {
            double[] point = _selecMgr.GetSelectionPoint2(Index, Mark);
            var      vec   = new Vector3(point).ToSwMathPoint();

            if (TransIfHasComp)
            {
                var comp = GetSelecComp();
                if (comp != null)
                {
                    return(vec.MultiplyTransform(comp.Transform2.Inverse()));
                }
            }
            return(vec);
        }