Skip to main content

Function: lineIntersection()

lineIntersection(line1, line2): Vector3Tuple

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

Intersection of two lines, each given by two distinct points in the xy-plane (ManimCE line_intersection). Throws if a z-coordinate is nonzero or if the lines are parallel.

Parameters​

line1​

number[][]

line2​

number[][]

Returns​

Vector3Tuple