When using ArcGISScene, I drew a line through the mountain. I want to know whether my line passes through the mountain in the program. When I use GeoElementLineOfSight to judge, if my observer goes beyond the screen, there will be detection failure UNKNOWN, which is not what I want
Hello @longeLon Thank you for reaching out to us with your question. LineofSight is what you need. It will tell you if your line crosses obstructions. You can use the LocationLineOfSight or GeoelementLineOfSight. When you perform the analysis the observer should be within the screen. Can you please share some code to demonstrate when you are getting UNKNOWN?
Thanks,
Koushik
Thank you, Koushik. What I want to know is how I can judge the visibility of the observer or the observed if they are no longer on the screen. For example, I want to judge whether the line between my two points passes through the obstacle