forked from godotengine/godot
-
Notifications
You must be signed in to change notification settings - Fork 0
class_geometry
Lukas Sägesser edited this page Jun 22, 2015
·
11 revisions
####Inherits: Object ####Category: Core
- Array build_box_planes ( Vector3 extents )
- Array build_cylinder_planes ( float radius, float height, int sides, int axis=2 )
- Array build_capsule_planes ( float radius, float height, int sides, int lats, int axis=2 )
- float segment_intersects_circle ( Vector2 segment_from, Vector2 segment_to, Vector2 circle_pos, float circle_radius )
- void segment_intersects_segment_2d ( Vector2 from_a, Vector2 to_a, Vector2 from_b, Vector2 to_b )
- Vector2Array get_closest_points_between_segments_2d ( Vector2 p1, Vector2 q1, Vector2 p2, Vector2 q2 )
- Vector3Array get_closest_points_between_segments ( Vector3 p1, Vector3 p2, Vector3 q1, Vector3 q2 )
- Vector3 get_closest_point_to_segment ( Vector3 point, Vector3 s1, Vector3 s2 )
- int get_uv84_normal_bit ( Vector3 normal )
- void ray_intersects_triangle ( Vector3 from, Vector3 dir, Vector3 a, Vector3 b, Vector3 c )
- void segment_intersects_triangle ( Vector3 from, Vector3 to, Vector3 a, Vector3 b, Vector3 c )
- Vector3Array segment_intersects_sphere ( Vector3 from, Vector3 to, Vector3 spos, float sradius )
- Vector3Array segment_intersects_cylinder ( Vector3 from, Vector3 to, float height, float radius )
- Vector3Array segment_intersects_convex ( Vector3 from, Vector3 to, Array planes )
- bool point_is_inside_triangle ( Vector2 point, Vector2 a, Vector2 b, Vector2 c ) const
- IntArray triangulate_polygon ( Vector2Array polygon )
- Dictionary make_atlas ( Vector2Array sizes )