Esempio n. 1
0
        public static SolutionSpec Pack(this SolutionSpec source, bool deep = false)
        {
            if (source.Raw != null)
            {
                return(source);
            }
            var packed = source.DoNormalize().RemoveBadFacetsVertices().PackFacetNumbers();

            if (packed.Size() < 5000 && !deep)
            {
                return(packed);
            }
            return(packed.PackWithRotations());
        }
Esempio n. 2
0
 public static SolutionSpec Normalize(this SolutionSpec source)
 {
     return(source.DoNormalize().RemoveBadFacetsVertices());
 }