Show / Hide Table of Contents

Class Facility

A class that represents a facility.

Inheritance
System.Object
Facility
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 Facility
Remarks

Facilities represent locations that can serve as the starting point or ending point of a closest facility analysis, for example, a fire station or a hospital. The Facility class contains one of location inputs for the ClosestFacilityTask. The ClosestFacilityTask will create a route between facilities and incidents.

Constructors

Name Description
Facility(MapPoint)

Initializes a new instance of the Facility class with a point.

Properties

Name Description
CurbApproach

Gets or sets the 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.

FacilityId

Gets or sets the facility ID.

Geometry

Gets facility's point geometry.

ImpedanceCutoff

Gets or sets impedance cutoff.

LocationStatus

Gets location status.

Name

Gets or sets facility's name.

NavigationLatency

Gets or sets the navigation latency.

NavigationSpeed

Gets or sets the navigation speed in meters per second.

NetworkLocation

Gets or sets the network location.

Methods

Name Description
GetAddedCost(String)

Gets added cost.

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.