GeometryMath

GeometryMath

1
2
3
4
5
GridBuilding.Core.Systems.Geometry
class GeometryMath
{
    // Members...
}

POCS geometry math utilities for tile-based calculations. Ported from: godot/addons/grid_building/core/utils/gb_geometry_math.gd Provides pure math functions for:

  • Tile polygon generation (square, isometric, half-offset)
  • Polygon intersection and overlap detection
  • Polygon bounds calculation
  • Polygon area calculation

Project: GridBuilding v6.0
Layer: Core
Source: Core/_incomplete/Systems/Geometry/GeometryMath.cs
Namespace: GridBuilding.Core.Systems.Geometry
Parsing Method: AST-based (Roslyn) - NOT regex

⚠️ IMPORTANT: This documentation was generated using AST parsing, not regex. AST parsing provides accurate C# analysis while regex parsing fails on complex code.