Table of Contents

Class NumberGroups

Namespace
IdeaRS.OpenModel.Parameters
Assembly
IdeaRS.OpenModel.dll

Defines used input of groups of numbers.

public sealed class NumberGroups : List<List<ValueCount>>, IList<List<ValueCount>>, ICollection<List<ValueCount>>, IReadOnlyList<List<ValueCount>>, IReadOnlyCollection<List<ValueCount>>, IEnumerable<List<ValueCount>>, IList, ICollection, IEnumerable

Inheritance

Implements

Inherited Members

Methods

Create(List<ValueCount>)

Creates new instance with list of ValueCount .

public static NumberGroups Create(List<ValueCount> list)

Parameters

list List<ValueCount>

The list of ValueCount objects.

Returns

NumberGroups

A new instance of group.

Create(params string[])

Creates new instance with varibale count of bolts based on * operator

public static NumberGroups Create(params string[] positions)

Parameters

positions string[]

Returns

NumberGroups

Create(double)

Creates new instance with one group with one value.

public static NumberGroups Create(double value)

Parameters

value double

The value to set to group.

Returns

NumberGroups

A new instance of group.

Create(double, int)

Creates a new instance of one group with several values (defined by count).

public static NumberGroups Create(double value, int count)

Parameters

value double

The input value.

count int

The count, defined value repeating.

Returns

NumberGroups

A new instance of group.

Create(IEnumerable<double>)

Creates new instance with one group with specified sequence of numbers.

public static NumberGroups Create(IEnumerable<double> positions)

Parameters

positions IEnumerable<double>

The sequence of numbers to add to group.

Returns

NumberGroups

A new instance of group.

Create(params double[])

Creates new instance with one group with specified sequence of numbers.

public static NumberGroups Create(params double[] positions)

Parameters

positions double[]

The sequence of numbers to add to group.

Returns

NumberGroups

A new instance of group.

CreateGroups(IEnumerable<double>)

Creates new instance with groups with with one value in group.

public static NumberGroups CreateGroups(IEnumerable<double> positions)

Parameters

positions IEnumerable<double>

The sequence of numbers to create groups.

Returns

NumberGroups

A new instance of groups.

CreateGroups(params double[])

Creates new instance with groups with with one value in group.

public static NumberGroups CreateGroups(params double[] positions)

Parameters

positions double[]

The sequence of numbers to create groups.

Returns

NumberGroups

A new instance of groups.