C++
Acad::ErrorStatus setLatitude( double lat );
Description
Sets the latitude of the site where the drawing model is located.
Returns Acad::eOk if a valid value is passed in; Acad::eOutOfRange otherwise.
The drawing latitude, longitude, and north direction are used by the Sun, along with the Sun's date and time, to calculate the correct angle for sunlight.
Parameters
Parameters | Description |
---|---|
lat | Input latitude for the location of the model, in decimal degrees. Allowable values are -90 to +90 degrees, where positive numbers represent North latitudes. |