Property EnterExitSpatialRelationship
EnterExitSpatialRelationship
Gets or sets the spatial relationship that determines whether a fence polygon has been entered or exited.
Declaration
public FenceEnterExitSpatialRelationship EnterExitSpatialRelationship { get; set; }
Property Value
Type | Description |
---|---|
FenceEnterExitSpatialRelationship | The spatial relationship that determines whether a fence polygon has been entered or exited. |
Remarks
When determining whether a feed entity has entered or exited a fence polygon, there are two spatial operations that can be used:
- Intersects, where the geometry of the feed must intersect the fence polygon.
- Contains, where the geometry of the feed must be contained by the fence polygon.
Note that when the feed geometry is a MapPoint there is no difference between intersection and containment so these options will not affect behavior. When using a LocationGeotriggerFeed, set FeedAccuracyMode to UseGeometryWithAccuracy in order to create a polygon geometry that accounts for the area of uncertainty around a Position.
The default value is EnterIntersectsAndExitDoesNotIntersect.
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.13 - 100.15 |
.NET 6.0 | 100.13 - 100.15 |
.NET 6.0 Windows | 100.13 - 100.15 |
.NET Framework | 100.13 - 100.15 |
Xamarin.Android | 100.13 - 100.15 |
Xamarin.iOS | 100.13 - 100.15 |
UWP | 100.13 - 100.15 |