Determines if a satellite is illuminated by the sun.

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


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++
static bool InSunlight(
	Satellite^ sat, 
	Julian^ date


Type: Satellite
The satellite.
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