GeometryFunctionsWithin Method (Polygon, Polygon)

PreStorm - A Data Client for ArcGIS Server REST API
Determines if the polygon is inside the other polygon.

Namespace:  PreStorm
Assembly:  PreStorm (in PreStorm.dll) Version: 1.8.19.0 (1.8.19.0)
Syntax

public static bool Within(
	this Polygon polygon1,
	Polygon polygon2
)

Parameters

polygon1
Type: PreStormPolygon
polygon2
Type: PreStormPolygon

Return Value

Type: Boolean

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Polygon. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also

Reference