[−][src]Trait na::NumPnt
Trait grouping most common operations on points.
Trait grouping most common operations on points.
type Field: BaseNum
type Coordinates: Index<usize, Output = Self::Field> + IndexMut<usize> + Add<Self::Coordinates, Output = Self::Coordinates> + Sub<Self::Coordinates, Output = Self::Coordinates> + AddAssign<Self::Coordinates> + SubAssign<Self::Coordinates> + Mul<Self::Field, Output = Self::Coordinates> + Div<Self::Field, Output = Self::Coordinates> + MulAssign<Self::Field> + DivAssign<Self::Field>
fn coordinates(&self) -> Self::Coordinates
fn from_coordiantes(coords: Self::Coordinates) -> Self
impl<N: BaseNum> NumPnt for Point1<N>
[src]type Field = N
type Coordinates = Vector1<N>
fn coordinates(&self) -> Self::Coordinates
[src]fn from_coordiantes(coords: Self::Coordinates) -> Self
[src]impl<N: BaseNum> NumPnt for Point2<N>
[src]type Field = N
type Coordinates = Vector2<N>
fn coordinates(&self) -> Self::Coordinates
[src]fn from_coordiantes(coords: Self::Coordinates) -> Self
[src]impl<N: BaseNum> NumPnt for Point3<N>
[src]type Field = N
type Coordinates = Vector3<N>
fn coordinates(&self) -> Self::Coordinates
[src]fn from_coordiantes(coords: Self::Coordinates) -> Self
[src]impl<N: BaseNum> NumPnt for Point4<N>
[src]type Field = N
type Coordinates = Vector4<N>
fn coordinates(&self) -> Self::Coordinates
[src]fn from_coordiantes(coords: Self::Coordinates) -> Self
[src]impl<N: BaseNum> NumPnt for Point5<N>
[src]type Field = N
type Coordinates = Vector5<N>
fn coordinates(&self) -> Self::Coordinates
[src]fn from_coordiantes(coords: Self::Coordinates) -> Self
[src]impl<N: BaseNum> NumPnt for Point6<N>
[src]type Field = N
type Coordinates = Vector6<N>
fn coordinates(&self) -> Self::Coordinates
[src]fn from_coordiantes(coords: Self::Coordinates) -> Self
[src]