Geometry2D
Inherits: Object
There is currently no description for this class. Please help us by contributing one!
Methods
Enumerations
enum PolyBooleanOperation:
PolyBooleanOperation OPERATION_UNION = 0
There is currently no description for this enum. Please help us by contributing one!
PolyBooleanOperation OPERATION_DIFFERENCE = 1
There is currently no description for this enum. Please help us by contributing one!
PolyBooleanOperation OPERATION_INTERSECTION = 2
There is currently no description for this enum. Please help us by contributing one!
PolyBooleanOperation OPERATION_XOR = 3
There is currently no description for this enum. Please help us by contributing one!
enum PolyJoinType:
PolyJoinType JOIN_SQUARE = 0
There is currently no description for this enum. Please help us by contributing one!
PolyJoinType JOIN_ROUND = 1
There is currently no description for this enum. Please help us by contributing one!
PolyJoinType JOIN_MITER = 2
There is currently no description for this enum. Please help us by contributing one!
enum PolyEndType:
PolyEndType END_POLYGON = 0
There is currently no description for this enum. Please help us by contributing one!
PolyEndType END_JOINED = 1
There is currently no description for this enum. Please help us by contributing one!
PolyEndType END_BUTT = 2
There is currently no description for this enum. Please help us by contributing one!
PolyEndType END_SQUARE = 3
There is currently no description for this enum. Please help us by contributing one!
PolyEndType END_ROUND = 4
There is currently no description for this enum. Please help us by contributing one!
Method Descriptions
PackedVector2Array[] clip_polygons ( PackedVector2Array polygon_a, PackedVector2Array polygon_b )
There is currently no description for this method. Please help us by contributing one!
PackedVector2Array[] clip_polyline_with_polygon ( PackedVector2Array polyline, PackedVector2Array polygon )
There is currently no description for this method. Please help us by contributing one!
PackedVector2Array convex_hull ( PackedVector2Array points )
There is currently no description for this method. Please help us by contributing one!
PackedVector2Array[] decompose_polygon_in_convex ( PackedVector2Array polygon )
There is currently no description for this method. Please help us by contributing one!
PackedVector2Array[] exclude_polygons ( PackedVector2Array polygon_a, PackedVector2Array polygon_b )
There is currently no description for this method. Please help us by contributing one!
Vector2 get_closest_point_to_segment ( Vector2 point, Vector2 s1, Vector2 s2 )
There is currently no description for this method. Please help us by contributing one!
Vector2 get_closest_point_to_segment_uncapped ( Vector2 point, Vector2 s1, Vector2 s2 )
There is currently no description for this method. Please help us by contributing one!
PackedVector2Array get_closest_points_between_segments ( Vector2 p1, Vector2 q1, Vector2 p2, Vector2 q2 )
There is currently no description for this method. Please help us by contributing one!
PackedVector2Array[] intersect_polygons ( PackedVector2Array polygon_a, PackedVector2Array polygon_b )
There is currently no description for this method. Please help us by contributing one!
PackedVector2Array[] intersect_polyline_with_polygon ( PackedVector2Array polyline, PackedVector2Array polygon )
There is currently no description for this method. Please help us by contributing one!
bool is_point_in_circle ( Vector2 point, Vector2 circle_position, float circle_radius )
There is currently no description for this method. Please help us by contributing one!
bool is_point_in_polygon ( Vector2 point, PackedVector2Array polygon )
There is currently no description for this method. Please help us by contributing one!
bool is_polygon_clockwise ( PackedVector2Array polygon )
There is currently no description for this method. Please help us by contributing one!
Variant line_intersects_line ( Vector2 from_a, Vector2 dir_a, Vector2 from_b, Vector2 dir_b )
There is currently no description for this method. Please help us by contributing one!
Dictionary make_atlas ( PackedVector2Array sizes )
There is currently no description for this method. Please help us by contributing one!
PackedVector2Array[] merge_polygons ( PackedVector2Array polygon_a, PackedVector2Array polygon_b )
There is currently no description for this method. Please help us by contributing one!
PackedVector2Array[] offset_polygon ( PackedVector2Array polygon, float delta, PolyJoinType join_type=0 )
There is currently no description for this method. Please help us by contributing one!
PackedVector2Array[] offset_polyline ( PackedVector2Array polyline, float delta, PolyJoinType join_type=0, PolyEndType end_type=3 )
There is currently no description for this method. Please help us by contributing one!
bool point_is_inside_triangle ( Vector2 point, Vector2 a, Vector2 b, Vector2 c ) const
There is currently no description for this method. Please help us by contributing one!
float segment_intersects_circle ( Vector2 segment_from, Vector2 segment_to, Vector2 circle_position, float circle_radius )
There is currently no description for this method. Please help us by contributing one!
Variant segment_intersects_segment ( Vector2 from_a, Vector2 to_a, Vector2 from_b, Vector2 to_b )
There is currently no description for this method. Please help us by contributing one!
PackedInt32Array triangulate_delaunay ( PackedVector2Array points )
There is currently no description for this method. Please help us by contributing one!
PackedInt32Array triangulate_polygon ( PackedVector2Array polygon )
There is currently no description for this method. Please help us by contributing one!