Header menu logo Mibo

Layout3DHelpers Module

Functions and values

Function or value Description

clearLocal lx ly lz section

Full Usage: clearLocal lx ly lz section

Parameters:
Modifiers: inline
Type parameters: 'T

Internal helper to clear a cell using section-relative coordinates.

lx : int
ly : int
lz : int
section : GridSection3D<'T>

createSection grid

Full Usage: createSection grid

Parameters:
Returns: GridSection3D<'T>
Modifiers: inline
Type parameters: 'T

Wraps a raw grid in a root-level section.

grid : CellGrid3D<'T>
Returns: GridSection3D<'T>

setLocal lx ly lz content section

Full Usage: setLocal lx ly lz content section

Parameters:
    lx : int
    ly : int
    lz : int
    content : 'T
    section : GridSection3D<'T>

Modifiers: inline
Type parameters: 'T

Internal helper to set a cell using section-relative coordinates. Handles translation to absolute grid coordinates and bounds checking.

lx : int
ly : int
lz : int
content : 'T
section : GridSection3D<'T>

Type something to start searching.