nalgebra/src/geometry/point_alias.rs

27 lines
1.2 KiB
Rust
Raw Normal View History

2019-03-23 21:29:07 +08:00
use crate::geometry::Point;
/// A statically sized 1-dimensional column point.
///
/// **Because this is an alias, not all its methods are listed here. See the [`Point`](crate::Point) type too.**
2021-04-11 17:00:38 +08:00
pub type Point1<T> = Point<T, 1>;
/// A statically sized 2-dimensional column point.
///
/// **Because this is an alias, not all its methods are listed here. See the [`Point`](crate::Point) type too.**
2021-04-11 17:00:38 +08:00
pub type Point2<T> = Point<T, 2>;
/// A statically sized 3-dimensional column point.
///
/// **Because this is an alias, not all its methods are listed here. See the [`Point`](crate::Point) type too.**
2021-04-11 17:00:38 +08:00
pub type Point3<T> = Point<T, 3>;
/// A statically sized 4-dimensional column point.
///
/// **Because this is an alias, not all its methods are listed here. See the [`Point`](crate::Point) type too.**
2021-04-11 17:00:38 +08:00
pub type Point4<T> = Point<T, 4>;
/// A statically sized 5-dimensional column point.
///
/// **Because this is an alias, not all its methods are listed here. See the [`Point`](crate::Point) type too.**
2021-04-11 17:00:38 +08:00
pub type Point5<T> = Point<T, 5>;
/// A statically sized 6-dimensional column point.
///
/// **Because this is an alias, not all its methods are listed here. See the [`Point`](crate::Point) type too.**
2021-04-11 17:00:38 +08:00
pub type Point6<T> = Point<T, 6>;