pub fn facet_count(&self) -> usize {
        match self {
            ElementData::Point => 1,
            ElementData::Edge(_) => 2,
            ElementData::ElementCounts(element_counts) => {
                element_counts.iter().map(|el_count| el_count.count).sum()
            }
        }
    }
/// The number of facets in a polytope with a given metadata.
The number of facets in a polytope with a given metadata.
The number of facets in a polytope with a given metadata .
pub fn facet_count(&self) -> usize {
        match self {
            ElementData::Point => 1,
            ElementData::Edge(_) => 2,
            ElementData::ElementCounts(element_counts) => {
                element_counts.iter().map(|el_count| el_count.count).sum()
            }
        }
    }
pub fn facet_count ( & self ) -> usize { match self { ElementData :: Point => 1 , ElementData :: Edge ( _ ) => 2 , ElementData :: ElementCounts ( element_counts ) => { element_counts . iter ( ) . map ( | el_count | el_count . count ) . sum ( ) } } }
The number of facets in a polytope with a given metadata.
The number of facets in a polytope with a given metadata .
&self
&self