Click or drag to resize

GeometryEngineRelate Method

Compares the spatial relationship of two geometries. Can compare Interior, Boundary and Exterior of two geometries based on a DE-9IM encoded string. This must be 9 characters long and contain combinations only of these characters: TF*012

Namespace:  Esri.ArcGISRuntime.Geometry
Assembly:  Esri.ArcGISRuntime (in Esri.ArcGISRuntime.dll) Version: 100.9.0
Syntax
public static bool Relate(
	Geometry geometry1,
	Geometry geometry2,
	string relation
)

Parameters

geometry1
Type: Esri.ArcGISRuntime.GeometryGeometry
The geometry that will be compared to geometry2 for relation
geometry2
Type: Esri.ArcGISRuntime.GeometryGeometry
The geometry that will be compared to geometry1 for relation
relation
Type: SystemString
The DE-9IM encoded string.

Return Value

Type: Boolean
Returns true if the relationship criteria is met otherwise returns false.
See Also