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

equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Indicates whether some other object is "equal to" this one.
hashCode
Link copied to clipboard
open override fun hashCode(): Int
Returns a hash code value for the object.
toString
Link copied to clipboard
open override fun toString(): String
Returns a string representation of the object.

Properties

id
Link copied to clipboard
val id: Long
unique identifier of the edge.
innerEdgeIds
Link copied to clipboard
val innerEdgeIds: List<Long>
the identifiers of edges in the subgraph from which the user could transition to this edge.
length
Link copied to clipboard
val length: Double
the length of the edge measured in meters.
outerEdgeIds
Link copied to clipboard
val outerEdgeIds: List<Long>
the identifiers of edges in the subgraph to which the user could transition from this edge.
shape
Link copied to clipboard
val shape: Geometry
the edge shape geometry.