Table of Contents

Namespace SpatialNET.Network.Building

Classes

BuildResult

The result of a build.

LineAttributes

The attributes of a line that the builder copies to its edges (ADR 0050).

NetworkBuildException

Thrown by SpatialNET.Network.Building.NetworkBuilder`3.Build(SpatialNET.Network.INetworkWriter{`0,`1,`2},System.IProgress{SpatialNET.Network.Building.BuildProgress},System.Threading.CancellationToken) before the first write when the input cannot form a network; lists all conflicts at once (ADR 0050).

NetworkBuildOptions

The options of a SpatialNET.Network.Building.NetworkBuilder`3 (ADR 0050).

NetworkBuilder<TNodeId, TEdgeId, TSource>

Builds a network from the host's points and lines (ADR 0050): joins every line end and point within the tolerance into one node, splits lines at real nodes and T junctions (and, if asked, at crossings), assigns shards from polygons and writes all nodes, then all edges, to a writer. The geometry is not changed; no vertex moves.

NetworkPathGeometry

Draws the ways of a network on the map from the source lines of their edges (ADR 0050).

ShardRegion

A polygon of the host that gives the nodes in it a shard, usually a local network (ADR 0050).

Structs

BuildDiagnostic

A note about the input that did not stop the build.

BuildProgress

How far a build is: Done of Total items in the Phase.

EdgeShape

Where an edge lies on its source line: the line and the range of the edge on it (ADR 0050).

NodeConflict

One conflict in the input.

Interfaces

INetworkIdFactory<TNodeId, TEdgeId, TSource>

Gives ids to everything the builder creates, implemented by the host (ADR 0050). Ids that follow from their arguments stay the same between builds, which acknowledged errors and comparisons between nights depend on.

Enums

BuildDiagnosticKind

What a SpatialNET.Network.Building.BuildDiagnostic reports.

BuildPhase

The phases of a build, in order (ADR 0050).

NodeConflictKind

Why the input cannot form a network.

Delegates

CoincidentNodesResolver<TNodeId, TSource>

Decides about a group of real nodes within the tolerance of each other (ADR 0054): returns the index of the node that stays, the others are merged into it, or -1 for a SpatialNET.Network.Building.NodeConflictKind.RealNodesTooClose conflict.