Table of Contents

Method SegmentFromEndpoints

Namespace
Gamelogic.Grids2
Assembly
Gamelogic.Grids2.dll

SegmentFromEndpoints(int, int)

Creates a 1D Segment Shape with a given start and end point.

public static IImplicitShape<int> SegmentFromEndpoints(int start, int end)

Parameters

start int

Where the interval start.

end int

Where the interval ends.

Returns

IImplicitShape<int>