1 #ifndef POLYGON_PATH_FINDER_H 2 #define POLYGON_PATH_FINDER_H 22 _FORCE_INLINE_
bool operator<(
const Edge& p_edge)
const {
24 if (points[0]==p_edge.points[0])
25 return points[1]<p_edge.points[1];
27 return points[0]<p_edge.points[0];
30 Edge(
int a=0,
int b=0) {
46 bool _is_point_inside(
const Vector2& p_point)
const;
52 static void _bind_methods();
59 void set_point_penalty(
int p_point,
float p_penalty);
60 float get_point_penalty(
int p_point)
const;
62 bool is_point_inside(
const Vector2& p_point)
const;
65 Rect2 get_bounds()
const;
71 #endif // POLYGON_PATH_FINDER_H
Definition: math_2d.h:204
Definition: resource.h:89
Definition: dictionary.h:42
Definition: polygon_path_finder.h:6