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: 1.5.0.0 (1.5.0.0)

Syntax

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

Parameters

site
Type: Site
The Earth site for which events are calculated.
sat
Type: Satellite
The satellite.
t1
Type: System..::..Double
The start time (minutes-past-epoch).
t2
Type: System..::..Double
The stop time (minutes-past-epoch).
includeMax
Type: System..::..Boolean
If true, maximum visibility events are included in the returned data.
useParallel
Type: System..::..Boolean
If true, the algorithm executes in parallel.

Return Value

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

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 .

Remarks

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