To find intersection point of geometric entites

hi all,

1. A concise explanation of the problem you’re experiencing.

Im making a application in which im using cesium geometric entities. like circle, polygon, polyline, . All in objects in 3D.

I need to find intersection points of line with circle or polygon. Line is drawn vertically up from ground (say 10 meters or 500 meters) and there is a rectangle/ circle or polygon drawn above ground (say 200 meters). how do i find the point of intersection on line.

3. Context. Why do you need to do this? We might know a better way to accomplish your goal.

Once I am able to find the point of intersection then I would say this line is permitted. if the line touchs or cross the rectangle then i’ll say this height is not permissible, and ask the line to be cut

4. The Cesium version you’re using, your operating system and browser.

Iam using cesium 1.63.

(sorry to ask lot of question… should i use any thing other than geometry elements ? )

@meseenu1979
were you able to solve this problem ?

thanks !!

may be this link can help
https://cesium.com/learn/cesiumjs/ref-doc/IntersectionTests.html?classFilter=test

1 Like