Table of Contents

Class RapidCutRangeTable

Namespace
Hi.MachiningProcs
Assembly
HiMech.dll

Internal Use Only. The step ranges of the rapid lines the RapidCutMonitor reported (RapidCutRanges): in step order, disjoint, each the line's first through last touching step. Written by the fold's one writer (the range is written into the array, then published by the count; a full array is copied into a larger one, published first) and read by any thread without a lock (the count, then the array).

public sealed class RapidCutRangeTable
Inheritance
RapidCutRangeTable
Inherited Members
Extension Methods

Properties

Count

The ranges recorded so far.

public int Count { get; }

Property Value

int

Methods

Contains(int)

Whether a step lies in a recorded range: a binary search over the ranges' first steps.

public bool Contains(int stepIndex)

Parameters

stepIndex int

The step.

Returns

bool

Get(int)

One range, by index in step order.

public RapidCutRangeTable.Range Get(int index)

Parameters

index int

0 to Count − 1.

Returns

RapidCutRangeTable.Range

Exceptions

ArgumentOutOfRangeException

index names no range.