Segment

class Segment(val start: RoutePoint, val end: RoutePoint)

Represents a line between two RoutePoint.

Parameters

start

The starting RoutePoint of the line segment.

end

The end RoutePoint of the line segment.

Constructors

Link copied to clipboard
constructor(start: RoutePoint, end: RoutePoint)

Functions

Link copied to clipboard
fun intermediatePoint(distanceAlongSegment: <Error class: unknown class>): <Error class: unknown class>

Calculates intermediate point of segment.

Properties

Link copied to clipboard
Link copied to clipboard
val length: <Error class: unknown class>

The length of this segment.

Link copied to clipboard
val routeOffset: <Error class: unknown class>

The offset of this segment from the start of the route.

Link copied to clipboard