SketchUp SDK
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Functions
location.h File Reference
#include <slapi/model/defs.h>

Go to the source code of this file.

Functions

SU_RESULT SULocationGetLatLong (SULocationRef location, double *latitude, double *longitude)
 Retrieves the latitude and longitude of a location object. More...
 
SU_RESULT SULocationSetLatLong (SULocationRef location, double latitude, double longitude)
 Assigns the latitude and longitude values of a location object. More...
 
SU_RESULT SULocationSetNorthAngle (SULocationRef location, double north_angle)
 Assigns the north angle values of a location object. More...
 

Function Documentation

SU_RESULT SULocationGetLatLong ( SULocationRef  location,
double *  latitude,
double *  longitude 
)

Retrieves the latitude and longitude of a location object.

Parameters
[in]locationThe location object.
[out]latitudeThe latitude value retrieved.
[out]longitudeThe longitude value retrieved.
Returns
SU_RESULT SULocationSetLatLong ( SULocationRef  location,
double  latitude,
double  longitude 
)

Assigns the latitude and longitude values of a location object.

Parameters
[in]locationThe location object.
[in]latitudeThe latitude value to assign.
[in]longitudeThe longitude value to assign.
Returns
SU_RESULT SULocationSetNorthAngle ( SULocationRef  location,
double  north_angle 
)

Assigns the north angle values of a location object.

Parameters
[in]locationThe location object.
[in]north_angleThe north angle value to assign.
Returns