Skip to main content

Point2

Type Alias Point2 

Source
pub type Point2 = DVec2;
Expand description

Coordinate vocabulary, re-exported from axiolid-core.

These are the same types, not copies: a consumer of the narrow linear closure should not need a second dependency to name a point. A semantic alias used when a value is a two-dimensional position.

Aliased Type§

#[repr(C)]
pub struct Point2 { pub x: f64, pub y: f64, }

Fields§

§x: f64§y: f64