Skip to main content

Function: findIntersection()

findIntersection(p0s, v0s, p1s, v1s, threshold): Vector3Tuple[]

Defined in: src/utils/spaceOps.ts:317

Intersections of lines p0 + v0 t with p1 + v1 t (ManimCE find_intersection). For 3D inputs, returns the point on the first ray closest to the second.

Parameters​

p0s​

number[][]

v0s​

number[][]

p1s​

number[][]

v1s​

number[][]

threshold​

number = 1e-5

Returns​

Vector3Tuple[]