SuperMap.WindowsPhone.Core.GeoRegionClip.GeoRegionClip C# (CSharp) Method

GeoRegionClip() private method

private GeoRegionClip ( Rectangle2D clipBox )
clipBox Rectangle2D
        internal GeoRegionClip(Rectangle2D clipBox)
        {
            this.boundary = clipBox;
            this.Edges = new Edge[] 
            {   
                new Edge { IsHorisontal = false, IsLeft = true, Value = this.boundary.Left },
                new Edge { IsHorisontal = false, IsLeft = false, Value = this.boundary.Right },
                new Edge { IsHorisontal = true, IsLeft = true, Value = this.boundary.Bottom }, 
                new Edge { IsHorisontal = true, IsLeft = false, Value = this.boundary.Top }
            };
        }