Method Segment
Segment(int)
Makes a new shape that is a contiguous interval of the given size, starting at 0 and continuing in the positive direction.
public static IExplicitShape<int> Segment(int size)
Parameters
size
intThe size of the segment to make.
Returns
Examples
var segment = ExplicitShape.Segment(4);
//will contain the points {0, 1, 2, 3}