Calculate satellite pass data for a local horizon using a parallel algorithm. The data includes rise time (AOS), set time (LOS), and optionally, the maximum elevation (MAX) above the horizon.

Namespace: Zeptomoby.OrbitTools.Track
Assembly: Zeptomoby.OrbitTools.Track (in Zeptomoby.OrbitTools.Track.dll) Version: (


public static IList<PassData> CalcPassData(
	this Site site,
	Satellite sat,
	DateTime t1,
	DateTime t2,
	bool includeMax,
	bool useParallel
Visual Basic
<ExtensionAttribute> _
Public Shared Function CalcPassData ( _
	site As Site, _
	sat As Satellite, _
	t1 As DateTime, _
	t2 As DateTime, _
	includeMax As Boolean, _
	useParallel As Boolean _
) As IList(Of PassData)
Visual C++
static IList<PassData^>^ CalcPassData(
	Site^ site, 
	Satellite^ sat, 
	DateTime t1, 
	DateTime t2, 
	bool includeMax, 
	bool useParallel


Type: Site
The Earth site for which events are calculated.
Type: Satellite
The satellite.
Type: System..::..DateTime
The start time (UTC).
Type: System..::..DateTime
The stop time (UTC).
Type: System..::..Boolean
If true, maximum visibility event data is included in the returned data.
Type: System..::..Boolean
If true, the algorithm executes in parallel mode.

Return Value

A list of PassData objects containing the AOS/MAX/LOS event data.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Site. When you use instance method syntax to call this method, omit the first parameter. For more information, see or .


A satellite rising above the horizon, then setting below the horizon, is a single pass. This method will calculate all passes of a satellite over a given local horizon for the given time period. The method will also optionally calculate the maximum elevation above the local horizon that the satellite obtains during each pass. Setting the useParallel parameter to false forces the algorithm to execute serially. Serial execution may improve performance when searching smaller time spans.

See Also