Sha256: e6092c07916bf10faab496c7113699a4f497d2101327c36331241d589cf9bd46

Contents?: true

Size: 796 Bytes

Versions: 2

Compression:

Stored size: 796 Bytes

Contents

# Miscellaneous H3 functions

## degsToRads

```
double degsToRads(double degrees);
```

Converts degrees to radians.

## radsToDegs

```
double radsToDegs(double radians);
```

Converts radians to degrees.

## hexAreaKm2

```
double hexAreaKm2(int res);
```

Average hexagon area in square kilometers at the given resolution.

## hexAreaM2

```
double hexAreaM2(int res);
```

Average hexagon area in square meters at the given resolution.

## edgeLengthKm

```
double edgeLengthKm(int res);
```

Average hexagon edge length in kilometers at the given resolution.

## edgeLengthM

```
double edgeLengthM(int res);
```

Average hexagon edge length in meters at the given resolution.

## numHexagons

```
int64_t numHexagons(int res);
```

Number of unique **H3** indexes at the given resolution.

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
h3-3.4.0 ext/h3/src/docs/api/misc.md
h3-3.3.1 ext/h3/src/docs/api/misc.md