-//=================================================================================================
-std::shared_ptr<GeomAPI_Shape> GeomAlgoAPI_Partition::make(const ListOfShape& theObjects,
- const ListOfShape& theTools)
-{
- GeomAlgoAPI_Partition aPartitionAlgo(theObjects, theTools);
- if(aPartitionAlgo.isDone() && !aPartitionAlgo.shape()->isNull() && aPartitionAlgo.isValid()) {
- return aPartitionAlgo.shape();
- }
- return std::shared_ptr<GeomAPI_Shape>();
-}
-