Class Incident
A class that represents an incident.
Inheritance
Namespace: Esri.ArcGISRuntime.Tasks.NetworkAnalysis
Assembly: Esri.ArcGISRuntime.dll
Syntax
public sealed class Incident
Remarks
Incidents also represent locations that can serve as the starting point or ending point of a closest facility analysis, for example, a fire or a traffic accident. The Incident class contains one of location inputs for the ClosestFacilityTask. The ClosestFacilityTask will create a route between facilities and incidents. You need to pass this handle to all Incident functions.
Constructors
Name | Description |
---|---|
Incident(MapPoint) | Initializes a new instance of the Incident class. |
Properties
Name | Description |
---|---|
CurbApproach | Gets or sets curb approach. |
CurrentBearing | Gets or sets the current bearing in degrees. |
CurrentBearingTolerance | Gets or sets the current bearing tolerance in degrees. Valid values are 0 to 180 or System.Double.NaN. |
DistanceToNetworkLocation | Gets distance to network location in meters. |
Geometry | Gets incident's point geometry. |
ImpedanceCutoff | Gets or sets impedance cutoff. |
IncidentId | Gets or sets the incident ID. |
LocationStatus | Gets location status. |
Name | Gets or sets incident's name. |
NavigationLatency | Gets or sets the navigation latency. |
NavigationSpeed | Gets or sets the navigation speed in meters per second. |
NetworkLocation | Gets or sets network location. |
TargetFacilityCount | Gets or sets target facility count. |
Methods
Name | Description |
---|---|
GetAddedCost(String) | Gets added cost attribute value. |
SetAddedCost(String, Double) | Sets added cost. |
Applies to
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.1 - 200.5 |
Xamarin.Android | 100.1 - 100.15 |
Xamarin.iOS | 100.1 - 100.15 |
UWP | 100.1 - 200.5 |