<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@three3d/tools](./tools.md) &gt; [computeIntersectionOfLine\_Line](./tools.computeintersectionofline_line.md)

## computeIntersectionOfLine\_Line() function

计算线和线的交点

**Signature:**

```typescript
export declare function computeIntersectionOfLine_Line<Vec extends VectorInstance>(line1: [Vec, Vec], line2: [Vec, Vec]): import("three").Vector3 | import("three").Vector2 | import("three").Vector4 | null;
```

## Parameters

|  Parameter | Type | Description |
|  --- | --- | --- |
|  line1 | \[Vec, Vec\] |  |
|  line2 | \[Vec, Vec\] |  |

**Returns:**

import("three").Vector3 \| import("three").Vector2 \| import("three").Vector4 \| null


