pub fn ndim(&self) -> usize {
        match self {
            // Lin
            Self::Lin2 => Lin2::GEO_NDIM,
            Self::Lin3 => Lin3::GEO_NDIM,
            Self::Lin4 => Lin4::GEO_NDIM,
            Self::Lin5 => Lin5::GEO_NDIM,
            // Tri
            Self::Tri3 => Tri3::GEO_NDIM,
            Self::Tri6 => Tri6::GEO_NDIM,
            Self::Tri10 => Tri10::GEO_NDIM,
            Self::Tri15 => Tri15::GEO_NDIM,
            // Qua
            Self::Qua4 => Qua4::GEO_NDIM,
            Self::Qua8 => Qua8::GEO_NDIM,
            Self::Qua9 => Qua9::GEO_NDIM,
            Self::Qua12 => Qua12::GEO_NDIM,
            Self::Qua16 => Qua16::GEO_NDIM,
            Self::Qua17 => Qua17::GEO_NDIM,
            // Tet
            Self::Tet4 => Tet4::GEO_NDIM,
            Self::Tet10 => Tet10::GEO_NDIM,
            Self::Tet20 => Tet20::GEO_NDIM,
            // Hex
            Self::Hex8 => Hex8::GEO_NDIM,
            Self::Hex20 => Hex20::GEO_NDIM,
            Self::Hex32 => Hex32::GEO_NDIM,
        }
    }
/// Returns the (geometry) ndim
Returns the (geometry) ndim
Returns the ( geometry ) ndim
pub fn ndim(&self) -> usize {
        match self {
            // Lin
            Self::Lin2 => Lin2::GEO_NDIM,
            Self::Lin3 => Lin3::GEO_NDIM,
            Self::Lin4 => Lin4::GEO_NDIM,
            Self::Lin5 => Lin5::GEO_NDIM,
            // Tri
            Self::Tri3 => Tri3::GEO_NDIM,
            Self::Tri6 => Tri6::GEO_NDIM,
            Self::Tri10 => Tri10::GEO_NDIM,
            Self::Tri15 => Tri15::GEO_NDIM,
            // Qua
            Self::Qua4 => Qua4::GEO_NDIM,
            Self::Qua8 => Qua8::GEO_NDIM,
            Self::Qua9 => Qua9::GEO_NDIM,
            Self::Qua12 => Qua12::GEO_NDIM,
            Self::Qua16 => Qua16::GEO_NDIM,
            Self::Qua17 => Qua17::GEO_NDIM,
            // Tet
            Self::Tet4 => Tet4::GEO_NDIM,
            Self::Tet10 => Tet10::GEO_NDIM,
            Self::Tet20 => Tet20::GEO_NDIM,
            // Hex
            Self::Hex8 => Hex8::GEO_NDIM,
            Self::Hex20 => Hex20::GEO_NDIM,
            Self::Hex32 => Hex32::GEO_NDIM,
        }
    }
pub fn ndim ( & self ) -> usize { match self { // Lin Self :: Lin2 => Lin2 :: GEO_NDIM , Self :: Lin3 => Lin3 :: GEO_NDIM , Self :: Lin4 => Lin4 :: GEO_NDIM , Self :: Lin5 => Lin5 :: GEO_NDIM , // Tri Self :: Tri3 => Tri3 :: GEO_NDIM , Self :: Tri6 => Tri6 :: GEO_NDIM , Self :: Tri10 => Tri10 :: GEO_NDIM , Self :: Tri15 => Tri15 :: GEO_NDIM , // Qua Self :: Qua4 => Qua4 :: GEO_NDIM , Self :: Qua8 => Qua8 :: GEO_NDIM , Self :: Qua9 => Qua9 :: GEO_NDIM , Self :: Qua12 => Qua12 :: GEO_NDIM , Self :: Qua16 => Qua16 :: GEO_NDIM , Self :: Qua17 => Qua17 :: GEO_NDIM , // Tet Self :: Tet4 => Tet4 :: GEO_NDIM , Self :: Tet10 => Tet10 :: GEO_NDIM , Self :: Tet20 => Tet20 :: GEO_NDIM , // Hex Self :: Hex8 => Hex8 :: GEO_NDIM , Self :: Hex20 => Hex20 :: GEO_NDIM , Self :: Hex32 => Hex32 :: GEO_NDIM , } }
Returns the (geometry) ndim
Returns the ( geometry ) ndim
&self
&self