AUTO-GENERATED FILE — DO NOT EDIT MANUALLY
Source: placement/manager/components/polygon_indicator_heuristics.gd
Version: 5.0
class_name: PolygonIndicatorHeuristics
extends: RefCounted
Signals
(none)
Exports
(none)
Methods
is_hollow(offsets: Array, density_factor: float = 1.5) -> boolshould_expand_trapezoid(polygon_is_convex: bool, offsets: Array, ys: Array, xs_by_y: Dictionary, hollow: bool, max_original: int = 10) -> boolgenerate_trapezoid_offsets -> Arraypolygon_tile_overlap_area(polygon: PackedVector2Array, rect: Rect2) -> float_inside(p: Vector2, boundary: int, left: float, right: float, top: float, bottom: float) -> bool_intersect(a: Vector2, b: Vector2, boundary: int, left: float, right: float, top: float, bottom: float) -> Vector2prune_concave_fringe(world_points: PackedVector2Array, offsets: Array, center_tile: Vector2i, tile_size: Vector2, min_area_ratio: float = 0.12) -> Array