intersectLineSegmentLineSegment

Public Function

Find the intersection between a line segment and a line segment.

Parameters
NameDescription

a1

VecLike

The first segment's first point.

a2

VecLike

The first segment's second point.

b1

VecLike

The second segment's first point.

b2

VecLike

The second segment's second point.

Returns
null | Vec2d
References

VecLike, Vec2d

Edit this page
Last edited on 11 May 2023
intersectLineSegmentCircleintersectLineSegmentPolygon