This commit is contained in:
jfa 2009-12-17 09:56:12 +00:00
parent d2046800b5
commit 5c917427de
2 changed files with 5 additions and 3 deletions

View File

@ -2385,6 +2385,9 @@ Handle(GEOM_Object) GEOMImpl_IBlocksOperations::CheckAndImprove
GEOMImpl_IBlockTrsf aTI (aFunction); GEOMImpl_IBlockTrsf aTI (aFunction);
aTI.SetOriginal(aLastFunction); aTI.SetOriginal(aLastFunction);
// -1 means do not unite faces on common surface (?except case of seam edge between them?)
//aTI.SetOptimumNbFaces(-1);
aTI.SetOptimumNbFaces(6); aTI.SetOptimumNbFaces(6);
//Compute the fixed shape //Compute the fixed shape

View File

@ -237,7 +237,6 @@ Standard_Integer GEOMImpl_ShapeDriver::Execute(TFunction_Logbook& log) const
TopTools_MapOfShape aMapEdges; TopTools_MapOfShape aMapEdges;
Handle(TopTools_HSequenceOfShape) aSeqEdgesIn = new TopTools_HSequenceOfShape; Handle(TopTools_HSequenceOfShape) aSeqEdgesIn = new TopTools_HSequenceOfShape;
BRep_Builder B;
for (ind = 1; ind <= nbshapes; ind++) { for (ind = 1; ind <= nbshapes; ind++) {
Handle(GEOM_Function) aRefSh_i = Handle(GEOM_Function)::DownCast(aShapes->Value(ind)); Handle(GEOM_Function) aRefSh_i = Handle(GEOM_Function)::DownCast(aShapes->Value(ind));
TopoDS_Shape aSh_i = aRefSh_i->GetValue(); TopoDS_Shape aSh_i = aRefSh_i->GetValue();