Show / Hide Table of Contents

Class Incident

A class that represents an incident.

Inheritance
System.Object
Incident
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
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

TargetVersions
.NET Standard 2.0100.3 - 200.8
.NET100.13 - 200.8
.NET Windows100.13 - 200.8
.NET Android200.0 - 200.8
.NET iOS200.0 - 200.8
.NET Framework100.1 - 200.8
Xamarin.Android100.1 - 100.15
Xamarin.iOS100.1 - 100.15
UWP100.1 - 200.8
In This Article
Back to top Copyright © 2022 Esri.