Пример #1
0
 public static Point[] ToPointArray(PointFP[] pnts)
 {
     Point[] result = new Point[pnts.Length];
     for (int i = 0; i < pnts.Length; i++)
     {
         result[i] = ToPoint(pnts[i]);
     }
     return result;
 }
Пример #2
0
 public static PointFP ToPointFP(Point pnt)
 {
     return new PointFP(SingleFP.FromInt(pnt.X), SingleFP.FromInt(pnt.Y));
 }