Determines if an ECI coordinate point is illuminated by the sun.

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


public static bool InSunlight(
	this EciTime eci,
	WgsModel ellipsoid
Visual Basic
<ExtensionAttribute> _
Public Shared Function InSunlight ( _
	eci As EciTime, _
	ellipsoid As WgsModel _
) As Boolean
Visual C++
static bool InSunlight(
	EciTime^ eci, 
	WgsModel^ ellipsoid


Type: EciTime
The ECI coordinate point.
Type: WgsModel
Earth ellipsoid model.

Return Value

Returns 'true' if the given coordinate point is illuminated by the sun. A point 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 EciTime. When you use instance method syntax to call this method, omit the first parameter. For more information, see or .

See Also