LineToolsLineIntersect2 Method |
Check if the lines a0->a1 and b0->b1 cross.
If they do, intersectionPoint will be filled
with the point of crossing.
Grazing lines should not return true.
Namespace: Internal.tainicom.Aether.Physics2D.CommonAssembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.1.1.0 (2026.1.1.0)
Syntaxpublic static bool LineIntersect2(
ref Vector2 a0,
ref Vector2 a1,
ref Vector2 b0,
ref Vector2 b1,
out Vector2 intersectionPoint
)
Parameters
- a0 Vector2
-
- a1 Vector2
-
- b0 Vector2
-
- b1 Vector2
-
- intersectionPoint Vector2
-
Return Value
Boolean
See Also