Polyline, polylineVolume, İntersection

Hi there. For example I have two lines that intersect. how can I detect this intersection (change color in the intersection area). Thanks in advance.

Example of code below.

Polyline Volumes

@Mr_Fun

I have looked through our documentation and spoken to the Cesium team. I do not think that there is a simple way to identify where two polylineVolume objects intersect. I will let you know if I find a workaround.

-Sam

1 Like

thanks a lot for details.

1 Like

@Mr_Fun and @sam.rothstein
Hello guys,
were you able to solve this problem ? can we find plane and polyline volume intersection ?

Thanks !!

@MUKUND_THAKARE , If you want to detect entity intersection after spawning them, you can use drillPick. I’ve modified above sandcastle example. check this link.

If you want to detect intersection before spawning entities, you can go with turf library.

I hope it helps you.

EDIT: Updated sandcastle link.

  • Best Regards,
1 Like