← Workbench

FillRegion — tiling a region with lattice translates

A rectangle scanned row by row and filled with lattice cells.

scan rows Walks the four edges, recording each row's outermost x extent.

regionT1T2row 0: x 0.0 .. 4.0row 1: x 0.0 .. 4.0row 2: x 0.0 .. 4.0row 3: x 0.0 .. 4.0
rows 4
cells 20
failure none
shading unit cells
bars each row's outermost x extent
arrows T1 and T2

Source unavailable.

frame 3

Girihelix.Engine.FillRegion.fill([Girihelix.Engine.Geometry.Point.new(0.0, 0.0), Girihelix.Engine.Geometry.Point.new(4.0, 0.0), Girihelix.Engine.Geometry.Point.new(4.0, 3.0), Girihelix.Engine.Geometry.Point.new(0.0, 3.0)], Girihelix.Engine.Geometry.Point.new(1.0, 0.0), Girihelix.Engine.Geometry.Point.new(0.0, 1.0))