Click or drag to resize

MathAlgorithmsIntersectRayRay Method (Vector2, Vector2, Vector2, Vector2, Vector2)

Namespace:  NeoAxis
Assembly:  NeoAxis.Core (in NeoAxis.Core.dll) Version: 2024.1.1.0 (2024.1.1.0)
Syntax
C#
public static bool IntersectRayRay(
	Vector2 pt11,
	Vector2 pt12,
	Vector2 pt21,
	Vector2 pt22,
	out Vector2 intersectPoint
)

Parameters

pt11
Type: NeoAxisVector2
pt12
Type: NeoAxisVector2
pt21
Type: NeoAxisVector2
pt22
Type: NeoAxisVector2
intersectPoint
Type: NeoAxisVector2

Return Value

Type: Boolean
See Also