#include "a_star_grid_2d.h"
#include "a_star_grid_2d.compat.inc"
#include "core/variant/typed_array.h"
static real_t heuristic_euclidean(const Vector2i &p_from, const Vector2i &p_to) { … }
static real_t heuristic_manhattan(const Vector2i &p_from, const Vector2i &p_to) { … }
static real_t heuristic_octile(const Vector2i &p_from, const Vector2i &p_to) { … }
static real_t heuristic_chebyshev(const Vector2i &p_from, const Vector2i &p_to) { … }
static real_t (*heuristics[AStarGrid2D::HEURISTIC_MAX])(const Vector2i &, const Vector2i &) = …;
void AStarGrid2D::set_region(const Rect2i &p_region) { … }
Rect2i AStarGrid2D::get_region() const { … }
void AStarGrid2D::set_size(const Size2i &p_size) { … }
Size2i AStarGrid2D::get_size() const { … }
void AStarGrid2D::set_offset(const Vector2 &p_offset) { … }
Vector2 AStarGrid2D::get_offset() const { … }
void AStarGrid2D::set_cell_size(const Size2 &p_cell_size) { … }
Size2 AStarGrid2D::get_cell_size() const { … }
void AStarGrid2D::set_cell_shape(CellShape p_cell_shape) { … }
AStarGrid2D::CellShape AStarGrid2D::get_cell_shape() const { … }
void AStarGrid2D::update() { … }
bool AStarGrid2D::is_in_bounds(int32_t p_x, int32_t p_y) const { … }
bool AStarGrid2D::is_in_boundsv(const Vector2i &p_id) const { … }
bool AStarGrid2D::is_dirty() const { … }
void AStarGrid2D::set_jumping_enabled(bool p_enabled) { … }
bool AStarGrid2D::is_jumping_enabled() const { … }
void AStarGrid2D::set_diagonal_mode(DiagonalMode p_diagonal_mode) { … }
AStarGrid2D::DiagonalMode AStarGrid2D::get_diagonal_mode() const { … }
void AStarGrid2D::set_default_compute_heuristic(Heuristic p_heuristic) { … }
AStarGrid2D::Heuristic AStarGrid2D::get_default_compute_heuristic() const { … }
void AStarGrid2D::set_default_estimate_heuristic(Heuristic p_heuristic) { … }
AStarGrid2D::Heuristic AStarGrid2D::get_default_estimate_heuristic() const { … }
void AStarGrid2D::set_point_solid(const Vector2i &p_id, bool p_solid) { … }
bool AStarGrid2D::is_point_solid(const Vector2i &p_id) const { … }
void AStarGrid2D::set_point_weight_scale(const Vector2i &p_id, real_t p_weight_scale) { … }
real_t AStarGrid2D::get_point_weight_scale(const Vector2i &p_id) const { … }
void AStarGrid2D::fill_solid_region(const Rect2i &p_region, bool p_solid) { … }
void AStarGrid2D::fill_weight_scale_region(const Rect2i &p_region, real_t p_weight_scale) { … }
AStarGrid2D::Point *AStarGrid2D::_jump(Point *p_from, Point *p_to) { … }
void AStarGrid2D::_get_nbors(Point *p_point, LocalVector<Point *> &r_nbors) { … }
bool AStarGrid2D::_solve(Point *p_begin_point, Point *p_end_point) { … }
real_t AStarGrid2D::_estimate_cost(const Vector2i &p_from_id, const Vector2i &p_end_id) { … }
real_t AStarGrid2D::_compute_cost(const Vector2i &p_from_id, const Vector2i &p_to_id) { … }
void AStarGrid2D::clear() { … }
Vector2 AStarGrid2D::get_point_position(const Vector2i &p_id) const { … }
TypedArray<Dictionary> AStarGrid2D::get_point_data_in_region(const Rect2i &p_region) const { … }
Vector<Vector2> AStarGrid2D::get_point_path(const Vector2i &p_from_id, const Vector2i &p_to_id, bool p_allow_partial_path) { … }
TypedArray<Vector2i> AStarGrid2D::get_id_path(const Vector2i &p_from_id, const Vector2i &p_to_id, bool p_allow_partial_path) { … }
void AStarGrid2D::_bind_methods() { … }