# LandData

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-livecharts/geo/struct-landdata/

**struct** · [`ferroui-livecharts`](/docs/0.5.0/api/ferroui-livecharts/) · v0.5.0

```rust
struct LandData
```

One ring of a land (`LandData`): its coordinates, longitude in `x` and latitude in `y`, and
their bounds. Every ring of every polygon of a feature is a land shape of its own, as in the
source, which fills the inner rings of a polygon too.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.LiveCharts/geo/drawn_map.rs#L19)

## Members

- [`coordinates`](#struct_field-coordinates)
- [`max_bounds`](#struct_field-max_bounds)
- [`min_bounds`](#struct_field-min_bounds)
- [`bounds_hypotenuse`](#struct_field-bounds_hypotenuse)
- [`new`](#function-new)

<a id="struct_field-coordinates"></a>

### coordinates

```rust
coordinates: Vec<ferroui_base::Point>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.LiveCharts/geo/drawn_map.rs#L20)

<a id="struct_field-max_bounds"></a>

### max_bounds

```rust
max_bounds: [f64; 2]
```

The maximum longitude and latitude.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.LiveCharts/geo/drawn_map.rs#L22)

<a id="struct_field-min_bounds"></a>

### min_bounds

```rust
min_bounds: [f64; 2]
```

The minimum longitude and latitude.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.LiveCharts/geo/drawn_map.rs#L24)

<a id="struct_field-bounds_hypotenuse"></a>

### bounds_hypotenuse

```rust
bounds_hypotenuse: f64
```

The diagonal of the bounds, which orders the rings of a land.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.LiveCharts/geo/drawn_map.rs#L26)

<a id="function-new"></a>

### new

```rust
fn new(coordinates: Vec<Point>) -> Self
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.LiveCharts/geo/drawn_map.rs#L30)

## Trait implementations

- `Send`
- `Sync`
- `Freeze`
- `UnsafeUnpin`
- `Unpin`
- `UnwindSafe`
- `RefUnwindSafe`
- `Borrow<T>`
- `BorrowMut<T>`
- `CloneToUninit`
- `Into<U>`
- `From<T>`
- `TryInto<U>`
- `TryFrom<U>`
- `Any`
- `ToOwned`
- [`PropertyValue`](/docs/0.5.0/api/ferroui-base/trait-propertyvalue/)
- [`AnyValue`](/docs/0.5.0/api/ferroui-base/trait-anyvalue/)
- [`ClassDefaults`](/docs/0.5.0/api/ferroui-base/trait-classdefaults/)
- `ErasedDestructor`
- `IntoEither`
- `Clone`
- `Debug`
- `StructuralPartialEq`
- `PartialEq`

## Availability

Extracted for `aarch64-apple-darwin`. Cargo features are listed in the [crate index](/docs/0.5.0/api/).
