Table of Contents

Class LineAttributes

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

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

public sealed record LineAttributes : IEquatable<LineAttributes>

Inheritance

Implements

Inherited Members

Constructors

LineAttributes(EdgeDirection, bool, double?, IReadOnlyList<EdgeWeight>?)

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

public LineAttributes(EdgeDirection Direction = EdgeDirection.Both, bool Disabled = false, double? Length = null, IReadOnlyList<EdgeWeight>? Weights = null)

Parameters

Direction EdgeDirection

The direction relative to the digitizing direction of the line.

Disabled bool

The normal switching state of the line.

Length double?

A surveyed length; split among the parts in proportion to their geometric length. null for the geometric length.

Weights IReadOnlyList<EdgeWeight>?

The values of weights; copied to every part, values of kind SpatialNET.Network.WeightKind.Absolute split in proportion to length.

Properties

Direction

The direction relative to the digitizing direction of the line.

public EdgeDirection Direction { get; init; }

Property Value

EdgeDirection

Disabled

The normal switching state of the line.

public bool Disabled { get; init; }

Property Value

bool

Length

A surveyed length; split among the parts in proportion to their geometric length. null for the geometric length.

public double? Length { get; init; }

Property Value

double?

Weights

The values of weights; copied to every part, values of kind SpatialNET.Network.WeightKind.Absolute split in proportion to length.

public IReadOnlyList<EdgeWeight>? Weights { get; init; }

Property Value

IReadOnlyList<EdgeWeight>?