geometric_analysis_45_degree_test
AUTO-GENERATED FILE – DO NOT EDIT MANUALLY
Geometric Analysis Test for 45° Transform Failures
This test suite analyzes the actual geometric properties of 45° skew and rotation transforms applied to 32x32 squares to determine if the expected tile counts are geometrically accurate or need adjustment.
Source File: /addons/grid_building/test/collision/geometry/geometric_analysis_45_degree_test.gd
Extends: GdUnitTestSuite
Public Methods
test_45_degree_skew_square_geometric_analysis
| |
test_45_degree_rotation_square_geometric_analysis
| |
test_determine_correct_expectations_for_45_degree_transforms
| |
Private Methods
_calculate_polygon_area
| |
Flags: private
Helper function to calculate polygon area using shoelace formula
_get_bounding_box
| |
Flags: private
Helper function to get bounding box of polygon
_analyze_tile_intersection
| |
Flags: private
Helper function to analyze tile grid intersection
Grid Building v5.0.8 | Generated 24/05/2026