Table of Contents

Method Segment

Namespace
Gamelogic.Grids2
Assembly
Gamelogic.Grids2.dll

Segment(GridInterval)

Creates a 1D Segment Shape given a GridInterval.

public static IImplicitShape<int> Segment(GridInterval interval)

Parameters

interval GridInterval

Interval to transform into a Segment Shape

Returns

IImplicitShape<int>

Segment(int, int)

Creates a 1D Segment Shape with a given start and size interval.

public static IImplicitShape<int> Segment(int start, int size)

Parameters

start int

Where the interval start.

size int

Size of the interval.

Returns

IImplicitShape<int>