Click or drag to resize

LineToolsLineSegmentAABBIntersect Method

Get all intersections between a line segment and an AABB.

Namespace: Internal.tainicom.Aether.Physics2D.Common
Assembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.1.1.0 (2026.1.1.0)
Syntax
C#
public static Vertices LineSegmentAABBIntersect(
	ref Vector2 point1,
	ref Vector2 point2,
	AABB aabb
)

Parameters

point1  Vector2
The first point of the line segment to test
point2  Vector2
The second point of the line segment to test.
aabb  AABB
The AABB that is used for testing intersection.

Return Value

Vertices
See Also