Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Static method: IEnumerable<OctoCell> Rectangle(int, int)

Declaration

public static IEnumerable<OctoCell> Rectangle(
    int width,
    int height
)

Summary

Returns a set of OctoCell cells that form a rectangle. Along the perimeter all the cells will be octagons. Only squares internal to these octagons are included.

Parameters

intwidth The number of octagons in the x direction.
intheight The number of octagons in the y direction.