Table of Contents

Class CloudRoutingTimeCostMatrixResult

Namespace
ThinkGeo.Core
Assembly
ThinkGeo.Core.dll

A class that represents the result of CostMatrix.

[Obfuscation(Exclude = true)]
public class CloudRoutingTimeCostMatrixResult
Inheritance
CloudRoutingTimeCostMatrixResult
Inherited Members

Constructors

CloudRoutingTimeCostMatrixResult()

public CloudRoutingTimeCostMatrixResult()

Properties

Destinations

An array of waypoints, following the sequence of the supplied destination coordinates. Each waypoint is a destination coordinate snapped to the road network.

public Collection<CloudRoutingWaypoint> Destinations { get; set; }

Property Value

Collection<CloudRoutingWaypoint>

Durations

An array of arrays that represents the matrix in row-major order.
For example, durations[i][j] represents the travel time from the ith source to the jth target. All the values are expressed in the requested DurationUnit. "-1" for N/A cases.

public TimeSpan[,] Durations { get; set; }

Property Value

TimeSpan[,]

Origins

An array of waypoints, following the sequence of the supplied origin coordinates. Each waypoint is an origin coordinate snapped to the road network.

public Collection<CloudRoutingWaypoint> Origins { get; set; }

Property Value

Collection<CloudRoutingWaypoint>