Table of Contents

Class ShardRegion

Namespace
SpatialNET.Network.Building
Assembly
SpatialNET.Network.Building.dll

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

public sealed record ShardRegion : IEquatable<ShardRegion>

Inheritance

Implements

Inherited Members

Constructors

ShardRegion(IPolygon2D, long, TypeSet?)

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

public ShardRegion(IPolygon2D Area, long ShardId, TypeSet? AppliesTo = null)

Parameters

Area IPolygon2D

The polygon; its boundary counts as inside.

ShardId long

The shard.

AppliesTo TypeSet?

The types the region applies to, node and edge types; null for every node. A real node matches by its type, a helper node by the types of its edges.

Properties

AppliesTo

The types the region applies to, node and edge types; null for every node. A real node matches by its type, a helper node by the types of its edges.

public TypeSet? AppliesTo { get; init; }

Property Value

TypeSet?

Area

The polygon; its boundary counts as inside.

public IPolygon2D Area { get; init; }

Property Value

IPolygon2D

ShardId

The shard.

public long ShardId { get; init; }

Property Value

long