ForkPoint

class ForkPoint(val forkingRouteId: RouteId, val location: GeoPoint, val index: Int)

Represents information about a fork point.

A fork point is a location on a route where another route diverges from its path. The two routes follow the same path up until their fork point.

Constructors

Link copied to clipboard
constructor(forkingRouteId: RouteId, location: GeoPoint, index: Int)

Properties

Link copied to clipboard

Forking route ID.

Link copied to clipboard
val index: Int

Index in the current route's route points list that marks the location of the fork point.

Link copied to clipboard

Location of the fork point.

Functions

Link copied to clipboard
operator fun component1(): RouteId
Link copied to clipboard
operator fun component2(): GeoPoint
Link copied to clipboard
operator fun component3(): Int
Link copied to clipboard
fun copy(forkingRouteId: RouteId = this.forkingRouteId, location: GeoPoint = this.location, index: Int = this.index): ForkPoint
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String