]> OCCT Git - occt.git/commitdiff
Coding - Function guard update (#610)
authorPasukhin Dmitry <dpasukhi@opencascade.com>
Sun, 13 Jul 2025 12:16:51 +0000 (13:16 +0100)
committerGitHub <noreply@github.com>
Sun, 13 Jul 2025 12:16:51 +0000 (13:16 +0100)
- Removed verbose function header comments (name, purpose) across multiple C++ source files.
- Introduced a single-line separator comment before each function for consistent formatting.
- Applied the change in visualization, modeling, algorithms, foundation, and application framework modules.

176 files changed:
src/ApplicationFramework/TKBin/BinDrivers/BinDrivers.cxx
src/ApplicationFramework/TKBinL/BinLDrivers/BinLDrivers.cxx
src/ApplicationFramework/TKBinL/BinLDrivers/BinLDrivers_DocumentSection.cxx
src/ApplicationFramework/TKBinL/BinObjMgt/BinObjMgt_Persistent.cxx
src/ApplicationFramework/TKCAF/TNaming/TNaming.cxx
src/ApplicationFramework/TKCAF/TNaming/TNaming_Naming.cxx
src/ApplicationFramework/TKCAF/TNaming/TNaming_TranslateTool.cxx
src/ApplicationFramework/TKCDF/LDOM/LDOMBasicString.cxx
src/ApplicationFramework/TKCDF/LDOM/LDOM_BasicElement.cxx
src/ApplicationFramework/TKCDF/LDOM/LDOM_CharacterData.cxx
src/ApplicationFramework/TKCDF/LDOM/LDOM_NodeList.cxx
src/ApplicationFramework/TKCDF/LDOM/LDOM_OSStream.cxx
src/ApplicationFramework/TKCDF/LDOM/LDOM_XmlWriter.cxx
src/ApplicationFramework/TKLCAF/TDF/TDF_Data.cxx
src/ApplicationFramework/TKLCAF/TDF/TDF_DataSet.cxx
src/ApplicationFramework/TKLCAF/TDF/TDF_IDFilter.cxx
src/ApplicationFramework/TKLCAF/TDF/TDF_Label.cxx
src/ApplicationFramework/TKLCAF/TDF/TDF_Reference.cxx
src/ApplicationFramework/TKLCAF/TDF/TDF_Tool.cxx
src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_AsciiString.cxx
src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_BooleanArray.cxx
src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_BooleanList.cxx
src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_ByteArray.cxx
src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_Comment.cxx
src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_ExtStringArray.cxx
src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_ExtStringList.cxx
src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_Integer.cxx
src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_IntegerArray.cxx
src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_IntegerList.cxx
src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_Name.cxx
src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_NamedData.cxx
src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_Real.cxx
src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_RealArray.cxx
src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_RealList.cxx
src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_ReferenceArray.cxx
src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_ReferenceList.cxx
src/ApplicationFramework/TKLCAF/TDocStd/TDocStd_Document.cxx
src/ApplicationFramework/TKLCAF/TDocStd/TDocStd_XLink.cxx
src/ApplicationFramework/TKLCAF/TDocStd/TDocStd_XLinkRoot.cxx
src/ApplicationFramework/TKLCAF/TFunction/TFunction_Driver.cxx
src/ApplicationFramework/TKLCAF/TFunction/TFunction_Logbook.cxx
src/ApplicationFramework/TKStd/ShapePersistent/ShapePersistent.cxx
src/ApplicationFramework/TKStd/StdDrivers/StdDrivers.cxx
src/ApplicationFramework/TKStd/StdDrivers/StdDrivers_DocumentRetrievalDriver.cxx
src/ApplicationFramework/TKStd/StdPersistent/StdPersistent.cxx
src/ApplicationFramework/TKStdL/StdLDrivers/StdLDrivers.cxx
src/ApplicationFramework/TKStdL/StdLDrivers/StdLDrivers_DocumentRetrievalDriver.cxx
src/ApplicationFramework/TKStdL/StdLPersistent/StdLPersistent.cxx
src/ApplicationFramework/TKTObj/TObj/TObj_Model.cxx
src/ApplicationFramework/TKTObj/TObj/TObj_TIntSparseArray.cxx
src/ApplicationFramework/TKVCAF/TPrsStd/TPrsStd_AISPresentation.cxx
src/ApplicationFramework/TKXml/XmlDrivers/XmlDrivers.cxx
src/ApplicationFramework/TKXmlL/XmlLDrivers/XmlLDrivers.cxx
src/ApplicationFramework/TKXmlL/XmlLDrivers/XmlLDrivers_NamespaceDef.cxx
src/ApplicationFramework/TKXmlL/XmlObjMgt/XmlObjMgt_Persistent.cxx
src/DataExchange/TKDESTEP/RWStepAP214/RWStepAP214_ReadWriteModule.cxx
src/DataExchange/TKDESTEP/STEPConstruct/STEPConstruct_UnitContext.cxx
src/DataExchange/TKDESTEP/STEPControl/STEPControl_ActorRead.cxx
src/DataExchange/TKDESTEP/StepData/StepData_Factors.cxx
src/DataExchange/TKDESTEP/StepToTopoDS/StepToTopoDS_Builder.cxx
src/DataExchange/TKDESTEP/StepToTopoDS/StepToTopoDS_Tool.cxx
src/DataExchange/TKDESTEP/StepToTopoDS/StepToTopoDS_TranslateEdge.cxx
src/DataExchange/TKDESTEP/StepToTopoDS/StepToTopoDS_TranslateEdgeLoop.cxx
src/DataExchange/TKDESTEP/StepToTopoDS/StepToTopoDS_TranslateFace.cxx
src/DataExchange/TKDESTEP/StepToTopoDS/StepToTopoDS_TranslatePolyLoop.cxx
src/DataExchange/TKDESTEP/StepToTopoDS/StepToTopoDS_TranslateShell.cxx
src/DataExchange/TKDESTEP/StepToTopoDS/StepToTopoDS_TranslateSolid.cxx
src/DataExchange/TKDESTEP/StepToTopoDS/StepToTopoDS_TranslateVertex.cxx
src/DataExchange/TKDESTEP/StepToTopoDS/StepToTopoDS_TranslateVertexLoop.cxx
src/DataExchange/TKDESTEP/TopoDSToStep/TopoDSToStep_Builder.cxx
src/DataExchange/TKDESTEP/TopoDSToStep/TopoDSToStep_FacetedTool.cxx
src/DataExchange/TKDESTEP/TopoDSToStep/TopoDSToStep_WireframeBuilder.cxx
src/DataExchange/TKDEVRML/VrmlData/VrmlData_Node.cxx
src/DataExchange/TKXCAF/XCAFDoc/XCAFDoc_AssemblyGraph.cxx
src/DataExchange/TKXCAF/XCAFDoc/XCAFDoc_GraphNode.cxx
src/DataExchange/TKXSBase/XSControl/XSControl_Controller.cxx
src/Draw/TKDCAF/DDataStd/DDataStd_DrawPresentation.cxx
src/Draw/TKDCAF/DNaming/DNaming.cxx
src/Draw/TKDraw/DBRep/DBRep_IsoBuilder.cxx
src/Draw/TKDraw/Draw/Draw_Grid.cxx
src/Draw/TKDraw/Draw/Draw_VariableCommands.cxx
src/Draw/TKDraw/DrawTrSurf/DrawTrSurf.cxx
src/Draw/TKDraw/DrawTrSurf/DrawTrSurf_Drawable.cxx
src/Draw/TKQADraw/QABugs/QABugs_17.cxx
src/Draw/TKTopTest/BRepTest/BRepTest_CheckCommands.cxx
src/Draw/TKTopTest/BRepTest/BRepTest_FeatureCommands.cxx
src/Draw/TKTopTest/MeshTest/MeshTest_CheckTopology.cxx
src/Draw/TKTopTest/SWDRAW/SWDRAW_ShapeUpgrade.cxx
src/Draw/TKViewerTest/ViewerTest/ViewerTest_ObjectCommands.cxx
src/Draw/TKViewerTest/ViewerTest/ViewerTest_ViewerCommands.cxx
src/Draw/TKXDEDRAW/XDEDRAW/XDEDRAW_Notes.cxx
src/Draw/TKXSDRAWGLTF/XSDRAWGLTF/XSDRAWGLTF.cxx
src/Draw/TKXSDRAWOBJ/XSDRAWOBJ/XSDRAWOBJ.cxx
src/Draw/TKXSDRAWPLY/XSDRAWPLY/XSDRAWPLY.cxx
src/Draw/TKXSDRAWSTL/XSDRAWSTL/XSDRAWSTL.cxx
src/FoundationClasses/TKMath/Poly/Poly_CoherentTriangulation.cxx
src/FoundationClasses/TKMath/TopLoc/TopLoc_Location.cxx
src/FoundationClasses/TKMath/math/math_BrentMinimum.cxx
src/FoundationClasses/TKernel/FSD/FSD_File.cxx
src/FoundationClasses/TKernel/Message/Message_Algorithm.cxx
src/FoundationClasses/TKernel/NCollection/NCollection_AccAllocator.cxx
src/FoundationClasses/TKernel/NCollection/NCollection_AlignedAllocator.cxx
src/FoundationClasses/TKernel/NCollection/NCollection_BaseAllocator.cxx
src/FoundationClasses/TKernel/NCollection/NCollection_BaseList.cxx
src/FoundationClasses/TKernel/NCollection/NCollection_IncAllocator.cxx
src/FoundationClasses/TKernel/NCollection/NCollection_WinHeapAllocator.cxx
src/FoundationClasses/TKernel/OSD/OSD_FileNode.cxx
src/ModelingAlgorithms/TKBool/BRepFill/BRepFill_Draft.cxx
src/ModelingAlgorithms/TKBool/BRepFill/BRepFill_Filling.cxx
src/ModelingAlgorithms/TKBool/BRepFill/BRepFill_LocationLaw.cxx
src/ModelingAlgorithms/TKBool/BRepFill/BRepFill_PipeShell.cxx
src/ModelingAlgorithms/TKBool/BRepFill/BRepFill_ShapeLaw.cxx
src/ModelingAlgorithms/TKBool/BRepProj/BRepProj_Projection.cxx
src/ModelingAlgorithms/TKBool/TopOpeBRepDS/TopOpeBRepDS_Check.cxx
src/ModelingAlgorithms/TKBool/TopOpeBRepDS/TopOpeBRepDS_HDataStructure.cxx
src/ModelingAlgorithms/TKFeat/BRepFeat/BRepFeat_MakeDPrism.cxx
src/ModelingAlgorithms/TKFeat/BRepFeat/BRepFeat_MakePipe.cxx
src/ModelingAlgorithms/TKFeat/LocOpe/LocOpe_BuildShape.cxx
src/ModelingAlgorithms/TKFillet/BRepBlend/BRepBlend_RstRstLineBuilder.cxx
src/ModelingAlgorithms/TKFillet/BlendFunc/BlendFunc_Corde.cxx
src/ModelingAlgorithms/TKFillet/ChFi3d/ChFi3d.cxx
src/ModelingAlgorithms/TKFillet/ChFi3d/ChFi3d_Builder_0.cxx
src/ModelingAlgorithms/TKFillet/ChFi3d/ChFi3d_Builder_6.cxx
src/ModelingAlgorithms/TKFillet/ChFiKPart/ChFiKPart_ComputeData_FilPlnPln.cxx
src/ModelingAlgorithms/TKFillet/ChFiKPart/ChFiKPart_ComputeData_Rotule.cxx
src/ModelingAlgorithms/TKGeomAlgo/Geom2dHatch/Geom2dHatch_Element.cxx
src/ModelingAlgorithms/TKGeomAlgo/Geom2dHatch/Geom2dHatch_Hatcher.cxx
src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_BSplineCurves.cxx
src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_LocationDraft.cxx
src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_SectionPlacement.cxx
src/ModelingAlgorithms/TKGeomAlgo/HatchGen/HatchGen_PointOnHatching.cxx
src/ModelingAlgorithms/TKGeomAlgo/IntPatch/IntPatch_InterferencePolyhedron.cxx
src/ModelingAlgorithms/TKGeomAlgo/Intf/Intf_InterferencePolygon2d.cxx
src/ModelingAlgorithms/TKGeomAlgo/Law/Law_BSpline.cxx
src/ModelingAlgorithms/TKGeomAlgo/TopTrans/TopTrans_CurveTransition.cxx
src/ModelingAlgorithms/TKOffset/BRepOffset/BRepOffset_MakeOffset_1.cxx
src/ModelingAlgorithms/TKOffset/BRepOffset/BRepOffset_Tool.cxx
src/ModelingAlgorithms/TKOffset/BRepOffsetAPI/BRepOffsetAPI_MakePipe.cxx
src/ModelingAlgorithms/TKPrim/BRepPrim/BRepPrim_Builder.cxx
src/ModelingAlgorithms/TKPrim/BRepPrim/BRepPrim_GWedge.cxx
src/ModelingAlgorithms/TKShHealing/ShapeAnalysis/ShapeAnalysis_FreeBoundData.cxx
src/ModelingAlgorithms/TKShHealing/ShapeAnalysis/ShapeAnalysis_FreeBounds.cxx
src/ModelingAlgorithms/TKShHealing/ShapeAnalysis/ShapeAnalysis_FreeBoundsProperties.cxx
src/ModelingAlgorithms/TKShHealing/ShapeAnalysis/ShapeAnalysis_Surface.cxx
src/ModelingAlgorithms/TKShHealing/ShapeAnalysis/ShapeAnalysis_Wire.cxx
src/ModelingAlgorithms/TKTopAlgo/BRepBuilderAPI/BRepBuilderAPI_FastSewing.cxx
src/ModelingAlgorithms/TKTopAlgo/BRepBuilderAPI/BRepBuilderAPI_Sewing.cxx
src/ModelingAlgorithms/TKTopAlgo/BRepCheck/BRepCheck_Wire.cxx
src/ModelingAlgorithms/TKTopAlgo/BRepExtrema/BRepExtrema_TriangleSet.cxx
src/ModelingAlgorithms/TKTopAlgo/BRepGProp/BRepGProp_Gauss.cxx
src/ModelingAlgorithms/TKTopAlgo/BRepMAT2d/BRepMAT2d_BisectingLocus.cxx
src/ModelingAlgorithms/TKTopAlgo/BRepMAT2d/BRepMAT2d_Explorer.cxx
src/ModelingAlgorithms/TKTopAlgo/Bisector/Bisector_FunctionInter.cxx
src/ModelingData/TKG2d/Geom2d/Geom2d_BSplineCurve.cxx
src/ModelingData/TKG2d/Geom2d/Geom2d_BezierCurve.cxx
src/ModelingData/TKG3d/Adaptor3d/Adaptor3d_CurveOnSurface.cxx
src/ModelingData/TKG3d/Geom/Geom_BSplineCurve.cxx
src/ModelingData/TKG3d/Geom/Geom_BSplineSurface.cxx
src/ModelingData/TKG3d/Geom/Geom_BezierCurve.cxx
src/ModelingData/TKG3d/Geom/Geom_BezierSurface.cxx
src/ModelingData/TKGeomBase/CPnts/CPnts_AbscissaPoint.cxx
src/ModelingData/TKGeomBase/Extrema/Extrema_ExtElCS.cxx
src/ModelingData/TKGeomBase/GeomConvert/GeomConvert_Units.cxx
src/ModelingData/TKGeomBase/IntAna/IntAna_QuadQuadGeo.cxx
src/Visualization/TKIVtk/IVtkOCC/IVtkOCC_SelectableObject.cxx
src/Visualization/TKIVtk/IVtkOCC/IVtkOCC_Shape.cxx
src/Visualization/TKIVtk/IVtkOCC/IVtkOCC_ViewerSelector.cxx
src/Visualization/TKIVtk/IVtkTools/IVtkTools_DisplayModeFilter.cxx
src/Visualization/TKIVtk/IVtkTools/IVtkTools_ShapeObject.cxx
src/Visualization/TKOpenGl/OpenGl/OpenGl_BackgroundArray.cxx
src/Visualization/TKOpenGl/OpenGl/OpenGl_GraduatedTrihedron.cxx
src/Visualization/TKOpenGl/OpenGl/OpenGl_Window.cxx
src/Visualization/TKV3d/AIS/AIS_Plane.cxx
src/Visualization/TKV3d/AIS/AIS_PlaneTrihedron.cxx
src/Visualization/TKV3d/DsgPrs/DsgPrs_AnglePresentation.cxx
src/Visualization/TKV3d/SelectMgr/SelectMgr_SelectionManager.cxx

index de1e6dea51b4238efb6ecc9d658aab288cd6f924..001ba58020aea8a82cbf0bcbed23e9cb4e467eae 100644 (file)
 static Standard_GUID BinStorageDriver("03a56835-8269-11d5-aab2-0050044b1af1");
 static Standard_GUID BinRetrievalDriver("03a56836-8269-11d5-aab2-0050044b1af1");
 
-//=======================================================================
-// function : Factory
-// purpose  : PLUGIN FACTORY
-//=======================================================================
+//=================================================================================================
+
 const Handle(Standard_Transient)& BinDrivers::Factory(const Standard_GUID& theGUID)
 {
   if (theGUID == BinStorageDriver)
index e7de8fb335f17b34a7c9ae0b3d92751563db3d0a..504a0c69df3dcb327e2e2ea7d91fdef972f6fe8e 100644 (file)
 static Standard_GUID BinLStorageDriver("13a56835-8269-11d5-aab2-0050044b1af1");
 static Standard_GUID BinLRetrievalDriver("13a56836-8269-11d5-aab2-0050044b1af1");
 
-//=======================================================================
-// function : Factory
-// purpose  : PLUGIN FACTORY
-//=======================================================================
+//=================================================================================================
+
 const Handle(Standard_Transient)& BinLDrivers::Factory(const Standard_GUID& theGUID)
 {
   if (theGUID == BinLStorageDriver)
index 1ed874a7fb104bd97639e4d57f829e4362e792f3..5a1ab97989ec50ec01553dfb3a18f89cac7923ad 100644 (file)
 #include <TDocStd_FormatVersion.hxx>
 #include <BinMDataStd.hxx>
 
-//=======================================================================
-// function : BinLDrivers_DocumentSection
-// purpose  : Empty constructor
-//=======================================================================
+//=================================================================================================
 
 BinLDrivers_DocumentSection::BinLDrivers_DocumentSection()
     : myIsPostRead(Standard_False)
@@ -106,7 +103,7 @@ void BinLDrivers_DocumentSection::WriteTOC(Standard_OStream&           theStream
     if (aBufSize < aLen)
       aBufSize += sizeof(Standard_Integer);
 
-      // Write the buffer: size + string
+    // Write the buffer: size + string
 #ifdef DO_INVERSE
     aBufSz[0] = InverseInt((Standard_Integer)aBufSize);
 #else
index 9d39c84a89fc0e6392546e282f9f62063ec353d1..c3fe03701d66ea31ab8399f078521acaf3b2534e 100644 (file)
@@ -39,10 +39,7 @@ typedef struct
   unsigned char  Data4[8]; // 8-bytes long on all OS
 } BinObjMgt_UUID;
 
-//=======================================================================
-// function : BinObjMgt_Persistent
-// purpose  : Empty constructor
-//=======================================================================
+//=================================================================================================
 
 BinObjMgt_Persistent::BinObjMgt_Persistent()
     : myIndex(1),
index e8f5336a73f75a00deb1749a2aceeaba48c4d8a9..0dd26958bc1ce8ff2df36febe82389ef242bd35b 100644 (file)
@@ -697,10 +697,7 @@ Standard_OStream& TNaming::Print(const TNaming_NameType NAME, Standard_OStream&
   return s;
 }
 
-//=======================================================================
-// function : Print
-// purpose  : Prints UsedShapes.
-//=======================================================================
+//=================================================================================================
 
 Standard_OStream& TNaming::Print(const TDF_Label& ACCESS, Standard_OStream& s)
 {
index f3e3cc1abf7ef8e7d9b88363d8af5def48816f30..ed5bb87341a92ce45df35afdd0ac9caab8ff9d0d 100644 (file)
@@ -2165,10 +2165,7 @@ TNaming_Name& TNaming_Naming::ChangeName()
   return myName;
 }
 
-//=======================================================================
-// function : Regenerate
-// purpose  : idem designer
-//=======================================================================
+//=================================================================================================
 
 Standard_Boolean TNaming_Naming::Regenerate(TDF_LabelMap& MDF)
 
index 01580d413d5139152839933d2521874bd392662a..440deed9bee76b30b99cc67b1d94a2745dc01ff8 100644 (file)
@@ -50,10 +50,8 @@ IMPLEMENT_STANDARD_RTTIEXT(TNaming_TranslateTool, Standard_Transient)
 // myTriangleMode(aTriMode)
 //{
 //}
-//=======================================================================
-// function : Add
-// purpose  : Adds S2 in S1
-//=======================================================================
+//=================================================================================================
+
 void TNaming_TranslateTool::Add(TopoDS_Shape& S1, const TopoDS_Shape& S2) const
 {
   BRep_Builder B;
index a72a4cbd31241917ab6fecb0879ad733f1383380..05f7c7b5af0d24d258842f3af52bfc64ed75985b 100644 (file)
@@ -84,10 +84,7 @@ LDOMBasicString::LDOMBasicString(const char*                    aValue,
   }
 }
 
-//=======================================================================
-// function : LDOMBasicString
-// purpose  : Copy constructor
-//=======================================================================
+//=================================================================================================
 
 LDOMBasicString::LDOMBasicString(const LDOMBasicString& anOther)
     : myType(anOther.Type())
index edd85582d412402005930a7054f32c6e01e6c720..6cd6b4af3213728232b890483c2b3304bebc79e2 100644 (file)
@@ -163,10 +163,7 @@ const LDOM_BasicAttribute& LDOM_BasicElement::GetAttribute(const LDOMBasicString
   return aNullAttribute;
 }
 
-//=======================================================================
-// function : GetFirstAttribute
-// purpose  : private method
-//=======================================================================
+//=================================================================================================
 
 const LDOM_BasicAttribute* LDOM_BasicElement::GetFirstAttribute(
   const LDOM_BasicNode*&  theLastCh,
index b8b20f62469e19719cb5d579e91c050c2666fefb..a2fb9511803601c0c2d217d1dc3e6d7f6635b13a 100644 (file)
@@ -49,10 +49,7 @@ LDOM_CharacterData& LDOM_CharacterData::operator=(const LDOM_CharacterData& theO
   return *this;
 }
 
-//=======================================================================
-// function : setData
-// purpose  : replace the data
-//=======================================================================
+//=================================================================================================
 
 void LDOM_CharacterData::setData(const LDOMString& theValue)
 {
index 8b27b82c83acd3b3bdacd487b54aed9391e16942..e9c7d3cf43c3998da365c64fbb8f988de3c92b95 100644 (file)
@@ -44,10 +44,7 @@ void LDOM_NodeList::Append(const LDOM_BasicNode& aNode) const
   mySeq->Append(&aNode);
 }
 
-//=======================================================================
-// function : LDOM_NodeList
-// purpose  : Copy constructor
-//=======================================================================
+//=================================================================================================
 
 LDOM_NodeList::LDOM_NodeList(const LDOM_NodeList& theOther)
 {
index 421acd3a884f8884c1706f6c4653d612b4433934..55b50475c01202c6c9173e69aedb14a7311cad4f 100644 (file)
@@ -87,10 +87,7 @@ int LDOM_SBuffer::overflow(int c)
   return c;
 }
 
-//=======================================================================
-// function : underflow
-// purpose  : redefined virtual
-//=======================================================================
+//=================================================================================================
 
 int LDOM_SBuffer::underflow()
 {
index 3680edc64f10bc4aee6ed3927ea7585f69a98e52..ffb058902eb8a31dba508d1594db4bc6e9afd17b 100644 (file)
@@ -377,10 +377,8 @@ void LDOM_XmlWriter::Write(Standard_OStream& theOStream, const LDOMBasicString&
   }
 }
 
-//=======================================================================
-// function : Write
-// purpose  : Stream out a char
-//=======================================================================
+//=================================================================================================
+
 void LDOM_XmlWriter::Write(Standard_OStream& theOStream, const char theChar)
 {
   theOStream.write(&theChar, sizeof(char));
index e48f65e6280a33caa5afde7d12ff819479e42466..a2ac965af04265d92c90c2725da97534a9b79e1c 100644 (file)
@@ -88,10 +88,7 @@ IMPLEMENT_STANDARD_RTTIEXT(TDF_Data, Standard_Transient)
     aDelta->AddAttributeDelta(DELTACREATION);                                                      \
   }
 
-//=======================================================================
-// function : TDF_Data
-// purpose  : empty constructor
-//=======================================================================
+//=================================================================================================
 
 TDF_Data::TDF_Data()
     : myTransaction(0),
index d33e85a78e2a79973749ec14f7e9bde765126cc8..4a2a24025ccf77bbeb92ccbde58cef50de846344 100644 (file)
 
 IMPLEMENT_STANDARD_RTTIEXT(TDF_DataSet, Standard_Transient)
 
-//=======================================================================
-// function : TDF_DataSet
-// purpose  : Creates a DataSet.
-//=======================================================================
+//=================================================================================================
+
 TDF_DataSet::TDF_DataSet() {}
 
 //=================================================================================================
index 4589b311db8bcf8adddd5ab6069a9407eb1198a8..f9df398d855cc5fab70a69bdf8e0ac54e83cc0ef 100644 (file)
@@ -76,10 +76,7 @@ void TDF_IDFilter::Keep(const TDF_IDList& anIDList)
   }
 }
 
-//=======================================================================
-// function : Ignore
-// purpose  : Ignores an ID.
-//=======================================================================
+//=================================================================================================
 
 void TDF_IDFilter::Ignore(const Standard_GUID& anID)
 {
index 5ebe043c1a10c538f3a1dc0d3a54c245b04789ae..6c8691ad798b27c2f907bf1e91fd159e2a6a9cbe 100644 (file)
@@ -343,10 +343,7 @@ TDF_LabelNode* TDF_Label::FindOrAddChild(const Standard_Integer aTag,
   return childLabelNode;
 }
 
-//=======================================================================
-// function : InternalDump
-// purpose  : Private method.
-//=======================================================================
+//=================================================================================================
 
 void TDF_Label::InternalDump(Standard_OStream&        anOS,
                              const TDF_IDFilter&      aFilter,
index 69cc2b802001f60adb0597fe6f42ea97d6d24168..466430d49da247c88aac77b55d65073c0ae6f3d2 100644 (file)
@@ -48,10 +48,7 @@ Handle(TDF_Reference) TDF_Reference::Set(const TDF_Label& L, const TDF_Label& Or
   return A;
 }
 
-//=======================================================================
-// function : TDF_Reference
-// purpose  : Empty Constructor
-//=======================================================================
+//=================================================================================================
 
 TDF_Reference::TDF_Reference() {}
 
index 2a70b4c68078ac6247dcb422e765baad5f722143..94d43817b2f1696bf34ec9a31b1e5ad9ac0d83fe 100644 (file)
@@ -558,10 +558,7 @@ void TDF_Tool::DeductLabels(TDF_LabelList& aLabelList, TDF_LabelIntegerMap& aLab
   }
 }
 
-//=======================================================================
-// function : DeepDump
-// purpose  : Deep dump of a DF.
-//=======================================================================
+//=================================================================================================
 
 void TDF_Tool::DeepDump(Standard_OStream& anOS, const Handle(TDF_Data)& aDF)
 {
@@ -645,10 +642,7 @@ void TDF_Tool::ExtendedDeepDump(Standard_OStream&   anOS,
   anOS << " dumped between " << --i << std::endl;
 }
 
-//=======================================================================
-// function : ExtendedDeepDump
-// purpose  : Internal method.
-//=======================================================================
+//=================================================================================================
 
 static void TDF_Tool_ExtendedDeepDump(Standard_OStream&        anOS,
                                       const TDF_Label&         aLabel,
index dafcd91d1868e9258cbc749797c74f1ccfd49d50..c386d6301eef8d01b6f1c88e20e45726fb54e857 100644 (file)
@@ -117,10 +117,8 @@ void TDataStd_AsciiString::SetID(const Standard_GUID& theGuid)
   myID = theGuid;
 }
 
-//=======================================================================
-// function : SetID
-// purpose  : sets default ID
-//=======================================================================
+//=================================================================================================
+
 void TDataStd_AsciiString::SetID()
 {
   Backup();
index 2d253f0358b0a26fc75e083a4d67b9b0e3837f65..66338e11c137859224e35f17b0f8eef4eac1e5ca 100644 (file)
@@ -82,10 +82,8 @@ static Handle(TDataStd_BooleanArray) SetAttr(const TDF_Label&       label,
   return A;
 }
 
-//=======================================================================
-// function : TDataStd_BooleanArray
-// purpose  : Empty Constructor
-//=======================================================================
+//=================================================================================================
+
 TDataStd_BooleanArray::TDataStd_BooleanArray()
     : myID(GetID())
 {
@@ -217,10 +215,8 @@ void TDataStd_BooleanArray::SetID(const Standard_GUID& theGuid)
   myID = theGuid;
 }
 
-//=======================================================================
-// function : SetID
-// purpose  : sets default ID
-//=======================================================================
+//=================================================================================================
+
 void TDataStd_BooleanArray::SetID()
 {
   Backup();
index 896f461552f5ae9ed47078d6ae02491a4ef163fe..fdde89847db6851dc3022ed6c12d06ad3256b793 100644 (file)
@@ -49,10 +49,8 @@ static Handle(TDataStd_BooleanList) SetAttr(const TDF_Label& label, const Standa
   return A;
 }
 
-//=======================================================================
-// function : TDataStd_BooleanList
-// purpose  : Empty Constructor
-//=======================================================================
+//=================================================================================================
+
 TDataStd_BooleanList::TDataStd_BooleanList()
     : myID(GetID())
 {
@@ -219,10 +217,7 @@ void TDataStd_BooleanList::SetID(const Standard_GUID& theGuid)
   myID = theGuid;
 }
 
-//=======================================================================
-// function : SetID
-// purpose  : sets default ID
-//=======================================================================
+//=================================================================================================
 
 void TDataStd_BooleanList::SetID()
 {
index 4664132cd28da6091017612442a75d4ef7b1813c..e269d2893684ae92656fc842d417317ef5b91450 100644 (file)
@@ -35,10 +35,8 @@ const Standard_GUID& TDataStd_ByteArray::GetID()
   return TDataStd_ByteArrayID;
 }
 
-//=======================================================================
-// function : TDataStd_ByteArray
-// purpose  : Empty Constructor
-//=======================================================================
+//=================================================================================================
+
 TDataStd_ByteArray::TDataStd_ByteArray()
     : myIsDelta(Standard_False),
       myID(GetID())
@@ -210,10 +208,7 @@ void TDataStd_ByteArray::SetID(const Standard_GUID& theGuid)
   myID = theGuid;
 }
 
-//=======================================================================
-// function : SetID
-// purpose  : sets default ID
-//=======================================================================
+//=================================================================================================
 
 void TDataStd_ByteArray::SetID()
 {
index 40de9771b652ea0d1faa1846c43529cf37039b65..acdd02d9a974abe7df5188d79cdf337dfaa55812 100644 (file)
@@ -87,10 +87,7 @@ void TDataStd_Comment::SetID(const Standard_GUID& theGuid)
   myID = theGuid;
 }
 
-//=======================================================================
-// function : SetID
-// purpose  : sets default ID
-//=======================================================================
+//=================================================================================================
 
 void TDataStd_Comment::SetID()
 {
index 823db6b9f35efc33ebb2d50a7bec1a9e92ad7e64..5fc6dc22282ddb3c1398c057347b149fe0351113 100644 (file)
@@ -219,10 +219,7 @@ void TDataStd_ExtStringArray::SetID(const Standard_GUID& theGuid)
   myID = theGuid;
 }
 
-//=======================================================================
-// function : SetID
-// purpose  : sets default ID
-//=======================================================================
+//=================================================================================================
 
 void TDataStd_ExtStringArray::SetID()
 {
index b13deec08c9d457995aa1e658f219775c5ad95da..5a51ddfa667e1503ee6968317b6649d5fa089fd9 100644 (file)
@@ -50,10 +50,8 @@ static Handle(TDataStd_ExtStringList) SetAttr(const TDF_Label& label, const Stan
   return A;
 }
 
-//=======================================================================
-// function : TDataStd_ExtStringList
-// purpose  : Empty Constructor
-//=======================================================================
+//=================================================================================================
+
 TDataStd_ExtStringList::TDataStd_ExtStringList()
     : myID(GetID())
 {
@@ -275,10 +273,7 @@ void TDataStd_ExtStringList::SetID(const Standard_GUID& theGuid)
   myID = theGuid;
 }
 
-//=======================================================================
-// function : SetID
-// purpose  : sets default ID
-//=======================================================================
+//=================================================================================================
 
 void TDataStd_ExtStringList::SetID()
 {
index ef087a70e27d7071507a11bdc0cd5d6e8603430d..7de239d38b38151f4ee77761e4e5d26cb5de5db2 100644 (file)
@@ -73,10 +73,7 @@ Handle(TDataStd_Integer) TDataStd_Integer::Set(const TDF_Label&       L,
   return SetAttr(L, V, theGuid);
 }
 
-//=======================================================================
-// function : TDataStd_Integer
-// purpose  : Empty Constructor
-//=======================================================================
+//=================================================================================================
 
 TDataStd_Integer::TDataStd_Integer()
     : myValue(-1),
@@ -129,10 +126,8 @@ void TDataStd_Integer::SetID(const Standard_GUID& theGuid)
   myID = theGuid;
 }
 
-//=======================================================================
-// function : SetID
-// purpose  : sets default ID
-//=======================================================================
+//=================================================================================================
+
 void TDataStd_Integer::SetID()
 {
   Backup();
index 3054066830aa74066e2b539534d7445f962d9f80..0f937b3b21e7411539e0dc60c2891551c428f5ee 100644 (file)
@@ -62,10 +62,7 @@ static Handle(TDataStd_IntegerArray) SetAttr(const TDF_Label&       label,
   return A;
 }
 
-//=======================================================================
-// function : TDataStd_IntegerArray
-// purpose  : Empty Constructor
-//=======================================================================
+//=================================================================================================
 
 TDataStd_IntegerArray::TDataStd_IntegerArray()
     : myIsDelta(Standard_False),
@@ -219,10 +216,7 @@ void TDataStd_IntegerArray::SetID(const Standard_GUID& theGuid)
   myID = theGuid;
 }
 
-//=======================================================================
-// function : SetID
-// purpose  : sets default ID
-//=======================================================================
+//=================================================================================================
 
 void TDataStd_IntegerArray::SetID()
 {
index e7d6108f22dee997653fc833bfed1848a0e4a241..886349f4f9a4adfed7495ffd8a771fd63f1f1d12 100644 (file)
@@ -49,10 +49,8 @@ static Handle(TDataStd_IntegerList) SetAttr(const TDF_Label& label, const Standa
   return A;
 }
 
-//=======================================================================
-// function : TDataStd_IntegerList
-// purpose  : Empty Constructor
-//=======================================================================
+//=================================================================================================
+
 TDataStd_IntegerList::TDataStd_IntegerList()
     : myID(GetID())
 {
@@ -268,10 +266,7 @@ void TDataStd_IntegerList::SetID(const Standard_GUID& theGuid)
   myID = theGuid;
 }
 
-//=======================================================================
-// function : SetID
-// purpose  : sets default ID
-//=======================================================================
+//=================================================================================================
 
 void TDataStd_IntegerList::SetID()
 {
index c3af5a73eab710029a8b3fb3beaec346eefb411c..4cb8e426aaa27ef756d4231c3dd28beefe5ded0c 100644 (file)
@@ -95,10 +95,7 @@ void TDataStd_Name::SetID(const Standard_GUID& theGuid)
   myID = theGuid;
 }
 
-//=======================================================================
-// function : SetID
-// purpose  : sets default ID
-//=======================================================================
+//=================================================================================================
 
 void TDataStd_Name::SetID()
 {
index b8c6bbb07f00d615bf8dbecfa6a663e5433fa8cf..a10af023ed721546fcadb177634a32eb530dbbe8 100644 (file)
@@ -44,10 +44,8 @@ const Standard_GUID& TDataStd_NamedData::GetID()
   return TDataStd_NamedDataID;
 }
 
-//=======================================================================
-// function : TDataStd_NamedData
-// purpose  : Empty Constructor
-//=======================================================================
+//=================================================================================================
+
 TDataStd_NamedData::TDataStd_NamedData() {}
 
 //=================================================================================================
index 74c325d3b2aa3812c6e203d2ea46c01e15f82b8f..c9dd6738cee4f8764fde318ded0bd5757b1a2fd4 100644 (file)
@@ -73,10 +73,7 @@ Handle(TDataStd_Real) TDataStd_Real::Set(const TDF_Label&     L,
   return SetAttr(L, V, theGuid);
 }
 
-//=======================================================================
-// function : TDataStd_Real
-// purpose  : Empty constructor
-//=======================================================================
+//=================================================================================================
 
 TDataStd_Real::TDataStd_Real()
     : myValue(RealFirst()),
@@ -156,10 +153,8 @@ void TDataStd_Real::SetID(const Standard_GUID& theGuid)
   myID = theGuid;
 }
 
-//=======================================================================
-// function : SetID
-// purpose  : sets default ID
-//=======================================================================
+//=================================================================================================
+
 void TDataStd_Real::SetID()
 {
   Backup();
index 226c628b403c9bc1e1665427567085b33100a522..86dc8c3a531bece2298ddcc556762d82979c208f 100644 (file)
@@ -62,10 +62,7 @@ static Handle(TDataStd_RealArray) SetAttr(const TDF_Label&       label,
   return A;
 }
 
-//=======================================================================
-// function : TDataStd_RealArray
-// purpose  : Empty Constructor
-//=======================================================================
+//=================================================================================================
 
 TDataStd_RealArray::TDataStd_RealArray()
     : myIsDelta(Standard_False),
@@ -218,10 +215,7 @@ void TDataStd_RealArray::SetID(const Standard_GUID& theGuid)
   myID = theGuid;
 }
 
-//=======================================================================
-// function : SetID
-// purpose  : sets default ID
-//=======================================================================
+//=================================================================================================
 
 void TDataStd_RealArray::SetID()
 {
index 4d15b9296b976610b1f5a3d95051de61f409a394..f1c916fb1f6015337f2ae2ab1dcee8ad0f8cc60d 100644 (file)
@@ -49,10 +49,8 @@ static Handle(TDataStd_RealList) SetAttr(const TDF_Label& label, const Standard_
   return A;
 }
 
-//=======================================================================
-// function : TDataStd_RealList
-// purpose  : Empty Constructor
-//=======================================================================
+//=================================================================================================
+
 TDataStd_RealList::TDataStd_RealList()
     : myID(GetID())
 {
@@ -268,10 +266,8 @@ void TDataStd_RealList::SetID(const Standard_GUID& theGuid)
   myID = theGuid;
 }
 
-//=======================================================================
-// function : SetID
-// purpose  : sets default ID
-//=======================================================================
+//=================================================================================================
+
 void TDataStd_RealList::SetID()
 {
   Backup();
index db052f9f85f77b0035c16a2bceccb564585a0f47..2f0b0d230410245d7895da2f07f1afe5c1499c72 100644 (file)
@@ -58,10 +58,8 @@ static Handle(TDataStd_ReferenceArray) SetAttr(const TDF_Label&       label,
   return A;
 }
 
-//=======================================================================
-// function : TDataStd_ReferenceArray
-// purpose  : Empty Constructor
-//=======================================================================
+//=================================================================================================
+
 TDataStd_ReferenceArray::TDataStd_ReferenceArray()
     : myID(GetID())
 {
@@ -209,10 +207,7 @@ void TDataStd_ReferenceArray::SetID(const Standard_GUID& theGuid)
   myID = theGuid;
 }
 
-//=======================================================================
-// function : SetID
-// purpose  : sets default ID
-//=======================================================================
+//=================================================================================================
 
 void TDataStd_ReferenceArray::SetID()
 {
index b310a605d2aa02ad75af7e96dbfa3a4288d044ef..5d3e731f1055ce14f5ff371748f444713b0d61c3 100644 (file)
@@ -50,10 +50,8 @@ static Handle(TDataStd_ReferenceList) SetAttr(const TDF_Label& label, const Stan
   return A;
 }
 
-//=======================================================================
-// function : TDataStd_ReferenceList
-// purpose  : Empty Constructor
-//=======================================================================
+//=================================================================================================
+
 TDataStd_ReferenceList::TDataStd_ReferenceList()
     : myID(GetID())
 {
@@ -269,10 +267,8 @@ void TDataStd_ReferenceList::SetID(const Standard_GUID& theGuid)
   myID = theGuid;
 }
 
-//=======================================================================
-// function : SetID
-// purpose  : sets default ID
-//=======================================================================
+//=================================================================================================
+
 void TDataStd_ReferenceList::SetID()
 {
   Backup();
index 5873a9daf92cb83082bb77851d2eefd9e6101f4c..816906acdafb69c81817ea0b0115474209613728 100644 (file)
@@ -240,10 +240,7 @@ void TDocStd_Document::AbortCommand()
   AbortTransaction();
 }
 
-//=======================================================================
-// function : CommitTransaction
-// purpose  : Private method.
-//=======================================================================
+//=================================================================================================
 
 Standard_Boolean TDocStd_Document::CommitTransaction()
 {
@@ -339,10 +336,7 @@ Standard_Boolean TDocStd_Document::CommitTransaction()
   return isDone;
 }
 
-//=======================================================================
-// function : AbortTransaction
-// purpose  : Private method.
-//=======================================================================
+//=================================================================================================
 
 void TDocStd_Document::AbortTransaction()
 {
@@ -376,10 +370,7 @@ void TDocStd_Document::AbortTransaction()
   }
 }
 
-//=======================================================================
-// function :OpenTransaction
-// purpose  : Private method.
-//=======================================================================
+//=================================================================================================
 
 void TDocStd_Document::OpenTransaction()
 {
index b8e4c8c904b488e86ed350d243ea0127d9d8a093..498a1224b6fd8ad00c185271ab871771def12ab5 100644 (file)
@@ -43,10 +43,7 @@ TDocStd_XLink::TDocStd_XLink()
 {
 }
 
-//=======================================================================
-// function : Set
-// purpose  : Class method.
-//=======================================================================
+//=================================================================================================
 
 Handle(TDocStd_XLink) TDocStd_XLink::Set(const TDF_Label& atLabel)
 {
index 6e5c6f24bfeea9efff22f0b9a8ec09ccf27e8732..c9cab775df22120aec157eaf50df84c7e21a4979 100644 (file)
@@ -41,10 +41,7 @@ const Standard_GUID& TDocStd_XLinkRoot::GetID()
   return myID;
 }
 
-//=======================================================================
-// function : Set
-// purpose  : CLASS method.
-//=======================================================================
+//=================================================================================================
 
 Handle(TDocStd_XLinkRoot) TDocStd_XLinkRoot::Set(const Handle(TDF_Data)& aDF)
 {
index bd521e0a94a3b52f4fdeb8eeba6c2b2054c2fdc8..03033752f6951f02922668f1c34b7fb8fc6171fd 100644 (file)
@@ -23,10 +23,7 @@ IMPLEMENT_STANDARD_RTTIEXT(TFunction_Driver, Standard_Transient)
 
 TFunction_Driver::TFunction_Driver() {}
 
-//=======================================================================
-// function : Init
-// purpose  : Initialization
-//=======================================================================
+//=================================================================================================
 
 void TFunction_Driver::Init(const TDF_Label& L)
 {
index 04eb30517a60d9d63dff20804645efe72ddea07a..7759bd2ee396dec9c6c50371da59fdbebd3618f1 100644 (file)
@@ -58,10 +58,8 @@ const Standard_GUID& TFunction_Logbook::ID() const
   return GetID();
 }
 
-//=======================================================================
-// function : TFunction_Logbook
-// purpose  : A Logbook creation
-//=======================================================================
+//=================================================================================================
+
 TFunction_Logbook::TFunction_Logbook()
     : isDone(Standard_False)
 {
index 559d32ff2686d954fcd62afa47c3c7e8b620e6fe..c382e1b9dbc23ed7af45531aeeefba75e5a774ca 100644 (file)
 #include <ShapePersistent_Geom_Surface.hxx>
 #include <ShapePersistent_BRep.hxx>
 
-//=======================================================================
-// function : BindTypes
-// purpose  : Register types
-//=======================================================================
+//=================================================================================================
+
 void ShapePersistent::BindTypes(StdObjMgt_MapOfInstantiators& theMap)
 {
   theMap.Bind<StdLPersistent_HArray1::Persistent>("PTopoDS_HArray1OfHShape");
index 3e816491263624007b98de875fe8c46a416d9379..9647f2d27011c63c5ad469413d21f73cfe795ae9 100644 (file)
@@ -61,10 +61,8 @@ void StdDrivers::DefineFormat(const Handle(TDocStd_Application)& theApp)
                        0);
 }
 
-//=======================================================================
-// function : BindTypes
-// purpose  : Register types
-//=======================================================================
+//=================================================================================================
+
 void StdDrivers::BindTypes(StdObjMgt_MapOfInstantiators& theMap)
 {
   StdLPersistent ::BindTypes(theMap);
index d61b6a4ec1834ca0d1cdd81fefa304fc5fc332e3..f555e4e3f8b89bfb3cfe0921536ed5e6d71b691d 100644 (file)
 
 IMPLEMENT_STANDARD_RTTIEXT(StdDrivers_DocumentRetrievalDriver, StdLDrivers_DocumentRetrievalDriver)
 
-//=======================================================================
-// function : bindTypes
-// purpose  : Register types
-//=======================================================================
+//=================================================================================================
+
 void StdDrivers_DocumentRetrievalDriver::bindTypes(StdObjMgt_MapOfInstantiators& theMap)
 {
   StdDrivers::BindTypes(theMap);
index 36697993a64dca67bd8710e0468e0a03caa891c2..b197f10ccb56dea4b4e931fa68f6cfa6042c6db4 100644 (file)
 #include <StdPersistent_DataXtd_PatternStd.hxx>
 #include <StdPersistent_PPrsStd.hxx>
 
-//=======================================================================
-// function : BindTypes
-// purpose  : Register types
-//=======================================================================
+//=================================================================================================
+
 void StdPersistent::BindTypes(StdObjMgt_MapOfInstantiators& theMap)
 {
   // Non-attribute data
index e44796b6ffc9c4e1f42ded7c307854c0b8ba9de9..1cd8a3cf8f3423f0492a1b55c12b353b92df4498 100644 (file)
@@ -58,10 +58,8 @@ void StdLDrivers::DefineFormat(const Handle(TDocStd_Application)& theApp)
                        0);
 }
 
-//=======================================================================
-// function : BindTypes
-// purpose  : Register types
-//=======================================================================
+//=================================================================================================
+
 void StdLDrivers::BindTypes(StdObjMgt_MapOfInstantiators& theMap)
 {
   StdLPersistent::BindTypes(theMap);
index fc4cb94835c2fac55b2bd65749e8f708396596c6..3af02e1352f94dbe44b4200c7ee18c3457032958 100644 (file)
@@ -232,10 +232,7 @@ Handle(StdObjMgt_Persistent) StdLDrivers_DocumentRetrievalDriver::read(
   return aReadData.PersistentObject(aRootData.Roots()->First()->Reference());
 }
 
-//=======================================================================
-// function : Read
-// purpose  : not implemented
-//=======================================================================
+//=================================================================================================
 
 void StdLDrivers_DocumentRetrievalDriver::Read(Standard_IStream& /*theIStream*/,
                                                const Handle(Storage_Data)& /*theStorageData*/,
@@ -301,10 +298,8 @@ void StdLDrivers_DocumentRetrievalDriver::raiseOnStorageError(Storage_Error theE
   }
 }
 
-//=======================================================================
-// function : bindTypes
-// purpose  : Register types
-//=======================================================================
+//=================================================================================================
+
 void StdLDrivers_DocumentRetrievalDriver::bindTypes(StdObjMgt_MapOfInstantiators& theMap)
 {
   StdLDrivers::BindTypes(theMap);
index c56cc61095a534eb8bdaa7d025a9e97bf5e7aeca..26e4428793b09259c89336639d651b7ff3125600 100644 (file)
 #include <StdLPersistent_TreeNode.hxx>
 #include <StdLPersistent_NamedData.hxx>
 
-//=======================================================================
-// function : BindTypes
-// purpose  : Register types
-//=======================================================================
+//=================================================================================================
+
 void StdLPersistent::BindTypes(StdObjMgt_MapOfInstantiators& theMap)
 {
   // Non-attribute data
index a04185c905fce29b6123b384ed4a7ec29946f3de..79bea012b41fc6d2ffbd71e17593d8c72890b712 100644 (file)
@@ -65,10 +65,7 @@ TObj_Model::~TObj_Model()
   Close();
 }
 
-//=======================================================================
-// function : CloseDocument
-// purpose  : free OCAF document
-//=======================================================================
+//=================================================================================================
 
 void TObj_Model::CloseDocument(const Handle(TDocStd_Document)& theDoc)
 {
index a6c87bfb09e2ead301bf9f140e4e31e5e39a6ef9..c91d8ee8a8adfbcd64b36a4e840cf99d84017dea 100644 (file)
 
 IMPLEMENT_STANDARD_RTTIEXT(TObj_TIntSparseArray, TDF_Attribute)
 
-//=======================================================================
-// function : TObj_TIntSparseArray
-// purpose  : Empty constructor
-//=======================================================================
+//=================================================================================================
 
 TObj_TIntSparseArray::TObj_TIntSparseArray()
     : myVector(100),
index 3b36f74460acf1d2a5fd260a893a2eef0a86ba9a..16b4cd2e14b3548fce79baaa56cf87c96333c81b 100644 (file)
@@ -606,28 +606,22 @@ void TPrsStd_AISPresentation::Paste(const Handle(TDF_Attribute)& theInto,
   anInto->myAIS.Nullify();
 }
 
-//=======================================================================
-// function : AfterAddition
-// purpose  : erase if displayed
-//=======================================================================
+//=================================================================================================
+
 void TPrsStd_AISPresentation::AfterAddition()
 {
   AfterResume();
 }
 
-//=======================================================================
-// function : BeforeRemoval
-// purpose  : erase if displayed
-//=======================================================================
+//=================================================================================================
+
 void TPrsStd_AISPresentation::BeforeRemoval()
 {
   BeforeForget();
 }
 
-//=======================================================================
-// function : BeforeForget
-// purpose  : erase if displayed
-//=======================================================================
+//=================================================================================================
+
 void TPrsStd_AISPresentation::BeforeForget()
 {
   if (!myAIS.IsNull())
index e7a6f1dcf0dd63e7f5ac24350aa66c1c38ff72e4..03ee6ce34d8350d35d18bcd50c1f8c565227059a 100644 (file)
 static Standard_GUID XmlStorageDriver("03a56820-8269-11d5-aab2-0050044b1af1");
 static Standard_GUID XmlRetrievalDriver("03a56822-8269-11d5-aab2-0050044b1af1");
 
-//=======================================================================
-// function : Factory
-// purpose  : PLUGIN FACTORY
-//=======================================================================
+//=================================================================================================
+
 const Handle(Standard_Transient)& XmlDrivers::Factory(const Standard_GUID& theGUID)
 {
   if (theGUID == XmlStorageDriver)
index da44b80383d6a7d398cfa3b5a06e8cd514b885b8..119f838b7eaa20f82c6537c197bf5241c3e8513f 100644 (file)
 static Standard_GUID XmlLStorageDriver("13a56820-8269-11d5-aab2-0050044b1af1");
 static Standard_GUID XmlLRetrievalDriver("13a56822-8269-11d5-aab2-0050044b1af1");
 
-//=======================================================================
-// function : Factory
-// purpose  : PLUGIN FACTORY
-//=======================================================================
+//=================================================================================================
+
 const Handle(Standard_Transient)& XmlLDrivers::Factory(const Standard_GUID& theGUID)
 {
   if (theGUID == XmlLStorageDriver)
@@ -61,10 +59,8 @@ const Handle(Standard_Transient)& XmlLDrivers::Factory(const Standard_GUID& theG
 
 #define SLENGTH 80
 
-//=======================================================================
-// function : CreationDate
-// purpose  : mm/dd/yy
-//=======================================================================
+//=================================================================================================
+
 TCollection_AsciiString XmlLDrivers::CreationDate()
 {
   Standard_Character nowstr[SLENGTH];
index 6bb6bed99653b54f8b0f0126a9f38200430ef788..86fee584f6803d525ae7fdb18e8df1b23458a0d4 100644 (file)
 
 #include <XmlLDrivers_NamespaceDef.hxx>
 
-//=======================================================================
-// function : XmlLDrivers_NamespaceDef
-// purpose  : Empty constructor
-//=======================================================================
+//=================================================================================================
+
 XmlLDrivers_NamespaceDef::XmlLDrivers_NamespaceDef() {}
 
 //=================================================================================================
index bf2519e9902fb9c24fb569c7934ae14638d79683..dc1dbb2949733a63a5deac352118d264b569479e 100644 (file)
 #include <XmlObjMgt_Document.hxx>
 #include <XmlObjMgt_Persistent.hxx>
 
-//=======================================================================
-// function : XmlObjMgt_Persistent
-// purpose  : empty constructor
-//=======================================================================
+//=================================================================================================
+
 XmlObjMgt_Persistent::XmlObjMgt_Persistent()
     : myID(0)
 {
index 0ab8e359c6936220ac87f1eae5fa0db2e819163d..28c6f18f989af3f0ec0b72792d35d53831e1f332 100644 (file)
@@ -6212,10 +6212,7 @@ Standard_Boolean RWStepAP214_ReadWriteModule::ComplexType(
   return Standard_True;
 }
 
-//=======================================================================
-// function : ReadStep
-// purpose  : Reading of a file
-//=======================================================================
+//=================================================================================================
 
 void RWStepAP214_ReadWriteModule::ReadStep(const Standard_Integer                 CN,
                                            const Handle(StepData_StepReaderData)& data,
@@ -10838,10 +10835,7 @@ void RWStepAP214_ReadWriteModule::ReadStep(const Standard_Integer
   return;
 }
 
-//=======================================================================
-// function : WriteStep
-// purpose  : Writing of a file
-//=======================================================================
+//=================================================================================================
 
 void RWStepAP214_ReadWriteModule::WriteStep(const Standard_Integer            CN,
                                             StepData_StepWriter&              SW,
index 0ebcbdb451161cecfa4d8300ab5070f3dfc9cbdb..0e79dce272050166fc0e28c05002d6aa946d4d2f 100644 (file)
@@ -246,10 +246,7 @@ Standard_Real STEPConstruct_UnitContext::ConvertSiPrefix(const StepBasic_SiPrefi
   return 1.;
 }
 
-// ==========================================================================
-// Method  : STEPConstruct_UnitContext::SiUnitNameFactor
-// Purpose :
-// ==========================================================================
+//=================================================================================================
 
 Standard_Boolean STEPConstruct_UnitContext::SiUnitNameFactor(
   const Handle(StepBasic_SiUnit)& aSiUnit,
@@ -268,10 +265,7 @@ Standard_Boolean STEPConstruct_UnitContext::SiUnitNameFactor(
   }
 }
 
-// ==========================================================================
-// Method  : STEPConstruct_UnitContext::ComputeFactors
-// Purpose :
-// ==========================================================================
+//=================================================================================================
 
 Standard_Integer STEPConstruct_UnitContext::ComputeFactors(
   const Handle(StepRepr_GlobalUnitAssignedContext)& aContext,
@@ -488,10 +482,7 @@ Standard_Integer STEPConstruct_UnitContext::ComputeFactors(const Handle(StepBasi
   return status;
 }
 
-// ==========================================================================
-// Method  : STEPConstruct_UnitContext::ComputeTolerance
-// Purpose :
-// ==========================================================================
+//=================================================================================================
 
 Standard_Integer STEPConstruct_UnitContext::ComputeTolerance(
   const Handle(StepRepr_GlobalUncertaintyAssignedContext)& aContext)
@@ -556,82 +547,64 @@ Standard_Integer STEPConstruct_UnitContext::ComputeTolerance(
   return status;
 }
 
-// ==========================================================================
-// Method  : STEPConstruct_UnitContext::LengthFactor
-// Purpose :
-// ==========================================================================
+//=================================================================================================
+
 Standard_Real STEPConstruct_UnitContext::LengthFactor() const
 {
   return lengthFactor;
 }
 
-// ==========================================================================
-// Method  : STEPConstruct_UnitContext::PlaneAngleFactor
-// Purpose :
-// ==========================================================================
+//=================================================================================================
+
 Standard_Real STEPConstruct_UnitContext::PlaneAngleFactor() const
 {
   return planeAngleFactor;
 }
 
-// ==========================================================================
-// Method  : STEPConstruct_UnitContext::SolidAngleFactor
-// Purpose :
-// ==========================================================================
+//=================================================================================================
+
 Standard_Real STEPConstruct_UnitContext::SolidAngleFactor() const
 {
   return solidAngleFactor;
 }
 
-// ==========================================================================
-// Method  : STEPConstruct_UnitContext::Uncertainty
-// Purpose :
-// ==========================================================================
+//=================================================================================================
+
 Standard_Real STEPConstruct_UnitContext::Uncertainty() const
 {
   return theUncertainty;
 }
 
-// ==========================================================================
-// Method  : STEPConstruct_UnitContext::HasUncertainty
-// Purpose :
-// ==========================================================================
+//=================================================================================================
+
 Standard_Boolean STEPConstruct_UnitContext::HasUncertainty() const
 {
   return hasUncertainty;
 }
 
-// ==========================================================================
-// Method  : STEPConstruct_UnitContext::LengthDone
-// Purpose :
-// ==========================================================================
+//=================================================================================================
+
 Standard_Boolean STEPConstruct_UnitContext::LengthDone() const
 {
   return lengthDone;
 }
 
-// ==========================================================================
-// Method  : STEPConstruct_UnitContext::PlaneAngleDone
-// Purpose :
-// ==========================================================================
+//=================================================================================================
+
 Standard_Boolean STEPConstruct_UnitContext::PlaneAngleDone() const
 {
   return planeAngleDone;
 }
 
-// ==========================================================================
-// Method  : STEPConstruct_UnitContext::SolidAngleDone
-// Purpose :
-// ==========================================================================
+//=================================================================================================
+
 Standard_Boolean STEPConstruct_UnitContext::SolidAngleDone() const
 {
   return solidAngleDone;
 }
 
-// ==========================================================================
-// Method  : STEPConstruct_UnitContext::StatusMessage
-// Purpose :
-// ==========================================================================
+//=================================================================================================
+
 Standard_CString STEPConstruct_UnitContext::StatusMessage(const Standard_Integer status) const
 {
   switch (status)
index 2f365aac50719d54b0ad1c76c7317b13109694be..0f713e1c7f3839b22a207c08d72d3b3408626dbf 100644 (file)
@@ -2346,10 +2346,8 @@ void STEPControl_ActorRead::computeIDEASClosings(
   }
 }
 
-//=======================================================================
-// Method  : SetModel
-// Purpose :
-//=======================================================================
+//=================================================================================================
+
 void STEPControl_ActorRead::SetModel(const Handle(Interface_InterfaceModel)& theModel)
 {
   myModel = theModel;
index 6b990fbbe33f6168590ea9e44df2cec48f6438f7..0a3607a076f2fa771d380507ef27dafdb7089686 100644 (file)
 
 #include <StepData_Factors.hxx>
 
-// ============================================================================
-// Method : Constructor
-// Purpose:
-// ============================================================================
+//=================================================================================================
+
 StepData_Factors::StepData_Factors()
     : myLengthFactor(1.),
       myPlaneAngleFactor(1.),
@@ -27,10 +25,8 @@ StepData_Factors::StepData_Factors()
 {
 }
 
-// ============================================================================
-// Method : InitializeFactors
-// Purpose:
-// ============================================================================
+//=================================================================================================
+
 void StepData_Factors::InitializeFactors(const Standard_Real theLengthFactor,
                                          const Standard_Real thePlaneAngleFactor,
                                          const Standard_Real theSolidAngleFactor)
@@ -42,64 +38,50 @@ void StepData_Factors::InitializeFactors(const Standard_Real theLengthFactor,
   myFactDR           = thePlaneAngleFactor;
 }
 
-// ============================================================================
-// Method : LengthFactor
-// Purpose:
-// ============================================================================
+//=================================================================================================
+
 Standard_Real StepData_Factors::LengthFactor() const
 {
   return myLengthFactor;
 }
 
-// ============================================================================
-// Method : PlaneAngleFactor
-// Purpose:
-// ============================================================================
+//=================================================================================================
+
 Standard_Real StepData_Factors::PlaneAngleFactor() const
 {
   return myPlaneAngleFactor;
 }
 
-// ============================================================================
-// Method : SolidAngleFactor
-// Purpose:
-// ============================================================================
+//=================================================================================================
+
 Standard_Real StepData_Factors::SolidAngleFactor() const
 {
   return mySolidAngleFactor;
 }
 
-// ============================================================================
-// Method : FactorRadianDegree
-// Purpose:
-// ============================================================================
+//=================================================================================================
+
 Standard_Real StepData_Factors::FactorRadianDegree() const
 {
   return myFactRD;
 }
 
-// ============================================================================
-// Method : FactorDegreeRadian
-// Purpose:
-// ============================================================================
+//=================================================================================================
+
 Standard_Real StepData_Factors::FactorDegreeRadian() const
 {
   return myFactDR;
 }
 
-// ============================================================================
-// Method : SetCascadeUnit
-// Purpose:
-// ============================================================================
+//=================================================================================================
+
 void StepData_Factors::SetCascadeUnit(const Standard_Real theUnit)
 {
   myCascadeUnit = theUnit;
 }
 
-// ============================================================================
-// Method : CascadeUnit
-// Purpose:
-// ============================================================================
+//=================================================================================================
+
 Standard_Real StepData_Factors::CascadeUnit() const
 {
   return myCascadeUnit;
index a2df8963290c3440d089f22caed8972a59e5907f..a95789ef7698e5cfebf5904dd4d900a50a04b29d 100644 (file)
@@ -104,10 +104,8 @@ static void ResetPreci(Handle(StepData_StepModel)& theStepModel,
   }
 }
 
-// ============================================================================
-// Method  : StepToTopoDS_Builder
-// Purpose : Empty constructor
-// ============================================================================
+//=================================================================================================
+
 StepToTopoDS_Builder::StepToTopoDS_Builder()
     : myError(StepToTopoDS_BuilderOther)
 {
index bd220e74c41ad8d99d4e49449b93445c904d30fb..7a1de3aa7bb7cc0ac29d2301f432dcdd020b60b0 100644 (file)
 #include <Transfer_TransientProcess.hxx>
 #include <TransferBRep.hxx>
 
-// ============================================================================
-// Method  : StepToTopoDS_Tool::StepToTopoDS_Tool
-// Purpose : Empty Constructor
-// ============================================================================
+//=================================================================================================
+
 StepToTopoDS_Tool::StepToTopoDS_Tool()
     : myComputePC(Standard_False),
       myNbC0Surf(0),
@@ -55,10 +53,7 @@ StepToTopoDS_Tool::StepToTopoDS_Tool(const StepToTopoDS_DataMapOfTRI&         Ma
   Init(Map, TP);
 }
 
-// ============================================================================
-// Method  : Init
-// Purpose : Init with a Map
-// ============================================================================
+//=================================================================================================
 
 void StepToTopoDS_Tool::Init(const StepToTopoDS_DataMapOfTRI&         Map,
                              const Handle(Transfer_TransientProcess)& TP)
@@ -112,70 +107,49 @@ const TopoDS_Shape& StepToTopoDS_Tool::Find(
   return myDataMap.Find(TRI);
 }
 
-// ============================================================================
-// Method  : StepToTopoDS_Tool::ClearEdgeMap
-// Purpose :
-// ============================================================================
+//=================================================================================================
 
 void StepToTopoDS_Tool::ClearEdgeMap()
 {
   myEdgeMap.Clear();
 }
 
-// ============================================================================
-// Method  : StepToTopoDS_Tool::IsEdgeBound
-// Purpose :
-// ============================================================================
+//=================================================================================================
 
 Standard_Boolean StepToTopoDS_Tool::IsEdgeBound(const StepToTopoDS_PointPair& PP)
 {
   return myEdgeMap.IsBound(PP);
 }
 
-// ============================================================================
-// Method  : StepToTopoDS_Tool_BindEdge
-// Purpose :
-// ============================================================================
+//=================================================================================================
 
 void StepToTopoDS_Tool::BindEdge(const StepToTopoDS_PointPair& PP, const TopoDS_Edge& E)
 {
   myEdgeMap.Bind(PP, E);
 }
 
-// ============================================================================
-// Method  : StepToTopoDS_Tool::FindEdge
-// Purpose :
-// ============================================================================
+//=================================================================================================
 
 const TopoDS_Edge& StepToTopoDS_Tool::FindEdge(const StepToTopoDS_PointPair& PP)
 {
   return myEdgeMap.Find(PP);
 }
 
-// ============================================================================
-// Method  : StepToTopoDS_Tool::ClearVertexMap
-// Purpose :
-// ============================================================================
+//=================================================================================================
 
 void StepToTopoDS_Tool::ClearVertexMap()
 {
   myVertexMap.Clear();
 }
 
-// ============================================================================
-// Method  : StepToTopoDS_Tool::IsVertexBound
-// Purpose :
-// ============================================================================
+//=================================================================================================
 
 Standard_Boolean StepToTopoDS_Tool::IsVertexBound(const Handle(StepGeom_CartesianPoint)& PG)
 {
   return myVertexMap.IsBound(PG);
 }
 
-// ============================================================================
-// Method  : StepToTopoDS_Tool::BindVertex
-// Purpose :
-// ============================================================================
+//=================================================================================================
 
 void StepToTopoDS_Tool::BindVertex(const Handle(StepGeom_CartesianPoint)& P, const TopoDS_Vertex& V)
 {
@@ -185,30 +159,21 @@ void StepToTopoDS_Tool::BindVertex(const Handle(StepGeom_CartesianPoint)& P, con
 #endif
 }
 
-// ============================================================================
-// Method  : StepToTopoDS_Tool::FindVertex
-// Purpose :
-// ============================================================================
+//=================================================================================================
 
 const TopoDS_Vertex& StepToTopoDS_Tool::FindVertex(const Handle(StepGeom_CartesianPoint)& P)
 {
   return myVertexMap.Find(P);
 }
 
-// ============================================================================
-// Method  : ComputePCurve
-// Purpose :
-// ============================================================================
+//=================================================================================================
 
 void StepToTopoDS_Tool::ComputePCurve(const Standard_Boolean B)
 {
   myComputePC = B;
 }
 
-// ============================================================================
-// Method  : ComputePCurve
-// Purpose :
-// ============================================================================
+//=================================================================================================
 
 Standard_Boolean StepToTopoDS_Tool::ComputePCurve() const
 {
index 8c88daaf26305cb7024bf7af36e13c63aeca66c9..9192190bcb71309423720f61d09844c5b7fb4dd4 100644 (file)
 //: d8
 // Used in I-DEAS-like STP processing (ssv; 15.11.2010)
 // #define DEBUG
-// ============================================================================
-// Method  : DecodeMakeEdgeError
-// Purpose :
-// ============================================================================
+//=================================================================================================
+
 static void DecodeMakeEdgeError(const BRepLib_MakeEdge&           ME,
                                 const Handle(Standard_Transient)& orig,
                                 const Handle(Geom_Curve)&         myCurve,
@@ -135,10 +133,7 @@ static void DecodeMakeEdgeError(const BRepLib_MakeEdge&           ME,
 #endif
 }
 
-// ============================================================================
-// Method  : StepToTopoDS_TranslateEdge::StepToTopoDS_TranslateEdge
-// Purpose : Empty Constructor
-// ============================================================================
+//=================================================================================================
 
 static Handle(Geom_Curve) MakeCurve(const Handle(StepGeom_Curve)&            C1,
                                     const Handle(Transfer_TransientProcess)& TP,
index f768c65692ec824a385eba86cf9f3d28e1e57595..04d6130c23edb0838b674e96042e005ce9f36440 100644 (file)
 #include <XSAlgo.hxx>
 #include <XSAlgo_ShapeProcessor.hxx>
 
-// ============================================================================
-// Method  : RemoveSinglePCurve
-// Purpose :
-// ============================================================================
+//=================================================================================================
+
 static void RemoveSinglePCurve(const TopoDS_Edge& aEdge, const TopoDS_Face& aFace)
 {
   ShapeBuild_Edge().RemovePCurve(aEdge, aFace);
 }
 
-// ============================================================================
-// Method  : RemovePCurves
-// Purpose :
-// ============================================================================
+//=================================================================================================
 
 static void RemovePCurves(const TopoDS_Wire& aWire, const TopoDS_Face& aFace)
 {
@@ -176,10 +171,7 @@ static void CheckPCurves(TopoDS_Wire&           aWire,
   }
 }
 
-// ============================================================================
-// Method  : StepToTopoDS_TranslateEdgeLoop::StepToTopoDS_TranslateEdgeLoop
-// Purpose : Empty Constructor
-// ============================================================================
+//=================================================================================================
 
 StepToTopoDS_TranslateEdgeLoop::StepToTopoDS_TranslateEdgeLoop()
     : myError(StepToTopoDS_TranslateEdgeLoopOther)
index e8e20fca6f0dbcb34d191d8be0818565125610ee..f3496599d7b3b88fdf0a76568e5ed3bec2d98f6a 100644 (file)
@@ -426,10 +426,8 @@ static Handle(Poly_Triangulation) CreatePolyTriangulation(
 }
 } // namespace
 
-// ============================================================================
-// Method  : StepToTopoDS_TranslateFace
-// Purpose : Empty Constructor
-// ============================================================================
+//=================================================================================================
+
 StepToTopoDS_TranslateFace::StepToTopoDS_TranslateFace()
     : myError(StepToTopoDS_TranslateFaceOther)
 {
index 0e9c09cf3dbfba2a012bccd112f36e54913bae5e..0e6894f8109270bf3fef71e1d5549bd7c28dba61 100644 (file)
 #include <Transfer_TransientProcess.hxx>
 
 // #include <BRepAPI.hxx>
-//  ============================================================================
-//  Method  :
-//  Purpose :
-//  ============================================================================
+//=================================================================================================
+
 StepToTopoDS_TranslatePolyLoop::StepToTopoDS_TranslatePolyLoop()
     : myError(StepToTopoDS_TranslatePolyLoopOther)
 {
   done = Standard_False;
 }
 
-// ============================================================================
-// Method  :
-// Purpose :
-// ============================================================================
+//=================================================================================================
 
 StepToTopoDS_TranslatePolyLoop::StepToTopoDS_TranslatePolyLoop(
   const Handle(StepShape_PolyLoop)& PL,
@@ -66,10 +61,7 @@ StepToTopoDS_TranslatePolyLoop::StepToTopoDS_TranslatePolyLoop(
   Init(PL, T, S, F, theLocalFactors);
 }
 
-// ============================================================================
-// Method  :
-// Purpose :
-// ============================================================================
+//=================================================================================================
 
 void StepToTopoDS_TranslatePolyLoop::Init(const Handle(StepShape_PolyLoop)& PL,
                                           StepToTopoDS_Tool&                aTool,
@@ -199,10 +191,7 @@ void StepToTopoDS_TranslatePolyLoop::Init(const Handle(StepShape_PolyLoop)& PL,
   }
 }
 
-// ============================================================================
-// Method  :
-// Purpose :
-// ============================================================================
+//=================================================================================================
 
 const TopoDS_Shape& StepToTopoDS_TranslatePolyLoop::Value() const
 {
@@ -210,10 +199,7 @@ const TopoDS_Shape& StepToTopoDS_TranslatePolyLoop::Value() const
   return myResult;
 }
 
-// ============================================================================
-// Method  :
-// Purpose :
-// ============================================================================
+//=================================================================================================
 
 StepToTopoDS_TranslatePolyLoopError StepToTopoDS_TranslatePolyLoop::Error() const
 {
index a8a896680d6390cf53825cedff2413321cb68486..acb3ce2962dcd62f88728a20358c18d8af336897 100644 (file)
 #include <Transfer_TransientProcess.hxx>
 #include <TransferBRep_ShapeBinder.hxx>
 
-// ============================================================================
-// Method  : StepToTopoDS_TranslateShell::StepToTopoDS_TranslateShell
-// Purpose : Empty Constructor
-// ============================================================================
+//=================================================================================================
+
 StepToTopoDS_TranslateShell::StepToTopoDS_TranslateShell()
     : myError(StepToTopoDS_TranslateShellOther)
 {
index 745d4deafff658c91e51f44862e5b25eb2c443f0..b7a38051d650acb408894dd43cbdae19237e4a61 100644 (file)
 #include <Transfer_TransientProcess.hxx>
 #include <TransferBRep_ShapeBinder.hxx>
 
-// ============================================================================
-// Method  : StepToTopoDS_TranslateSolid::StepToTopoDS_TranslateSolid
-// Purpose : Empty Constructor
-// ============================================================================
+//=================================================================================================
+
 StepToTopoDS_TranslateSolid::StepToTopoDS_TranslateSolid()
     : myError(StepToTopoDS_TranslateSolidOther)
 {
index b34d9fcc02fe2175eb6007e8f1c40e3a0656a06c..3274b6625a7e6a0c2253001a60b7e752bd3fb243 100644 (file)
 
 // #include <BRepAPI.hxx>
 //  For I-DEAS-like processing (ssv; 15.11.2010)
-//  ============================================================================
-//  Method  : StepToTopoDS_TranslateVertex::StepToTopoDS_TranslateVertex
-//  Purpose : Empty Constructor
-//  ============================================================================
+//=================================================================================================
+
 StepToTopoDS_TranslateVertex::StepToTopoDS_TranslateVertex()
     : myError(StepToTopoDS_TranslateVertexOther)
 {
index 67aeb4fb41cf8805312f5247c45974b30a6af292..506935a9635d45c4366b17209eca0ac538592020 100644 (file)
 #include <Transfer_TransientProcess.hxx>
 
 // #include <BRepAPI.hxx>
-//  ============================================================================
-//  Method  : StepToTopoDS_TranslateVertexLoop::StepToTopoDS_TranslateVertexLoop
-//  Purpose : Empty Constructor
-//  ============================================================================
+//=================================================================================================
+
 StepToTopoDS_TranslateVertexLoop::StepToTopoDS_TranslateVertexLoop()
     : myError(StepToTopoDS_TranslateVertexLoopOther)
 {
index fff8e937a904de1a7a810a5205c868a67a7b546f..f5f0b295ad14604b64c4f48f18f4f37975fc2d2d 100644 (file)
 #include <TopoDSToStep_Tool.hxx>
 #include <Transfer_FinderProcess.hxx>
 
-// ============================================================================
-// Method  : TopoDSToStep_Builder
-// Purpose :
-// ============================================================================
+//=================================================================================================
+
 TopoDSToStep_Builder::TopoDSToStep_Builder()
     : myError(TopoDSToStep_BuilderOther)
 {
   done = Standard_False;
 }
 
-// ============================================================================
-// Method  : TopoDSToStep_Builder
-// Purpose :
-// ============================================================================
+//=================================================================================================
+
 TopoDSToStep_Builder::TopoDSToStep_Builder(const TopoDS_Shape&                   aShape,
                                            TopoDSToStep_Tool&                    aTool,
                                            const Handle(Transfer_FinderProcess)& FP,
@@ -59,10 +55,8 @@ TopoDSToStep_Builder::TopoDSToStep_Builder(const TopoDS_Shape&
   Init(aShape, aTool, FP, theTessellatedGeomParam, theLocalFactors, theProgress);
 }
 
-// ============================================================================
-// Method  : Init
-// Purpose :
-// ============================================================================
+//=================================================================================================
+
 void TopoDSToStep_Builder::Init(const TopoDS_Shape&                   aShape,
                                 TopoDSToStep_Tool&                    myTool,
                                 const Handle(Transfer_FinderProcess)& FP,
index 747645e6bd3e4d2848bef002a3c75cc2abdc1e30..4e40be5009b2cc3fa937ea0caf3a14d18a1b545e 100644 (file)
 #include <TopoDS_Shape.hxx>
 #include <TopoDSToStep_FacetedTool.hxx>
 
-// ============================================================================
-// Method  :
-// Purpose :
-// ============================================================================
+//=================================================================================================
+
 TopoDSToStep_FacetedError TopoDSToStep_FacetedTool::CheckTopoDSShape(const TopoDS_Shape& aShape)
 {
   TopExp_Explorer FaceExp, EdgeExp;
index db6357d36a854cad8e5dd313e162c4950e4aa3a5..3c4efa0012c8a1c19248002a538254555baaef3e 100644 (file)
 #include <TopoDSToStep_WireframeBuilder.hxx>
 #include <Transfer_FinderProcess.hxx>
 
-// ============================================================================
-// Method  : TopoDSToStep_Builder::TopoDSToStep_Builder
-// Purpose :
-// ============================================================================
+//=================================================================================================
+
 TopoDSToStep_WireframeBuilder::TopoDSToStep_WireframeBuilder()
     : myError(TopoDSToStep_BuilderOther)
 {
   done = Standard_False;
 }
 
-// ============================================================================
-// Method  : TopoDSToStep_Builder::TopoDSToStep_Builder
-// Purpose :
-// ============================================================================
+//=================================================================================================
 
 TopoDSToStep_WireframeBuilder::TopoDSToStep_WireframeBuilder(
   const TopoDS_Shape&     aShape,
@@ -86,20 +81,14 @@ void TopoDSToStep_WireframeBuilder::Init(const TopoDS_Shape& aShape,
   myResult = itemList;
 }
 
-// ============================================================================
-// Method  : TopoDSToStep_Builder::Error
-// Purpose :
-// ============================================================================
+//=================================================================================================
 
 TopoDSToStep_BuilderError TopoDSToStep_WireframeBuilder::Error() const
 {
   return myError;
 }
 
-// ============================================================================
-// Method  : TopoDSToStep_Builder::Value
-// Purpose :
-// ============================================================================
+//=================================================================================================
 
 const Handle(TColStd_HSequenceOfTransient)& TopoDSToStep_WireframeBuilder::Value() const
 {
index 86a454274d70e91893259ebcdb4683c2337f40f8..1c446d93189813c604ac3b128348da83a7f5d0f1 100644 (file)
@@ -34,10 +34,7 @@ IMPLEMENT_STANDARD_RTTIEXT(VrmlData_Node, Standard_Transient)
 
 static VrmlData_Scene MyDefaultScene;
 
-//=======================================================================
-// function : IsEqual
-// purpose  : Global method
-//=======================================================================
+//=================================================================================================
 
 Standard_Boolean IsEqual(const Handle(VrmlData_Node)& theOne, const Handle(VrmlData_Node)& theTwo)
 {
index d25e6d048f8e43b0d326d0822e200eba33192062..cc1a4f8abb9cdabaa3ba64084e091bbeacfcf3b8 100644 (file)
@@ -68,10 +68,7 @@ Standard_Boolean XCAFDoc_AssemblyGraph::IsDirectLink(const Standard_Integer theN
   return GetChildren(theNode1).Contains(theNode2);
 }
 
-// =======================================================================
-// function : GetNodeType
-// purpose  : Returns node type
-// =======================================================================
+//=================================================================================================
 
 XCAFDoc_AssemblyGraph::NodeType XCAFDoc_AssemblyGraph::GetNodeType(
   const Standard_Integer theNode) const
index 64438111937f77572f4842987bc668f3efa5c413..924891562e414cd5fb62e7397503b0b298ca30f6 100644 (file)
@@ -138,10 +138,7 @@ void XCAFDoc_GraphNode::UnSetFather(const Standard_Integer Findex)
   }
 }
 
-//=======================================================================
-// function : UnSetFatherlink
-// purpose  : Remove link finily
-//=======================================================================
+//=================================================================================================
 
 void XCAFDoc_GraphNode::UnSetFatherlink(const Handle(XCAFDoc_GraphNode)& F)
 {
@@ -175,10 +172,7 @@ void XCAFDoc_GraphNode::UnSetChild(const Standard_Integer Chindex)
   }
 }
 
-//=======================================================================
-// function : UnSetChildlink
-// purpose  : Remove link finily
-//=======================================================================
+//=================================================================================================
 
 void XCAFDoc_GraphNode::UnSetChildlink(const Handle(XCAFDoc_GraphNode)& Ch)
 {
index 939864f07342a95f4ddf8b5b184711b75434bb94..856138860be650f52a2dc7f46f32359b4304f0fb 100644 (file)
@@ -235,10 +235,7 @@ Standard_Boolean XSControl_Controller::RecognizeWriteTransient(
   return myAdaptorWrite->Recognize(new Transfer_TransientMapper(obj));
 }
 
-//=======================================================================
-// function : TransferFinder
-// purpose  : internal function
-//=======================================================================
+//=================================================================================================
 
 static IFSelect_ReturnStatus TransferFinder(const Handle(Transfer_ActorOfFinderProcess)& theActor,
                                             const Handle(Transfer_Finder)&               theMapper,
index 0b71a253795b4aa1d3c1f62ffb4a9e88925fed31..fef9b17852ca9d672c10e2e4bd00e3810ae7658f 100644 (file)
@@ -183,10 +183,7 @@ void DDataStd_DrawPresentation::Paste(const Handle(TDF_Attribute)& Into,
   Handle(DDataStd_DrawPresentation)::DownCast(Into)->SetDrawable(myDrawable);
 }
 
-//=======================================================================
-// function : AfterAddition
-// purpose  : erase if displayed
-//=======================================================================
+//=================================================================================================
 
 void DDataStd_DrawPresentation::AfterAddition()
 {
@@ -194,10 +191,7 @@ void DDataStd_DrawPresentation::AfterAddition()
   // if (isDisplayed)  DrawDisplay ();
 }
 
-//=======================================================================
-// function : BeforeRemoval
-// purpose  : erase if displayed
-//=======================================================================
+//=================================================================================================
 
 void DDataStd_DrawPresentation::BeforeRemoval()
 {
@@ -205,10 +199,7 @@ void DDataStd_DrawPresentation::BeforeRemoval()
   // if (isDisplayed)  DrawErase ();
 }
 
-//=======================================================================
-// function : BeforeForget
-// purpose  : erase if displayed
-//=======================================================================
+//=================================================================================================
 
 void DDataStd_DrawPresentation::BeforeForget()
 {
index 7cc3b11888e510f7aa4871386684814117dc3a78..3b9245d463f3231d9e2bb346617ccdc34dfd92f7 100644 (file)
@@ -731,10 +731,8 @@ Handle(TFunction_Function) DNaming::GetLastFunction(const Handle(TDataStd_UAttri
   return aLastFun;
 }
 
-//=======================================================================
-// function : GetObjectFromFunction
-// purpose  : Returns Object
-//=======================================================================
+//=================================================================================================
+
 Handle(TDataStd_UAttribute) DNaming::GetObjectFromFunction(
   const Handle(TFunction_Function)& theFunction)
 {
index 4370a290f0e84cf959c56b525fca7c3a2421de63..9b06e44855469ae0b239bb39feb906de236e7ee9 100644 (file)
@@ -42,10 +42,7 @@ static Standard_Real IntersectorTangency  = Precision::PConfusion();
 static Standard_Real HatcherConfusion2d   = 1.e-8;
 static Standard_Real HatcherConfusion3d   = 1.e-8;
 
-//=======================================================================
-// Function : DBRep_IsoBuilder
-// Purpose  : Constructeur.
-//=======================================================================
+//=================================================================================================
 
 DBRep_IsoBuilder::DBRep_IsoBuilder(const TopoDS_Face&     TopologicalFace,
                                    const Standard_Real    Infinite,
index f91443216eb08dc45de49c0125e359df8ae71597..ad5c699f36781bef1754b55c649802b6a85bd1f6 100644 (file)
@@ -55,10 +55,7 @@ void Draw_Grid::Steps(const Standard_Real StepX,
   myIsActive = myStepX > MinimumStep && myStepY > MinimumStep && myStepZ > MinimumStep;
 }
 
-//=======================================================================
-// Function : DrawOn
-// Purpose  : Displays the grid.
-//=======================================================================
+//=================================================================================================
 
 void Draw_Grid::DrawOn(Draw_Display& Out) const
 {
index 4e03f57ab5dd35ecc586159aa078504d5f0d4d98..a18527b96b3ca5d9fd467b70968cd63017819eb1 100644 (file)
@@ -1183,10 +1183,8 @@ bool Draw::ParseInteger(const Standard_CString theExpressionString,
   return true;
 }
 
-//=======================================================================
-// function : Set
-// purpose  : set a TCL var
-//=======================================================================
+//=================================================================================================
+
 void Draw::Set(const Standard_CString Name, const Standard_CString val)
 {
   Standard_PCharacter pName, pVal;
index 470699b37c00918434c8349466c2917391c15086..54900d37d5931420b6774ab777f5c31e91cc6b67 100644 (file)
@@ -645,10 +645,8 @@ void DrawTrSurf::Set(const Standard_CString theName, const gp_Pnt2d& thePoint)
   Draw::Set(theName, aDrawPoint);
 }
 
-//=======================================================================
-// function : Set
-// purpose  : Geometry from Geom
-//=======================================================================
+//=================================================================================================
+
 void DrawTrSurf::Set(const Standard_CString       theName,
                      const Handle(Geom_Geometry)& theGeometry,
                      const Standard_Boolean       isSenseMarker)
@@ -753,10 +751,8 @@ void DrawTrSurf::Set(const Standard_CString       theName,
   Draw::Set(theName, aDrawable);
 }
 
-//=======================================================================
-// function : Set
-// purpose  : Curve from Geom2d
-//=======================================================================
+//=================================================================================================
+
 void DrawTrSurf::Set(const Standard_CString      theName,
                      const Handle(Geom2d_Curve)& theCurve,
                      const Standard_Boolean      isSenseMarker)
index 8b3a29025cb67acd365cb8a9fe0755e649c7a77b..c3d67384d9450148d5a40019688c2855ef21241b 100644 (file)
@@ -45,10 +45,7 @@ DrawTrSurf_Drawable::DrawTrSurf_Drawable(
 {
 }
 
-//=======================================================================
-// function : DrawCurve2dOn
-// purpose  : draw a 2D curve
-//=======================================================================
+//=================================================================================================
 
 void DrawTrSurf_Drawable::DrawCurve2dOn(Adaptor2d_Curve2d& C, Draw_Display& aDisplay) const
 {
@@ -128,10 +125,7 @@ static void PlotCurve(Draw_Display&          aDisplay,
   }
 }
 
-//=======================================================================
-// function : DrawCurveOn
-// purpose  : draw a 3D curve
-//=======================================================================
+//=================================================================================================
 
 void DrawTrSurf_Drawable::DrawCurveOn(Adaptor3d_Curve& C, Draw_Display& aDisplay) const
 {
index 4963ef5b0671d10b45282d7f98cd4155aba5de99..61aeaa0ebcf6f66bb0ca04ac4d412f4483ddb010 100644 (file)
@@ -1155,10 +1155,8 @@ static Standard_Integer OCCN1(Draw_Interpretor& di, Standard_Integer argc, const
 #include <BRepPrimAPI_MakeSphere.hxx>
 #include <BRepAlgoAPI_Section.hxx>
 
-//=======================================================================
-// function : OCCN2
-// purpose  : BOOLEAN OPERATION
-//=======================================================================
+//=================================================================================================
+
 static Standard_Integer OCCN2(Draw_Interpretor& di, Standard_Integer argc, const char** argv)
 {
   if (argc > 2)
index 230e3770d06055bf45cbdf690082aecdb48e704f..7575bb50a3accc8c5564cb9323143a32fbd73601 100644 (file)
@@ -918,10 +918,8 @@ void StructuralDump(Draw_Interpretor&         theCommands,
   }
 }
 
-//=======================================================================
-// function : checkshape
-// purpose  : Checks a shape
-//=======================================================================
+//=================================================================================================
+
 static Standard_Integer checkshape(Draw_Interpretor& theCommands,
                                    Standard_Integer  narg,
                                    const char**      a)
index 12f2aef11f64de9bba48261a65528d16282b3a45..dcb955f6cc70ec2418400c686835164f8f045066 100644 (file)
@@ -1720,10 +1720,7 @@ static Standard_Integer ROF(Draw_Interpretor& theCommands, Standard_Integer narg
   return 0;
 }
 
-//=======================================================================
-// function : GLU
-// purpose  : Commande glue
-//=======================================================================
+//=================================================================================================
 
 static Standard_Integer GLU(Draw_Interpretor&, Standard_Integer narg, const char** a)
 {
index 007fce7f30339aabb08df60b3aaf6426db072f77..5f86eccb75ba048eeed8f371b2769de8c69a57c9 100644 (file)
@@ -46,10 +46,7 @@ static Standard_Real ComputeArea(const gp_XY& theP1, const gp_XY& theP2, const g
   return 0.5 * Abs((theP3 - theP1).Crossed(theP2 - theP1));
 }
 
-//=======================================================================
-// function : Perform
-// purpose  : Performs checking
-//=======================================================================
+//=================================================================================================
 
 void MeshTest_CheckTopology::Perform(Draw_Interpretor& di)
 {
index 17091ab853677ed5cc58fb04bd7497be1f112cb0..6c9f39bb294cc8148d5788d5c7c3ce2270f42156 100644 (file)
@@ -990,11 +990,8 @@ static Standard_Integer DT_SplitSurface(Draw_Interpretor& di, Standard_Integer n
 }
 
 //---------------gka
-//=======================================================================
-// function : offset2dcurve
-// purpose  :
-//
-//=======================================================================
+//=================================================================================================
+
 static Standard_Integer offset2dcurve(Draw_Interpretor& di,
                                       Standard_Integer  argc,
                                       const char**      argv)
@@ -1016,11 +1013,8 @@ static Standard_Integer offset2dcurve(Draw_Interpretor& di,
   return 0;
 }
 
-//=======================================================================
-// function : offsetcurve
-// purpose  :
-//
-//=======================================================================
+//=================================================================================================
+
 static Standard_Integer offsetcurve(Draw_Interpretor& di, Standard_Integer argc, const char** argv)
 {
   if (argc < 5)
index 68cca8c87c558307201523ae853976f916f402ca..2527087beeebbb85190511dc4cb68eb7936c0f28 100644 (file)
@@ -5866,10 +5866,8 @@ static int TextToBRep(Draw_Interpretor& /*theDI*/,
   return 0;
 }
 
-//=======================================================================
-// function : VFont
-// purpose  : Font management
-//=======================================================================
+//=================================================================================================
+
 struct FontComparator
 {
   bool operator()(const Handle(Font_SystemFont)& theFontA, const Handle(Font_SystemFont)& theFontB)
index 48572cc8a1aa4a3ab2bb59bf5b75e34e7594e5b0..24749e6b88c4dfe6c7352cb07bd6bc95f9e20a40 100644 (file)
@@ -3329,10 +3329,7 @@ static int VZBuffTrihedron(Draw_Interpretor& /*theDI*/,
   return 0;
 }
 
-//==============================================================================
-// function : VRotate
-// purpose  : Camera Rotating
-//==============================================================================
+//=================================================================================================
 
 static int VRotate(Draw_Interpretor& /*theDi*/, Standard_Integer theArgNb, const char** theArgVec)
 {
index 897bd9c52ddb265667ddc220db65d80c50d8115b..6a5fe17ed993b37b419383acd2e967f98a047f23 100644 (file)
@@ -483,10 +483,8 @@ static Standard_Integer noteDelete(Draw_Interpretor& di, Standard_Integer argc,
   return 0;
 }
 
-//=======================================================================
-// function : noteDeleteAll
-// purpose  : deletes all notes
-//=======================================================================
+//=================================================================================================
+
 static const cmd XNoteDeleteAll = {"XNoteDeleteAll", 2, "XNoteDeleteAll Doc"};
 
 static Standard_Integer noteDeleteAll(Draw_Interpretor& di,
index 9a9e06a8952591010bca0b03cf2ca1390f59e512..191d862218db739d69844014644146982d9ad323 100644 (file)
@@ -101,10 +101,8 @@ static bool parseCoordinateSystem(const char* theArg, RWMesh_CoordinateSystem& t
   return Standard_True;
 }
 
-//=============================================================================
-// function : ReadGltf
-// purpose  : Reads glTF file
-//=============================================================================
+//=================================================================================================
+
 static Standard_Integer ReadGltf(Draw_Interpretor& theDI,
                                  Standard_Integer  theNbArgs,
                                  const char**      theArgVec)
@@ -286,10 +284,8 @@ static Standard_Integer ReadGltf(Draw_Interpretor& theDI,
   return 0;
 }
 
-//=============================================================================
-// function : WriteGltf
-// purpose  : Writes glTF file
-//=============================================================================
+//=================================================================================================
+
 static Standard_Integer WriteGltf(Draw_Interpretor& theDI,
                                   Standard_Integer  theNbArgs,
                                   const char**      theArgVec)
index c74cc9e469685e5805ca748bd6babed742560cf1..9c7e7c0f2562ca56d325837dbaf5d56d5092237d 100644 (file)
@@ -55,10 +55,8 @@ static bool parseCoordinateSystem(const char* theArg, RWMesh_CoordinateSystem& t
   return Standard_True;
 }
 
-//=============================================================================
-// function : ReadObj
-// purpose  : Reads OBJ file
-//=============================================================================
+//=================================================================================================
+
 static Standard_Integer ReadObj(Draw_Interpretor& theDI,
                                 Standard_Integer  theNbArgs,
                                 const char**      theArgVec)
@@ -232,10 +230,8 @@ static Standard_Integer ReadObj(Draw_Interpretor& theDI,
   return 0;
 }
 
-///=============================================================================
-// function : WriteObj
-// purpose  : Writes OBJ file
-//=============================================================================
+///=================================================================================================
+
 static Standard_Integer WriteObj(Draw_Interpretor& theDI,
                                  Standard_Integer  theNbArgs,
                                  const char**      theArgVec)
index 4317e1e8436bb5e6aa7ed4625d8647b947a4768b..7bb9bd6c6529631e26f691986d26d9d6411be116 100644 (file)
 #include <XSControl_WorkSession.hxx>
 #include <XSDRAW.hxx>
 
-//=======================================================================
-// function : writeply
-// purpose  : write PLY file
-//=======================================================================
+//=================================================================================================
+
 static Standard_Integer WritePly(Draw_Interpretor& theDI,
                                  Standard_Integer  theNbArgs,
                                  const char**      theArgVec)
index c76fd2bf668d45d950d9991701ccf9b25b4e1a87..aa4d4b3f9823894caed109331544c485b506a992 100644 (file)
@@ -77,10 +77,8 @@ static Standard_Integer writestl(Draw_Interpretor& di, Standard_Integer argc, co
   return 0;
 }
 
-//=============================================================================
-// function : readstl
-// purpose  : Reads stl file
-//=============================================================================
+//=================================================================================================
+
 static Standard_Integer readstl(Draw_Interpretor& theDI,
                                 Standard_Integer  theArgc,
                                 const char**      theArgv)
index e7c64d69780fc21317183ab9062520e57549fbf0..52449c71e640dcfbd923e022fe816116e0b49c0a 100644 (file)
 
 IMPLEMENT_STANDARD_RTTIEXT(Poly_CoherentTriangulation, Standard_Transient)
 
-//=======================================================================
-// function : Poly_CoherentTriangulation
-// purpose  : Empty constructor
-//=======================================================================
+//=================================================================================================
 
 Poly_CoherentTriangulation::Poly_CoherentTriangulation(
   const Handle(NCollection_BaseAllocator)& theAlloc)
index 67dfc68a2824acc6d6e508c8e88c230827b4d143..8cbaebe2dde7de079ea2327429426060e0304053 100644 (file)
 
 TopLoc_Location::TopLoc_Location() {}
 
-//=======================================================================
-// function : TopLoc_Location
-// purpose  : constructor Datum
-//=======================================================================
+//=================================================================================================
 
 TopLoc_Location::TopLoc_Location(const Handle(TopLoc_Datum3D)& D)
 {
@@ -63,10 +60,7 @@ TopLoc_Location::operator gp_Trsf() const
   return Transformation();
 }
 
-//=======================================================================
-// function : Inverted
-// purpose  : return the inverse
-//=======================================================================
+//=================================================================================================
 
 TopLoc_Location TopLoc_Location::Inverted() const
 {
@@ -137,10 +131,7 @@ TopLoc_Location TopLoc_Location::Predivided(const TopLoc_Location& Other) const
   return Other.Inverted().Multiplied(*this);
 }
 
-//=======================================================================
-// function : Powered
-// purpose  : power elevation
-//=======================================================================
+//=================================================================================================
 
 TopLoc_Location TopLoc_Location::Powered(const Standard_Integer pwr) const
 {
@@ -165,10 +156,7 @@ TopLoc_Location TopLoc_Location::Powered(const Standard_Integer pwr) const
     return Inverted().Powered(-pwr);
 }
 
-//=======================================================================
-// function : IsEqual
-// purpose  : operator ==
-//=======================================================================
+//=================================================================================================
 
 // two locations are Equal if the Items have the same LocalValues and Powers
 // this is a recursive function to test it
index e913215febf49b691b3c797a4ccfb669e3c69cef..93c85650496046e9c452851a7d2325dec26285fc 100644 (file)
 
 static const Standard_Real CGOLD = 0.3819660; // 0.5*(3 - sqrt(5));
 
-//=======================================================================
-// function : SHFT
-// purpose  : Shifts arguments
-//=======================================================================
+//=================================================================================================
+
 inline void SHFT(Standard_Real& theA, Standard_Real& theB, Standard_Real& theC, Standard_Real& theD)
 {
   theA = theB;
index 85ee0fe6e6df85a34878c27d747eb4897de42164..fc8ca61429a205ac98afbb722991fb0426150026 100644 (file)
@@ -726,11 +726,8 @@ void FSD_File::ReadInfo(Standard_Integer&              nbObj,
   }
 }
 
-//=======================================================================
-// function : ReadCompleteInfo
-// purpose  :
-//
-//=======================================================================
+//=================================================================================================
+
 void FSD_File::ReadCompleteInfo(Standard_IStream& /*theIStream*/, Handle(Storage_Data)& /*theData*/)
 {
 }
index 6458b8349ec7de26bdf1ee83a2570ec0c3c21b5d..2d448c9586228ed603191584f99aa8645c288133 100644 (file)
@@ -339,10 +339,7 @@ Handle(TColStd_HSequenceOfHExtendedString) Message_Algorithm::GetMessageStrings(
   return Handle(TColStd_HSequenceOfHExtendedString)::DownCast(myReportStrings->Value(aFlagIndex));
 }
 
-//=======================================================================
-// function : PrepareReport
-// purpose  : static method
-//=======================================================================
+//=================================================================================================
 
 TCollection_ExtendedString Message_Algorithm::PrepareReport(
   const Handle(TColStd_HPackedMapOfInteger)& theMapError,
@@ -367,10 +364,7 @@ TCollection_ExtendedString Message_Algorithm::PrepareReport(
   return aNewReport;
 }
 
-//=======================================================================
-// function : PrepareReport
-// purpose  : static method
-//=======================================================================
+//=================================================================================================
 
 TCollection_ExtendedString Message_Algorithm::PrepareReport(
   const TColStd_SequenceOfHExtendedString& theReportSeq,
index 6b56beb7254bb5f5bd4a6c7c925887088eb72b48..877b8aaa2e468dbe5d47c31acaac9265ae40e53f 100644 (file)
@@ -37,10 +37,8 @@ NCollection_AccAllocator::~NCollection_AccAllocator()
   }
 }
 
-//=======================================================================
-// function : Allocate
-// purpose  : Allocate a memory
-//=======================================================================
+//=================================================================================================
+
 void* NCollection_AccAllocator::Allocate(const size_t theSize)
 {
   const AlignedSize aSize(theSize);
index e47a98bb7e1b7658c00f33484f3eda89807179c1..35795a5c317840311b4b5a43ffc7dac16e9c4b6b 100644 (file)
@@ -26,10 +26,8 @@ NCollection_AlignedAllocator::NCollection_AlignedAllocator(const size_t theAlign
   //
 }
 
-//=======================================================================
-// function : Allocate
-// purpose  : allocate a memory
-//=======================================================================
+//=================================================================================================
+
 void* NCollection_AlignedAllocator::Allocate(const size_t theSize)
 {
   return Standard::AllocateAligned(theSize, myAlignment);
index 4e1cdd8d44340b53b6a75bfec4736b95ff2c9d58..b6a368f0bb45f3e1fd1c4730370ac45d333156fd 100644 (file)
@@ -24,10 +24,8 @@ void* NCollection_BaseAllocator::Allocate(const size_t theSize)
   return Standard::Allocate(theSize);
 }
 
-//=======================================================================
-// function : AllocateOptimal
-// purpose  : Optimal allocation
-//=======================================================================
+//=================================================================================================
+
 void* NCollection_BaseAllocator::AllocateOptimal(const size_t theSize)
 {
   return Standard::AllocateOptimal(theSize);
index 37c3c48cc396827c2a66f3eab1f5ee26756b9fca..202656b0380792386b61b515f2388bc7117c6c9e 100644 (file)
@@ -216,10 +216,7 @@ void NCollection_BaseList::PInsertAfter(NCollection_BaseList& theOther, Iterator
   }
 }
 
-//=======================================================================
-// function : PReverse
-// purpose  : reverse the list
-//=======================================================================
+//=================================================================================================
 
 void NCollection_BaseList::PReverse()
 {
index 9910079ca226c3c788743f9be081bd0f5b4bca3c..1e4dc3895006783719a1503b9342a142c919ce5e 100644 (file)
@@ -90,10 +90,8 @@ NCollection_IncAllocator::~NCollection_IncAllocator()
   delete myMutex;
 }
 
-//=======================================================================
-// function : AllocateOptimal
-// purpose  : allocate a memory
-//=======================================================================
+//=================================================================================================
+
 void* NCollection_IncAllocator::AllocateOptimal(const size_t theSize)
 {
   Standard_Mutex::Sentry aLock(myMutex);
@@ -155,10 +153,8 @@ void* NCollection_IncAllocator::AllocateOptimal(const size_t theSize)
   return aRes;
 }
 
-//=======================================================================
-// function : Allocate
-// purpose  : Allocate a memory
-//=======================================================================
+//=================================================================================================
+
 void* NCollection_IncAllocator::Allocate(const size_t theSize)
 {
   return AllocateOptimal(theSize);
index f8304958fbe087cb7900c27e589790d9fd346a07..9eec85e1b7378edf38ade2f81d6b1e4f2beedcc7 100644 (file)
@@ -22,10 +22,8 @@ IMPLEMENT_STANDARD_RTTIEXT(NCollection_WinHeapAllocator, NCollection_BaseAllocat
   #include <windows.h>
 #endif
 
-//=======================================================================
-// function : NCollection_WinHeapAllocator
-// purpose  : Main constructor
-//=======================================================================
+//=================================================================================================
+
 NCollection_WinHeapAllocator::NCollection_WinHeapAllocator(const size_t theInitSizeBytes)
     : NCollection_BaseAllocator(),
 #if (defined(_WIN32) || defined(__WIN32__))
index 121934f036ee378d20a20942a995e5fce4a46aa2..4c505e5d32714c87bad76a55c7e64bac93e241ae 100644 (file)
@@ -421,10 +421,7 @@ void _osd_wnt_set_error(OSD_Error&, Standard_Integer, ...);
 static BOOL __fastcall _get_file_time(const wchar_t*, LPSYSTEMTIME, BOOL);
 static void __fastcall _test_raise(TCollection_AsciiString, Standard_CString);
 
-//=======================================================================
-// function : OSD_FileNode
-// purpose  : Empty Constructor
-//=======================================================================
+//=================================================================================================
 
 OSD_FileNode::OSD_FileNode() {}
 
index fbadf5e872b2aa8895fd53e2c35c41a9a0c800c4..9f7f5736b4527bf270ef2d064d8990f00805ff80 100644 (file)
@@ -289,10 +289,8 @@ BRepFill_Draft::BRepFill_Draft(const TopoDS_Shape& S, const gp_Dir& Dir, const S
   SetDraft();
 }
 
-//=======================================================================
-// function :SetOptions
-// purpose  : Defines the style
-//======================================================================
+//=================================================================================================
+
 void BRepFill_Draft::SetOptions(const BRepFill_TransitionStyle Style,
                                 const Standard_Real            Min,
                                 const Standard_Real            Max)
index b8d11791f2dbc5d9af06ee78348175cf2846a2ce..ccf7c57a66917451a0ad84ace5f1c0b6defbf935 100644 (file)
@@ -757,10 +757,8 @@ Standard_Boolean BRepFill_Filling::IsDone() const
   return myIsDone;
 }
 
-//=======================================================================
-// function : Face
-// purpose  : returns the result
-//======================================================================
+//=================================================================================================
+
 TopoDS_Face BRepFill_Filling::Face() const
 {
   return myFace;
index f26b522530825fb04a53eef0c252b9d9ddc8e881..83225c59b9780382acf02fb244cb50125cfc8e37 100644 (file)
 
 IMPLEMENT_STANDARD_RTTIEXT(BRepFill_LocationLaw, Standard_Transient)
 
-//=======================================================================
-// function : Norm
-// purpose  : Norm of a Matrix
-//=======================================================================
+//=================================================================================================
+
 static Standard_Real Norm(const gp_Mat& M)
 {
   Standard_Real R, Norme;
index 98e19f84421b402c7e1c7bc67f17499e0af98c25..6ccc821273b2e8981cf6e6643ed5b94cc76a8c40 100644 (file)
@@ -433,10 +433,8 @@ void BRepFill_PipeShell::SetForceApproxC1(const Standard_Boolean ForceApproxC1)
   myForceApproxC1 = ForceApproxC1;
 }
 
-//=======================================================================
-// function : Add
-// purpose  : Add a Section
-//=======================================================================
+//=================================================================================================
+
 void BRepFill_PipeShell::Add(const TopoDS_Shape&    Profile,
                              const Standard_Boolean WithContact,
                              const Standard_Boolean WithCorrection)
@@ -447,10 +445,8 @@ void BRepFill_PipeShell::Add(const TopoDS_Shape&    Profile,
   ResetLoc();
 }
 
-//=======================================================================
-// function : Add
-// purpose  : Add a Section
-//=======================================================================
+//=================================================================================================
+
 void BRepFill_PipeShell::Add(const TopoDS_Shape&    Profile,
                              const TopoDS_Vertex&   Location,
                              const Standard_Boolean WithContact,
@@ -562,10 +558,8 @@ void BRepFill_PipeShell::SetLaw(const TopoDS_Shape&         Profile,
   ResetLoc();
 }
 
-//=======================================================================
-// function : Delete
-// purpose  : Delete a section
-//=======================================================================
+//=================================================================================================
+
 void BRepFill_PipeShell::DeleteProfile(const TopoDS_Shape& Profile)
 {
   Standard_Boolean Trouve = Standard_False;
@@ -864,10 +858,8 @@ Standard_Boolean BRepFill_PipeShell::MakeSolid()
   return B;
 }
 
-//=======================================================================
-// function : Shape
-// purpose  : Return the result
-//=======================================================================
+//=================================================================================================
+
 const TopoDS_Shape& BRepFill_PipeShell::Shape() const
 {
   return myShape;
index 0fa4f3db3f6686f88852d289fda6598ffba29608..46fccaee32301925a1e2076a3426cf7f1dd9d39c 100644 (file)
@@ -85,10 +85,7 @@ BRepFill_ShapeLaw::BRepFill_ShapeLaw(const TopoDS_Wire& W, const Standard_Boolea
   myDone = Standard_True;
 }
 
-//=======================================================================
-// function : Create
-// purpose  : Evolutive Wire
-//=======================================================================
+//=================================================================================================
 
 BRepFill_ShapeLaw::BRepFill_ShapeLaw(const TopoDS_Wire&          W,
                                      const Handle(Law_Function)& L,
index 62bf86649ea40a3835bd79cf74d284a1ba088cd0..29eca18ac6392f1dfd2e08c0e4a823f286c1092b 100644 (file)
@@ -186,10 +186,7 @@ BRepProj_Projection::BRepProj_Projection(const TopoDS_Shape& Wire,
   BuildSection(Shape, CylSurf.Shape());
 }
 
-//=======================================================================
-// function : BRepProj_Projection
-// purpose  : Conical projection
-//=======================================================================
+//=================================================================================================
 
 BRepProj_Projection::BRepProj_Projection(const TopoDS_Shape& Wire,
                                          const TopoDS_Shape& Shape,
index 9acf54ba280c4b7068059ce78faa0201737e0ab1..da49557ac0d108f26a13690bf803cc814aa98748 100644 (file)
@@ -58,10 +58,8 @@ TopOpeBRepDS_Check::TopOpeBRepDS_Check()
   myMapShapeStatus.Clear();
 }
 
-//=======================================================================
-// function : ChkIntg
-// purpose  : Check Integrity
-//=======================================================================
+//=================================================================================================
+
 Standard_Boolean CheckEdgeParameter(const Handle(TopOpeBRepDS_HDataStructure)& myHDS);
 
 Standard_Boolean TopOpeBRepDS_Check::ChkIntg()
index bd5e32c2227e76e3718a2ef6ef0c1ebfaadeabf2..cbb49559da3ea330d55910f7d105c051507ab8f5 100644 (file)
@@ -126,10 +126,8 @@ void TopOpeBRepDS_HDataStructure::AddAncestors(const TopoDS_Shape&    S,
   }
 }
 
-//=======================================================================
-// function : ChkIntg
-// purpose  : Check Integrity
-//=======================================================================
+//=================================================================================================
+
 void TopOpeBRepDS_HDataStructure::ChkIntg()
 {
   // Check the integrity of the DS
index c0a6ab9141892ab3ecd09e16e6ad620632bcbf15..183bf52a6c084f46d532a8b14a935fcf7f726492 100644 (file)
@@ -201,10 +201,7 @@ void BRepFeat_MakeDPrism::Add(const TopoDS_Edge& E, const TopoDS_Face& F)
   }
 }
 
-//=======================================================================
-// function : Perform
-// purpose  : feature of Height
-//=======================================================================
+//=================================================================================================
 
 void BRepFeat_MakeDPrism::Perform(const Standard_Real Height)
 {
index b3d93bb6105f7ff7549e25c98dfa56f2c0b28842..4895f17bf412a746dd67fe198c480b4c4b4bfa4b 100644 (file)
@@ -227,10 +227,7 @@ void BRepFeat_MakePipe::Perform()
   }
 }
 
-//=======================================================================
-// function : Perform
-// purpose  : till shape Until
-//=======================================================================
+//=================================================================================================
 
 void BRepFeat_MakePipe::Perform(const TopoDS_Shape& Until)
 {
index 6d563bb6c6514ba65744487f49e8b069a932f7f1..226b15da466e5f9508b8638a79d05cdbc1701c23 100644 (file)
@@ -308,10 +308,7 @@ void LocOpe_BuildShape::Perform(const TopTools_ListOfShape& L)
   }
 }
 
-//=======================================================================
-// function : Add
-// purpose  : static function
-//=======================================================================
+//=================================================================================================
 
 static void Add(const Standard_Integer                           ind,
                 TColStd_MapOfInteger&                            mapI,
@@ -351,10 +348,7 @@ static void Add(const Standard_Integer                           ind,
   }
 }
 
-//=======================================================================
-// function : Propagate
-// purpose  : static function
-//=======================================================================
+//=================================================================================================
 
 static void Propagate(const TopoDS_Shape&               F,
                       TopoDS_Shape&                     Sh,
@@ -428,10 +422,7 @@ static void Propagate(const TopoDS_Shape&               F,
   }
 }
 
-//=======================================================================
-// function : IsInside
-// purpose  : static function
-//=======================================================================
+//=================================================================================================
 
 static Standard_Boolean IsInside(const TopoDS_Shape& S1, const TopoDS_Shape& S2)
 {
index a87eb4387727070bd6c723969a2d1656350d71d9..d93ba24daf3964c1ae80186adf1b4b11c812aa69 100644 (file)
@@ -1146,10 +1146,7 @@ void BRepBlend_RstRstLineBuilder::InternalPerform(Blend_RstRstFunction&   Func,
   }
 }
 
-//=======================================================================
-// function : Recadre1
-// purpose  : Contact lost on 1
-//=======================================================================
+//=================================================================================================
 
 Standard_Boolean BRepBlend_RstRstLineBuilder::Recadre1(Blend_RstRstFunction&      Func,
                                                        Blend_SurfCurvFuncInv&     Finv,
index 0ebeda4648a01358544125608a7775f47a3d9a45..ec2433bac9515705fb2c765de9024872d15d7d3a 100644 (file)
@@ -136,10 +136,7 @@ const gp_Vec2d& BlendFunc_Corde::Tangent2dOnS() const
   return tg2d;
 }
 
-//=======================================================================
-// function : DerFguide
-// purpose  : dF/dw
-//=======================================================================
+//=================================================================================================
 
 void BlendFunc_Corde::DerFguide(const math_Vector& Sol, gp_Vec2d& DerF)
 {
index b086d4fe60c0be62cc70dfe3833d69ea6db7a253..34f08dade22d70598bb733158589cd32d1dec52c 100644 (file)
@@ -470,11 +470,7 @@ Standard_Integer ChFi3d::ConcaveSide(const BRepAdaptor_Surface& S1,
   return ChoixConge;
 }
 
-//=======================================================================
-// function : NextSide
-// purpose  :
-//
-//=======================================================================
+//=================================================================================================
 
 Standard_Integer ChFi3d::NextSide(TopAbs_Orientation&      Or1,
                                   TopAbs_Orientation&      Or2,
@@ -529,11 +525,7 @@ Standard_Integer ChFi3d::NextSide(TopAbs_Orientation&      Or1,
   return ChoixConge;
 }
 
-//=======================================================================
-// function : NextSide
-// purpose  :
-//
-//=======================================================================
+//=================================================================================================
 
 void ChFi3d::NextSide(TopAbs_Orientation&      Or,
                       const TopAbs_Orientation OrSave,
@@ -549,11 +541,7 @@ void ChFi3d::NextSide(TopAbs_Orientation&      Or,
   }
 }
 
-//=======================================================================
-// function : SameSide
-// purpose  :
-//
-//=======================================================================
+//=================================================================================================
 
 Standard_Boolean ChFi3d::SameSide(const TopAbs_Orientation Or,
                                   const TopAbs_Orientation OrSave1,
index 18354eee6abb7df1329eb57fe0a218bd50d9bc22..fe9ff9484b892c22b536fbbaf02574868424630e 100644 (file)
@@ -2002,11 +2002,8 @@ Handle(TopOpeBRepDS_SurfaceCurveInterference) ChFi3d_FilCurveInDS(const Standard
   return SC1;
 }
 
-//=======================================================================
-// function : TrsfTrans
-// purpose  :
-//
-//=======================================================================
+//=================================================================================================
+
 TopAbs_Orientation ChFi3d_TrsfTrans(const IntSurf_TypeTrans T1)
 {
   switch (T1)
index 4bafa924e0ce49f7325f192fd9cb744092d9cf33..22b65ece23ade5ec860799e62822ae2b42f5288e 100644 (file)
@@ -146,11 +146,8 @@ static void drawline(const Handle(BRepBlend_Line)& lin, const Standard_Boolean i
   }
 }
 #endif
-//=======================================================================
-// function : SearchIndex
-// purpose  :
-//
-//=======================================================================
+//=================================================================================================
+
 static Standard_Integer SearchIndex(const Standard_Real Value, Handle(BRepBlend_Line)& Lin)
 {
   Standard_Integer NbPnt = Lin->NbPoints(), Ind;
@@ -160,11 +157,8 @@ static Standard_Integer SearchIndex(const Standard_Real Value, Handle(BRepBlend_
   return Ind;
 }
 
-//=======================================================================
-// function : IsObst
-// purpose  :
-//
-//=======================================================================
+//=================================================================================================
+
 static Standard_Integer nbedconnex(const TopTools_ListOfShape& L)
 {
   Standard_Integer                   nb = 0, i = 0;
@@ -249,11 +243,7 @@ static Standard_Boolean IsObst(const ChFiDS_CommonPoint& CP,
   return !IsVois(E, Vref, VEMap, DONE, 0, prof);
 }
 
-//=======================================================================
-// function : CompParam
-// purpose  :
-//
-//=======================================================================
+//=================================================================================================
 
 static void CompParam(const Geom2dAdaptor_Curve& Carc,
                       Handle(Geom2d_Curve)       Ctg,
index f4753206cb7f0ced3eb32b246fcca75293341a98..174a3d551f410064829309f55d7e77cd520690b4 100644 (file)
 #include <Precision.hxx>
 #include <TopOpeBRepDS_DataStructure.hxx>
 
-//=======================================================================
-// function : MakeFillet
-// Purpose  : cas plan/plan.
-//=======================================================================
+//=================================================================================================
+
 Standard_Boolean ChFiKPart_MakeFillet(TopOpeBRepDS_DataStructure&    DStr,
                                       const Handle(ChFiDS_SurfData)& Data,
                                       const gp_Pln&                  Pl1,
index 6702f635c1e1a913922d7bcfbb300fe915411c49..121bd7e7598a1bacf47359bde2c92087c6af20a8 100644 (file)
 #include <Precision.hxx>
 #include <TopOpeBRepDS_DataStructure.hxx>
 
-//=======================================================================
-// function : MakeRotule
-// Purpose  : cas plan/plan.
-//=======================================================================
+//=================================================================================================
+
 Standard_Boolean ChFiKPart_MakeRotule(TopOpeBRepDS_DataStructure&    DStr,
                                       const Handle(ChFiDS_SurfData)& Data,
                                       const gp_Pln&                  pl,
index 2bf4523a8042ffd0e37baad6f98579007e391b4f..4a400f5479586241c50464895f21708115144bce 100644 (file)
 
 #include <Geom2dAdaptor_Curve.hxx>
 
-//=======================================================================
-// Function : Geom2dHatch_Element
-// Purpose  : Empty Constructor.
-//=======================================================================
+//=================================================================================================
 
 Geom2dHatch_Element::Geom2dHatch_Element() {}
 
index 6bfa7bf680ac494eb1a1ca97876657fb2b7ed3ca..99f77fdc22fd1be12a1a74f16e89421e6c0ddcfc 100644 (file)
@@ -1753,10 +1753,7 @@ const HatchGen_Domain& Geom2dHatch_Hatcher::Domain(const Standard_Integer IndH,
 //=======================================================================
 //=======================================================================
 
-//=======================================================================
-// Function : Dump
-// Purpose  : Dumps the hatcher.
-//=======================================================================
+//=================================================================================================
 
 void Geom2dHatch_Hatcher::Dump() const
 {
index fcd577a6d803b5dfc5295a9ebdcf88e58f2876d2..b3a5fe4b1f228f9e11b61d2308be0db23aa02fed 100644 (file)
@@ -129,10 +129,7 @@ static Standard_Boolean Arrange(const Handle(Geom_BSplineCurve)& C1,
   return Standard_True;
 }
 
-//=======================================================================
-// function : SetSameDistribution
-// purpose  : Internal Use Only
-//=======================================================================
+//=================================================================================================
 
 static Standard_Integer SetSameDistribution(Handle(Geom_BSplineCurve)& C1,
                                             Handle(Geom_BSplineCurve)& C2)
index 78408746653c451d61a115229bcef28d6492ecbf..6e819937d5b95cca0bc6112fd1c77f93984e9bb1 100644 (file)
@@ -184,10 +184,8 @@ void GeomFill_LocationDraft::Prepare()
   } // for_ii
 }
 
-//==================================================================
-// Function: GetCurve
-// Purpose : return the path
-//==================================================================
+//=================================================================================================
+
 const Handle(Adaptor3d_Curve)& GeomFill_LocationDraft::GetCurve() const
 {
   return myCurve;
index 18f659f37dfe380d82c4c9e56f2265f9fb8a11dc..78fda3c320ee943b1ed53990452bbd747ca73c3f 100644 (file)
@@ -354,10 +354,8 @@ void GeomFill_SectionPlacement::SetLocation(const Handle(GeomFill_LocationLaw)&
   myLaw = L;
 }
 
-//===============================================================
-// Function : Perform
-// Purpose : Le plus simple
-//===============================================================
+//=================================================================================================
+
 void GeomFill_SectionPlacement::Perform(const Standard_Real Tol)
 {
   Handle(Adaptor3d_Curve) Path;
index 8d2e996611a337c4c433f21e0138761dc47e8424..ef1270e33b33b7f4b16b8063b14a65c66df0dca3 100644 (file)
@@ -153,10 +153,7 @@ Standard_Boolean HatchGen_PointOnHatching::IsGreater(const HatchGen_PointOnHatch
   return (myParam - Point.myParam > Confusion);
 }
 
-//=======================================================================
-// Function : Dump
-// Purpose  : Dump of the point.
-//=======================================================================
+//=================================================================================================
 
 void HatchGen_PointOnHatching::Dump(const Standard_Integer Index) const
 {
index 06eaa369c3ca7221038ae7b58d5732b43784ddb4..6207a578bf9a5f5f0a462e00fe4e85d2dc2da337 100644 (file)
 
 static const int Pourcent3[9] = {0, 1, 2, 0, 1, 2, 0, 1, 2};
 
-//=======================================================================
-// function : IntPatch_InterferencePolyhedron
-// purpose  : Empty constructor.
-//=======================================================================
+//=================================================================================================
 
 IntPatch_InterferencePolyhedron::IntPatch_InterferencePolyhedron()
     : Intf_Interference(Standard_False),
index 6223ae027b8c695bc6fecbc78c033495e65d67db..b56cea5819266aa4fe49399ef2620ad4430f1172 100644 (file)
@@ -30,10 +30,7 @@ namespace
 static const Standard_Real PRCANG = Precision::Angular();
 }
 
-//=======================================================================
-// function : Intf_InterferencePolygon2d
-// purpose  : constructor empty
-//=======================================================================
+//=================================================================================================
 
 Intf_InterferencePolygon2d::Intf_InterferencePolygon2d()
     : Intf_Interference(Standard_False),
index ebffdff6334c3fa054d1bc63bb4a521dbbe8b61e..b18280eb68b81d52c4f5eef2fb4a10101439e094 100644 (file)
@@ -75,10 +75,7 @@ static void GetPoles(const TColStd_Array1OfReal& FP,
   }
 }
 
-//=======================================================================
-// function : CheckCurveData
-// purpose  : Internal use only
-//=======================================================================
+//=================================================================================================
 
 static void CheckCurveData(const TColStd_Array1OfReal&    CPoles,
                            const TColStd_Array1OfReal&    CKnots,
@@ -108,10 +105,7 @@ static void CheckCurveData(const TColStd_Array1OfReal&    CPoles,
     throw Standard_ConstructionError();
 }
 
-//=======================================================================
-// function : KnotAnalysis
-// purpose  : Internal use only
-//=======================================================================
+//=================================================================================================
 
 static void KnotAnalysis(const Standard_Integer         Degree,
                          const Standard_Boolean         Periodic,
index da5f8f1102383d512448dc2029bc9650e224d09d..fbdd9356161f03db6720016bfb6f103301b497ca 100644 (file)
 #define SAME 0
 #define LOWER -1
 
-//=======================================================================
-// function : TopTrans_CurveTransition
-// purpose  : Empty Constructor.
-//=======================================================================
+//=================================================================================================
 
 TopTrans_CurveTransition::TopTrans_CurveTransition()
     : myCurv(0.0),
@@ -396,10 +393,7 @@ Standard_Boolean TopTrans_CurveTransition::IsBefore(const Standard_Real Tole,
   return OneBefore;
 }
 
-//=======================================================================
-// function : Compare
-// purpose  : Compare two angles
-//=======================================================================
+//=================================================================================================
 
 Standard_Integer TopTrans_CurveTransition::Compare(const Standard_Real Ang1,
                                                    const Standard_Real Ang2,
index c66c945574087a2bfbdd003951eccded765fe767..732a5bd4fde7c2e318b0fb360dbd29d9862e84bd 100644 (file)
@@ -202,10 +202,8 @@ static Standard_Boolean ProcessMicroEdge(const TopoDS_Edge&              theEdge
   return bMicro;
 }
 
-//=======================================================================
-// function : UpdateOrigins
-// purpose  : Updating origins
-//=======================================================================
+//=================================================================================================
+
 static void UpdateOrigins(const TopTools_ListOfShape&         theLA,
                           TopTools_DataMapOfShapeListOfShape& theOrigins,
                           BOPAlgo_Builder&                    theGF)
index a9ad3a77d2cf93fc0039be0a3f03b0ba14c8f2a0..1a8e96694557331b2da9dabfae6bbf21aecc873f 100644 (file)
@@ -1126,10 +1126,7 @@ static Handle(Geom2d_Curve) ConcatPCurves(const TopoDS_Edge&     E1,
   return newPCurve;
 }
 
-//=======================================================================
-// function : Glue
-// purpose  : glue two edges.
-//=======================================================================
+//=================================================================================================
 
 static TopoDS_Edge Glue(const TopoDS_Edge&     E1,
                         const TopoDS_Edge&     E2,
index 0dda477321e06417b820f9b2d22f69323501b552..2db56f4a1eaeee65525191c416d23add17900c01 100644 (file)
@@ -90,10 +90,8 @@ TopoDS_Shape BRepOffsetAPI_MakePipe::LastShape()
   return myPipe.LastShape();
 }
 
-//=======================================================================
-// function : Generated
-// purpose  : standard method
-//=======================================================================
+//=================================================================================================
+
 const TopTools_ListOfShape& BRepOffsetAPI_MakePipe::Generated(const TopoDS_Shape& S)
 {
   myPipe.Generated(S, myGenerated);
index 05bdc47d89c4ed597fbc4c63ba9845ca57896258..0ae8f87c89a838b70b80169eb49e9b9591ffabe8 100644 (file)
@@ -54,20 +54,14 @@ void BRepPrim_Builder::MakeShell(TopoDS_Shell& S) const
   S.Closed(Standard_True);
 }
 
-//=======================================================================
-// function : MakeFace
-// purpose  : Make a Planar Face
-//=======================================================================
+//=================================================================================================
 
 void BRepPrim_Builder::MakeFace(TopoDS_Face& F, const gp_Pln& P) const
 {
   myBuilder.MakeFace(F, new Geom_Plane(P), Precision::Confusion());
 }
 
-//=======================================================================
-// function : MakeWire
-// purpose  : Make an empty Wire
-//=======================================================================
+//=================================================================================================
 
 void BRepPrim_Builder::MakeWire(TopoDS_Wire& W) const
 {
@@ -82,10 +76,7 @@ void BRepPrim_Builder::MakeDegeneratedEdge(TopoDS_Edge& E) const
   myBuilder.Degenerated(E, Standard_True);
 }
 
-//=======================================================================
-// function : MakeEdge
-// purpose  : Make a linear Edge
-//=======================================================================
+//=================================================================================================
 
 void BRepPrim_Builder::MakeEdge(TopoDS_Edge& E, const gp_Lin& L) const
 {
@@ -136,20 +127,14 @@ void BRepPrim_Builder::SetPCurve(TopoDS_Edge& E, const TopoDS_Face& F, const gp_
   myBuilder.UpdateEdge(E, new Geom2d_Circle(C), F, Precision::Confusion());
 }
 
-//=======================================================================
-// function : MakeVertex
-// purpose  : Make a Vertex
-//=======================================================================
+//=================================================================================================
 
 void BRepPrim_Builder::MakeVertex(TopoDS_Vertex& V, const gp_Pnt& P) const
 {
   myBuilder.MakeVertex(V, P, Precision::Confusion());
 }
 
-//=======================================================================
-// function : ReverseFace
-// purpose  : Reverse a Face
-//=======================================================================
+//=================================================================================================
 
 void BRepPrim_Builder::ReverseFace(TopoDS_Face& F) const
 {
index f44f37740338dd9296bc6df28d176fe3cf66bd53..2b40e347acb473a90225476b20c74994c4b47254 100644 (file)
@@ -180,10 +180,7 @@ BRepPrim_GWedge::BRepPrim_GWedge(const BRepPrim_Builder& B,
   BRepPrim_Wedge_Init(ShellBuilt, VerticesBuilt, EdgesBuilt, WiresBuilt, FacesBuilt);
 }
 
-//=======================================================================
-// function : BRepPrim_GWedge
-// purpose  : build a STEP wedge
-//=======================================================================
+//=================================================================================================
 
 BRepPrim_GWedge::BRepPrim_GWedge(const BRepPrim_Builder& B,
                                  const gp_Ax2&           Axes,
index ac9bad515b2cb300a38efa9fc4974346898f77bd..0ba19c25b7288fcd2ac6c8e30de5a48964f9ec21 100644 (file)
 
 IMPLEMENT_STANDARD_RTTIEXT(ShapeAnalysis_FreeBoundData, Standard_Transient)
 
-//=======================================================================
-// function : ShapeAnalysis_FreeBoundData
-// purpose  : Empty constructor
-//=======================================================================
+//=================================================================================================
+
 ShapeAnalysis_FreeBoundData::ShapeAnalysis_FreeBoundData()
 {
   myNotches = new TopTools_HSequenceOfShape();
index 77e03d30ae2e824547fb42bd245641c069a7f1fb..7ce642b45125caceb712b2e1475a670af3cc6636 100644 (file)
 #include <TopTools_MapOfShape.hxx>
 
 // ied_modif_for_compil_Nov-19-1998
-//=======================================================================
-// function : ShapeAnalysis_FreeBounds
-// purpose  : Empty constructor
-//=======================================================================
+//=================================================================================================
+
 ShapeAnalysis_FreeBounds::ShapeAnalysis_FreeBounds() {}
 
 //=================================================================================================
index bc6c5bf0a3757f3c2e93dcd3b6066fdbe075dbef..df0e060047ca41558fbcc99aaa824ffcf8e3e9cd 100644 (file)
@@ -85,10 +85,7 @@ static void ContourProperties(const TopoDS_Wire& wire,
   countourLength = length;
 }
 
-//=======================================================================
-// function : ShapeAnalysis_FreeBoundsProperties
-// purpose  : Empty constructor
-//=======================================================================
+//=================================================================================================
 
 ShapeAnalysis_FreeBoundsProperties::ShapeAnalysis_FreeBoundsProperties()
 {
index 002729168a7802e80b88477c1f512aa11c84dc5f..557cc67e3d1c4947b948e8c2b610a9d097b533f0 100644 (file)
@@ -477,10 +477,7 @@ Standard_Boolean ShapeAnalysis_Surface::ProjectDegenerated(const Standard_Intege
   return Standard_True;
 }
 
-//=======================================================================
-// method : IsDegenerated
-// purpose:
-//=======================================================================
+//=================================================================================================
 
 Standard_Boolean ShapeAnalysis_Surface::IsDegenerated(const gp_Pnt2d&     p2d1,
                                                       const gp_Pnt2d&     p2d2,
index 161794cad991f50e9a18f13483f331118a6af8ce..3dfe97505cc721f74ece6a8a13dd88798771aa3f 100644 (file)
@@ -1600,11 +1600,7 @@ Standard_Boolean ShapeAnalysis_Wire::CheckLacking(const Standard_Integer num,
   return Standard_True;
 }
 
-//=======================================================================
-// function : CheckLacking
-// purpose  :
-//
-//=======================================================================
+//=================================================================================================
 
 Standard_Boolean ShapeAnalysis_Wire::CheckLacking(const Standard_Integer num,
                                                   const Standard_Real    Tolerance)
index abe4884ccb2c714f917fdd0d5d3eca699964ad18..6bca83da0dfe21fb0a611c8e0ba803c682f01b35 100644 (file)
@@ -339,10 +339,8 @@ void BRepBuilderAPI_FastSewing::UpdateEdgeInfo(const Standard_Integer theIDPrevV
   aFace.SetEdge(theIDCurvOnFace, anEdge.myID);
 }
 
-//=======================================================================
-// function : CreateNewEdge
-// purpose  : Creates FS_Edge
-//=======================================================================
+//=================================================================================================
+
 void BRepBuilderAPI_FastSewing::CreateNewEdge(const Standard_Integer theIDPrevVertex,
                                               const Standard_Integer theIDCurrVertex,
                                               const Standard_Integer theFaceID,
index 98620a8063a63f1fea6da0cd9420cf7175e94982..2ca75c1ae4c2da79a06cd1ffb7f5573f6ec30750 100644 (file)
@@ -1360,10 +1360,7 @@ void BRepBuilderAPI_Sewing::EvaluateDistances(TopTools_SequenceOfShape& sequence
   }*/
 }
 
-//=======================================================================
-// function : IsMergedClosed
-// purpose  :  internal use
-//=======================================================================
+//=================================================================================================
 
 Standard_Boolean BRepBuilderAPI_Sewing::IsMergedClosed(const TopoDS_Edge& Edge1,
                                                        const TopoDS_Edge& Edge2,
@@ -4209,10 +4206,7 @@ void BRepBuilderAPI_Sewing::GetFreeWires(TopTools_IndexedMapOfShape& MapFreeEdge
   }
 }
 
-//=======================================================================
-// function :  IsDegeneratedWire
-// purpose  :  internal use
-//=======================================================================
+//=================================================================================================
 
 static Standard_Boolean IsDegeneratedWire(const TopoDS_Shape& wire)
 {
index f569d74fb35cb773571736c24ff8e237d5c97101..60a4ec229784b22a4552d232872e1d382c3d7c60 100644 (file)
@@ -534,10 +534,8 @@ static Standard_Boolean IsDistanceIn2DTolerance(
   return Standard_False;
 }
 
-//=======================================================================
-// function : Closed2d
-// purpose  : for periodic faces
-//=======================================================================
+//=================================================================================================
+
 BRepCheck_Status BRepCheck_Wire::Closed2d(const TopoDS_Face& theFace, const Standard_Boolean Update)
 {
   Handle(BRepCheck_HListOfStatus) aHList;
index 06d998fdbee1d53cb7b2e184965f356d23ac7641..942a8182fd8874157bc687ca788086cb601bdc79 100644 (file)
@@ -323,10 +323,8 @@ Standard_Boolean BRepExtrema_TriangleSet::initEdge(const TopoDS_Edge&     theEdg
   return Standard_True;
 }
 
-//=======================================================================
-// function : initNodes
-// purpose  : Initializes nodes
-//=======================================================================
+//=================================================================================================
+
 void BRepExtrema_TriangleSet::initNodes(const TColgp_Array1OfPnt& theNodes,
                                         const gp_Trsf&            theTrsf,
                                         const Standard_Integer    theIndex)
index 16bf17c51d086622498aeb87f5f78477aebee5e7..0989fff997af4c0fc32c2fc08e388167d06fd788 100644 (file)
@@ -137,10 +137,8 @@ BRepGProp_Gauss::Inertia::Inertia()
 {
 }
 
-//=======================================================================
-// function : Inertia::Reset
-// purpose  : Zeroes all values.
-//=======================================================================
+//=================================================================================================
+
 void BRepGProp_Gauss::Inertia::Reset()
 {
   memset(reinterpret_cast<void*>(this), 0, sizeof(BRepGProp_Gauss::Inertia));
index cf6138d8294af735279ae7ef7657d6c827004f5f..9bfb8963cdb8ecd30621252a7c62d1405e31e34d 100644 (file)
 static void CutSketch(MAT2d_SequenceOfSequenceOfGeometry& Figure,
                       MAT2d_DataMapOfBiIntInteger&        NbSect);
 
-//=============================================================================
-// function : BRepMAT2d_BisectingLocus
-// purpose  : Constructeur vide.
-//=============================================================================
+//=================================================================================================
+
 BRepMAT2d_BisectingLocus::BRepMAT2d_BisectingLocus()
     : isDone(Standard_False),
       nbContours(0)
index 3532542bcb037de822526c395a2a61d01e646c24..25a1a3863c2ff1fd9a42f35bcfe6160728e5a847 100644 (file)
@@ -491,10 +491,7 @@ TopoDS_Edge MakeEdge(const Handle(Geom2d_Curve)& theCurve,
 
 //  Modified by Sergey KHROMOV - Wed Mar  6 17:40:14 2002 End
 //
-//=======================================================================
-// function : GetCurveType
-// purpose  : Get curve type.
-//=======================================================================
+//=================================================================================================
 
 GeomAbs_CurveType GetCurveType(const Handle(Geom2d_Curve)& theC2d)
 {
index 3c569f306a365f4ebe7937e7a2d32a989a270efc..049cf433bb78988f5239f58ccd370ffc6ca66b67 100644 (file)
@@ -50,10 +50,8 @@ void Bisector_FunctionInter::Perform(const Handle(Geom2d_Curve)&   C,
   bisector2 = B2;
 }
 
-//=============================================================================
-// function : Value
-// purpose :
-///=============================================================================
+//=================================================================================================
+
 Standard_Boolean Bisector_FunctionInter::Value(const Standard_Real X, Standard_Real& F)
 {
   gp_Pnt2d PC  = curve->Value(X);
index 1d6d4aabe3110fb45b439c5d283d7194c4680413..8953a6b4b3fcfe59b7496b0800bd4291fe0928c0 100644 (file)
 
 IMPLEMENT_STANDARD_RTTIEXT(Geom2d_BSplineCurve, Geom2d_BoundedCurve)
 
-//=======================================================================
-// function : CheckCurveData
-// purpose  : Internal use only
-//=======================================================================
+//=================================================================================================
+
 static void CheckCurveData(const TColgp_Array1OfPnt2d&    CPoles,
                            const TColStd_Array1OfReal&    CKnots,
                            const TColStd_Array1OfInteger& CMults,
index 15b5283d96a268be8a197c224e9173f79bb43eb6..7f9ab22120e4a71a761981ef3614a29b84c726b4 100644 (file)
@@ -117,10 +117,7 @@ Geom2d_BezierCurve::Geom2d_BezierCurve(const TColgp_Array1OfPnt2d& Poles,
   Init(npoles, nweights);
 }
 
-//=======================================================================
-// function : Increase
-// purpose  : increase degree
-//=======================================================================
+//=================================================================================================
 
 void Geom2d_BezierCurve::Increase(const Standard_Integer Deg)
 {
index e56464216395d93c88cffe6c457657826381c6ea..75309b5a265dfcbaa357eb9d0c4b28262ba5436e 100644 (file)
@@ -1814,10 +1814,7 @@ void Adaptor3d_CurveOnSurface::EvalFirstLastSurf()
   }
 }
 
-//=======================================================================
-// function :LocatePart_RevExt
-// purpose  : processes Knots
-//=======================================================================
+//=================================================================================================
 
 Standard_Boolean Adaptor3d_CurveOnSurface::LocatePart_RevExt(const gp_Pnt2d&                  UV,
                                                              const gp_Vec2d&                  DUV,
@@ -1885,10 +1882,7 @@ Standard_Boolean Adaptor3d_CurveOnSurface::LocatePart_Offset(const gp_Pnt2d&
   return Ok;
 }
 
-//=======================================================================
-// function :LocatePart
-// purpose  : for BSplineSurface
-//=======================================================================
+//=================================================================================================
 
 void Adaptor3d_CurveOnSurface::LocatePart(const gp_Pnt2d&                  UV,
                                           const gp_Vec2d&                  DUV,
index eb6d5c5de0427af018d9d08baec6bac671f95007..6c7a86c93e4c9d2a7523fa425277a3eb7bc6525a 100644 (file)
 
 IMPLEMENT_STANDARD_RTTIEXT(Geom_BSplineCurve, Geom_BoundedCurve)
 
-//=======================================================================
-// function : CheckCurveData
-// purpose  : Internal use only
-//=======================================================================
+//=================================================================================================
+
 static void CheckCurveData(const TColgp_Array1OfPnt&      CPoles,
                            const TColStd_Array1OfReal&    CKnots,
                            const TColStd_Array1OfInteger& CMults,
index f820043b0a03af45f0a6ad7b7ea277318dc73c89..eb280375dc94b667ad61f33ba88ff519e97c1108 100644 (file)
 
 IMPLEMENT_STANDARD_RTTIEXT(Geom_BSplineSurface, Geom_BoundedSurface)
 
-//=======================================================================
-// function : CheckSurfaceData
-// purpose  : Internal use only.
-//=======================================================================
+//=================================================================================================
+
 static void CheckSurfaceData(const TColgp_Array2OfPnt&      SPoles,
                              const TColStd_Array1OfReal&    SUKnots,
                              const TColStd_Array1OfReal&    SVKnots,
@@ -92,10 +90,7 @@ static void CheckSurfaceData(const TColgp_Array2OfPnt&      SPoles,
     throw Standard_ConstructionError("Geom_BSplineSurface: # V Poles and degree mismatch");
 }
 
-//=======================================================================
-// function : Rational
-// purpose  : Internal use only.
-//=======================================================================
+//=================================================================================================
 
 static void Rational(const TColStd_Array2OfReal& Weights,
                      Standard_Boolean&           Urational,
index 083b2c3f980a20decb9e58b1e905fbbadaa733b3..fd8b7eddb643777a8dffb44a3133d6b59b66f573 100644 (file)
@@ -120,10 +120,7 @@ Geom_BezierCurve::Geom_BezierCurve(const TColgp_Array1OfPnt&   Poles,
   Init(npoles, nweights);
 }
 
-//=======================================================================
-// function : Increase
-// purpose  : increase degree
-//=======================================================================
+//=================================================================================================
 
 void Geom_BezierCurve::Increase(const Standard_Integer Deg)
 {
index 97198b11aa03889b3fbdc4b584e357addfc3238d..9aa80513ede7d4a23affa227582723310f57755f 100644 (file)
@@ -83,10 +83,7 @@ static void Rational(const TColStd_Array2OfReal& Weights,
   }
 }
 
-//=======================================================================
-// function : AddPoleCol
-// purpose  : Internal use only.
-//=======================================================================
+//=================================================================================================
 
 static void AddPoleCol(const TColgp_Array2OfPnt& Poles,
                        const TColgp_Array1OfPnt& PoleCol,
@@ -126,10 +123,7 @@ static void AddPoleCol(const TColgp_Array2OfPnt& Poles,
   }
 }
 
-//=======================================================================
-// function : AddRatPoleCol
-// purpose  : Internal use only.
-//=======================================================================
+//=================================================================================================
 
 static void AddRatPoleCol(const TColgp_Array2OfPnt&   Poles,
                           const TColStd_Array2OfReal& Weights,
@@ -177,10 +171,7 @@ static void AddRatPoleCol(const TColgp_Array2OfPnt&   Poles,
   }
 }
 
-//=======================================================================
-// function : AddPoleRow
-// purpose  : Internal use only.
-//=======================================================================
+//=================================================================================================
 
 static void AddPoleRow(const TColgp_Array2OfPnt& Poles,
                        const TColgp_Array1OfPnt& PoleRow,
index d4f275cc73e173b47a1a60b2d8209019f3c72747..36f14bf74b70d958a17369d94e01c0aca2f6868d 100644 (file)
@@ -112,30 +112,21 @@ Standard_Real CPnts_AbscissaPoint::Length(const Adaptor2d_Curve2d& C)
   return CPnts_AbscissaPoint::Length(C, C.FirstParameter(), C.LastParameter());
 }
 
-//=======================================================================
-// function : Length
-// purpose  : 3d with tolerance
-//=======================================================================
+//=================================================================================================
 
 Standard_Real CPnts_AbscissaPoint::Length(const Adaptor3d_Curve& C, const Standard_Real Tol)
 {
   return CPnts_AbscissaPoint::Length(C, C.FirstParameter(), C.LastParameter(), Tol);
 }
 
-//=======================================================================
-// function : Length
-// purpose  : 2d with tolerance
-//=======================================================================
+//=================================================================================================
 
 Standard_Real CPnts_AbscissaPoint::Length(const Adaptor2d_Curve2d& C, const Standard_Real Tol)
 {
   return CPnts_AbscissaPoint::Length(C, C.FirstParameter(), C.LastParameter(), Tol);
 }
 
-//=======================================================================
-// function : Length
-// purpose  : 3d with parameters
-//=======================================================================
+//=================================================================================================
 
 Standard_Real CPnts_AbscissaPoint::Length(const Adaptor3d_Curve& C,
                                           const Standard_Real    U1,
@@ -154,10 +145,7 @@ Standard_Real CPnts_AbscissaPoint::Length(const Adaptor3d_Curve& C,
   return Abs(TheLength.Value());
 }
 
-//=======================================================================
-// function : Length
-// purpose  : 2d with parameters
-//=======================================================================
+//=================================================================================================
 
 Standard_Real CPnts_AbscissaPoint::Length(const Adaptor2d_Curve2d& C,
                                           const Standard_Real      U1,
index 4b7b3ed905a0023c57bca86cf374bb741c39eca5..5a657c5150b9641ab094cf59cd22e488a65b3b2d 100644 (file)
@@ -556,19 +556,15 @@ void Extrema_ExtElCS::Perform(const gp_Circ&, const gp_Cone&)
   throw Standard_NotImplemented();
 }
 
-//=======================================================================
-// function : Extrema_ExtElCS
-// purpose  : Circle/Sphere
-//=======================================================================
+//=================================================================================================
+
 Extrema_ExtElCS::Extrema_ExtElCS(const gp_Circ& C, const gp_Sphere& S)
 {
   Perform(C, S);
 }
 
-//=======================================================================
-// function : Perform
-// purpose  : Circle/Sphere
-//=======================================================================
+//=================================================================================================
+
 void Extrema_ExtElCS::Perform(const gp_Circ& C, const gp_Sphere& S)
 {
   myDone  = Standard_False;
index 3af783c6e5f222f6c558a8e4c9f49304ce46d3cc..55d9be55d682ec720d8f7821bbff591b217e9c84 100644 (file)
 #include <gp_Pnt2d.hxx>
 #include <gp_Trsf2d.hxx>
 
-// ============================================================================
-// Method : RadianToDegree
-// Purpose:
-// ============================================================================
+//=================================================================================================
+
 Handle(Geom2d_Curve) GeomConvert_Units::RadianToDegree(const Handle(Geom2d_Curve)& theCurve2d,
                                                        const Handle(Geom_Surface)& theSurf,
                                                        const Standard_Real         theLengthFactor,
@@ -302,10 +300,8 @@ Handle(Geom2d_Curve) GeomConvert_Units::DegreeToRadian(const Handle(Geom2d_Curve
   return aPcurve;
 }
 
-// ============================================================================
-// Method : MirrorPCurve
-// Purpose:
-// ============================================================================
+//=================================================================================================
+
 Handle(Geom2d_Curve) GeomConvert_Units::MirrorPCurve(const Handle(Geom2d_Curve)& theCurve)
 {
   Handle(Geom2d_Curve) theMirrored = Handle(Geom2d_Curve)::DownCast(theCurve->Copy());
index 224a187a170812de06c973f071b2f1af79f5c4ac..0cb45ca6679340d2903e3af6c71d3d29ef20d325 100644 (file)
@@ -321,10 +321,8 @@ Standard_Real EstimDist(const gp_Cone& theCon1, const gp_Cone& theCon2)
   return aDist;
 }
 
-//=======================================================================
-// function : IntAna_QuadQuadGeo
-// purpose  : Empty constructor
-//=======================================================================
+//=================================================================================================
+
 IntAna_QuadQuadGeo::IntAna_QuadQuadGeo(void)
     : done(Standard_False),
       nbint(0),
@@ -2691,10 +2689,8 @@ void IntAna_QuadQuadGeo::Perform(const gp_Torus&     Tor1,
   }
 }
 
-//=======================================================================
-// function : Point
-// purpose  : Returns a Point
-//=======================================================================
+//=================================================================================================
+
 gp_Pnt IntAna_QuadQuadGeo::Point(const Standard_Integer n) const
 {
   if (!done)
@@ -2726,10 +2722,8 @@ gp_Pnt IntAna_QuadQuadGeo::Point(const Standard_Integer n) const
   return gp_Pnt(0, 0, 0);
 }
 
-//=======================================================================
-// function : Line
-// purpose  : Returns a Line
-//=======================================================================
+//=================================================================================================
+
 gp_Lin IntAna_QuadQuadGeo::Line(const Standard_Integer n) const
 {
   if (!done)
@@ -2750,10 +2744,8 @@ gp_Lin IntAna_QuadQuadGeo::Line(const Standard_Integer n) const
   }
 }
 
-//=======================================================================
-// function : Circle
-// purpose  : Returns a Circle
-//=======================================================================
+//=================================================================================================
+
 gp_Circ IntAna_QuadQuadGeo::Circle(const Standard_Integer n) const
 {
   if (!done)
@@ -2792,10 +2784,8 @@ gp_Circ IntAna_QuadQuadGeo::Circle(const Standard_Integer n) const
   }
 }
 
-//=======================================================================
-// function : Ellipse
-// purpose  : Returns a Elips
-//=======================================================================
+//=================================================================================================
+
 gp_Elips IntAna_QuadQuadGeo::Ellipse(const Standard_Integer n) const
 {
   if (!done)
@@ -2835,10 +2825,8 @@ gp_Elips IntAna_QuadQuadGeo::Ellipse(const Standard_Integer n) const
   }
 }
 
-//=======================================================================
-// function : Parabola
-// purpose  : Returns a Parabola
-//=======================================================================
+//=================================================================================================
+
 gp_Parab IntAna_QuadQuadGeo::Parabola(const Standard_Integer n) const
 {
   if (!done)
index 7a89aba8d0419d9f4121eb7558771ef3d7736b14..4b5b39810af4b94031136bba016a8df209579cc8 100644 (file)
 
 IMPLEMENT_STANDARD_RTTIEXT(IVtkOCC_SelectableObject, SelectMgr_SelectableObject)
 
-//============================================================================
-// Method:  Constructor
-// Purpose:
-//============================================================================
+//=================================================================================================
+
 IVtkOCC_SelectableObject::IVtkOCC_SelectableObject(const IVtkOCC_Shape::Handle& theShape)
     : SelectMgr_SelectableObject(PrsMgr_TOP_AllView),
       myShape(theShape)
@@ -42,29 +40,23 @@ IVtkOCC_SelectableObject::IVtkOCC_SelectableObject(const IVtkOCC_Shape::Handle&
   }
 }
 
-//============================================================================
-// Method:  Constructor
-// Purpose:
-//============================================================================
+//=================================================================================================
+
 IVtkOCC_SelectableObject::IVtkOCC_SelectableObject()
     : SelectMgr_SelectableObject(PrsMgr_TOP_AllView)
 {
   //
 }
 
-//============================================================================
-// Method:  Destructor
-// Purpose:
-//============================================================================
+//=================================================================================================
+
 IVtkOCC_SelectableObject::~IVtkOCC_SelectableObject()
 {
   //
 }
 
-//============================================================================
-// Method:  SetShape
-// Purpose:
-//============================================================================
+//=================================================================================================
+
 void IVtkOCC_SelectableObject::SetShape(const IVtkOCC_Shape::Handle& theShape)
 {
   myShape = theShape;
@@ -78,10 +70,8 @@ void IVtkOCC_SelectableObject::SetShape(const IVtkOCC_Shape::Handle& theShape)
   myselections.Clear();
 }
 
-//============================================================================
-// Method:  ComputeSelection
-// Purpose:
-//============================================================================
+//=================================================================================================
+
 void IVtkOCC_SelectableObject::ComputeSelection(const Handle(SelectMgr_Selection)& theSelection,
                                                 const Standard_Integer             theMode)
 {
@@ -126,10 +116,8 @@ void IVtkOCC_SelectableObject::ComputeSelection(const Handle(SelectMgr_Selection
   }
 }
 
-//============================================================================
-// Method:  BoundingBox
-// Purpose:
-//============================================================================
+//=================================================================================================
+
 const Bnd_Box& IVtkOCC_SelectableObject::BoundingBox()
 {
   if (myShape.IsNull())
@@ -154,10 +142,8 @@ const Bnd_Box& IVtkOCC_SelectableObject::BoundingBox()
   return myBndBox;
 }
 
-//============================================================================
-// Method:  BoundingBox
-// Purpose:
-//============================================================================
+//=================================================================================================
+
 void IVtkOCC_SelectableObject::BoundingBox(Bnd_Box& theBndBox)
 {
   BoundingBox();
index 1d564fa48debcd1ae30b0030499402f7e8547cf1..ebe6482e0a50f81529f9b3f597320bd7516dfcc6 100644 (file)
 
 IMPLEMENT_STANDARD_RTTIEXT(IVtkOCC_Shape, IVtk_IShape)
 
-//============================================================================
-// Method: Constructor
-// Purpose:
-//============================================================================
+//=================================================================================================
+
 IVtkOCC_Shape::IVtkOCC_Shape(const TopoDS_Shape&         theShape,
                              const Handle(Prs3d_Drawer)& theDrawerLink)
     : myTopoDSShape(theShape),
@@ -41,16 +39,12 @@ IVtkOCC_Shape::IVtkOCC_Shape(const TopoDS_Shape&         theShape,
   buildSubShapeIdMap();
 }
 
-//============================================================================
-// Method: Destructor
-// Purpose:
-//============================================================================
+//=================================================================================================
+
 IVtkOCC_Shape::~IVtkOCC_Shape() {}
 
-//============================================================================
-// Method: GetSubShapeId
-// Purpose:
-//============================================================================
+//=================================================================================================
+
 IVtk_IdType IVtkOCC_Shape::GetSubShapeId(const TopoDS_Shape& theSubShape) const
 {
   Standard_Integer anIndex =
@@ -62,10 +56,8 @@ IVtk_IdType IVtkOCC_Shape::GetSubShapeId(const TopoDS_Shape& theSubShape) const
   return (IVtk_IdType)anIndex;
 }
 
-//============================================================================
-// Method: getSubIds
-// Purpose:
-//============================================================================
+//=================================================================================================
+
 IVtk_ShapeIdList IVtkOCC_Shape::GetSubIds(const IVtk_IdType theId) const
 {
   IVtk_ShapeIdList aRes;
@@ -106,10 +98,8 @@ IVtk_ShapeIdList IVtkOCC_Shape::GetSubIds(const IVtk_IdType theId) const
   return aRes;
 }
 
-//============================================================================
-// Method: GetSubShape
-// Purpose:
-//============================================================================
+//=================================================================================================
+
 const TopoDS_Shape& IVtkOCC_Shape::GetSubShape(const IVtk_IdType theId) const
 {
   return mySubShapeIds.FindKey((Standard_Integer)theId);
index 6ffa51dc8149de2535dc28fcb96c0be5d2d29f57..511ac40377960fef054c7c023c4001a81ca90e09 100644 (file)
 
 IMPLEMENT_STANDARD_RTTIEXT(IVtkOCC_ViewerSelector, SelectMgr_ViewerSelector)
 
-//============================================================================
-// Method:  Constructor
-// Purpose:
-//============================================================================
+//=================================================================================================
+
 IVtkOCC_ViewerSelector::IVtkOCC_ViewerSelector()
     : SelectMgr_ViewerSelector(),
       myPixTol(2),
@@ -32,16 +30,12 @@ IVtkOCC_ViewerSelector::IVtkOCC_ViewerSelector()
 {
 }
 
-//============================================================================
-// Method:  Destructor
-// Purpose:
-//============================================================================
+//=================================================================================================
+
 IVtkOCC_ViewerSelector::~IVtkOCC_ViewerSelector() {}
 
-//============================================================================
-// Method: ConvertVtkToOccCamera
-// Purpose:
-//============================================================================
+//=================================================================================================
+
 Handle(Graphic3d_Camera) IVtkOCC_ViewerSelector::ConvertVtkToOccCamera(
   const IVtk_IView::Handle& theView)
 {
@@ -163,10 +157,8 @@ void IVtkOCC_ViewerSelector::Pick(const Standard_Integer    theXMin,
   TraverseSensitives(-1);
 }
 
-//============================================================================
-// Method:  Pick
-// Purpose:
-//============================================================================
+//=================================================================================================
+
 void IVtkOCC_ViewerSelector::Pick(double**                  thePoly,
                                   const int                 theNbPoints,
                                   const IVtk_IView::Handle& theView)
index b223f63efe88a6cb403fd898d2af5fb73e3300dd..e3bd44d68fb013597bc588f197e3a90300bf9c7e 100644 (file)
@@ -61,10 +61,8 @@ vtkStandardNewMacro(IVtkTools_DisplayModeFilter)
   myModesDefinition[DM_Shading] = aTypes;
 }
 
-//============================================================================
-// Method: Destructor
-// Purpose:
-//============================================================================
+//=================================================================================================
+
 IVtkTools_DisplayModeFilter::~IVtkTools_DisplayModeFilter() {}
 
 //============================================================================
@@ -81,10 +79,8 @@ int IVtkTools_DisplayModeFilter::RequestData(vtkInformation*        theRequest,
   return Superclass::RequestData(theRequest, theInputVector, theOutputVector);
 }
 
-//============================================================================
-// Method: PrintSelf
-// Purpose:
-//============================================================================
+//=================================================================================================
+
 void IVtkTools_DisplayModeFilter::PrintSelf(std::ostream& theOs, vtkIndent theIndent)
 {
   this->Superclass::PrintSelf(theOs, theIndent);
@@ -99,10 +95,8 @@ void IVtkTools_DisplayModeFilter::PrintSelf(std::ostream& theOs, vtkIndent theIn
   }
 }
 
-//============================================================================
-// Method: SetDisplaySharedVertices
-// Purpose:
-//============================================================================
+//=================================================================================================
+
 void IVtkTools_DisplayModeFilter::SetDisplaySharedVertices(const bool theDoDisplay)
 {
   if (myDoDisplaySharedVertices != theDoDisplay)
@@ -126,10 +120,8 @@ void IVtkTools_DisplayModeFilter::SetDisplaySharedVertices(const bool theDoDispl
   }
 }
 
-//============================================================================
-// Method: SetDisplayMode
-// Purpose:
-//============================================================================
+//=================================================================================================
+
 void IVtkTools_DisplayModeFilter::SetDisplayMode(const IVtk_DisplayMode theMode)
 {
   if (myDisplayMode != theMode)
@@ -139,28 +131,22 @@ void IVtkTools_DisplayModeFilter::SetDisplayMode(const IVtk_DisplayMode theMode)
   }
 }
 
-//============================================================================
-// Method: GetDisplayMode
-// Purpose:
-//============================================================================
+//=================================================================================================
+
 IVtk_DisplayMode IVtkTools_DisplayModeFilter::GetDisplayMode() const
 {
   return myDisplayMode;
 }
 
-//============================================================================
-// Method: meshTypesForMode
-// Purpose:
-//============================================================================
+//=================================================================================================
+
 const IVtk_IdTypeMap& IVtkTools_DisplayModeFilter::MeshTypesForMode(IVtk_DisplayMode theMode) const
 {
   return myModesDefinition[theMode];
 }
 
-//============================================================================
-// Method: setMeshTypesForMode
-// Purpose:
-//============================================================================
+//=================================================================================================
+
 void IVtkTools_DisplayModeFilter::SetMeshTypesForMode(IVtk_DisplayMode      theMode,
                                                       const IVtk_IdTypeMap& theMeshTypes)
 {
@@ -168,10 +154,8 @@ void IVtkTools_DisplayModeFilter::SetMeshTypesForMode(IVtk_DisplayMode      theM
   Modified();
 }
 
-//============================================================================
-// Method: SetFaceBoundaryDraw
-// Purpose:
-//============================================================================
+//=================================================================================================
+
 void IVtkTools_DisplayModeFilter::SetFaceBoundaryDraw(bool theToDraw)
 {
   myDrawFaceBoundaries = theToDraw;
@@ -188,10 +172,8 @@ void IVtkTools_DisplayModeFilter::SetFaceBoundaryDraw(bool theToDraw)
   Modified();
 }
 
-//============================================================================
-// Method: SetSmoothShading
-// Purpose:
-//============================================================================
+//=================================================================================================
+
 void IVtkTools_DisplayModeFilter::SetSmoothShading(bool theIsSmooth)
 {
   if (myIsSmoothShading != theIsSmooth)
index 6f7512af10e44de734787ba79fa8658319084db3..3e19865cab0e7090a9cf05dd8360fca00049f3fd 100644 (file)
@@ -143,19 +143,15 @@ vtkStandardNewMacro(IVtkTools_ShapeObject)
 //============================================================================
 IVtkTools_ShapeObject::~IVtkTools_ShapeObject() {}
 
-//============================================================================
-//  Method: SetShapeSource
-// Purpose:
-//============================================================================
+//=================================================================================================
+
 void IVtkTools_ShapeObject::SetShapeSource(IVtkTools_ShapeDataSource* theDataSource)
 {
   myShapeSource = theDataSource;
 }
 
-//============================================================================
-//  Method: GetShapeSource
-// Purpose:
-//============================================================================
+//=================================================================================================
+
 IVtkTools_ShapeDataSource* IVtkTools_ShapeObject::GetShapeSource() const
 {
   return myShapeSource;
index 3e9c495976da5b079348a4bc3c7bebb6e5c00b24..79c932b72844cd0b123d2d8896700efc398189d5 100644 (file)
 #include <OpenGl_Texture.hxx>
 #include <OpenGl_View.hxx>
 
-// =======================================================================
-// method  : Constructor
-// purpose :
-// =======================================================================
+//=================================================================================================
+
 OpenGl_BackgroundArray::OpenGl_BackgroundArray(const Graphic3d_TypeOfBackground theType)
     : OpenGl_PrimitiveArray(NULL, Graphic3d_TOPA_TRIANGLES, NULL, NULL, NULL),
       myType(theType),
@@ -39,10 +37,8 @@ OpenGl_BackgroundArray::OpenGl_BackgroundArray(const Graphic3d_TypeOfBackground
   myGradientParams.type   = Aspect_GradientFillMethod_None;
 }
 
-// =======================================================================
-// method  : SetTextureParameters
-// purpose :
-// =======================================================================
+//=================================================================================================
+
 void OpenGl_BackgroundArray::SetTextureParameters(const Aspect_FillMethod theFillMethod)
 {
   if (myType != Graphic3d_TOB_TEXTURE)
@@ -54,20 +50,16 @@ void OpenGl_BackgroundArray::SetTextureParameters(const Aspect_FillMethod theFil
   invalidateData();
 }
 
-// =======================================================================
-// method  : SetTextureFillMethod
-// purpose :
-// =======================================================================
+//=================================================================================================
+
 void OpenGl_BackgroundArray::SetTextureFillMethod(const Aspect_FillMethod theFillMethod)
 {
   myFillMethod = theFillMethod;
   invalidateData();
 }
 
-// =======================================================================
-// method  : SetGradientParameters
-// purpose :
-// =======================================================================
+//=================================================================================================
+
 void OpenGl_BackgroundArray::SetGradientParameters(const Quantity_Color&           theColor1,
                                                    const Quantity_Color&           theColor2,
                                                    const Aspect_GradientFillMethod theType)
@@ -88,10 +80,8 @@ void OpenGl_BackgroundArray::SetGradientParameters(const Quantity_Color&
   invalidateData();
 }
 
-// =======================================================================
-// method  : SetGradientFillMethod
-// purpose :
-// =======================================================================
+//=================================================================================================
+
 void OpenGl_BackgroundArray::SetGradientFillMethod(const Aspect_GradientFillMethod theType)
 {
   if (myType != Graphic3d_TOB_GRADIENT)
@@ -103,10 +93,8 @@ void OpenGl_BackgroundArray::SetGradientFillMethod(const Aspect_GradientFillMeth
   invalidateData();
 }
 
-// =======================================================================
-// method  : IsDefined
-// purpose :
-// =======================================================================
+//=================================================================================================
+
 bool OpenGl_BackgroundArray::IsDefined() const
 {
   switch (myType)
@@ -123,19 +111,15 @@ bool OpenGl_BackgroundArray::IsDefined() const
   return Standard_False;
 }
 
-// =======================================================================
-// method  : invalidateData
-// purpose :
-// =======================================================================
+//=================================================================================================
+
 void OpenGl_BackgroundArray::invalidateData()
 {
   myToUpdate = Standard_True;
 }
 
-// =======================================================================
-// method  : init
-// purpose :
-// =======================================================================
+//=================================================================================================
+
 Standard_Boolean OpenGl_BackgroundArray::init(const Handle(OpenGl_Workspace)& theWorkspace) const
 {
   const Handle(OpenGl_Context)& aCtx = theWorkspace->GetGlContext();
@@ -191,10 +175,8 @@ Standard_Boolean OpenGl_BackgroundArray::init(const Handle(OpenGl_Workspace)& th
   return Standard_True;
 }
 
-// =======================================================================
-// method  : createGradientArray
-// purpose :
-// =======================================================================
+//=================================================================================================
+
 Standard_Boolean OpenGl_BackgroundArray::createGradientArray(
   const Handle(OpenGl_Context)& theCtx) const
 {
@@ -358,10 +340,8 @@ Standard_Boolean OpenGl_BackgroundArray::createGradientArray(
   return Standard_True;
 }
 
-// =======================================================================
-// method  : createTextureArray
-// purpose :
-// =======================================================================
+//=================================================================================================
+
 Standard_Boolean OpenGl_BackgroundArray::createTextureArray(
   const Handle(OpenGl_Workspace)& theWorkspace) const
 {
@@ -434,10 +414,8 @@ Standard_Boolean OpenGl_BackgroundArray::createTextureArray(
   return Standard_True;
 }
 
-// =======================================================================
-// method  : createCubeMapArray
-// purpose :
-// =======================================================================
+//=================================================================================================
+
 Standard_Boolean OpenGl_BackgroundArray::createCubeMapArray() const
 {
   const Graphic3d_Attribute aCubeMapAttribInfo[] = {{Graphic3d_TOA_POS, Graphic3d_TOD_VEC3}};
@@ -481,10 +459,8 @@ Standard_Boolean OpenGl_BackgroundArray::createCubeMapArray() const
   return Standard_True;
 }
 
-// =======================================================================
-// method  : Render
-// purpose :
-// =======================================================================
+//=================================================================================================
+
 void OpenGl_BackgroundArray::Render(const Handle(OpenGl_Workspace)& theWorkspace,
                                     Graphic3d_Camera::Projection    theProjection) const
 {
index 8483aa3741685fe8614b3ee529820eb214e314e6..c37d765364598fcf6b889f4e6d58260cb40a0b41 100755 (executable)
@@ -166,10 +166,8 @@ Standard_ShortReal OpenGl_GraduatedTrihedron::getNormal(const Handle(OpenGl_Cont
   return aD2.Modulus() / (float)aViewport[2];
 }
 
-// =======================================================================
-// method  : getDistancetoCorner
-// purpose :
-// =======================================================================
+//=================================================================================================
+
 Standard_ShortReal OpenGl_GraduatedTrihedron::getDistanceToCorner(
   const OpenGl_Vec3&       theNormal,
   const OpenGl_Vec3&       theCenter,
@@ -181,10 +179,8 @@ Standard_ShortReal OpenGl_GraduatedTrihedron::getDistanceToCorner(
          + theNormal.z() * (theZ - theCenter.z());
 }
 
-// =======================================================================
-// method  : getGridAxes
-// purpose :
-// =======================================================================
+//=================================================================================================
+
 Standard_ExtCharacter OpenGl_GraduatedTrihedron::getGridAxes(const Standard_ShortReal theCorners[8],
                                                              GridAxes& theGridAxes) const
 {
@@ -701,20 +697,16 @@ void OpenGl_GraduatedTrihedron::Render(const Handle(OpenGl_Workspace)& theWorksp
   aContext->ApplyWorldViewMatrix();
 }
 
-// =======================================================================
-// method  : SetMinMax
-// purpose :
-// =======================================================================
+//=================================================================================================
+
 void OpenGl_GraduatedTrihedron::SetMinMax(const OpenGl_Vec3& theMin, const OpenGl_Vec3& theMax)
 {
   myMin = theMin;
   myMax = theMax;
 }
 
-// =======================================================================
-// method  : OpenGl_GraduatedTrihedron::Axis constructor
-// purpose :
-// =======================================================================
+//=================================================================================================
+
 OpenGl_GraduatedTrihedron::Axis::Axis(const Graphic3d_GraduatedTrihedron::AxisAspect& theAspect,
                                       const OpenGl_Vec3&                              theDirection)
     : Direction(theDirection),
@@ -770,10 +762,8 @@ OpenGl_GraduatedTrihedron::Axis& OpenGl_GraduatedTrihedron::Axis::operator=(cons
   return *this;
 }
 
-// =======================================================================
-// method  : InitArrow
-// purpose :
-// =======================================================================
+//=================================================================================================
+
 void OpenGl_GraduatedTrihedron::Axis::InitArrow(const Handle(OpenGl_Context)& theContext,
                                                 const Standard_ShortReal      theLength,
                                                 const OpenGl_Vec3&            theNormal) const
index 7382d9b75ca880fcf4e0c46f5302fc018fa472cc..84f3c4c799e7db9e3687a4df77a125d3afbc0cc6 100644 (file)
@@ -827,10 +827,8 @@ Standard_Boolean OpenGl_Window::Activate()
 
 #if !defined(__APPLE__) || defined(HAVE_XLIB)
 
-// =======================================================================
-// function : Resize
-// purpose  : call_subr_resize
-// =======================================================================
+//=================================================================================================
+
 void OpenGl_Window::Resize()
 {
   Graphic3d_Vec2i aWinSize;
index 82b3d8d2d232fc6aef23686a76e24f60c35b357d..cd5380830249b9c5f7fb0a8fc758968ec46a440c 100644 (file)
@@ -62,10 +62,8 @@ AIS_Plane::AIS_Plane(const Handle(Geom_Plane)& aComponent, const Standard_Boolea
   InitDrawerAttributes();
 }
 
-//=======================================================================
-// function : AIS_Plane
-// purpose  : avec une position
-//=======================================================================
+//=================================================================================================
+
 AIS_Plane::AIS_Plane(const Handle(Geom_Plane)& aComponent,
                      const gp_Pnt&             aCenter,
                      const Standard_Boolean    aCurrentMode)
index 205a73f2e7a5db384428fd24343ee4308dff25c6..e0ec80d12695ab1845e5a8724e9eea8ab907c65f 100644 (file)
@@ -233,10 +233,8 @@ void AIS_PlaneTrihedron::SetColor(const Quantity_Color& aCol)
   SynchronizeAspects();
 }
 
-//=======================================================================
-// function : ExtremityPoints
-// purpose  : to avoid warning
-//=======================================================================
+//=================================================================================================
+
 // void  AIS_Trihedron::ExtremityPoints(TColgp_Array1OfPnt& PP) const
 void ExtremityPoints(TColgp_Array1OfPnt&         PP,
                      const Handle(Geom_Plane)&   myPlane,
index cdc4deb1fde58eb6b89e64b79c6f786686b34d06..820c0bec51fdc07165ad42ad44ae60edc66f250c 100644 (file)
@@ -232,11 +232,7 @@ void DsgPrs_AnglePresentation::Add(const Handle(Prs3d_Presentation)& aPresentati
   aPresentation->CurrentGroup()->AddPrimitiveArray(aPrims);
 }
 
-//==========================================================================
-// function : DsgPrs_AnglePresentation::Add
-// purpose  :
-//
-//==========================================================================
+//=================================================================================================
 
 void DsgPrs_AnglePresentation::Add(const Handle(Prs3d_Presentation)& aPresentation,
                                    const Handle(Prs3d_Drawer)&       aDrawer,
@@ -471,11 +467,7 @@ void DsgPrs_AnglePresentation::Add(const Handle(Prs3d_Presentation)& aPresentati
   }
 }
 
-//==========================================================================
-// function : DsgPrs_AnglePresentation::Add
-// purpose  :
-//
-//==========================================================================
+//=================================================================================================
 
 void DsgPrs_AnglePresentation::Add(const Handle(Prs3d_Presentation)& aPresentation,
                                    const Handle(Prs3d_Drawer)&       aDrawer,
@@ -728,11 +720,7 @@ void DsgPrs_AnglePresentation::Add(const Handle(Prs3d_Presentation)& aPresentati
   DsgPrs::ComputeSymbol(aPresentation, LA, ptarr, ptarr1, dirarr, dirarr2, ArrowPrs);
 }
 
-//==========================================================================
-// function : DsgPrs_AnglePresentation::Add
-// purpose  :
-//
-//==========================================================================
+//=================================================================================================
 
 void DsgPrs_AnglePresentation::Add(const Handle(Prs3d_Presentation)& aPresentation,
                                    const Handle(Prs3d_Drawer)&       aDrawer,
index 8139a924f9a631cf68e9fe18253184bcdca778be..e8f118b1d2ed5322ce761fb538b8c2157a3466cd 100644 (file)
@@ -479,10 +479,8 @@ void SelectMgr_SelectionManager::Update(const Handle(SelectMgr_SelectableObject)
   }
 }
 
-//==================================================
-// Function: loadMode
-// Purpose : Private Method
-//==================================================
+//=================================================================================================
+
 void SelectMgr_SelectionManager::loadMode(const Handle(SelectMgr_SelectableObject)& theObject,
                                           const Standard_Integer                    theMode)
 {
@@ -519,10 +517,8 @@ void SelectMgr_SelectionManager::loadMode(const Handle(SelectMgr_SelectableObjec
   buildBVH(aNewSel);
 }
 
-//==================================================
-// Function: buildBVH
-// Purpose : Private Method
-//==================================================
+//=================================================================================================
+
 void SelectMgr_SelectionManager::buildBVH(const Handle(SelectMgr_Selection)& theSelection)
 {
   if (mySelector->ToPrebuildBVH())