Determines if a satellite is illuminated by the sun.

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 bool InSunlight(
	this Satellite sat,
	Julian date
)
Visual Basic
<ExtensionAttribute> _
Public Shared Function InSunlight ( _
	sat As Satellite, _
	date As Julian _
) As Boolean
Visual C++
[ExtensionAttribute]
public:
static bool InSunlight(
	Satellite^ sat, 
	Julian^ date
)

Parameters

sat
Type: Satellite
The satellite.
date
Type: Julian
The time of calculation.

Return Value

Returns 'true' if the satellite is illuminated by the sun. A satellite is considered illuminated if it is not in the Earth's shadow.

Usage Note

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

See Also