Table of Contents

Class Waypoint

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

A set of coordinates that reference a location.

public class Waypoint
Inheritance
Waypoint
Inherited Members

Constructors

Waypoint()

Initializes a new instance of the Waypoint class.

public Waypoint()

Waypoint(Coordinate)

Initializes a new instance of the Waypoint class.

public Waypoint(Coordinate coordinate)

Parameters

coordinate Coordinate

The coordinate.

Waypoint(Coordinate, int)

Initializes a new instance of the Waypoint class.

public Waypoint(Coordinate coordinate, int sequence)

Parameters

coordinate Coordinate

The coordinate.

sequence int

The sequence number.

Waypoint(Coordinate, int?, string)

Initializes a new instance of the Waypoint class.

public Waypoint(Coordinate coordinate, int? sequence, string description)

Parameters

coordinate Coordinate

The coordinate.

sequence int?

The sequence number.

description string

The description.

Properties

Coordinate

Gets or sets the Coordinate.

public Coordinate? Coordinate { get; set; }

Property Value

Coordinate

Coordinate

Description

Gets or sets the waypoint description.

public string? Description { get; set; }

Property Value

string

string

Sequence

Gets or sets the sequence number.

public int? Sequence { get; set; }

Property Value

int?

int

Methods

Equals(object?)

Determines whether the specified object, is equal to this instance.

public override bool Equals(object? obj)

Parameters

obj object

The object to compare with this instance.

Returns

bool

true if the specified object is equal to this instance; otherwise, false.

GetHashCode()

public override int GetHashCode()

Returns

int