Table of Contents

Class WayPathDetails

Namespace
Geotab.Checkmate.ObjectModel
Assembly
Geotab.Checkmate.ObjectModel.dll

A list of way segments and details.

public class WayPathDetails
Inheritance
WayPathDetails
Inherited Members

Constructors

WayPathDetails()

Initializes a new instance of the WayPathDetails class. The empty constructor.

public WayPathDetails()

WayPathDetails(double[], Way?[])

Initializes a new instance of the WayPathDetails class. The constructor.

public WayPathDetails(double[] indexRatios, Way?[] waySegments)

Parameters

indexRatios double[]

The array of ratios that represent the ratio of distance changes between two coordinate indexes where a change in the way segment happened.

waySegments Way[]

The array of way segment values for each index ratio element in indexRatios array.

Properties

IndexRatios

Gets or sets the array of ratios that represent the ratio of distance changes between two coordinate indexes where a change in the way segment happened. For example, if the speed limit changes halfway in between point2 and point3, we would return and index of 2.5.

public double[] IndexRatios { get; set; }

Property Value

double[]

The array of distance ratios.

WaySegments

Gets or sets the array of way segment values for each index ratio.

public Way?[] WaySegments { get; set; }

Property Value

Way[]

The array of speed limit change values.