GridHelperMethods

GridHelperMethods

Helper methods for grid calculations and tolerance checks

Project: GridPlacement v6.0
Layer: Godot
Source: Godot/Core/Common/Constants/GridHelperMethods.cs
Namespace: GridBuilding.Core.Constants
Kind: class

Parsing Method: AST-based (Roslyn) - NOT regex

⚠️ IMPORTANT: This documentation was generated using AST parsing, not regex.

Methods

IsWithinTolerance

Small helper for numeric tolerance in tests

Returns: bool

Parameters:

  • float a
  • float b
  • float tolerance

IsWithinTolerance

Helper for vector tolerance in tests

Returns: bool

Parameters:

  • CoreVector2 a
  • CoreVector2 b
  • float tolerance

DegreesToRadians

Converts rotation degrees to radians

Returns: float

Parameters:

  • float degrees

RadiansToDegrees

Converts rotation radians to degrees

Returns: float

Parameters:

  • float radians