Module polygon_path_finder

Procs

proc data(self: PolygonPathFinder): Dictionary {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc data=(self: PolygonPathFinder; val: Dictionary) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc setup(self: PolygonPathFinder; points: PoolVector2Array;
          connections: PoolIntArray) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc findPath(self: PolygonPathFinder; fromm: Vector2; to: Vector2): PoolVector2Array {.
gcsafe, locks: 0, raises: [Exception], tags: [RootEffect]
.}
proc getIntersections(self: PolygonPathFinder; fromm: Vector2; to: Vector2): PoolVector2Array {.
gcsafe, locks: 0, raises: [Exception], tags: [RootEffect]
.}
proc getClosestPoint(self: PolygonPathFinder; point: Vector2): Vector2 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc isPointInside(self: PolygonPathFinder; point: Vector2): bool {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc setPointPenalty(self: PolygonPathFinder; idx: int64; penalty: float64) {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getPointPenalty(self: PolygonPathFinder; idx: int64): float64 {.
gcsafe, locks: 0, raises: [], tags: []
.}
proc getBounds(self: PolygonPathFinder): Rect2 {.
gcsafe, locks: 0, raises: [], tags: []
.}