> ## Documentation Index
> Fetch the complete documentation index at: https://docs.resq.software/llms.txt
> Use this file to discover all available pages before exploring further.

# Resq common geo GeoPoint

## GeoPoint

```cpp theme={null}
#include <geo.hpp>
```

Geographic point with latitude, longitude, and altitude.

Represents a 3D position on Earth's surface using the WGS84 ellipsoid. Latitude and longitude are in degrees, altitude in meters above sea level.

latitude must be in range \[-90, 90]

longitude must be in range \[-180, 180]

### Public Attributes

| Return   | Name                      | Description                         |
| -------- | ------------------------- | ----------------------------------- |
| `double` | [`latitude`](#latitude)   | Latitude in degrees (-90 to 90)     |
| `double` | [`longitude`](#longitude) | Longitude in degrees (-180 to 180)  |
| `double` | [`altitude`](#altitude)   | Altitude in meters above sea level. |

***

#### latitude

```cpp theme={null}
double latitude
```

Latitude in degrees (-90 to 90)

***

#### longitude

```cpp theme={null}
double longitude
```

Longitude in degrees (-180 to 180)

***

#### altitude

```cpp theme={null}
double altitude
```

Altitude in meters above sea level.
