Type Alias salva2d::math::Point

source ·
pub type Point<Real> = Point2<Real>;
Expand description

The point type.

Aliased Type§

struct Point<Real> {
    pub coords: Matrix<Real, Const<2>, Const<1>, <DefaultAllocator as Allocator<Real, Const<2>>>::Buffer>,
}

Fields§

§coords: Matrix<Real, Const<2>, Const<1>, <DefaultAllocator as Allocator<Real, Const<2>>>::Buffer>

The coordinates of this point, i.e., the shift from the origin.