SubgraphEdge

class SubgraphEdge

SubgraphEdge represents an edge in the complex object which might be considered as a directed graph. The graph might contain loops. innerEdgeIds and outerEdgeIds properties contain edge ids, which allows to traverse the graph, obtain geometry and calculate different distances inside it.

Parameters

id

unique identifier of the edge.

innerEdgeIds

the identifiers of edges in the subgraph from which the user could transition to this edge.

outerEdgeIds

the identifiers of edges in the subgraph to which the user could transition from this edge.

shape

the edge shape geometry.

length

the length of the edge measured in meters.

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean

Indicates whether some other object is "equal to" this one.

Link copied to clipboard
open override fun hashCode(): Int

Returns a hash code value for the object.

Link copied to clipboard
open override fun toString(): String

Returns a string representation of the object.

Properties

Link copied to clipboard
val id: Long
Link copied to clipboard
val innerEdgeIds: List<Long>
Link copied to clipboard
val length: Double
Link copied to clipboard
val outerEdgeIds: List<Long>
Link copied to clipboard
val shape: Geometry