Skip to content
Select language:English

Way-Fi 1.6.0

class Node(oidNode: Int, val originalId: Int, val layerId: Int, val x: Double, val y: Double, val mask: UInt, val type: UInt, val cost: Float)

Represents a node of the route

Constructors

constructor(oidNode: Int, originalId: Int, layerId: Int, x: Double, y: Double, mask: UInt, type: UInt, cost: Float)

Properties

val cost: Float

The cost of the arc leading to this node.

GThe id of the layer in which the node is present.

val mask: UInt

The mask of the arc leading to this node.

The original id (i.e. ths id in the GeoJSON file) of the node.

val type: UInt

The type of the arc leading to this node.

val x: Double

The x coordinate in the chosen CRS.

val y: Double

The y coordinate in the chosen CRS.