How to know if a point of a line touch or lie in a perimeter

Hello,

I have two lineRenderers (and therefore, two Vector3 arrays)

Is there an easy way to check if a line collides with another? (without mathematical calculation but with a Unity’s method, if possible).

In other words, does a point of a line touch or lie in a perimeter?

Thank you.
alt text

unity has a class called edge collider, it is basically the same as the line renderer but instead of creating “sprites” it creates colliders from point A to B, you can add the line renderer points to the edge collider and detect collisions then