Esempio n. 1
0
        public static BBox3D BBox(this IEnumerable <Geometry> geometry_block, double tol_len, double tol_rad)
        {
            var bbox = new BBox3D();

            foreach (var x in geometry_block)
            {
                bbox = bbox.Union(x.BBox(tol_len, tol_rad));
            }

            return(bbox);
        }
Esempio n. 2
0
        public static BBox3D BBox(this IEnumerable <EntityObject> ents)
        {
            var bbox = new BBox3D();

            foreach (var x in ents)
            {
                bbox = bbox.Union(x.BBox());
            }

            return(bbox);
        }