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