Method Relate
Relate(Geometry, Geometry, String)
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
Declaration
public static bool Relate(this Geometry geometry1, Geometry geometry2, string relation)
Parameters
Type | Name | Description |
---|---|---|
Geometry | geometry1 | The geometry that will be compared to geometry2 for relation |
Geometry | geometry2 | The geometry that will be compared to geometry1 for relation |
System.String | relation | The DE-9IM encoded string. |
Returns
Type | Description |
---|---|
System.Boolean | Returns |
Remarks
Supports true curves.
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.5 |
.NET | 100.13 - 200.5 |
.NET Windows | 100.13 - 200.5 |
.NET Android | 200.0 - 200.5 |
.NET iOS | 200.0 - 200.5 |
.NET Framework | 100.0 - 200.5 |
Xamarin.Android | 100.0 - 100.15 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 200.5 |