3D FOV intersecting a plane based on slider inputs
I've started a 3D FOV visualizer, but I got stuck.
The middle point (M) calculation is working based on the lane and turn angle slider inputs, but I just can't get my head around how should I do the intersection of the radar FOV and the xy plane between the lines going through LR-LL based on the beamWidthH and beamWidthV input angles. Maybe a pyramid would do it, but I don't know how to adjust the pyramid based on the angle inputs.
This is it:
Any help is appreciated, thanks in advance.