Extent2

Type Alias Extent2 

Source
pub type Extent2<T> = ExtentN<[T; 2]>;
Expand description

A 2-dimensional extent with scalar type T.

Aliased Type§

pub struct Extent2<T> {
    pub minimum: PointN<[T; 2]>,
    pub shape: PointN<[T; 2]>,
}

Fields§

§minimum: PointN<[T; 2]>

The least point contained in the extent.

§shape: PointN<[T; 2]>

The length of each dimension.