GeometryFunctionsDistance Method (FeaturePolygon, FeaturePoint)

PreStorm - A Data Client for ArcGIS Server REST API
Calculates the distance between two features.

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

public static double Distance(
	this Feature<Polygon> feature1,
	Feature<Point> feature2
)

Parameters

feature1
Type: PreStormFeaturePolygon
feature2
Type: PreStormFeaturePoint

Return Value

Type: Double

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type FeaturePolygon. 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