RoutePoints

data class RoutePoints(nestedList: List<List<List<Point>>>, flatList: List<Point>)

Parameters

nestedList

nested arrays of legs -> steps -> points

flatList

list of all points on the route. The first and last point of adjacent steps overlap and are duplicated in this list.

Constructors

RoutePoints
Link copied to clipboard
fun RoutePoints(nestedList: List<List<List<Point>>>, flatList: List<Point>)
nested arrays of legs -> steps -> points

Functions

component1
Link copied to clipboard
operator fun component1(): List<List<List<Point>>>
component2
Link copied to clipboard
operator fun component2(): List<Point>
copy
Link copied to clipboard
fun copy(nestedList: List<List<List<Point>>>, flatList: List<Point>): RoutePoints
equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open override fun hashCode(): Int
toString
Link copied to clipboard
open override fun toString(): String

Properties

flatList
Link copied to clipboard
val flatList: List<Point>
list of all points on the route.
nestedList
Link copied to clipboard
val nestedList: List<List<List<Point>>>
nested arrays of legs -> steps -> points