示例#1
0
        /// <summary>
        /// Border:英寸转化为毫米
        /// </summary>
        /// <param name="border"></param>
        /// <returns></returns>
        public static CBorder CBorderFeetToMM(CBorder border)
        {
            CPoint3d spoint = CPoint3dFeetToMM(border.GetPointBegin());
            CPoint3d epoint = CPoint3dFeetToMM(border.GetPointEnd());

            return(new CBorder(spoint, epoint, border.GetBulge()));
        }
示例#2
0
 /// <summary>
 /// 坐标点:英寸转化为毫米
 /// </summary>
 /// <param name="temPt"></param>
 /// <returns></returns>
 public static CBorder FeetToMM(CBorder temPt)
 {
     return(new CBorder(CPoint3dFeetToMM(temPt.GetPointBegin()), CPoint3dFeetToMM(temPt.GetPointEnd()), temPt.GetBulge()));
 }