/// Creates a new flag set defined by all flags in a polytope that can be
/// obtained by repeatedly applying any in a given set of flag changes to a
/// specified flag.
///
/// # Panics
/// You must call [`Polytope::element_sort`] before calling this method.
Creates a new flag set defined by all flags in a polytope that can be
obtained by repeatedly applying any in a given set of flag changes to a
specified flag.
Creates a new flag set defined by all flags in a polytope that can be obtained by repeatedly applying any in a given set of flag changes to a specified flag .
pub fn with_flags(polytope: &Abstract, flag_changes: FlagChanges, first_flag: Flag) -> Self {
        Self {
            flags: OrientedFlagIter::with_flags(polytope, flag_changes.clone(), first_flag.into())
                .filter_flags()
                .map(|oriented_flag| oriented_flag.flag)
                .collect(),
            flag_changes,
        }
    }
pub fn with_flags ( polytope : & Abstract , flag_changes : FlagChanges , first_flag : Flag ) -> Self { Self { flags : OrientedFlagIter :: with_flags ( polytope , flag_changes . clone ( ) , first_flag . into ( ) ) . filter_flags ( ) . map ( | oriented_flag | oriented_flag . flag ) . collect ( ) , flag_changes , } }
Creates a new flag set defined by all flags in a polytope that can be
obtained by repeatedly applying any in a given set of flag changes to a
specified flag.
Creates a new flag set defined by all flags in a polytope that can be obtained by repeatedly applying any in a given set of flag changes to a specified flag .
polytope
&Abstract
flag_changes
FlagChanges
first_flag
Flag
panics
You must call [`Polytope::element_sort`] before calling this method.
You must call [ ` Polytope :: element_sort ` ] before calling this method .