# FindBezierLineIntersections(BezierSegment, Vector2, Vector2)

> Find the intersections (up to three) between a line and a curve segment.

## Definition

* **Type:** Method
* **Namespace:** [Unity.VectorGraphics](/engine/6000.6/script-reference/unity/vectorgraphics.md)
* **Assembly:** UnityEngine.VectorGraphicsModule

```csharp
public static float[] FindBezierLineIntersections(BezierSegment segment, Vector2 p0, Vector2 p1)
```

### Parameters

**** (\[BezierSegment]\(/engine/6000.6/script-reference/unity/vectorgraphics/beziersegment)): The curve segment**** (\[Vector2]\(/engine/6000.6/script-reference/unityengine/vector2)): The first point**** (\[Vector2]\(/engine/6000.6/script-reference/unityengine/vector2)): The second point

### Returns

| Type                                                              | Description                                                                                            |
| ----------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------ |
| [float\[\]](https://learn.microsoft.com/dotnet/api/system.single) | Returns the Bezier's 't' parametric values where the line p0-p1 intersects the segment, up to 3 values |
