/// <summary>Создаём MPolygonLoopCollection из Geometry.TPolygon</summary>
        /// <param name="wPoly"> Geometry.TPolygon </param>
        /// <returns> MPolygonLoopCollection </returns>
        public MPolygonLoopCollection ConvertPolygon(Geometry.TPolygon wPoly)
        {
            var res = new MPolygonLoopCollection();

            wPoly.Rings.ForEach(wl => res.Add(ConvertLineString(wl)));
            return(res);
        }
        /// <summary>Создаём MPolygon из Geometry.TPolygon</summary>
        /// <param name="wp"> Geometry.TPolygon </param>
        /// <returns> MPolygon </returns>
        public MPolygon MakePolygon(Geometry.TPolygon wp)
        {
            var mpoly      = new MPolygon();
            var acPolyColl = ConvertPolygon(wp);

            foreach (MPolygonLoop loop in acPolyColl)
            {
                mpoly.AppendMPolygonLoop(loop, false, 0);
            }
            mpoly.PatternScale = 50;
            mpoly.PatternSpace = 50;
            mpoly.SetPattern(HatchPatternType.PreDefined, "ANSI37");
            return(mpoly);
        }