def bounding_box(objs, loc=None, optimal=False): if isinstance(objs, (list, tuple)): compound = Compound._makeCompound(objs) else: compound = objs return BoundingBox(compound if loc is None else compound.Moved(loc.wrapped), optimal=optimal)
def bounding_box(objs, loc=None, optimal=False): if isinstance(objs, (list, tuple)): compound = Compound._makeCompound(objs) # pylint: disable=protected-access else: compound = objs return BoundingBox(compound if loc is None else compound.Moved(loc), optimal=optimal)
def compound(self): return Compound._makeCompound(self.compounds())
def compound(self): return Compound._makeCompound(self.compounds()) # pylint: disable=protected-access
def compound(self): return Compound._makeCompound(self.shape)