Table of Contents

Method ToExplicit

Namespace
Gamelogic.Grids2
Assembly
Gamelogic.Grids2.dll

ToExplicit(IImplicitShape<int>, AbstractBounds<int>)

Creates a new explicit shape from the implicit shape that falls inside the bounds.

public static IExplicitShape<int> ToExplicit(this IImplicitShape<int> shape, AbstractBounds<int> bounds)

Parameters

shape IImplicitShape<int>
bounds AbstractBounds<int>

Returns

IExplicitShape<int>

ToExplicit(IImplicitShape<GridPoint2>, AbstractBounds<GridPoint2>)

Creates a new explicit shape from the implicit shape that falls inside the bounds.

public static IExplicitShape<GridPoint2> ToExplicit(this IImplicitShape<GridPoint2> shape, AbstractBounds<GridPoint2> bounds)

Parameters

shape IImplicitShape<GridPoint2>
bounds AbstractBounds<GridPoint2>

Returns

IExplicitShape<GridPoint2>

ToExplicit(IImplicitShape<GridPoint3>, AbstractBounds<GridPoint3>)

Creates a new explicit shape from the implicit shape that falls inside the bounds.

public static IExplicitShape<GridPoint3> ToExplicit(this IImplicitShape<GridPoint3> shape, AbstractBounds<GridPoint3> bounds)

Parameters

shape IImplicitShape<GridPoint3>
bounds AbstractBounds<GridPoint3>

Returns

IExplicitShape<GridPoint3>