Trait building_blocks_core::point::point_traits::GetComponent[][src]

pub trait GetComponent {
    type Scalar: Copy;
    fn at(self, component_index: usize) -> Self::Scalar;
}

Associated Types

Required methods

Returns the component specified by index. I.e. X = 0, Y = 1, Z = 2.

Implementors