SuperMap.WindowsPhone.Core.GeoLineClip.IsWithin C# (CSharp) Méthode

IsWithin() private static méthode

private static IsWithin ( Point2D p, Rectangle2D e ) : bool
p Point2D
e Rectangle2D
Résultat 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));
        }
    }