Esempio n. 1
0
        /// <inheritdoc/>
        /// <summary>
        ///
        /// </summary>
        /// <param name="hedges"></param>
        /// <returns></returns>
        public IEnumerable <E> GetDistinct(IEnumerable <E> hedges)
        {
            foreach (var he in hedges)
            {
                _hedges.ContainsCheck(he);
            }

            return(GetDistinctImpl(hedges));
        }
Esempio n. 2
0
        /// <summary>
        /// Removes the given edge from the mesh.
        /// </summary>
        /// <param name="hedge"></param>
        public void RemoveEdge(TE hedge)
        {
            _hedges.ContainsCheck(hedge);
            hedge.RemovedCheck();

            RemoveEdgeImpl(hedge);
        }
Esempio n. 3
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="hedge"></param>
 internal void ContainsCheck(E hedge)
 {
     _hedges.ContainsCheck(hedge);
 }