intersectsSegment

fun intersectsSegment(endPoint1: Vec3, endPoint2: Vec3): Boolean

Determines whether a specified line segment intersects this plane.

Return

true if the line segment intersects this plane, otherwise false

Parameters

endPoint1

the line segment's first end point

endPoint2

the line segment's second end point