예제 #1
0
        public Envelope Intersection(Envelope otherEnv)
        {
            Geometry a            = this.GetGeometry();
            Geometry b            = otherEnv.GetGeometry();
            Geometry intersection = a.Intersection(b);

            if (intersection == null)
            {
                return(null);
            }
            else
            {
                Envelope e = new Envelope();
                intersection.GetEnvelope(e);
                return(e);
            }
        }