NearestPointOnLineResult

data class NearestPointOnLineResult(val point: Position, val distance: Double, val location: Double, val index: Int)

Result values from nearestPointOnLine.

Constructors

Link copied to clipboard
constructor(point: Position, distance: Double, location: Double, index: Int)

Properties

Link copied to clipboard

Distance between the input position and point

Link copied to clipboard
val index: Int

Index of the segment of the line on which point lies.

Link copied to clipboard

Distance along the line from the stat to the point

Link copied to clipboard

The point on the line nearest to the input position