X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FGeomAlgoAPI%2FGeomAlgoAPI_Partition.cpp;fp=src%2FGeomAlgoAPI%2FGeomAlgoAPI_Partition.cpp;h=e67df9a8b8e92032392358706af7d12974785b25;hb=e9b05712fca3943201ecd6db417bb3478e24b7b3;hp=092299ec62d318e2001ccea483eb005ee4481381;hpb=e2823a1620aa63a7df7f6c952b9ae241766abf7a;p=modules%2Fshaper.git diff --git a/src/GeomAlgoAPI/GeomAlgoAPI_Partition.cpp b/src/GeomAlgoAPI/GeomAlgoAPI_Partition.cpp index 092299ec6..e67df9a8b 100644 --- a/src/GeomAlgoAPI/GeomAlgoAPI_Partition.cpp +++ b/src/GeomAlgoAPI/GeomAlgoAPI_Partition.cpp @@ -126,17 +126,6 @@ static void sortCompound(TopoDS_Shape& theCompound, GEOMAlgo_Splitter* theOperat theCompound = aResCompound; } -//================================================================================================= -std::shared_ptr 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(); -} - //================================================================================================= GeomAlgoAPI_Partition::GeomAlgoAPI_Partition(const ListOfShape& theObjects, const ListOfShape& theTools)