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, IEnumerableInheritance
Implements
Inherited Members
Methods
Create(List<ValueCount>)
Creates new instance with list of ValueCount .
public static NumberGroups Create(List<ValueCount> list)Parameters
listList<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
positionsstring[]
Returns
Create(double)
Creates new instance with one group with one value.
public static NumberGroups Create(double value)Parameters
valuedouble- 
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
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
positionsIEnumerable<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
positionsdouble[]- 
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
positionsIEnumerable<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
positionsdouble[]- 
The sequence of numbers to create groups.
 
Returns
- NumberGroups
 - 
A new instance of groups.