1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-09-03 14:10:33 +03:00

Coding - Isolate long attached comments for clang-format #259

Automatically update code with clang-format disabling for avoiding formatting.
You can check the python script in GitHub PR
This commit is contained in:
dpasukhi
2025-01-16 20:15:29 +00:00
parent 9a6854774d
commit f91655b0c5
475 changed files with 1380 additions and 8 deletions

View File

@@ -238,7 +238,9 @@ Handle(Geom_Surface) BRepOffset::CollapseSingularities (const Handle(Geom_Surfac
// determine if all poles of the side fit into:
Standard_Boolean isCollapsed = Standard_True; // aCenter precisely (with gp::Resolution())
Standard_Boolean isSingular = Standard_True; // aCenter with thePrecision
// clang-format off
NCollection_LocalArray<Standard_Boolean,4> isDegenerated (aDegenPnt.Extent()); // degenerated vertex
// clang-format on
for (size_t iDegen = 0; iDegen < isDegenerated.Size(); ++iDegen) isDegenerated[iDegen] = Standard_True;
for (int iPole = 0; iPole < NbSteps[iSide]; iPole++)
{

View File

@@ -186,6 +186,7 @@ private: //! @name Fields
// Results
Standard_Boolean myDone; //!< Status of the algorithm
// clang-format off
BRepOffset_DataMapOfShapeListOfInterval myMapEdgeType; //!< Map containing the list of intervals on the edge
TopTools_IndexedDataMapOfShapeListOfShape myAncestors; //!< Ancestors map
NCollection_DataMap<TopoDS_Shape,
@@ -197,6 +198,7 @@ private: //! @name Fields
TopTools_ListOfShape myNewFaces; //!< New faces generated to close the gaps between adjacent
//! tangential faces having different offset values
TopTools_DataMapOfShapeShape myGenerated; //!< Binding between edge and face generated from the edge
// clang-format on
};
#endif // _BRepOffset_Analyse_HeaderFile

View File

@@ -2936,7 +2936,9 @@ static void UpdateInitOffset (BRepAlgo_Image& myInitOffset,
//=======================================================================
void BRepOffset_MakeOffset::MakeMissingWalls (const Message_ProgressRange& theRange)
{
// clang-format off
TopTools_IndexedDataMapOfShapeListOfShape Contours; //Start vertex + list of connected edges (free boundary)
// clang-format on
TopTools_DataMapOfShapeShape MapEF; //Edges of contours: edge + face
Standard_Real OffsetVal = Abs(myOffset);

View File

@@ -871,6 +871,7 @@ private:
Handle(BRepAlgo_AsDes) myAsDes; //!< Ascendants/descendants of the edges faces
const BRepOffset_Analyse* myAnalyzer; //!< Analyzer of the input parameters
// clang-format off
TopTools_DataMapOfShapeListOfShape* myEdgesOrigins; //!< Origins of the offset edges (binding between offset edge and original edge)
TopTools_DataMapOfShapeShape* myFacesOrigins; //!< Origins of the offset faces (binding between offset face and original face)
TopTools_DataMapOfShapeShape* myETrimEInf; //!< Binding between trimmed and infinite edge
@@ -904,6 +905,7 @@ private:
TopTools_IndexedDataMapOfShapeListOfShape myFacesToRebuild; //!< Faces that have to be rebuilt (invalid and close to invalid faces)
TopTools_MapOfShape myFSelfRebAvoid; //!< Faces that have to be avoided when rebuilding splits of the same offset face
// clang-format on
TopoDS_Shape mySolids; //!< Solids built from the splits of faces