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
TNodeIdTSource
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
IdTNodeId-
The node id.
TypeIdint-
The node type.
LocationCoordinate-
Where the point lies.
SourceTSource-
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
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; }