mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-01-18 17:10:35 +05:00
untabify
This commit is contained in:
parent
d2046800b5
commit
5c917427de
@ -2126,7 +2126,7 @@ TCollection_AsciiString GEOMImpl_IBlocksOperations::PrintBCErrors
|
|||||||
//=============================================================================
|
//=============================================================================
|
||||||
Standard_Boolean GEOMImpl_IBlocksOperations::CheckCompoundOfBlocks
|
Standard_Boolean GEOMImpl_IBlocksOperations::CheckCompoundOfBlocks
|
||||||
(Handle(GEOM_Object) theCompound,
|
(Handle(GEOM_Object) theCompound,
|
||||||
std::list<BCError>& theErrors)
|
std::list<BCError>& theErrors)
|
||||||
{
|
{
|
||||||
SetErrorCode(KO);
|
SetErrorCode(KO);
|
||||||
|
|
||||||
@ -2222,7 +2222,7 @@ Standard_Boolean GEOMImpl_IBlocksOperations::CheckCompoundOfBlocks
|
|||||||
}
|
}
|
||||||
|
|
||||||
// 3. Find not glued blocks
|
// 3. Find not glued blocks
|
||||||
GEOMAlgo_GlueAnalyser aGD;
|
GEOMAlgo_GlueAnalyser aGD;
|
||||||
|
|
||||||
aGD.SetShape(aComp);
|
aGD.SetShape(aComp);
|
||||||
aGD.SetTolerance(Precision::Confusion());
|
aGD.SetTolerance(Precision::Confusion());
|
||||||
@ -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
|
||||||
|
@ -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();
|
||||||
|
Loading…
Reference in New Issue
Block a user