[−][src]Type Definition na::Point2
type Point2<N> = Point<N, U2>;
A statically sized 2-dimensional column point.
Because this is an alias, not all its methods are listed here. See the Point
type too.
type Point2<N> = Point<N, U2>;
A statically sized 2-dimensional column point.
Because this is an alias, not all its methods are listed here. See the Point
type too.
impl<T: Scalar> AsVec<Matrix<T, U2, U1, <DefaultAllocator as Allocator<T, U2, U1>>::Buffer>> for Point2<T>
[src]impl<N: BaseNum + RealField> FloatPnt for Point2<N>
[src]pub fn origin() -> Self
[src]pub fn distance(&self, b: &Self) -> Self::Field
[src]pub fn distance_squared(&self, b: &Self) -> Self::Field
[src]impl<T: Scalar> JoinPnt<T, Point<T, U2>> for Point2<T>
[src]impl<T: Scalar> JoinPnt<T, T> for Point2<T>
[src]impl<N: BaseNum> NumPnt for Point2<N>
[src]type Field = N
type Coordinates = Vector2<N>
pub fn coordinates(&self) -> Self::Coordinates
[src]pub fn from_coordiantes(coords: Self::Coordinates) -> Self
[src]impl<T: Scalar> Swizzles2<T> for Point2<T>
[src]impl<T: Scalar> Swizzles2Mut<T> for Point2<T>
[src]impl<T: Scalar> ToVec<Matrix<T, U2, U1, <DefaultAllocator as Allocator<T, U2, U1>>::Buffer>> for Point2<T>
[src]