Trait building_blocks_core::point::point_traits::Point [−][src]
pub trait Point: 'static + Abs + Add<Output = Self> + AddAssign + Bounded + ConstZero + Copy + Div<Self::Scalar, Output = Self> + Div<Self, Output = Self> + GetComponent<Scalar = Self::Scalar> + MapComponents<Scalar = Self::Scalar> + Mul<Self::Scalar, Output = Self> + Mul<Self, Output = Self> + Ones + PartialEq + PartialOrd + Sized + Sub<Output = Self> + SubAssign + Neg + Zero {
type Scalar: Copy;
fn fill(value: <Self as Point>::Scalar) -> Self;
fn basis() -> Vec<Self>;
fn volume(self) -> <Self as Point>::Scalar;
}
Expand description
A trait that bundles op traits that all PointN<N>
(and its components) should have.