WEBVTT

00:00:00.000 --> 00:00:03.873
The supplied ray starts at minus two, one, one and points along

00:00:03.873 --> 00:00:07.746
two, zero, zero. The box spans zero to three in x and

00:00:07.746 --> 00:00:11.619
zero to two in y and z. The diagram shows its z

00:00:11.619 --> 00:00:15.492
equals one slice. X equals minus two plus two t: reaching zero

00:00:15.492 --> 00:00:19.365
gives t one and reaching three gives t five halves. The gold

00:00:19.365 --> 00:00:23.238
segment shows the closed interval inside the box; endpoints are included. Parallel

00:00:23.238 --> 00:00:27.111
y and z coordinates already lie inside their slabs.

00:00:27.111 --> 00:00:31.801
Doubling direction to four, zero, zero gives the same geometric line and

00:00:31.801 --> 00:00:36.490
entry and exit points. Parameter values halve to one half and five

00:00:36.490 --> 00:00:41.179
quarters. T is not Euclidean distance because direction need not be normalized.

00:00:41.179 --> 00:00:45.868
Distance traveled is parameter times direction magnitude. If a parallel coordinate lies

00:00:45.868 --> 00:00:50.557
outside its closed slab, the ray misses without dividing by zero. The

00:00:50.557 --> 00:00:55.247
exact rational contract uses no geometric epsilon.

00:00:55.247 --> 00:00:59.997
Moving the origin to one, one, one places it inside the box.

00:00:59.997 --> 00:01:04.748
For direction two, zero, zero, the returned interval starts at zero and

00:01:04.748 --> 00:01:09.499
ends at one, with the origin as the entry point. It does

00:01:09.499 --> 00:01:14.250
not return the backward boundary crossing. Tangencies and flat boxes can return

00:01:14.250 --> 00:01:19.000
a single-point interval. A miss returns null interval and points. These calculations

00:01:19.000 --> 00:01:23.751
explain the published contract; no remote HTTP or MCP call was made

00:01:23.751 --> 00:01:28.502
and backend execution remains unverified.
