Table of Contents

Class EdgeRuleBuilder

Namespace
SpatialNET.Network
Assembly
SpatialNET.Network.dll

The start of an edge rule (SpatialNET.Network.NetworkRule.ForEdges(System.String,SpatialNET.Network.TypeSet)): which ends, and what to count. Immutable.

public sealed class EdgeRuleBuilder

Inheritance

Inherited Members

Methods

AtEndsWhereNode(TypeSet)

Checks only the ends whose node type is in types.

public EdgeRuleBuilder AtEndsWhereNode(TypeSet types)

Parameters

types TypeSet

Returns

EdgeRuleBuilder

Exceptions

ArgumentNullException

types is null.

AtEndsWhereNodeIsNot(TypeSet)

Checks only the ends whose node type is not in types.

public EdgeRuleBuilder AtEndsWhereNodeIsNot(TypeSet types)

Parameters

types TypeSet

Returns

EdgeRuleBuilder

Exceptions

ArgumentNullException

types is null.

CountOtherEdges(TypeSet)

Counts the other edges at the end whose type is in types; the edge itself never counts.

public RuleCountBuilder CountOtherEdges(TypeSet types)

Parameters

types TypeSet

Returns

RuleCountBuilder

Exceptions

ArgumentNullException

types is null.