Incident class final

A class that represents an incident.

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.

Implemented types

Constructors

Incident.new(ArcGISPoint point)
Creates an incident instance with point.
factory

Properties

curbApproach ↔ CurbApproach
Curb approach.
getter/setter pair
currentBearing ↔ double
Current bearing in degrees.
getter/setter pair
currentBearingTolerance ↔ double
Current bearing tolerance in degrees. Valid values are 0 to 180 or NaN.
getter/setter pair
distanceToNetworkLocation → double
Distance to network location in meters.
no setter
geometry → ArcGISPoint?
Incident's point geometry.
no setter
hashCode → int
The hash code for this object.
no setterinherited
impedanceCutoff ↔ double
Impedance cutoff.
getter/setter pair
incidentId ↔ int
Incident ID.
getter/setter pair
locationStatus → LocationStatus
Location status.
no setter
name ↔ String
Incident's name.
getter/setter pair
Navigation latency in seconds.
getter/setter pair
Navigation speed in meters per second.
getter/setter pair
networkLocation ↔ NetworkLocation?
Network location.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
targetFacilityCount ↔ int
Target facility count.
getter/setter pair

Methods

clone() → Incident
Clones the Incident.
getAddedCost({required String attributeName}) → double
Gets added cost attribute value.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setAddedCost({required String attributeName, required double addedCost}) → void
Sets added cost.
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited