Determines if an ECI coordinate point is illuminated by the sun.
Namespace: Zeptomoby.OrbitTools.TrackAssembly: Zeptomoby.OrbitTools.Track (in Zeptomoby.OrbitTools.Track.dll) Version: 1.5.0.0 (1.5.0.0)
Syntax
C# |
---|
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++ |
---|
[ExtensionAttribute]
public:
static bool InSunlight(
EciTime^ eci,
WgsModel^ ellipsoid
) |
Parameters
- eci
- Type: EciTime
The ECI coordinate point.
- ellipsoid
- 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