Thank you for the valuable information. I'll keep my eyes open for the next release.
In the meantime, I'll try to do something along the lines that Hank suggested. Detect Visibility on the AOI center point given possibly a negative mask as a buffer, record start and end times, generate corridors within those times, and finally intersect them with my AOI. I know, it sounds inefficient, I'm definitely looking forward to the new release.
BTW: Great work on the orekit. We'll be using it for scheduling acquisitions in a production environment soon.
Thanks!
Carlos
-----Original Message-----
From: orekit-users-request@orekit.org [mailto:orekit-users-request@orekit.org] On Behalf Of MAISONOBE Luc
Sent: Wednesday, January 29, 2014 3:45 PM
To: orekit-users@orekit.org
Subject: Re: [Orekit Users] DihedralFielOfView with a Polygon instead of a PVCoordinatesProvider PVTarget point.
Carlos Krefft <ckrefft@rsmas.miami.edu> a écrit :
> I'm looking for a way to make a DihedralFielOfViewDetector detect
> Visibility against an AOI polygon instead of PVTarget. Is this
> possible?
It will be possible in the next version, that will depend on Apache Commons Math 3.3. This version of Apache Commons Math includes a way to define arbitrary shapes on the sphere and to compute things like distance to the boundary and hence accurate crossing time. This work for simple polygons on the sphere, but also for more complex cases with zones defined in several disconnected parts, non-convex areas, areas with holes, areas including the pole ...
This will be used for two things in Orekit :
- creating an event handler for spacecrafts flying over zones of
interest (say a country, even considering separate islands, or
excluding inner lakes if you want)
- creating an event handler for arbitrary shaped on-board fields
of view.
I think what you want is exactly what we are doing right now!
The code for the first event handler is almost ready (it is just quite slow for complex shapes, so I have to improve it). The code for the second event handler does not exist but can be done in a matter of hours. The most important thing to remember is that this induces a dependency to Apache Commons Math 3.3, and this version of the library is not released yet. It is expected to be released soon, but we have no date.
>
> Any tips or help would be greatly appreciated.
Hope this helps
Luc
>
>
> Kind regards,
> Carlos Krefft
> University of Miami
>
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.