FenceEnterExitSpatialRelationship enum
The spatial relationship that determines when a fence has been entered or exited.
When determining whether a feed entity has entered or exited a fence polygon, there are two spatial operations that can be used:
- Intersects: the feed geometry must intersect the fence polygon.
- Contains: the feed geometry must be contained by the fence polygon.
These operations determine whether a fence polygon has been entered, and also when it has been exited (the feed geometry no longer intersects or is no longer contained by the fence polygon). Because the contains condition is more strict than intersects (a geometry can intersect another geometry without being contained by it) it tends to result in fewer notifications when the two geometries are nearby. By using different combinations of these rules for enter and exit, you can control the likelihood that notifications will be sent.
Note that when the feed geometry is an ArcGISPoint, there is no difference between intersection and containment, so both options behave the same. When using a LocationGeotriggerFeed, set FenceGeotrigger.feedAccuracyMode to FenceGeotriggerFeedAccuracyMode.useGeometryWithAccuracy in order to create a polygon geometry that accounts for the area of uncertainty around an ArcGISLocation.position.
Values
- enterIntersectsAndExitDoesNotIntersect → const FenceEnterExitSpatialRelationship
-
The fence polygon is entered when it intersects a GeotriggerFeed entity and exited when it no longer intersects.
This option tends to increase the number of notifications as an entity approaches a fence polygon. Use this option when you want to receive all possible notifications - for example, when you want to be warned that you are approaching a hazard.
This option has no effect unless the feed entity geometry is a Polygon. Set FenceGeotrigger.feedAccuracyMode to FenceGeotriggerFeedAccuracyMode.useGeometryWithAccuracy to create a polygon geometry that accounts for the area of uncertainty around an ArcGISLocation.position.
- enterContainsAndExitDoesNotContain → const FenceEnterExitSpatialRelationship
-
The fence polygon is entered when it contains the entity from a GeotriggerFeed and exited when the entity is no longer contained.
This option limits notifications to when the entity is fully within the fence polygon. Use this option to be certain you are within a given fence
- for example when carrying out work within a specific land parcel.
This option has no effect unless the feed entity geometry is a Polygon. Set FenceGeotrigger.feedAccuracyMode to FenceGeotriggerFeedAccuracyMode.useGeometryWithAccuracy to create a polygon geometry that accounts for the area of uncertainty around an ArcGISLocation.position.
- enterContainsAndExitDoesNotIntersect → const FenceEnterExitSpatialRelationship
-
The fence polygon is entered when it contains a GeotriggerFeed entity and exited when it no longer intersects.
This option tends to minimize the number of notifications. The entity must be fully within the fence polygon to enter and must be fully outside to exit. This combination reduces the number of spurious notifications that occur as you move around the border of a fence. Use this option when you want to limit notifications - for example, when driving past properties on your way to a delivery address.
This option has no effect unless the feed entity geometry is a Polygon. Set FenceGeotrigger.feedAccuracyMode to FenceGeotriggerFeedAccuracyMode.useGeometryWithAccuracy in order to create a polygon geometry that accounts for the area of uncertainty around an ArcGISLocation.position.
Properties
- coreValue → RT_FenceEnterExitSpatialRelationship
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
values
→ const List<
FenceEnterExitSpatialRelationship> - A constant List of the values in this enum, in order of their declaration.