Public Member Functions

IDaylightSystem3 Class Reference

Search for all occurrences

Detailed Description

Extends IDaylightSystem2 with new functionality This interface can only be obtained from an already existent daylight system, from the base object of the daylight assembly:

 Object* daylightAssemblyObj = ...
 BaseInterface* bi = daylightAssemblyObj->GetInterface(IID_DAYLIGHT_SYSTEM3);
 IDaylightSystem3* ds = dynamic_cast<IDaylightSystem3*>(bi);

#include <IDaylightSystem.h>

Inheritance diagram for IDaylightSystem3:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual void  GetAltAz (TimeValue t, float &altitude, float &azimuth)=0
  Get the alititude and the azimuth angles of the sun at that particular time.

Member Function Documentation

virtual void GetAltAz ( TimeValue  t,
float &  altitude,
float &  azimuth 
) [pure virtual]

Get the alititude and the azimuth angles of the sun at that particular time.

Parameters:
[in] t The time at which to get the alitude and azimuth of the sun.
[out] altitude The angle of the sun above the horizon. In radians, ranges from 0 at the horizon to PI/2 at the zenith.
[out] azimuth The angle of the sun about north. In radians, ranges from 0 at due north, PI/2 at due east, etc..

IDaylightSystem3 IDaylightSystem3 IDaylightSystem3 IDaylightSystem3 IDaylightSystem3 IDaylightSystem3 IDaylightSystem3 IDaylightSystem3 IDaylightSystem3 IDaylightSystem3
IDaylightSystem3 IDaylightSystem3 IDaylightSystem3 IDaylightSystem3 IDaylightSystem3 IDaylightSystem3 IDaylightSystem3 IDaylightSystem3 IDaylightSystem3 IDaylightSystem3