Skip to content

Class

PlacementGeometryUtils

Generated GDScript class reference for GridPlacement.PlacementGeometryUtils.

Status
Current
Version
v6.3.0
Source updated
2026-10-29
Generated on
2026-10-29

6.3. These pages document the 6.3 release, where placeable is now entry (what changed) and PlacementOwner is deprecated (migration). Still on 6.2? Your version's guides ship inside the plugin itself, under addons/grid_placement/guides/; the 6.2 URLs on this site now redirect to this series.

Utility functions for geometry calculations and shape operations. Provides static methods for working with collision shapes, bounding boxes, and coordinate transformations in grid building contexts.

Source: addons/grid_placement/utils/placement_geometry_utils.gd

Syntax

class PlacementGeometryUtils

Members

NameKindSummary
points_array_to_rect_2dMethod
get_all_collision_shapes_by_ownerMethod
get_shapes_from_ownerMethod
grow_rect2_to_squareMethod
get_overlapped_tiles_for_rectMethod
get_overlapped_tiles_for_polygonMethod
overlappedProperty
tile_shapeProperty
tile_sizeProperty
aabbProperty
aabb_cornersProperty
mappedProperty
min_xProperty
max_xProperty
min_yProperty
max_yProperty
cellProperty
cell_centerProperty
cell_posProperty
collision_covered_tilesMethod
has_positive_areaMethod
has_positive_volumeMethod
area_intersectsMethod
volume_intersectsMethod