LandData
struct · ferroui-livecharts · v0.5.0
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.
Members
coordinates
coordinates: Vec<ferroui_base::Point>
max_bounds
max_bounds: [f64; 2]
The maximum longitude and latitude.
min_bounds
min_bounds: [f64; 2]
The minimum longitude and latitude.
bounds_hypotenuse
bounds_hypotenuse: f64
The diagonal of the bounds, which orders the rings of a land.
new
fn new(coordinates: Vec<Point>) -> Self
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedPropertyValueAnyValueClassDefaultsErasedDestructorIntoEitherCloneDebugStructuralPartialEqPartialEq
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.