SuperMap.WindowsPhone.Core.GeoLineClip.IsWithin C# (CSharp) Method

IsWithin() private static method

private static IsWithin ( Point2D p, Rectangle2D e ) : bool
p Point2D
e Rectangle2D
return bool
        private static bool IsWithin(Point2D p, Rectangle2D e)
        {
            return ((((p.X >= e.Left) && (p.Y >= e.Bottom)) && (p.X <= e.Right)) && (p.Y <= e.Top));
        }
    }