[][src]Trait building_blocks_core::point::DotProduct

pub trait DotProduct {
    type Scalar: Copy;
    fn dot(&self, other: &Self) -> Self::Scalar;
}

Associated Types

type Scalar: Copy

Loading content...

Required methods

fn dot(&self, other: &Self) -> Self::Scalar

The vector dot product.

Loading content...

Implementors

impl<T> DotProduct for Point2<T> where
    T: Copy + Add<Output = T> + Mul<Output = T>, 
[src]

type Scalar = T

impl<T> DotProduct for Point3<T> where
    T: Copy + Add<Output = T> + Mul<Output = T>, 
[src]

type Scalar = T

Loading content...