Skip to content

CloudRoutingTimeCostMatrixResult

Namespace: ThinkGeo.Core

A class that represents the result of CostMatrix.

public class CloudRoutingTimeCostMatrixResult

Inheritance object → CloudRoutingTimeCostMatrixResult

Properties

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>

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[,]

Constructors

CloudRoutingTimeCostMatrixResult()

public CloudRoutingTimeCostMatrixResult()