Table of Contents

Interface IDiscreteBounds<TCoordinate, TBounds>

Namespace
Game.Core.Coordinates
Assembly
Game.Core.Coordinates.dll
public interface IDiscreteBounds<TCoordinate, TBounds> : IDiscreteBounds

Type Parameters

TCoordinate
TBounds
Inherited Members
Extension Methods

Properties

Max

TCoordinate Max { get; }

Property Value

TCoordinate

Min

TCoordinate Min { get; }

Property Value

TCoordinate

Methods

Add(TCoordinate)

TBounds Add(TCoordinate addition)

Parameters

addition TCoordinate

Returns

TBounds

Combine(TBounds)

TBounds Combine(TBounds other)

Parameters

other TBounds

Returns

TBounds

ComputeTilesInVolumeInclusive(ICollection<TCoordinate>)

void ComputeTilesInVolumeInclusive(ICollection<TCoordinate> tilesInAreaInclusive)

Parameters

tilesInAreaInclusive ICollection<TCoordinate>

DoIntersect(TBounds)

bool DoIntersect(TBounds other)

Parameters

other TBounds

Returns

bool

Includes(TCoordinate)

bool Includes(TCoordinate c)

Parameters

c TCoordinate

Returns

bool

TryIntersect(TBounds, out TBounds)

bool TryIntersect(TBounds other, out TBounds intersection)

Parameters

other TBounds
intersection TBounds

Returns

bool

WithMax(TCoordinate)

TBounds WithMax(TCoordinate max)

Parameters

max TCoordinate

Returns

TBounds

WithMin(TCoordinate)

TBounds WithMin(TCoordinate min)

Parameters

min TCoordinate

Returns

TBounds