Table of Contents

Class GridTopologyMetricUtility

Namespace
GridForge.Grids.Topology
Assembly
GridForge.dll

Provides deterministic cell-edge measurements for grid topology-aware traversal and padding.

public static class GridTopologyMetricUtility
Inheritance
GridTopologyMetricUtility
Inherited Members

Methods

GetMaxCellEdge(VoxelGrid)

Gets the largest 3D cell edge for the supplied grid.

public static Fixed64 GetMaxCellEdge(VoxelGrid grid)

Parameters

grid VoxelGrid

Returns

Fixed64

GetPlanarMaxCellEdge(VoxelGrid)

Gets the largest X/Z-plane cell edge for the supplied grid.

public static Fixed64 GetPlanarMaxCellEdge(VoxelGrid grid)

Parameters

grid VoxelGrid

Returns

Fixed64

GetRepresentativeCellEdge(GridWorld)

Gets a representative cell edge for a world, or the default rectangular cell size when no grid is active.

public static Fixed64 GetRepresentativeCellEdge(GridWorld world)

Parameters

world GridWorld

Returns

Fixed64