GeometrySegmentIntersectsSegment2d Method |
Checks if the two segments (from_a, to_a) and (from_b, to_b) intersect. If yes, return the point of intersection as Vector2. If no intersection takes place, returns an empty Variant.
Namespace: Godot
public static Object SegmentIntersectsSegment2d( Vector2 fromA, Vector2 toA, Vector2 fromB, Vector2 toB )
[Missing <param name="fromA"/> documentation for "M:Godot.Geometry.SegmentIntersectsSegment2d(Godot.Vector2,Godot.Vector2,Godot.Vector2,Godot.Vector2)"]
[Missing <param name="toA"/> documentation for "M:Godot.Geometry.SegmentIntersectsSegment2d(Godot.Vector2,Godot.Vector2,Godot.Vector2,Godot.Vector2)"]
[Missing <param name="fromB"/> documentation for "M:Godot.Geometry.SegmentIntersectsSegment2d(Godot.Vector2,Godot.Vector2,Godot.Vector2,Godot.Vector2)"]
[Missing <param name="toB"/> documentation for "M:Godot.Geometry.SegmentIntersectsSegment2d(Godot.Vector2,Godot.Vector2,Godot.Vector2,Godot.Vector2)"]
[Missing <returns> documentation for "M:Godot.Geometry.SegmentIntersectsSegment2d(Godot.Vector2,Godot.Vector2,Godot.Vector2,Godot.Vector2)"]