Table of Contents

Struct CoincidentNode<TNodeId, TSource>

Namespace
SpatialNET.Network
Assembly
SpatialNET.Network.dll

A real node of the host in a group of real nodes within the tolerance of each other (ADR 0054).

public readonly record struct CoincidentNode<TNodeId, TSource> : IEquatable<CoincidentNode<TNodeId, TSource>> where TNodeId : notnull, IEquatable<TNodeId>

Type Parameters

TNodeId
TSource

Implements

Inherited Members

Constructors

CoincidentNode(TNodeId, int, Coordinate, TSource)

A real node of the host in a group of real nodes within the tolerance of each other (ADR 0054).

public CoincidentNode(TNodeId Id, int TypeId, Coordinate Location, TSource Source)

Parameters

Id TNodeId

The node id.

TypeId int

The node type.

Location Coordinate

Where the point lies.

Source TSource

The host's reference to the point.

Properties

Id

The node id.

public TNodeId Id { get; init; }

Property Value

TNodeId

Location

Where the point lies.

public Coordinate Location { get; init; }

Property Value

Coordinate

Source

The host's reference to the point.

public TSource Source { get; init; }

Property Value

TSource

TypeId

The node type.

public int TypeId { get; init; }

Property Value

int