]> OCCT Git - occt.git/commitdiff
Coding - Method guard iterative update (#674)
authorPasukhin Dmitry <dpasukhi@opencascade.com>
Fri, 15 Aug 2025 16:14:53 +0000 (17:14 +0100)
committerGitHub <noreply@github.com>
Fri, 15 Aug 2025 16:14:53 +0000 (17:14 +0100)
- Standardizes comment formatting by replacing detailed comment blocks with a uniform "//=================================================================================================" separator
- Removes redundant "function:" and "purpose:" fields that often contained minimal or no useful information
- Maintains code functionality while improving visual consistency across the codebase

365 files changed:
src/ApplicationFramework/TKBin/BinMNaming/BinMNaming_NamedShapeDriver.lxx
src/ApplicationFramework/TKBinL/BinMDF/BinMDF_ADriver.lxx
src/ApplicationFramework/TKBinL/BinObjMgt/BinObjMgt_Persistent.lxx
src/ApplicationFramework/TKCAF/TDataXtd/TDataXtd_PatternStd.lxx
src/ApplicationFramework/TKCAF/TDataXtd/TDataXtd_Presentation.cxx
src/ApplicationFramework/TKCAF/TNaming/TNaming_CopyShape.cxx
src/ApplicationFramework/TKCAF/TNaming/TNaming_IteratorOnShapesSet.lxx
src/ApplicationFramework/TKCAF/TNaming/TNaming_NamedShape.lxx
src/ApplicationFramework/TKCAF/TNaming/TNaming_NewShapeIterator.lxx
src/ApplicationFramework/TKCAF/TNaming/TNaming_OldShapeIterator.lxx
src/ApplicationFramework/TKCAF/TNaming/TNaming_RefShape.lxx
src/ApplicationFramework/TKCAF/TNaming/TNaming_SameShapeIterator.lxx
src/ApplicationFramework/TKCAF/TNaming/TNaming_ShapesSet.lxx
src/ApplicationFramework/TKCAF/TNaming/TNaming_UsedShapes.lxx
src/ApplicationFramework/TKCDF/PCDM/PCDM_Reader.lxx
src/ApplicationFramework/TKLCAF/TDF/TDF_Attribute.cxx
src/ApplicationFramework/TKLCAF/TDF/TDF_CopyLabel.lxx
src/ApplicationFramework/TKLCAF/TDF/TDF_IDFilter.cxx
src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_TreeNode.cxx
src/ApplicationFramework/TKLCAF/TDocStd/TDocStd_ApplicationDelta.lxx
src/ApplicationFramework/TKLCAF/TDocStd/TDocStd_MultiTransactionManager.lxx
src/ApplicationFramework/TKLCAF/TFunction/TFunction_DriverTable.cxx
src/ApplicationFramework/TKLCAF/TFunction/TFunction_Function.cxx
src/ApplicationFramework/TKLCAF/TFunction/TFunction_IFunction.cxx
src/ApplicationFramework/TKLCAF/TFunction/TFunction_Scope.cxx
src/ApplicationFramework/TKTObj/TObj/TObj_Object.cxx
src/ApplicationFramework/TKTObj/TObj/TObj_Persistence.cxx
src/ApplicationFramework/TKTObj/TObj/TObj_TReference.cxx
src/ApplicationFramework/TKVCAF/TPrsStd/TPrsStd_AISPresentation.cxx
src/ApplicationFramework/TKVCAF/TPrsStd/TPrsStd_DriverTable.cxx
src/ApplicationFramework/TKXml/XmlMNaming/XmlMNaming_NamedShapeDriver.cxx
src/ApplicationFramework/TKXml/XmlMNaming/XmlMNaming_NamedShapeDriver.lxx
src/ApplicationFramework/TKXmlL/XmlObjMgt/XmlObjMgt_Array1.lxx
src/ApplicationFramework/TKXmlL/XmlObjMgt/XmlObjMgt_Persistent.lxx
src/DataExchange/TKDEIGES/IGESCAFControl/IGESCAFControl_Reader.cxx
src/DataExchange/TKDEIGES/IGESControl/IGESControl_Reader.lxx
src/DataExchange/TKDEIGES/IGESData/IGESData_DefSwitch.cxx
src/DataExchange/TKDEIGES/IGESData/IGESData_IGESEntity.cxx
src/DataExchange/TKDEIGES/IGESToBRep/IGESToBRep_AlgoContainer.lxx
src/DataExchange/TKDEIGES/IGESToBRep/IGESToBRep_CurveAndSurface.lxx
src/DataExchange/TKDESTEP/STEPCAFControl/STEPCAFControl_ExternFile.lxx
src/DataExchange/TKDESTEP/STEPCAFControl/STEPCAFControl_Reader.cxx
src/DataExchange/TKDESTEP/STEPConstruct/STEPConstruct_ExternRefs.cxx
src/DataExchange/TKDESTEP/STEPConstruct/STEPConstruct_Tool.lxx
src/DataExchange/TKDESTEP/STEPSelections/STEPSelections_AssemblyComponent.lxx
src/DataExchange/TKDESTEP/STEPSelections/STEPSelections_AssemblyExplorer.lxx
src/DataExchange/TKDESTEP/STEPSelections/STEPSelections_AssemblyLink.lxx
src/DataExchange/TKDESTEP/StepToTopoDS/StepToTopoDS_NMTool.cxx
src/DataExchange/TKDESTEP/StepToTopoDS/StepToTopoDS_Root.lxx
src/DataExchange/TKDESTEP/StepToTopoDS/StepToTopoDS_TranslateCompositeCurve.lxx
src/DataExchange/TKXCAF/XCAFPrs/XCAFPrs_DocumentIdIterator.hxx
src/DataExchange/TKXSBase/MoniTool/MoniTool_Timer.lxx
src/DataExchange/TKXSBase/MoniTool/MoniTool_TimerSentry.lxx
src/DataExchange/TKXSBase/TransferBRep/TransferBRep_TransferResultInfo.lxx
src/DataExchange/TKXmlXCAF/XmlMXCAFDoc/XmlMXCAFDoc_LocationDriver.lxx
src/Draw/TKDCAF/DDF/DDF.cxx
src/Draw/TKDCAF/DDF/DDF_TransactionCommands.cxx
src/Draw/TKDCAF/DDataStd/DDataStd_DrawPresentation.cxx
src/Draw/TKDCAF/DDataStd/DDataStd_TreeCommands.cxx
src/Draw/TKDCAF/DNaming/DNaming_Line3DDriver.cxx
src/Draw/TKDraw/DBRep/DBRep_Edge.lxx
src/Draw/TKDraw/DBRep/DBRep_Face.lxx
src/Draw/TKDraw/Draw/Draw_GraphicCommands.cxx
src/Draw/TKDraw/Draw/Draw_Window_1.mm
src/Draw/TKIVtkDraw/IVtkDraw/IVtkDraw.cxx
src/Draw/TKQADraw/QADNaming/QADNaming_SelectionCommands.cxx
src/Draw/TKTopTest/BOPTest/BOPTest_CheckCommands.cxx
src/Draw/TKTopTest/HLRTest/HLRTest_DrawablePolyEdgeTool.lxx
src/Draw/TKTopTest/HLRTest/HLRTest_OutLiner.lxx
src/Draw/TKTopTest/HLRTest/HLRTest_ShapeData.lxx
src/Draw/TKViewerTest/ViewerTest/ViewerTest_ViewerCommands_1.mm
src/Draw/TKXDEDRAW/XDEDRAW/XDEDRAW_Notes.cxx
src/FoundationClasses/TKMath/BSplCLib/BSplCLib.lxx
src/FoundationClasses/TKMath/BSplCLib/BSplCLib_CurveComputation.gxx
src/FoundationClasses/TKMath/BSplSLib/BSplSLib.lxx
src/FoundationClasses/TKMath/BVH/BVH_BinaryTree.hxx
src/FoundationClasses/TKMath/BVH/BVH_BinnedBuilder.hxx
src/FoundationClasses/TKMath/BVH/BVH_Box.hxx
src/FoundationClasses/TKMath/BVH/BVH_DistanceField.lxx
src/FoundationClasses/TKMath/BVH/BVH_LinearBuilder.hxx
src/FoundationClasses/TKMath/BVH/BVH_Properties.hxx
src/FoundationClasses/TKMath/BVH/BVH_QueueBuilder.hxx
src/FoundationClasses/TKMath/BVH/BVH_RadixSorter.hxx
src/FoundationClasses/TKMath/BVH/BVH_Traverse.lxx
src/FoundationClasses/TKMath/Bnd/Bnd_B2x.gxx
src/FoundationClasses/TKMath/Bnd/Bnd_B3x.gxx
src/FoundationClasses/TKMath/Poly/Poly_ArrayOfNodes.hxx
src/FoundationClasses/TKMath/Poly/Poly_ArrayOfUVNodes.hxx
src/FoundationClasses/TKMath/TopLoc/TopLoc_Location.cxx
src/FoundationClasses/TKMath/TopLoc/TopLoc_Location.lxx
src/FoundationClasses/TKMath/gp/gp_Ax2.hxx
src/FoundationClasses/TKMath/gp/gp_Ax22d.hxx
src/FoundationClasses/TKMath/gp/gp_Ax3.hxx
src/FoundationClasses/TKMath/gp/gp_Circ.hxx
src/FoundationClasses/TKMath/gp/gp_Circ2d.hxx
src/FoundationClasses/TKMath/gp/gp_Cone.hxx
src/FoundationClasses/TKMath/gp/gp_Cylinder.hxx
src/FoundationClasses/TKMath/gp/gp_Dir.hxx
src/FoundationClasses/TKMath/gp/gp_Dir2d.hxx
src/FoundationClasses/TKMath/gp/gp_Elips.hxx
src/FoundationClasses/TKMath/gp/gp_Elips2d.hxx
src/FoundationClasses/TKMath/gp/gp_GTrsf.hxx
src/FoundationClasses/TKMath/gp/gp_GTrsf2d.hxx
src/FoundationClasses/TKMath/gp/gp_Hypr.hxx
src/FoundationClasses/TKMath/gp/gp_Hypr2d.hxx
src/FoundationClasses/TKMath/gp/gp_Lin.hxx
src/FoundationClasses/TKMath/gp/gp_Lin2d.hxx
src/FoundationClasses/TKMath/gp/gp_Mat.hxx
src/FoundationClasses/TKMath/gp/gp_Mat2d.hxx
src/FoundationClasses/TKMath/gp/gp_Parab.hxx
src/FoundationClasses/TKMath/gp/gp_Parab2d.hxx
src/FoundationClasses/TKMath/gp/gp_Pln.hxx
src/FoundationClasses/TKMath/gp/gp_Pnt.hxx
src/FoundationClasses/TKMath/gp/gp_Pnt2d.hxx
src/FoundationClasses/TKMath/gp/gp_Quaternion.hxx
src/FoundationClasses/TKMath/gp/gp_Sphere.hxx
src/FoundationClasses/TKMath/gp/gp_Torus.hxx
src/FoundationClasses/TKMath/gp/gp_Trsf.cxx
src/FoundationClasses/TKMath/gp/gp_Trsf.hxx
src/FoundationClasses/TKMath/gp/gp_Trsf2d.hxx
src/FoundationClasses/TKMath/gp/gp_Vec.hxx
src/FoundationClasses/TKMath/gp/gp_Vec2d.hxx
src/FoundationClasses/TKMath/gp/gp_XY.hxx
src/FoundationClasses/TKMath/gp/gp_XYZ.hxx
src/FoundationClasses/TKMath/math/math_KronrodSingleIntegration.lxx
src/FoundationClasses/TKernel/Message/Message_Algorithm.lxx
src/FoundationClasses/TKernel/Message/Message_Msg.lxx
src/FoundationClasses/TKernel/Message/Message_ProgressIndicator.hxx
src/FoundationClasses/TKernel/Message/Message_ProgressRange.hxx
src/FoundationClasses/TKernel/Message/Message_ProgressScope.hxx
src/FoundationClasses/TKernel/NCollection/NCollection_BaseAllocator.cxx
src/FoundationClasses/TKernel/NCollection/NCollection_UBTreeFiller.hxx
src/FoundationClasses/TKernel/NCollection/NCollection_UtfIterator.lxx
src/FoundationClasses/TKernel/NCollection/NCollection_UtfString.lxx
src/FoundationClasses/TKernel/Standard/Standard_HashUtils.lxx
src/FoundationClasses/TKernel/TCollection/TCollection_AsciiString.lxx
src/FoundationClasses/TKernel/Units/Units_Dimensions.lxx
src/FoundationClasses/TKernel/Units/Units_Lexicon.lxx
src/FoundationClasses/TKernel/Units/Units_Quantity.lxx
src/FoundationClasses/TKernel/Units/Units_Sentence.lxx
src/FoundationClasses/TKernel/Units/Units_Token.lxx
src/FoundationClasses/TKernel/Units/Units_Unit.lxx
src/FoundationClasses/TKernel/Units/Units_UnitsDictionary.lxx
src/FoundationClasses/TKernel/Units/Units_UnitsLexicon.lxx
src/ModelingAlgorithms/TKBO/BOPAlgo/BOPAlgo_MakerVolume.lxx
src/ModelingAlgorithms/TKBO/BOPAlgo/BOPAlgo_WireEdgeSet.lxx
src/ModelingAlgorithms/TKBO/BOPAlgo/BOPAlgo_WireSplitter.lxx
src/ModelingAlgorithms/TKBO/BOPDS/BOPDS_CoupleOfPaveBlocks.hxx
src/ModelingAlgorithms/TKBO/BOPDS/BOPDS_Curve.lxx
src/ModelingAlgorithms/TKBO/BOPDS/BOPDS_DS.lxx
src/ModelingAlgorithms/TKBO/BOPDS/BOPDS_FaceInfo.lxx
src/ModelingAlgorithms/TKBO/BOPDS/BOPDS_IndexRange.lxx
src/ModelingAlgorithms/TKBO/BOPDS/BOPDS_Interf.hxx
src/ModelingAlgorithms/TKBO/BOPDS/BOPDS_Pave.lxx
src/ModelingAlgorithms/TKBO/BOPDS/BOPDS_Point.lxx
src/ModelingAlgorithms/TKBO/BOPDS/BOPDS_ShapeInfo.lxx
src/ModelingAlgorithms/TKBO/BOPDS/BOPDS_Tools.lxx
src/ModelingAlgorithms/TKBO/BOPTools/BOPTools_ConnexityBlock.hxx
src/ModelingAlgorithms/TKBO/BOPTools/BOPTools_CoupleOfShape.hxx
src/ModelingAlgorithms/TKBO/IntTools/IntTools_EdgeEdge.lxx
src/ModelingAlgorithms/TKBool/BRepFill/BRepFill_Generator.lxx
src/ModelingAlgorithms/TKBool/BRepFill/BRepFill_PipeShell.cxx
src/ModelingAlgorithms/TKBool/BRepFill/BRepFill_ShapeLaw.lxx
src/ModelingAlgorithms/TKBool/TopOpeBRep/TopOpeBRep_LineInter.lxx
src/ModelingAlgorithms/TKBool/TopOpeBRep/TopOpeBRep_Point2d.lxx
src/ModelingAlgorithms/TKBool/TopOpeBRep/TopOpeBRep_VPointInter.lxx
src/ModelingAlgorithms/TKBool/TopOpeBRepBuild/TopOpeBRepBuild_BlockIterator.lxx
src/ModelingAlgorithms/TKBool/TopOpeBRepBuild/TopOpeBRepBuild_FuseFace.lxx
src/ModelingAlgorithms/TKBool/TopOpeBRepBuild/TopOpeBRepBuild_GridFF.cxx
src/ModelingAlgorithms/TKFeat/BRepFeat/BRepFeat_Form.lxx
src/ModelingAlgorithms/TKFeat/BRepFeat/BRepFeat_Gluer.lxx
src/ModelingAlgorithms/TKFeat/BRepFeat/BRepFeat_MakeCylindricalHole.lxx
src/ModelingAlgorithms/TKFeat/BRepFeat/BRepFeat_MakeLinearForm.lxx
src/ModelingAlgorithms/TKFeat/BRepFeat/BRepFeat_MakePipe.cxx
src/ModelingAlgorithms/TKFeat/BRepFeat/BRepFeat_MakePipe.lxx
src/ModelingAlgorithms/TKFeat/BRepFeat/BRepFeat_MakePrism.lxx
src/ModelingAlgorithms/TKFeat/BRepFeat/BRepFeat_MakeRevol.lxx
src/ModelingAlgorithms/TKFeat/BRepFeat/BRepFeat_MakeRevolutionForm.lxx
src/ModelingAlgorithms/TKFeat/BRepFeat/BRepFeat_RibSlot.lxx
src/ModelingAlgorithms/TKFeat/BRepFeat/BRepFeat_SplitShape.lxx
src/ModelingAlgorithms/TKFeat/LocOpe/LocOpe_BuildShape.lxx
src/ModelingAlgorithms/TKFeat/LocOpe/LocOpe_CSIntersector.lxx
src/ModelingAlgorithms/TKFeat/LocOpe/LocOpe_CurveShapeIntersector.lxx
src/ModelingAlgorithms/TKFeat/LocOpe/LocOpe_FindEdges.lxx
src/ModelingAlgorithms/TKFeat/LocOpe/LocOpe_FindEdgesInFace.lxx
src/ModelingAlgorithms/TKFeat/LocOpe/LocOpe_Generator.lxx
src/ModelingAlgorithms/TKFeat/LocOpe/LocOpe_Gluer.lxx
src/ModelingAlgorithms/TKFeat/LocOpe/LocOpe_LinearForm.lxx
src/ModelingAlgorithms/TKFeat/LocOpe/LocOpe_Pipe.lxx
src/ModelingAlgorithms/TKFeat/LocOpe/LocOpe_SplitShape.lxx
src/ModelingAlgorithms/TKFeat/LocOpe/LocOpe_Spliter.lxx
src/ModelingAlgorithms/TKFeat/LocOpe/LocOpe_WiresOnShape.lxx
src/ModelingAlgorithms/TKFillet/BRepBlend/BRepBlend_RstRstLineBuilder.cxx
src/ModelingAlgorithms/TKFillet/BRepBlend/BRepBlend_RstRstLineBuilder.lxx
src/ModelingAlgorithms/TKFillet/BRepBlend/BRepBlend_SurfRstLineBuilder.lxx
src/ModelingAlgorithms/TKFillet/BRepFilletAPI/BRepFilletAPI_MakeFillet2d.lxx
src/ModelingAlgorithms/TKFillet/ChFi2d/ChFi2d_Builder.lxx
src/ModelingAlgorithms/TKFillet/ChFiDS/ChFiDS_FaceInterference.lxx
src/ModelingAlgorithms/TKFillet/ChFiDS/ChFiDS_Spine.lxx
src/ModelingAlgorithms/TKFillet/ChFiDS/ChFiDS_Stripe.lxx
src/ModelingAlgorithms/TKFillet/ChFiDS/ChFiDS_StripeMap.lxx
src/ModelingAlgorithms/TKFillet/ChFiDS/ChFiDS_SurfData.lxx
src/ModelingAlgorithms/TKGeomAlgo/AppBlend/AppBlend_AppSurf.gxx
src/ModelingAlgorithms/TKGeomAlgo/ApproxInt/ApproxInt_MultiLine.gxx
src/ModelingAlgorithms/TKGeomAlgo/Geom2dAPI/Geom2dAPI_ExtremaCurveCurve.lxx
src/ModelingAlgorithms/TKGeomAlgo/Geom2dAPI/Geom2dAPI_InterCurveCurve.lxx
src/ModelingAlgorithms/TKGeomAlgo/Geom2dAPI/Geom2dAPI_ProjectPointOnCurve.lxx
src/ModelingAlgorithms/TKGeomAlgo/Geom2dHatch/Geom2dHatch_Hatcher.cxx
src/ModelingAlgorithms/TKGeomAlgo/Geom2dHatch/Geom2dHatch_Intersector.lxx
src/ModelingAlgorithms/TKGeomAlgo/GeomAPI/GeomAPI_ExtremaCurveCurve.lxx
src/ModelingAlgorithms/TKGeomAlgo/GeomAPI/GeomAPI_ExtremaCurveSurface.lxx
src/ModelingAlgorithms/TKGeomAlgo/GeomAPI/GeomAPI_ExtremaSurfaceSurface.lxx
src/ModelingAlgorithms/TKGeomAlgo/GeomAPI/GeomAPI_IntSS.lxx
src/ModelingAlgorithms/TKGeomAlgo/GeomAPI/GeomAPI_ProjectPointOnCurve.lxx
src/ModelingAlgorithms/TKGeomAlgo/GeomAPI/GeomAPI_ProjectPointOnSurf.lxx
src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_BSplineCurves.lxx
src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_BezierCurves.lxx
src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_GuideTrihedronPlan.cxx
src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_Line.lxx
src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_LocationGuide.cxx
src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_Pipe.lxx
src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_Profiler.lxx
src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_SweepSectionGenerator.lxx
src/ModelingAlgorithms/TKGeomAlgo/GeomInt/GeomInt_IntSS.cxx
src/ModelingAlgorithms/TKGeomAlgo/GeomInt/GeomInt_IntSS.lxx
src/ModelingAlgorithms/TKGeomAlgo/GeomInt/GeomInt_LineConstructor.lxx
src/ModelingAlgorithms/TKGeomAlgo/Hatch/Hatch_Hatcher.lxx
src/ModelingAlgorithms/TKGeomAlgo/HatchGen/HatchGen_Domain.cxx
src/ModelingAlgorithms/TKGeomAlgo/IntCurve/IntCurve_IntCurveCurveGen.gxx
src/ModelingAlgorithms/TKGeomAlgo/IntCurve/IntCurve_IntPolyPolyGen.gxx
src/ModelingAlgorithms/TKGeomAlgo/IntCurveSurface/IntCurveSurface_Inter.gxx
src/ModelingAlgorithms/TKGeomAlgo/IntCurveSurface/IntCurveSurface_Polygon.gxx
src/ModelingAlgorithms/TKGeomAlgo/IntCurveSurface/IntCurveSurface_Polyhedron.gxx
src/ModelingAlgorithms/TKGeomAlgo/IntPatch/IntPatch_Polygo.lxx
src/ModelingAlgorithms/TKGeomAlgo/IntStart/IntStart_SearchOnBoundaries.gxx
src/ModelingAlgorithms/TKGeomAlgo/Intf/Intf_Interference.lxx
src/ModelingAlgorithms/TKGeomAlgo/Intf/Intf_InterferencePolygonPolyhedron.gxx
src/ModelingAlgorithms/TKGeomAlgo/Intf/Intf_Polygon2d.lxx
src/ModelingAlgorithms/TKGeomAlgo/Intf/Intf_SectionLine.lxx
src/ModelingAlgorithms/TKGeomAlgo/Intf/Intf_TangentZone.lxx
src/ModelingAlgorithms/TKGeomAlgo/TopClass/TopClass_Classifier2d.gxx
src/ModelingAlgorithms/TKGeomAlgo/TopClass/TopClass_Classifier2d.lxx
src/ModelingAlgorithms/TKGeomAlgo/TopClass/TopClass_FaceClassifier.gxx
src/ModelingAlgorithms/TKGeomAlgo/TopClass/TopClass_FaceClassifier.lxx
src/ModelingAlgorithms/TKHLR/HLRAlgo/HLRAlgo_EdgeIterator.lxx
src/ModelingAlgorithms/TKHLR/HLRAlgo/HLRAlgo_Intersection.lxx
src/ModelingAlgorithms/TKHLR/HLRAlgo/HLRAlgo_PolyData.lxx
src/ModelingAlgorithms/TKHLR/HLRAlgo/HLRAlgo_PolyInternalData.lxx
src/ModelingAlgorithms/TKHLR/HLRAlgo/HLRAlgo_Projector.lxx
src/ModelingAlgorithms/TKHLR/HLRBRep/HLRBRep_BCurveTool.lxx
src/ModelingAlgorithms/TKHLR/HLRBRep/HLRBRep_BSurfaceTool.lxx
src/ModelingAlgorithms/TKHLR/HLRBRep/HLRBRep_CLPropsATool.lxx
src/ModelingAlgorithms/TKHLR/HLRBRep/HLRBRep_Curve.lxx
src/ModelingAlgorithms/TKHLR/HLRBRep/HLRBRep_CurveTool.lxx
src/ModelingAlgorithms/TKHLR/HLRBRep/HLRBRep_Data.lxx
src/ModelingAlgorithms/TKHLR/HLRBRep/HLRBRep_EdgeData.lxx
src/ModelingAlgorithms/TKHLR/HLRBRep/HLRBRep_EdgeInterferenceTool.lxx
src/ModelingAlgorithms/TKHLR/HLRBRep/HLRBRep_FaceData.lxx
src/ModelingAlgorithms/TKHLR/HLRBRep/HLRBRep_FaceIterator.lxx
src/ModelingAlgorithms/TKHLR/HLRBRep/HLRBRep_HLRToShape.lxx
src/ModelingAlgorithms/TKHLR/HLRBRep/HLRBRep_PolyHLRToShape.lxx
src/ModelingAlgorithms/TKHLR/HLRBRep/HLRBRep_SLPropsATool.lxx
src/ModelingAlgorithms/TKHLR/HLRBRep/HLRBRep_ShapeBounds.lxx
src/ModelingAlgorithms/TKHLR/HLRBRep/HLRBRep_Surface.lxx
src/ModelingAlgorithms/TKHLR/HLRTopoBRep/HLRTopoBRep_Data.lxx
src/ModelingAlgorithms/TKHLR/HLRTopoBRep/HLRTopoBRep_FaceData.lxx
src/ModelingAlgorithms/TKHLR/HLRTopoBRep/HLRTopoBRep_OutLiner.lxx
src/ModelingAlgorithms/TKHLR/HLRTopoBRep/HLRTopoBRep_VData.lxx
src/ModelingAlgorithms/TKHLR/Intrv/Intrv_Interval.lxx
src/ModelingAlgorithms/TKHLR/TopBas/TopBas_Interference.gxx
src/ModelingAlgorithms/TKHLR/TopBas/TopBas_Interference.lxx
src/ModelingAlgorithms/TKHelix/HelixBRep/HelixBRep_BuilderHelix.cxx
src/ModelingAlgorithms/TKMesh/BRepMesh/BRepMesh_Delaun.cxx
src/ModelingAlgorithms/TKOffset/BRepOffset/BRepOffset_Interval.lxx
src/ModelingAlgorithms/TKPrim/BRepPrim/BRepPrim_Builder.cxx
src/ModelingAlgorithms/TKPrim/BRepPrim/BRepPrim_Builder.lxx
src/ModelingAlgorithms/TKPrim/BRepSweep/BRepSweep_Builder.lxx
src/ModelingAlgorithms/TKPrim/BRepSweep/BRepSweep_Iterator.lxx
src/ModelingAlgorithms/TKPrim/Sweep/Sweep_NumShape.lxx
src/ModelingAlgorithms/TKPrim/Sweep/Sweep_NumShapeIterator.lxx
src/ModelingAlgorithms/TKShHealing/ShapeAlgo/ShapeAlgo_AlgoContainer.lxx
src/ModelingAlgorithms/TKShHealing/ShapeAnalysis/ShapeAnalysis_FreeBoundData.lxx
src/ModelingAlgorithms/TKShHealing/ShapeAnalysis/ShapeAnalysis_FreeBounds.lxx
src/ModelingAlgorithms/TKShHealing/ShapeAnalysis/ShapeAnalysis_FreeBoundsProperties.lxx
src/ModelingAlgorithms/TKShHealing/ShapeAnalysis/ShapeAnalysis_Surface.cxx
src/ModelingAlgorithms/TKShHealing/ShapeAnalysis/ShapeAnalysis_Surface.lxx
src/ModelingAlgorithms/TKShHealing/ShapeAnalysis/ShapeAnalysis_Wire.lxx
src/ModelingAlgorithms/TKShHealing/ShapeConstruct/ShapeConstruct_Curve.cxx
src/ModelingAlgorithms/TKShHealing/ShapeCustom/ShapeCustom_BSplineRestriction.lxx
src/ModelingAlgorithms/TKShHealing/ShapeCustom/ShapeCustom_RestrictionParameters.lxx
src/ModelingAlgorithms/TKShHealing/ShapeExtend/ShapeExtend_ComplexCurve.lxx
src/ModelingAlgorithms/TKShHealing/ShapeExtend/ShapeExtend_MsgRegistrator.lxx
src/ModelingAlgorithms/TKShHealing/ShapeFix/ShapeFix_Face.lxx
src/ModelingAlgorithms/TKShHealing/ShapeFix/ShapeFix_FreeBounds.lxx
src/ModelingAlgorithms/TKShHealing/ShapeFix/ShapeFix_IntersectionTool.lxx
src/ModelingAlgorithms/TKShHealing/ShapeFix/ShapeFix_Root.lxx
src/ModelingAlgorithms/TKShHealing/ShapeFix/ShapeFix_Shape.lxx
src/ModelingAlgorithms/TKShHealing/ShapeFix/ShapeFix_Shell.lxx
src/ModelingAlgorithms/TKShHealing/ShapeFix/ShapeFix_Wire.lxx
src/ModelingAlgorithms/TKShHealing/ShapeFix/ShapeFix_Wireframe.lxx
src/ModelingAlgorithms/TKShHealing/ShapeProcess/ShapeProcess_OperLibrary.cxx
src/ModelingAlgorithms/TKShHealing/ShapeUpgrade/ShapeUpgrade_ConvertCurve3dToBezier.lxx
src/ModelingAlgorithms/TKShHealing/ShapeUpgrade/ShapeUpgrade_ConvertSurfaceToBezierBasis.lxx
src/ModelingAlgorithms/TKShHealing/ShapeUpgrade/ShapeUpgrade_EdgeDivide.lxx
src/ModelingAlgorithms/TKShHealing/ShapeUpgrade/ShapeUpgrade_RemoveInternalWires.lxx
src/ModelingAlgorithms/TKShHealing/ShapeUpgrade/ShapeUpgrade_RemoveLocations.lxx
src/ModelingAlgorithms/TKShHealing/ShapeUpgrade/ShapeUpgrade_ShapeConvertToBezier.lxx
src/ModelingAlgorithms/TKShHealing/ShapeUpgrade/ShapeUpgrade_Tool.lxx
src/ModelingAlgorithms/TKTopAlgo/BRepBuilderAPI/BRepBuilderAPI_Sewing.lxx
src/ModelingAlgorithms/TKTopAlgo/BRepClass/BRepClass_Edge.lxx
src/ModelingAlgorithms/TKTopAlgo/BRepClass/BRepClass_FaceExplorer.lxx
src/ModelingAlgorithms/TKTopAlgo/BRepExtrema/BRepExtrema_DistShapeShape.cxx
src/ModelingAlgorithms/TKTopAlgo/BRepGProp/BRepGProp_Domain.lxx
src/ModelingAlgorithms/TKTopAlgo/BRepGProp/BRepGProp_Face.lxx
src/ModelingAlgorithms/TKTopAlgo/BRepGProp/BRepGProp_TFunction.lxx
src/ModelingAlgorithms/TKTopAlgo/MAT/MAT_TList.gxx
src/ModelingAlgorithms/TKTopAlgo/MAT/MAT_TList.lxx
src/ModelingAlgorithms/TKTopAlgo/MAT/MAT_TListNode.gxx
src/ModelingAlgorithms/TKTopAlgo/MAT/MAT_TListNode.lxx
src/ModelingData/TKBRep/BRep/BRep_Builder.cxx
src/ModelingData/TKBRep/BRep/BRep_Builder.lxx
src/ModelingData/TKBRep/BRep/BRep_CurveOnClosedSurface.lxx
src/ModelingData/TKBRep/BRep/BRep_CurveOnSurface.lxx
src/ModelingData/TKBRep/BRep/BRep_CurveRepresentation.lxx
src/ModelingData/TKBRep/BRep/BRep_GCurve.lxx
src/ModelingData/TKBRep/BRep/BRep_PointRepresentation.lxx
src/ModelingData/TKBRep/BRep/BRep_TEdge.lxx
src/ModelingData/TKBRep/BRep/BRep_TVertex.lxx
src/ModelingData/TKBRep/BRepTools/BRepTools_History.cxx
src/ModelingData/TKBRep/BRepTools/BRepTools_Modifier.lxx
src/ModelingData/TKBRep/TopoDS/TopoDS_Builder.lxx
src/ModelingData/TKBRep/TopoDS/TopoDS_HShape.lxx
src/ModelingData/TKG3d/Adaptor3d/Adaptor3d_CurveOnSurface.cxx
src/ModelingData/TKG3d/AdvApprox/AdvApprox_ApproxAFunction.lxx
src/ModelingData/TKGeomBase/Approx/Approx_BSplComputeLine.gxx
src/ModelingData/TKGeomBase/Approx/Approx_ComputeCLine.gxx
src/ModelingData/TKGeomBase/CPnts/CPnts_AbscissaPoint.lxx
src/ModelingData/TKGeomBase/CPnts/CPnts_UniformDeflection.lxx
src/ModelingData/TKGeomBase/Extrema/Extrema_Curve2dTool.lxx
src/ModelingData/TKGeomBase/Extrema/Extrema_CurveTool.lxx
src/ModelingData/TKGeomBase/Extrema/Extrema_GExtPC.gxx
src/ModelingData/TKGeomBase/Extrema/Extrema_GLocateExtPC.gxx
src/ModelingData/TKGeomBase/Extrema/Extrema_GenExtCC.gxx
src/ModelingData/TKGeomBase/Extrema/Extrema_GenExtPC.gxx
src/ModelingData/TKGeomBase/Extrema/Extrema_GenLocateExtPC.gxx
src/ModelingData/TKGeomBase/GeomLib/GeomLib_Interpolate.lxx
src/ModelingData/TKGeomBase/GeomLib/GeomLib_MakeCurvefromApprox.lxx
src/ModelingData/TKGeomBase/IntAna/IntAna_QuadQuadGeo.cxx
src/ModelingData/TKGeomBase/ProjLib/ProjLib_ComputeApprox.cxx
src/Visualization/TKIVtk/IVtkOCC/IVtkOCC_ViewerSelector.cxx
src/Visualization/TKMeshVS/MeshVS/MeshVS_SensitiveFace.cxx
src/Visualization/TKMeshVS/MeshVS/MeshVS_SensitiveMesh.cxx
src/Visualization/TKMeshVS/MeshVS/MeshVS_SensitiveSegment.cxx
src/Visualization/TKMeshVS/MeshVS/MeshVS_VectorPrsBuilder.cxx
src/Visualization/TKOpenGl/OpenGl/OpenGl_BufferCompatT.hxx
src/Visualization/TKOpenGl/OpenGl/OpenGl_Context_1.mm
src/Visualization/TKOpenGl/OpenGl/OpenGl_TextureFormat.hxx
src/Visualization/TKOpenGl/OpenGl/OpenGl_Window_1.mm
src/Visualization/TKService/Cocoa/Cocoa_LocalPool.mm
src/Visualization/TKService/Cocoa/Cocoa_Window.mm
src/Visualization/TKService/Graphic3d/Graphic3d_TransformUtils.hxx
src/Visualization/TKV3d/AIS/AIS_Manipulator.cxx
src/Visualization/TKV3d/DsgPrs/DsgPrs_EllipseRadiusPresentation.cxx
src/Visualization/TKV3d/PrsDim/PrsDim_FixRelation.cxx
src/Visualization/TKV3d/SelectMgr/SelectMgr_Frustum.lxx

index c145b4fc8e6cb59741df8807b6158275e92e6806..b3a94a0e7229021a84f0672fde8acfddff5cd554 100644 (file)
 // Alternatively, this file may be used under the terms of Open CASCADE
 // commercial license or contractual agreement.
 
-//=======================================================================
-// function : SetWithTriangles
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void BinMNaming_NamedShapeDriver::SetWithTriangles(const Standard_Boolean isWithTriangles)
 {
@@ -25,10 +22,7 @@ inline void BinMNaming_NamedShapeDriver::SetWithTriangles(const Standard_Boolean
     myShapeSet->SetWithTriangles(isWithTriangles);
 }
 
-//=======================================================================
-// function : SetWithNormals
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void BinMNaming_NamedShapeDriver::SetWithNormals(const Standard_Boolean isWithNormals)
 {
index dbfa2bbd1e74dc3504e0d81ea2e4f4ab994cf7e3..34c2877f959c78a0c4e982585cfd50904b64ffee 100644 (file)
 
 #include <TDF_Attribute.hxx>
 
-//=======================================================================
-// function : TypeName
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline const TCollection_AsciiString& BinMDF_ADriver::TypeName() const
 {
index 766cd8876b983e03688cfb8627bc6a6ba38da756..b8c28275e67f6f3e264b538cedcf6f25afe11c90 100644 (file)
@@ -203,20 +203,14 @@ inline Standard_Boolean BinObjMgt_Persistent::noMoreData(const Standard_Integer
   return myIsError;
 }
 
-//=======================================================================
-// function : PutBoolean
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline BinObjMgt_Persistent& BinObjMgt_Persistent::PutBoolean(const Standard_Boolean theValue)
 {
   return PutInteger((Standard_Integer)theValue);
 }
 
-//=======================================================================
-// function : GetBoolean
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline const BinObjMgt_Persistent& BinObjMgt_Persistent::GetBoolean(
   Standard_Boolean& theValue) const
index 9ceb8659dee0a593f5a080821082c6d1f80988c9..30e2184159853bc79267276f7d4740e75ffd5e25 100644 (file)
 // Alternatively, this file may be used under the terms of Open CASCADE
 // commercial license or contractual agreement.
 
-//=======================================================================
-// function : Signature
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer TDataXtd_PatternStd::Signature() const
 {
   return mySignature;
 }
 
-//=======================================================================
-// function : Axis1
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Handle(TNaming_NamedShape) TDataXtd_PatternStd::Axis1() const
 {
   return myAxis1;
 }
 
-//=======================================================================
-// function : Axis2
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Handle(TNaming_NamedShape) TDataXtd_PatternStd::Axis2() const
 {
   return myAxis2;
 }
 
-//=======================================================================
-// function : Axis1Reversed
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean TDataXtd_PatternStd::Axis1Reversed() const
 {
   return myAxis1Reversed;
 }
 
-//=======================================================================
-// function : Axis2Reversed
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean TDataXtd_PatternStd::Axis2Reversed() const
 {
   return myAxis2Reversed;
 }
 
-//=======================================================================
-// function : Value1
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Handle(TDataStd_Real) TDataXtd_PatternStd::Value1() const
 {
   return myValue1;
 }
 
-//=======================================================================
-// function : Value2
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Handle(TDataStd_Real) TDataXtd_PatternStd::Value2() const
 {
   return myValue2;
 }
 
-//=======================================================================
-// function : NbInstances1
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Handle(TDataStd_Integer) TDataXtd_PatternStd::NbInstances1() const
 {
   return myNb1;
 }
 
-//=======================================================================
-// function : NbInstances2
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Handle(TDataStd_Integer) TDataXtd_PatternStd::NbInstances2() const
 {
   return myNb2;
 }
 
-//=======================================================================
-// function : Mirror
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Handle(TNaming_NamedShape) TDataXtd_PatternStd::Mirror() const
 {
index a564a36855bd30034b5fdb69a22834fb56c6af3f..10e37a5d492e432fbe63bb46c1b6fd23b96c5808 100644 (file)
@@ -261,10 +261,8 @@ Standard_Integer TDataXtd_Presentation::getOldColorNameFromNewEnum(Quantity_Name
   return anOld;
 }
 
-//=======================================================================
-// function : TDataXtd_Presentation
-// purpose  : Default constructor.
-//=======================================================================
+//=================================================================================================
+
 TDataXtd_Presentation::TDataXtd_Presentation()
     : myDriverGUID("00000000-0000-0000-0000-000000000000"),
       myColor(Quantity_NOC_WHITE),
index 547db595866c3e8df48f45bf5e45f263afec6ff6..eaf07ee9b0ff402210de471315fbda93e5ebaead 100644 (file)
@@ -157,10 +157,7 @@ static Handle(TopLoc_Datum3D) TranslateDatum3D(const Handle(TopLoc_Datum3D)&
   return TD;
 }
 
-//=======================================================================
-// function : Translates
-// purpose  : Topological Location
-//=======================================================================
+//=================================================================================================
 
 TopLoc_Location TNaming_CopyShape::Translate(const TopLoc_Location&                      L,
                                              TColStd_IndexedDataMapOfTransientTransient& aMap)
index 95851524cc0a4dad62f377b07ba54c6cd4b5a18b..93e346e0edc0a090aec0b77f6079cd08aebfb81a 100644 (file)
 
 #include <TNaming_ShapesSet.hxx>
 
-//=======================================================================
-// function :
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline TNaming_IteratorOnShapesSet::TNaming_IteratorOnShapesSet() {}
 
-//=======================================================================
-// function :
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline TNaming_IteratorOnShapesSet::TNaming_IteratorOnShapesSet(const TNaming_ShapesSet& S)
 {
   Init(S);
 }
 
-//=======================================================================
-// function : Init
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void TNaming_IteratorOnShapesSet::Init(const TNaming_ShapesSet& S)
 {
   myIt.Initialize(S.Map());
 }
 
-//=======================================================================
-// function : More
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean TNaming_IteratorOnShapesSet::More() const
 {
   return (myIt.More());
 }
 
-//=======================================================================
-// function : Next
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void TNaming_IteratorOnShapesSet::Next()
 {
   myIt.Next();
 }
 
-//=======================================================================
-// function : Value
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline const TopoDS_Shape& TNaming_IteratorOnShapesSet::Value() const
 {
index 0eed7d3fe5e45296a3a6e47691868056caf1e009..9b73445766e85c81eaeb3f7183c4af030b197cc1 100644 (file)
 // Alternatively, this file may be used under the terms of Open CASCADE
 // commercial license or contractual agreement.
 
-//=======================================================================
-// function : ID
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline const Standard_GUID& TNaming_NamedShape::ID() const
 {
   return GetID();
 }
 
-//=======================================================================
-// function :
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline TNaming_Evolution TNaming_NamedShape::Evolution() const
 {
   return myEvolution;
 }
 
-//=======================================================================
-// function :
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer TNaming_NamedShape::Version() const
 {
   return myVersion;
 }
 
-//=======================================================================
-// function :
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void TNaming_NamedShape::SetVersion(const Standard_Integer v)
 {
index 7439f2baf47b3860c5d7bce0f1b6d70ce6d8cfb0..fddd49bbba5f3abaa9e80359f053ef636f41d2fa 100644 (file)
 // Alternatively, this file may be used under the terms of Open CASCADE
 // commercial license or contractual agreement.
 
-//=======================================================================
-// function : More
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean TNaming_NewShapeIterator::More() const
 {
index 7205b938aa6bd1a8d049c03faa0fdc53eaad0a43..80d839d91e31a772cea37701921d5062242e26df 100644 (file)
 // Alternatively, this file may be used under the terms of Open CASCADE
 // commercial license or contractual agreement.
 
-//=======================================================================
-// function : More
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean TNaming_OldShapeIterator::More() const
 {
index 77b23078015108ca254187145883b16f72d09180..fb7617cc048e1e026ad190628e79fd4bbf5cb930 100644 (file)
 // Alternatively, this file may be used under the terms of Open CASCADE
 // commercial license or contractual agreement.
 
-//=======================================================================
-// function : TNaming_RefShape
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline TNaming_RefShape::TNaming_RefShape()
     : myFirstUse(0)
 {
 }
 
-//=======================================================================
-// function : TNaming_RefShape
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline TNaming_RefShape::TNaming_RefShape(const TopoDS_Shape& S)
     : myShape(S),
@@ -35,40 +29,28 @@ inline TNaming_RefShape::TNaming_RefShape(const TopoDS_Shape& S)
 {
 }
 
-//=======================================================================
-// function : FirstUse
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void TNaming_RefShape::FirstUse(const TNaming_PtrNode& pdn)
 {
   myFirstUse = pdn;
 }
 
-//=======================================================================
-// function : Shape
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void TNaming_RefShape::Shape(const TopoDS_Shape& S)
 {
   myShape = S;
 }
 
-//=======================================================================
-// function : FirstUse
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline TNaming_PtrNode TNaming_RefShape::FirstUse() const
 {
   return myFirstUse;
 }
 
-//=======================================================================
-// function : Shape
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline const TopoDS_Shape& TNaming_RefShape::Shape() const
 {
index aad07211aa8cd31bc2725ab806e65a228ba0a8b7..6fd65997d114c8d49467696ae052556c97fffc0a 100644 (file)
 // Alternatively, this file may be used under the terms of Open CASCADE
 // commercial license or contractual agreement.
 
-//=======================================================================
-// function : More
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean TNaming_SameShapeIterator::More() const
 {
index 9b65ce3a2490ced28bef49de97d13e51bffe1a9c..c46eb6bf44c18e224b12eed7d0a1f3ec898ad120 100644 (file)
 
 #include <TopTools_MapOfShape.hxx>
 
-//=======================================================================
-// function : TNaming_ShapesSet
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline TNaming_ShapesSet::TNaming_ShapesSet() {}
 
-//=======================================================================
-// function : Clear
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void TNaming_ShapesSet::Clear()
 {
   myMap.Clear();
 }
 
-//=======================================================================
-// function : Add
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean TNaming_ShapesSet::Add(const TopoDS_Shape& S)
 {
   return myMap.Add(S);
 }
 
-//=======================================================================
-// function : Standard_Boolean
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean TNaming_ShapesSet::Contains(const TopoDS_Shape& S) const
 {
   return myMap.Contains(S);
 }
 
-//=======================================================================
-// function : Standard_Boolean
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean TNaming_ShapesSet::Remove(const TopoDS_Shape& S)
 {
   return myMap.Remove(S);
 }
 
-//=======================================================================
-// function : IsEmpty
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean TNaming_ShapesSet::IsEmpty() const
 {
   return myMap.IsEmpty();
 }
 
-//=======================================================================
-// function : NbShapes
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer TNaming_ShapesSet::NbShapes() const
 {
   return myMap.Extent();
 }
 
-//=======================================================================
-// function : ChangeMap
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline TopTools_MapOfShape& TNaming_ShapesSet::ChangeMap()
 {
   return myMap;
 }
 
-//=======================================================================
-// function : Map
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline const TopTools_MapOfShape& TNaming_ShapesSet::Map() const
 {
index 8d887b1bfdc067d09d55dc9aa5e088e36e31d049..e1a28cbe24330dce2aca05a1a7311aa5cbb84dd0 100644 (file)
 // Alternatively, this file may be used under the terms of Open CASCADE
 // commercial license or contractual agreement.
 
-//=======================================================================
-// function : Map
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline TNaming_DataMapOfShapePtrRefShape& TNaming_UsedShapes::Map()
 {
   return myMap;
 }
 
-//=======================================================================
-// function : ID
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline const Standard_GUID& TNaming_UsedShapes::ID() const
 {
index 5575cc0b45cfa315a08628bb4d7846158804fa30..9794da53e5a210c2b44188c62dd5998e6c5e34c8 100644 (file)
 // Alternatively, this file may be used under the terms of Open CASCADE
 // commercial license or contractual agreement.
 
-//=======================================================================
-// function : GetStatus
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline PCDM_ReaderStatus PCDM_Reader::GetStatus() const
 {
index 59f0bbc64994afd43d3eafa427ccda042025b976..28c2ff0c2c55acfe19ad366457bcd175e313df1b 100644 (file)
@@ -44,10 +44,7 @@ IMPLEMENT_STANDARD_RTTIEXT(TDF_Attribute, Standard_Transient)
 
 #define TDF_DATA_COMMIT_OPTIMIZED
 
-//=======================================================================
-// function : TDF_Attribute
-// purpose  : Initializes fields.
-//=======================================================================
+//=================================================================================================
 
 TDF_Attribute::TDF_Attribute()
     : myLabelNode(NULL),
index 84823bd7c92d6ff2a02754ae0cdecee9abc0441c..2c23925eda04eb6e2541562545a6b15a1db625a5 100644 (file)
 // Alternatively, this file may be used under the terms of Open CASCADE
 // commercial license or contractual agreement.
 
-//=======================================================================
-// function : IsDone
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean TDF_CopyLabel::IsDone() const
 {
index f9df398d855cc5fab70a69bdf8e0ac54e83cc0ef..2d0d2d95728bf855cf437c01f3dbecacf9d8caf6 100644 (file)
@@ -51,10 +51,7 @@ void TDF_IDFilter::Keep(const Standard_GUID& anID)
     myIDMap.Remove(anID);
 }
 
-//=======================================================================
-// function : Keep
-// purpose  : Keeps a list of ID.
-//=======================================================================
+//=================================================================================================
 
 void TDF_IDFilter::Keep(const TDF_IDList& anIDList)
 {
index 26339aaf756d25b48b6ff1e23697bbbbe23be008..bd6014865fc988bef78d3704f1c466f4460f0e0f 100644 (file)
@@ -91,10 +91,7 @@ const Standard_GUID& TDataStd_TreeNode::ID() const
   return myTreeID;
 }
 
-//=======================================================================
-// TreeNode : TDataStd_TreeNode
-// purpose  : Constructor
-//=======================================================================
+//=================================================================================================
 
 TDataStd_TreeNode::TDataStd_TreeNode()
     : myFather(NULL),
@@ -408,10 +405,7 @@ Handle(TDataStd_TreeNode) TDataStd_TreeNode::Previous() const
   return O;
 }
 
-//=======================================================================
-// TreeNode : First
-// purpose  : Returns first child
-//=======================================================================
+//=================================================================================================
 
 Handle(TDataStd_TreeNode) TDataStd_TreeNode::First() const
 {
@@ -598,10 +592,7 @@ Standard_Boolean TDataStd_TreeNode::AfterUndo(const Handle(TDF_AttributeDelta)&
   return Standard_True;
 }
 
-//=======================================================================
-// TreeNode : Restore
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 void TDataStd_TreeNode::Restore(const Handle(TDF_Attribute)& other)
 {
@@ -675,10 +666,7 @@ void TDataStd_TreeNode::References(const Handle(TDF_DataSet)& aDataSet) const
   }
 }
 
-//=======================================================================
-// TreeNode : Dump
-// purpose  : Dump of the TreeNode
-//=======================================================================
+//=================================================================================================
 
 Standard_OStream& TDataStd_TreeNode::Dump(Standard_OStream& anOS) const
 {
index e2c587cb0ac8987105808e8e4c636877257867e2..48d30be906a58c0c3c2aa663a26ba60955ab0362 100644 (file)
 // Alternatively, this file may be used under the terms of Open CASCADE
 // commercial license or contractual agreement.
 
-//=======================================================================
-// function : GetDocuments
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline TDocStd_SequenceOfDocument& TDocStd_ApplicationDelta::GetDocuments()
 {
   return myDocuments;
 }
 
-//=======================================================================
-// function : GetName
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline const TCollection_ExtendedString& TDocStd_ApplicationDelta::GetName() const
 {
   return myName;
 }
 
-//=======================================================================
-// function : SetName
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void TDocStd_ApplicationDelta::SetName(const TCollection_ExtendedString& theName)
 {
index e05bacbbe31633579386df7d24102d7a1c5d4e12..eca230a449f39a6319f5a938b51321464f94e344 100644 (file)
 // Alternatively, this file may be used under the terms of Open CASCADE
 // commercial license or contractual agreement.
 
-//=======================================================================
-// function : GetUndoLimit
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer TDocStd_MultiTransactionManager::GetUndoLimit() const
 {
   return myUndoLimit;
 }
 
-//=======================================================================
-// function : GetAvailableUndos
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline const TDocStd_SequenceOfApplicationDelta& TDocStd_MultiTransactionManager::
   GetAvailableUndos() const
@@ -34,10 +28,7 @@ inline const TDocStd_SequenceOfApplicationDelta& TDocStd_MultiTransactionManager
   return myUndos;
 }
 
-//=======================================================================
-// function : GetAvailableRedos
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline const TDocStd_SequenceOfApplicationDelta& TDocStd_MultiTransactionManager::
   GetAvailableRedos() const
@@ -45,30 +36,21 @@ inline const TDocStd_SequenceOfApplicationDelta& TDocStd_MultiTransactionManager
   return myRedos;
 }
 
-//=======================================================================
-// function : Documents
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline const TDocStd_SequenceOfDocument& TDocStd_MultiTransactionManager::Documents() const
 {
   return myDocuments;
 }
 
-//=======================================================================
-// function : IsNestedTransactionMode
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean TDocStd_MultiTransactionManager::IsNestedTransactionMode() const
 {
   return myIsNestedTransactionMode;
 }
 
-//=======================================================================
-// function : HasOpenCommand
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean TDocStd_MultiTransactionManager::HasOpenCommand() const
 {
index b1de4a972b183bbbf553c9cd66a731d50a8ad54d..99ed83c06eef4aa55dc5eac38a97718e9c2b1bdd 100644 (file)
@@ -152,10 +152,7 @@ Standard_Boolean TFunction_DriverTable::RemoveDriver(const Standard_GUID&   guid
   return Standard_False;
 }
 
-//=======================================================================
-// function : Clear
-// purpose  : Removes all drivers
-//=======================================================================
+//=================================================================================================
 
 void TFunction_DriverTable::Clear()
 {
index 17c0de97828d7284a669bde699df4f102b874802..04ed40d6818284e9461adc25e6c388400bea1a5b 100644 (file)
@@ -165,10 +165,7 @@ Handle(TDF_Attribute) TFunction_Function::NewEmpty() const
 
 void TFunction_Function::References(const Handle(TDF_DataSet)& /*aDataSet*/) const {}
 
-//=======================================================================
-// function : Dump
-// purpose  : Dump of the function
-//=======================================================================
+//=================================================================================================
 
 Standard_OStream& TFunction_Function::Dump(Standard_OStream& anOS) const
 {
index e1606b5de1905b9eff5e9d187d931c0274acfc50..f54e122092a71a252501cf7a002f21e27c0c55f7 100644 (file)
@@ -380,10 +380,7 @@ const TFunction_DoubleMapOfIntegerLabel& TFunction_IFunction::GetAllFunctions()
   return TFunction_Scope::Set(myLabel)->GetFunctions();
 }
 
-//=======================================================================
-// function : GetLogbook
-// purpose  : Returns the Logbook.
-//=======================================================================
+//=================================================================================================
 
 Handle(TFunction_Logbook) TFunction_IFunction::GetLogbook() const
 {
index 0d099c95839d55aaa71d3facec976d1116c15d5a..b7c69746c4086b9b67d67ac91376be28b6ec0452 100644 (file)
@@ -145,30 +145,21 @@ Standard_Boolean TFunction_Scope::HasFunction(const TDF_Label& L) const
   return myFunctions.IsBound2(L);
 }
 
-//=======================================================================
-// function : GetFunction
-// purpose  : Returns a function.
-//=======================================================================
+//=================================================================================================
 
 Standard_Integer TFunction_Scope::GetFunction(const TDF_Label& L) const
 {
   return myFunctions.Find2(L);
 }
 
-//=======================================================================
-// function : GetFunction
-// purpose  : Returns a function.
-//=======================================================================
+//=================================================================================================
 
 const TDF_Label& TFunction_Scope::GetFunction(const Standard_Integer ID) const
 {
   return myFunctions.Find1(ID);
 }
 
-//=======================================================================
-// function : GetLogbook
-// purpose  : Returns the Logbook.
-//=======================================================================
+//=================================================================================================
 
 Handle(TFunction_Logbook) TFunction_Scope::GetLogbook() const
 {
index 27b509d7d23b4c6497e52842c5fcd527923b4d62..be1e92ad44959f93afb1daf7247fb342a5e20fd5 100644 (file)
@@ -488,10 +488,7 @@ Standard_Boolean TObj_Object::Detach(const TObj_DeletingMode theMode)
   return Standard_True;
 }
 
-//=======================================================================
-// function : Detach
-// purpose  : public static method
-//=======================================================================
+//=================================================================================================
 
 Standard_Boolean TObj_Object::Detach(const TDF_Label& theLabel, const TObj_DeletingMode theMode)
 {
@@ -573,10 +570,7 @@ void TObj_Object::AfterRetrieval()
     aModel->RegisterName(GetName(), GetLabel(), GetDictionary());
 }
 
-//=======================================================================
-// function : BeforeStoring
-// purpose  : base implementation
-//=======================================================================
+//=================================================================================================
 
 void TObj_Object::BeforeStoring() {}
 
index 38ffbc445bc8bbd59566bcd937dcfd72ce456198..845b3da83330d049786c33969f525ae8b48c093f 100644 (file)
@@ -40,10 +40,7 @@ TObj_Persistence::TObj_Persistence(const Standard_CString theType)
   getMapOfTypes().Bind(theType, this);
 }
 
-//=======================================================================
-// function : Destructor
-// purpose  : Unregister the type
-//=======================================================================
+//=================================================================================================
 
 TObj_Persistence::~TObj_Persistence()
 {
index 9a34f80577d5234a998d5e3ed0085c89a4d30b89..1d771924670f6140da90a63329ff3b0837f231bd 100644 (file)
@@ -82,10 +82,7 @@ void TObj_TReference::Set(const Handle(TObj_Object)& theElem, const TDF_Label& t
   myMasterLabel = theMasterLabel;
 }
 
-//=======================================================================
-// function : Set
-// purpose  : for persistent only.
-//=======================================================================
+//=================================================================================================
 
 void TObj_TReference::Set(const TDF_Label& theLabel, const TDF_Label& theMasterLabel)
 {
index 16b4cd2e14b3548fce79baaa56cf87c96333c81b..6b450bfa38fd71ab7064a19c8bbe6b058ea7788b 100644 (file)
@@ -631,10 +631,8 @@ void TPrsStd_AISPresentation::BeforeForget()
   }
 }
 
-//=======================================================================
-// function : AfterResume
-// purpose  : display if displayed
-//=======================================================================
+//=================================================================================================
+
 void TPrsStd_AISPresentation::AfterResume()
 {
   if (IsDisplayed())
index e38631125676ef0576fb787c3b0ef5793f473099..2757d856a49354a9cf47b21076ec9769e66b5a8a 100644 (file)
@@ -120,10 +120,7 @@ Standard_Boolean TPrsStd_DriverTable::RemoveDriver(const Standard_GUID& guid)
   return myDrivers.UnBind(guid);
 }
 
-//=======================================================================
-// function : Clear
-// purpose  : Removes all drivers
-//=======================================================================
+//=================================================================================================
 
 void TPrsStd_DriverTable::Clear()
 {
index 8a0e5a8e0bd3cc73f691381dd08c2ca92c74182b..537886426b44095e165b601948ffcbac85c3f60c 100644 (file)
@@ -276,10 +276,7 @@ static TNaming_Evolution EvolutionEnum(const XmlObjMgt_DOMString& theString)
   return aResult;
 }
 
-//=======================================================================
-// function : doTranslate
-// purpose  : shape storage to XML
-//=======================================================================
+//=================================================================================================
 
 static void doTranslate(const TopoDS_Shape& theShape,
                         XmlMNaming_Shape1&  theResult,
index 0719010cfafe557ac35c33aba0654a28cd71e713..1e3e899933a8794308f8f30776b5cd30de3b0249 100644 (file)
 // Alternatively, this file may be used under the terms of Open CASCADE
 // commercial license or contractual agreement.
 
-//=======================================================================
-// function : GetShapesLocations
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline TopTools_LocationSet& XmlMNaming_NamedShapeDriver::GetShapesLocations()
 {
   return myShapeSet.ChangeLocations();
index e717e75d845b2066c491a887956c51f79f2bdfb5..a30fa259d464de2238e4cc8ebe490f8a1c5bee75 100644 (file)
 // Alternatively, this file may be used under the terms of Open CASCADE
 // commercial license or contractual agreement.
 
-//=======================================================================
-// function : Element
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline const XmlObjMgt_Element& XmlObjMgt_Array1::Element() const
 {
   return myElement;
 }
 
-//=======================================================================
-// function : Length
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer XmlObjMgt_Array1::Length() const
 {
   return myLast - myFirst + 1;
 }
 
-//=======================================================================
-// function : Lower
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer XmlObjMgt_Array1::Lower() const
 {
   return myFirst;
 }
 
-//=======================================================================
-// function : Upper
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer XmlObjMgt_Array1::Upper() const
 {
index d277422d20842174660f191e6ead52b972a4350b..94ea0c37f9bbcdc3b2832b46275a84b82a42b78f 100644 (file)
 // Alternatively, this file may be used under the terms of Open CASCADE
 // commercial license or contractual agreement.
 
-//=======================================================================
-// function : Element
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline const XmlObjMgt_Element& XmlObjMgt_Persistent::Element() const
 {
   return myElement;
 }
 
-//=======================================================================
-// function : Element
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline XmlObjMgt_Element& XmlObjMgt_Persistent::Element()
 {
   return myElement;
 }
 
-//=======================================================================
-// function : operator XmlObjMgt_Element
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline XmlObjMgt_Persistent::operator const XmlObjMgt_Element&() const
 {
   return myElement;
 }
 
-//=======================================================================
-// function : operator XmlObjMgt_Element
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline XmlObjMgt_Persistent::operator XmlObjMgt_Element&()
 {
   return myElement;
 }
 
-//=======================================================================
-// function : Id
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline Standard_Integer XmlObjMgt_Persistent::Id() const
 {
   return myID;
index ec161ad488374badf59c3e5b5ca705718d5b129a..2abd47ec8e57d22d5b037ee567001f42100b9420 100644 (file)
@@ -143,10 +143,8 @@ static void AddCompositeShape(const Handle(XCAFDoc_ShapeTool)& theSTool,
   return;
 }
 
-//=======================================================================
-// function : Transfer
-// purpose  : basic working method
-//=======================================================================
+//=================================================================================================
+
 Standard_Boolean IGESCAFControl_Reader::Transfer(const Handle(TDocStd_Document)& doc,
                                                  const Message_ProgressRange&    theProgress)
 {
index 26206116c9c78d7caff0f1af7268a4c41dba0b80..b2fee1f80e8a1b24b74669b684f38e40e2b090ac 100644 (file)
 // Alternatively, this file may be used under the terms of Open CASCADE
 // commercial license or contractual agreement.
 
-//=======================================================================
-// function : SetReadVisible
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void IGESControl_Reader::SetReadVisible(const Standard_Boolean ReadRoot)
 {
   theReadOnlyVisible = ReadRoot;
 }
 
-//=======================================================================
-// function : GetReadVisible
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean IGESControl_Reader::GetReadVisible() const
 {
index ab410d330a766b698c090300db3eb2f6542b4da2..380e51cae28a015baf824a9b0729cd9a3044db5c 100644 (file)
 //  DefSwitch : represente une definition, soit vide (-> valeur = 0),
 //  soit comme rang dans une table (-> valeur > 0 ce rang),
 //  soit comme reference (-> valeur < 0), la reference elle-meme est ailleurs
-//=======================================================================
-// function : IGESData_DefSwitch
-// purpose  : Default constructor.
-//=======================================================================
+
+//=================================================================================================
+
 IGESData_DefSwitch::IGESData_DefSwitch()
     : theval(0)
 {
index 9d6cb400c8ff96348ee4f54023598c6a54cef943..06cccf2e2e03bd94c5e2384a44b83b5395c20d56 100644 (file)
@@ -48,10 +48,8 @@ static const Standard_Integer IGESShiftUse    = 8;
 static const Standard_Integer IGESShiftHier   = 12;
 } // namespace
 
-//=======================================================================
-// function : IGESData_IGESEntity
-// purpose  : Default constructor.
-//=======================================================================
+//=================================================================================================
+
 IGESData_IGESEntity::IGESData_IGESEntity()
     : theType(0),
       theForm(0),
index 670840790ff6362551ad64fb8b94ade8a5c4ce43..8c63bc2e13863638e9b0c1a854221dadc6f908cc 100644 (file)
 
 #include <IGESToBRep_AlgoContainer.hxx>
 
-//=======================================================================
-// function : SetToolContainer
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void IGESToBRep_AlgoContainer::SetToolContainer(const Handle(IGESToBRep_ToolContainer)& TC)
 {
   myTC = TC;
 }
 
-//=======================================================================
-// function : ToolContainer
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Handle(IGESToBRep_ToolContainer) IGESToBRep_AlgoContainer::ToolContainer() const
 {
index 3552ca2f879c2a6fda2b1f7f54a2b5a6cfeda4ee..9c6b415531d3717b06ee1f36f36531f8da08c68b 100644 (file)
 #include <Transfer_TransientProcess.hxx>
 #include <IGESData_IGESEntity.hxx>
 
-//=======================================================================
-// function : SetEpsilon
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void IGESToBRep_CurveAndSurface::SetEpsilon(const Standard_Real eps)
 {
   myEps = eps;
 }
 
-//=======================================================================
-// function : GetEpsilon
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Real IGESToBRep_CurveAndSurface::GetEpsilon() const
 {
   return myEps;
 }
 
-//=======================================================================
-// function : SetEpsCoeff
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void IGESToBRep_CurveAndSurface::SetEpsCoeff(const Standard_Real eps)
 {
   myEpsCoeff = eps;
 }
 
-//=======================================================================
-// function : GetEpsCoeff
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Real IGESToBRep_CurveAndSurface::GetEpsCoeff() const
 {
   return myEpsCoeff;
 }
 
-//=======================================================================
-// function : GetEpsGeom
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Real IGESToBRep_CurveAndSurface::GetEpsGeom() const
 {
   return myEpsGeom;
 }
 
-//=======================================================================
-// function : SetMinTol
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void IGESToBRep_CurveAndSurface::SetMinTol(const Standard_Real mintol)
 {
   myMinTol = mintol;
 }
 
-//=======================================================================
-// function : SetMaxTol
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void IGESToBRep_CurveAndSurface::SetMaxTol(const Standard_Real maxtol)
 {
   myMaxTol = maxtol;
 }
 
-//=======================================================================
-// function : GetMinTol
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Real IGESToBRep_CurveAndSurface::GetMinTol() const
 {
   return myMinTol;
 }
 
-//=======================================================================
-// function : GetMaxTol
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Real IGESToBRep_CurveAndSurface::GetMaxTol() const
 {
   return myMaxTol;
 }
 
-//=======================================================================
-// function : SetModeApprox
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void IGESToBRep_CurveAndSurface::SetModeApprox(const Standard_Boolean mode)
 {
   myModeApprox = mode;
 }
 
-//=======================================================================
-// function : GetModeApprox
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean IGESToBRep_CurveAndSurface::GetModeApprox() const
 {
   return myModeApprox;
 }
 
-//=======================================================================
-// function : SetModeTransfer
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void IGESToBRep_CurveAndSurface::SetModeTransfer(const Standard_Boolean mode)
 {
   myModeIsTopo = mode;
 }
 
-//=======================================================================
-// function : GetModeTransfer
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean IGESToBRep_CurveAndSurface::GetModeTransfer() const
 {
   return myModeIsTopo;
 }
 
-//=======================================================================
-// function : SetOptimized
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void IGESToBRep_CurveAndSurface::SetOptimized(const Standard_Boolean optimized)
 {
   myContIsOpti = optimized;
 }
 
-//=======================================================================
-// function : GetOptimized
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean IGESToBRep_CurveAndSurface::GetOptimized() const
 {
   return myContIsOpti;
 }
 
-//=======================================================================
-// function : GetUnitFactor
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Real IGESToBRep_CurveAndSurface::GetUnitFactor() const
 {
   return myUnitFactor;
 }
 
-//=======================================================================
-// function : SetSurfaceCurve
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void IGESToBRep_CurveAndSurface::SetSurfaceCurve(const Standard_Integer ival)
 {
   mySurfaceCurve = ival;
 }
 
-//=======================================================================
-// function : GetSurfaceCurve
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer IGESToBRep_CurveAndSurface::GetSurfaceCurve() const
 {
   return mySurfaceCurve;
 }
 
-//=======================================================================
-// function : GetModel
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Handle(IGESData_IGESModel) IGESToBRep_CurveAndSurface::GetModel() const
 {
   return myModel;
 }
 
-//=======================================================================
-// function : SetContinuity
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void IGESToBRep_CurveAndSurface::SetContinuity(const Standard_Integer continuity)
 {
   myContinuity = continuity;
 }
 
-//=======================================================================
-// function : GetContinuity
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer IGESToBRep_CurveAndSurface::GetContinuity() const
 {
   return myContinuity;
 }
 
-//=======================================================================
-// function : SetTransferProcess
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void IGESToBRep_CurveAndSurface::SetTransferProcess(
   const Handle(Transfer_TransientProcess)& TP)
@@ -237,20 +171,14 @@ inline void IGESToBRep_CurveAndSurface::SetTransferProcess(
   myTP = TP;
 }
 
-//=======================================================================
-// function : GetTransferProcess
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Handle(Transfer_TransientProcess) IGESToBRep_CurveAndSurface::GetTransferProcess() const
 {
   return myTP;
 }
 
-//=======================================================================
-// function : SendFail
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void IGESToBRep_CurveAndSurface::SendFail(const Handle(IGESData_IGESEntity)& start,
                                                  const Message_Msg&                 amsg)
@@ -258,10 +186,7 @@ inline void IGESToBRep_CurveAndSurface::SendFail(const Handle(IGESData_IGESEntit
   GetTransferProcess()->SendFail(start, amsg);
 }
 
-//=======================================================================
-// function : SendWarning
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void IGESToBRep_CurveAndSurface::SendWarning(const Handle(IGESData_IGESEntity)& start,
                                                     const Message_Msg&                 amsg)
@@ -269,10 +194,7 @@ inline void IGESToBRep_CurveAndSurface::SendWarning(const Handle(IGESData_IGESEn
   GetTransferProcess()->SendWarning(start, amsg);
 }
 
-//=======================================================================
-// function : SendMsg
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void IGESToBRep_CurveAndSurface::SendMsg(const Handle(IGESData_IGESEntity)& start,
                                                 const Message_Msg&                 amsg)
index b74fed6f23f84d12a91fc93557e3039f65a555a9..bf3f82a8c1839458d1a9c45fee8fe93c62e78e04 100644 (file)
 // Alternatively, this file may be used under the terms of Open CASCADE
 // commercial license or contractual agreement.
 
-//=======================================================================
-// function : SetWS
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void STEPCAFControl_ExternFile::SetWS(const Handle(XSControl_WorkSession)& WS)
 {
   myWS = WS;
 }
 
-//=======================================================================
-// function : GetWS
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Handle(XSControl_WorkSession) STEPCAFControl_ExternFile::GetWS() const
 {
   return myWS;
 }
 
-//=======================================================================
-// function : SetLoadStatus
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void STEPCAFControl_ExternFile::SetLoadStatus(const IFSelect_ReturnStatus stat)
 {
   myLoadStatus = stat;
 }
 
-//=======================================================================
-// function : GetLoadStatus
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline IFSelect_ReturnStatus STEPCAFControl_ExternFile::GetLoadStatus() const
 {
   return myLoadStatus;
 }
 
-//=======================================================================
-// function : SetTransferStatus
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void STEPCAFControl_ExternFile::SetTransferStatus(const Standard_Boolean isok)
 {
   myTransferStatus = isok;
 }
 
-//=======================================================================
-// function : GetTransferStatus
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean STEPCAFControl_ExternFile::GetTransferStatus() const
 {
   return myTransferStatus;
 }
 
-//=======================================================================
-// function : SetWriteStatus
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void STEPCAFControl_ExternFile::SetWriteStatus(const IFSelect_ReturnStatus stat)
 {
   myWriteStatus = stat;
 }
 
-//=======================================================================
-// function : GetWriteStatus
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline IFSelect_ReturnStatus STEPCAFControl_ExternFile::GetWriteStatus() const
 {
   return myWriteStatus;
 }
 
-//=======================================================================
-// function : SetName
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void STEPCAFControl_ExternFile::SetName(const Handle(TCollection_HAsciiString)& name)
 {
   myName = name;
 }
 
-//=======================================================================
-// function : GetName
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Handle(TCollection_HAsciiString) STEPCAFControl_ExternFile::GetName() const
 {
@@ -114,20 +84,16 @@ inline Handle(TCollection_HAsciiString) STEPCAFControl_ExternFile::GetName() con
 }
 
 /*
-//=======================================================================
-//function : SetShape
-//purpose  :
-//=======================================================================
+//=================================================================================================
+
 
 inline void STEPCAFControl_ExternFile::SetShape (const TopoDS_Shape &Shape)
 {
   myShape = Shape;
 }
 
-//=======================================================================
-//function : GetShape
-//purpose  :
-//=======================================================================
+//=================================================================================================
+
 
 inline TopoDS_Shape STEPCAFControl_ExternFile::GetShape () const
 {
@@ -135,20 +101,14 @@ inline TopoDS_Shape STEPCAFControl_ExternFile::GetShape () const
 }
 */
 
-//=======================================================================
-// function : SetLabel
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void STEPCAFControl_ExternFile::SetLabel(const TDF_Label& Label)
 {
   myLabel = Label;
 }
 
-//=======================================================================
-// function : GetLabel
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline TDF_Label STEPCAFControl_ExternFile::GetLabel() const
 {
index cdcc6f3d16b273d692c6e361e374ecbf9191a714..3caba822f60db8e7e2fbedb241a3e820e699d301 100644 (file)
@@ -523,10 +523,7 @@ void STEPCAFControl_Reader::prepareUnits(const Handle(StepData_StepModel)& theMo
   theModel->SetLocalLengthUnit(aScaleFactorMM);
 }
 
-//=======================================================================
-// function : Transfer
-// purpose  : basic working method
-//=======================================================================
+//=================================================================================================
 
 Standard_Boolean STEPCAFControl_Reader::Transfer(STEPControl_Reader&             reader,
                                                  const Standard_Integer          nroot,
index 80329d6639d1491eb91b861460e007c560f0cafd..79f813303e86a463155166f21a0e8c16e3befa87 100644 (file)
@@ -840,10 +840,7 @@ Standard_Integer STEPConstruct_ExternRefs::WriteExternRefs(const Standard_Intege
   return myAEIAs.Length();
 }
 
-//=======================================================================
-// function : addAP214ExterRef
-// purpose  : PTV 30.01.2003 TRJ11
-//=======================================================================
+//=================================================================================================
 
 Standard_Boolean STEPConstruct_ExternRefs::addAP214ExterRef(
   const Handle(StepAP214_AppliedDocumentReference)& ADR,
index 4b7cb8a3d3fb92e47afbbec1dce63d2f55f51d1f..f156bf76472463ee913d69c64a3999091ccf2451 100644 (file)
 #include <Transfer_FinderProcess.hxx>
 #include <XSControl_WorkSession.hxx>
 
-//=======================================================================
-// function : WS
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline const Handle(XSControl_WorkSession)& STEPConstruct_Tool::WS() const
 {
   return myWS;
 }
 
-//=======================================================================
-// function : Model
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Handle(Interface_InterfaceModel) STEPConstruct_Tool::Model() const
 {
   return myWS->Model();
 }
 
-//=======================================================================
-// function : Graph
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline const Interface_Graph& STEPConstruct_Tool::Graph(const Standard_Boolean recompute) const
 {
@@ -51,20 +42,14 @@ inline const Interface_Graph& STEPConstruct_Tool::Graph(const Standard_Boolean r
   return recompute ? myWS->Graph() : myHGraph->Graph();
 }
 
-//=======================================================================
-// function : TransientProcess
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline const Handle(Transfer_TransientProcess)& STEPConstruct_Tool::TransientProcess() const
 {
   return myTransientProcess;
 }
 
-//=======================================================================
-// function : FinderProcess
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline const Handle(Transfer_FinderProcess)& STEPConstruct_Tool::FinderProcess() const
 {
index 2f51f2a206412f1891194f5879c5871851cd5e03..69d17b9ee96c5d163032b993cd54f32956bad53c 100644 (file)
 // Alternatively, this file may be used under the terms of Open CASCADE
 // commercial license or contractual agreement.
 
-//=======================================================================
-// function : GetSDR
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Handle(StepShape_ShapeDefinitionRepresentation) STEPSelections_AssemblyComponent::GetSDR()
   const
@@ -25,10 +22,7 @@ inline Handle(StepShape_ShapeDefinitionRepresentation) STEPSelections_AssemblyCo
   return mySDR;
 }
 
-//=======================================================================
-// function : GetList
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Handle(STEPSelections_HSequenceOfAssemblyLink) STEPSelections_AssemblyComponent::GetList()
   const
@@ -36,10 +30,7 @@ inline Handle(STEPSelections_HSequenceOfAssemblyLink) STEPSelections_AssemblyCom
   return myList;
 }
 
-//=======================================================================
-// function : SetSDR
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void STEPSelections_AssemblyComponent::SetSDR(
   const Handle(StepShape_ShapeDefinitionRepresentation)& sdr)
index b4c003df88f8df1c2271361beb1495336b018a6f..70de1289418b945f5c6461da0c7e08e742e72a61 100644 (file)
 // Alternatively, this file may be used under the terms of Open CASCADE
 // commercial license or contractual agreement.
 
-//=======================================================================
-// function : NbAssemblies
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer STEPSelections_AssemblyExplorer::NbAssemblies() const
 {
   return myRoots.Length();
 }
 
-//=======================================================================
-// function : Root
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Handle(STEPSelections_AssemblyComponent) STEPSelections_AssemblyExplorer::Root(
   const Standard_Integer rank) const
index 3844c5d0364caad8d87e6a3fb5bd2cd556a1d54f..c082329112ca583e97485cc2ecdc762e863c237d 100644 (file)
 // Alternatively, this file may be used under the terms of Open CASCADE
 // commercial license or contractual agreement.
 
-//=======================================================================
-// function : GetNAUO
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Handle(StepRepr_NextAssemblyUsageOccurrence) STEPSelections_AssemblyLink::GetNAUO() const
 {
   return myNAUO;
 }
 
-//=======================================================================
-// function : GetSDSR
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Handle(Standard_Transient) STEPSelections_AssemblyLink::GetItem() const
 {
   return myItem;
 }
 
-//=======================================================================
-// function : GetComponent
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Handle(STEPSelections_AssemblyComponent) STEPSelections_AssemblyLink::GetComponent() const
 {
   return myComponent;
 }
 
-//=======================================================================
-// function : SetNAUO
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void STEPSelections_AssemblyLink::SetNAUO(
   const Handle(StepRepr_NextAssemblyUsageOccurrence)& nauo)
@@ -55,20 +43,14 @@ inline void STEPSelections_AssemblyLink::SetNAUO(
   myNAUO = nauo;
 }
 
-//=======================================================================
-// function : SetCDSR
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void STEPSelections_AssemblyLink::SetItem(const Handle(Standard_Transient)& item)
 {
   myItem = item;
 }
 
-//=======================================================================
-// function : SetComponent
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void STEPSelections_AssemblyLink::SetComponent(
   const Handle(STEPSelections_AssemblyComponent)& part)
index efefe2a573c438977879ed9f9409341b0e3b52b7..654e230a701bba4d20b4da0c6e490c3532bc3810 100644 (file)
 #include <TopExp_Explorer.hxx>
 #include <TopoDS_Shape.hxx>
 
-// ============================================================================
-// Method  : StepToTopoDS_NMTool
-// Purpose : Default constructor
-// ============================================================================
+//=================================================================================================
 
 StepToTopoDS_NMTool::StepToTopoDS_NMTool()
 {
index 96ff422e3a48f624bb19038dde5af9d9b7bf6cc9..9684f7c6b8efabe2d3833393f2e9e8f81846af93 100644 (file)
 
 #include <StepToTopoDS_Root.hxx>
 
-//=======================================================================
-// function : IsDone
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean StepToTopoDS_Root::IsDone() const
 {
   return done;
 }
 
-//=======================================================================
-// function : Precision
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Real StepToTopoDS_Root::Precision() const
 {
   return myPrecision;
 }
 
-//=======================================================================
-// function : SetPrecision
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void StepToTopoDS_Root::SetPrecision(const Standard_Real preci)
 {
   myPrecision = preci;
 }
 
-//=======================================================================
-// function : MaxTol
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Real StepToTopoDS_Root::MaxTol() const
 {
   return myMaxTol;
 }
 
-//=======================================================================
-// function : SetMaxTol
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void StepToTopoDS_Root::SetMaxTol(const Standard_Real maxpreci)
 {
index b2a27ed682722a800547fa31aff0b7bfdb2628d6..f0d534103aa9e9727c8fc50d9d4af6cc50614681 100644 (file)
 
 #include <StepToTopoDS_TranslateCompositeCurve.hxx>
 
-//=======================================================================
-// function : IsInfiniteSegment
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean StepToTopoDS_TranslateCompositeCurve::IsInfiniteSegment() const
 {
index d884df5003e800cb83d53090e3da486a0143df7c..cca6aeafda4c4a4285fae03ab569eed78b67b59f 100644 (file)
@@ -48,10 +48,8 @@ private:
   Standard_Integer               myPosition; //!< last processed new-line symbol
 };
 
-// =======================================================================
-// function : Next
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 inline void XCAFPrs_DocumentIdIterator::Next()
 {
   for (Standard_Integer aCharIndex = myPosition + 1; aCharIndex <= myPath.Length(); ++aCharIndex)
index dcbdfe9ab5a0f7e5735b7167b25fa7b1c406f2c8..90beed4725b857f9031f3336f64ce863dcadbb13 100644 (file)
 // Alternatively, this file may be used under the terms of Open CASCADE
 // commercial license or contractual agreement.
 
-//=======================================================================
-// function : MoniTool_Timer
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline MoniTool_Timer::MoniTool_Timer()
     : myCount(0),
@@ -23,30 +20,21 @@ inline MoniTool_Timer::MoniTool_Timer()
 {
 }
 
-//=======================================================================
-// function : Timer
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline OSD_Timer& MoniTool_Timer::Timer()
 {
   return myTimer;
 }
 
-//=======================================================================
-// function : Timer
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline const OSD_Timer& MoniTool_Timer::Timer() const
 {
   return myTimer;
 }
 
-//=======================================================================
-// function : Start
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void MoniTool_Timer::Start()
 {
@@ -57,10 +45,7 @@ inline void MoniTool_Timer::Start()
   myNesting++;
 }
 
-//=======================================================================
-// function : Stop
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void MoniTool_Timer::Stop()
 {
@@ -70,10 +55,7 @@ inline void MoniTool_Timer::Stop()
   //  AmendStop();
 }
 
-//=======================================================================
-// function : Reset
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void MoniTool_Timer::Reset()
 {
@@ -82,40 +64,28 @@ inline void MoniTool_Timer::Reset()
   myAmend             = 0;
 }
 
-//=======================================================================
-// function : Count
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer MoniTool_Timer::Count() const
 {
   return myCount;
 }
 
-//=======================================================================
-// function : IsRunning
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer MoniTool_Timer::IsRunning() const
 {
   return myNesting;
 }
 
-//=======================================================================
-// function : Amend
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Real MoniTool_Timer::Amend() const
 {
   return myAmend;
 }
 
-//=======================================================================
-// function : CPU
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Real MoniTool_Timer::CPU()
 {
@@ -125,20 +95,14 @@ inline Standard_Real MoniTool_Timer::CPU()
   return cpu - myAmend;
 }
 
-//=======================================================================
-// function : Start
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void MoniTool_Timer::Start(const Standard_CString name)
 {
   Timer(name)->Start();
 }
 
-//=======================================================================
-// function : Stop
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void MoniTool_Timer::Stop(const Standard_CString name)
 {
index 3d83409e33291b37b8c3c0e9b7b7a88dc1afe80c..de6395a04eab5768b2ad75fd894de1a4cd00c9ae 100644 (file)
 
 #include <MoniTool_Timer.hxx>
 
-//=======================================================================
-// function : MoniTool_TimerSentry
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline MoniTool_TimerSentry::MoniTool_TimerSentry(const Standard_CString cname)
     : myTimer(MoniTool_Timer::Timer(cname))
@@ -24,10 +21,7 @@ inline MoniTool_TimerSentry::MoniTool_TimerSentry(const Standard_CString cname)
   myTimer->Start();
 }
 
-//=======================================================================
-// function : MoniTool_TimerSentry
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline MoniTool_TimerSentry::MoniTool_TimerSentry(const Handle(MoniTool_Timer)& timer)
 {
@@ -46,20 +40,14 @@ inline MoniTool_TimerSentry::~MoniTool_TimerSentry()
     myTimer->Stop();
 }
 
-//=======================================================================
-// function : Timer
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Handle(MoniTool_Timer) MoniTool_TimerSentry::Timer() const
 {
   return myTimer;
 }
 
-//=======================================================================
-// function : Stop
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void MoniTool_TimerSentry::Stop()
 {
index ccbfc7ecf65b54196922a49dc1815c72abc9647b..d1f19b854de4c0b6721f5ce71fd8d393bf261b4a 100644 (file)
 // Alternatively, this file may be used under the terms of Open CASCADE
 // commercial license or contractual agreement.
 
-//=======================================================================
-// function : Result
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer& TransferBRep_TransferResultInfo::Result()
 {
   return myR;
 }
 
-//=======================================================================
-// function : ResultWarning
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer& TransferBRep_TransferResultInfo::ResultWarning()
 {
   return myRW;
 }
 
-//=======================================================================
-// function : ResultFail
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer& TransferBRep_TransferResultInfo::ResultFail()
 {
   return myRF;
 }
 
-//=======================================================================
-// function : ResultWarningFail
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer& TransferBRep_TransferResultInfo::ResultWarningFail()
 {
   return myRWF;
 }
 
-//=======================================================================
-// function : NoResult
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer& TransferBRep_TransferResultInfo::NoResult()
 {
   return myNR;
 }
 
-//=======================================================================
-// function : NoResultWarning
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer& TransferBRep_TransferResultInfo::NoResultWarning()
 {
   return myNRW;
 }
 
-//=======================================================================
-// function : NoResultFail
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer& TransferBRep_TransferResultInfo::NoResultFail()
 {
   return myNRF;
 }
 
-//=======================================================================
-// function : NoResultWarningFail
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer& TransferBRep_TransferResultInfo::NoResultWarningFail()
 {
index 6c6030d0c6bff58453f3b03e2f1c01a64a9482fa..f7920338459f1be602f0a7ee7b54acc3e094bec6 100644 (file)
 // Alternatively, this file may be used under the terms of Open CASCADE
 // commercial license or contractual agreement.
 
-//=======================================================================
-// function : SetSharedLocations
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline void XmlMXCAFDoc_LocationDriver::SetSharedLocations(
   const TopTools_LocationSetPtr& theLocations)
 {
index a940d3f9e3d45dc984f7693df4eb64907a605520..cc90604a5722a978c109c3613990952b57313732 100644 (file)
@@ -70,10 +70,7 @@ Standard_Boolean DDF::GetDF(Standard_CString&      Name,
   return Standard_False;
 }
 
-//=======================================================================
-// function : Find
-// purpose  : Finds an attribute.
-//=======================================================================
+//=================================================================================================
 
 Standard_Boolean DDF::Find(const Handle(TDF_Data)& DF,
                            const Standard_CString  Entry,
index f140854e4c8b9608c862f8b313586d014e6a1422..f582cc106c29a383e99d32470304d134ebcae5da 100644 (file)
@@ -35,10 +35,7 @@ static Handle(TDF_Delta)    DDF_LastDelta;
 // Transaction commands
 // ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 
-//=======================================================================
-// function : OpenTran
-// purpose  : Opens a transaction
-//=======================================================================
+//=================================================================================================
 
 static Standard_Integer OpenTran(Draw_Interpretor& di, Standard_Integer n, const char** a)
 {
@@ -55,10 +52,7 @@ static Standard_Integer OpenTran(Draw_Interpretor& di, Standard_Integer n, const
   return 0;
 }
 
-//=======================================================================
-// function : AbortTran
-// purpose  : Aborts a transaction
-//=======================================================================
+//=================================================================================================
 
 static Standard_Integer AbortTran(Draw_Interpretor& di, Standard_Integer n, const char** a)
 {
index fef9b17852ca9d672c10e2e4bd00e3810ae7658f..7917676b573db7a317a5ba9f3bb90576f19c97c9 100644 (file)
@@ -208,10 +208,7 @@ void DDataStd_DrawPresentation::BeforeForget()
     DrawErase(Label(), this);
 }
 
-//=======================================================================
-// function : AfterResume
-// purpose  : display if displayed
-//=======================================================================
+//=================================================================================================
 
 void DDataStd_DrawPresentation::AfterResume()
 {
index 59f1331ad9510c4d164f86b81bb7fa9c7238ade6..253f37dd9a6d9c487631286e1936b1f21a054ddf 100644 (file)
@@ -502,10 +502,7 @@ static Standard_Integer DDataStd_InitChildNodeIterator(Draw_Interpretor& di,
   return 1;
 }
 
-//=======================================================================
-// TreeNode : ChildNodeMore
-// purpose  : ChildNodeMore
-//=======================================================================
+//=================================================================================================
 
 static Standard_Integer DDataStd_ChildNodeMore(Draw_Interpretor& di,
                                                Standard_Integer /*n*/,
@@ -522,10 +519,7 @@ static Standard_Integer DDataStd_ChildNodeMore(Draw_Interpretor& di,
   return 0;
 }
 
-//=======================================================================
-// TreeNode : ChildNodeNext
-// purpose  : ChildNodeNext
-//=======================================================================
+//=================================================================================================
 
 static Standard_Integer DDataStd_ChildNodeNext(Draw_Interpretor& /*di*/,
                                                Standard_Integer /*n*/,
@@ -548,10 +542,7 @@ static Standard_Integer DDataStd_ChildNodeNextBrother(Draw_Interpretor& /*di*/,
   return 0;
 }
 
-//=======================================================================
-// TreeNode : ChildNodeValue
-// purpose  : ChildNodeValue
-//=======================================================================
+//=================================================================================================
 
 static Standard_Integer DDataStd_ChildNodeValue(Draw_Interpretor& di,
                                                 Standard_Integer /*n*/,
@@ -563,10 +554,7 @@ static Standard_Integer DDataStd_ChildNodeValue(Draw_Interpretor& di,
   return 0;
 }
 
-//=======================================================================
-// TreeNode : TreeCommands
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 void DDataStd::TreeCommands(Draw_Interpretor& theCommands)
 {
index 48be00a43854a608f440a60f39ee3230d4537d70..9557844ca0467421e7d4fc73ad253d5e478ba97d 100644 (file)
@@ -62,10 +62,8 @@ Standard_Boolean DNaming_Line3DDriver::MustExecute(const Handle(TFunction_Logboo
   return Standard_True;
 }
 
-//=======================================================================
-// function : Execute
-// purpose  : Execute the function
-//=======================================================================
+//=================================================================================================
+
 Standard_Integer DNaming_Line3DDriver::Execute(Handle(TFunction_Logbook)& theLog) const
 {
   Handle(TFunction_Function) aFunction;
index 5066fa2cccb93443aa9082c2d65fddae649a9d52..b8f89d2c6f0a6b223d72bfad56eee69f5ba92535 100644 (file)
 // Alternatively, this file may be used under the terms of Open CASCADE
 // commercial license or contractual agreement.
 
-//=======================================================================
-// function : Edge
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline const TopoDS_Edge& DBRep_Edge::Edge() const
 {
   return myEdge;
 }
 
-//=======================================================================
-// function : Edge
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void DBRep_Edge::Edge(const TopoDS_Edge& E)
 {
   myEdge = E;
 }
 
-//=======================================================================
-// function : Color
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline const Draw_Color& DBRep_Edge::Color() const
 {
   return myColor;
 }
 
-//=======================================================================
-// function : Color
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void DBRep_Edge::Color(const Draw_Color& C)
 {
index 1b25666be9ef550397f0da9ab87f61d588414f9c..5670ae4d042a2dabbfe028aacecbe9bc839425cd 100644 (file)
 // Alternatively, this file may be used under the terms of Open CASCADE
 // commercial license or contractual agreement.
 
-//=======================================================================
-// function : Face
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline const TopoDS_Face& DBRep_Face::Face() const
 {
   return myFace;
 }
 
-//=======================================================================
-// function : Face
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void DBRep_Face::Face(const TopoDS_Face& F)
 {
   myFace = F;
 }
 
-//=======================================================================
-// function : NbIsos
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer DBRep_Face::NbIsos() const
 {
   return myTypes.Upper();
 }
 
-//=======================================================================
-// function : Iso
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void DBRep_Face::Iso(const Standard_Integer I,
                             const GeomAbs_IsoType  T,
@@ -61,10 +49,7 @@ inline void DBRep_Face::Iso(const Standard_Integer I,
   myParams(3 * I)     = T2;
 }
 
-//=======================================================================
-// function : GetIso
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void DBRep_Face::GetIso(const Standard_Integer I,
                                GeomAbs_IsoType&       T,
@@ -81,20 +66,14 @@ inline void DBRep_Face::GetIso(const Standard_Integer I,
   T2  = myParams(3 * I);
 }
 
-//=======================================================================
-// function : Color
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline const Draw_Color& DBRep_Face::Color() const
 {
   return myColor;
 }
 
-//=======================================================================
-// function : Color
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void DBRep_Face::Color(const Draw_Color& C)
 {
index b156c3ecf0d061281e8fa394611cee0acceb1265..328971cb562fa2f60cef060058ac3405fe04c1e8 100644 (file)
@@ -873,10 +873,7 @@ static Standard_Integer hcolor(Draw_Interpretor& di, Standard_Integer n, const c
   return 0;
 }
 
-//=======================================================================
-// function : xwd
-// purpose  : xwd file from a view
-//=======================================================================
+//=================================================================================================
 
 extern void Draw_RepaintNowIfNecessary();
 
index b2a194ac2f16c4084d54eafd04eef61f714d159c..0afa9e2af5cfc425b41a98628b0cbb5b2369f4ec 100644 (file)
@@ -117,10 +117,8 @@ Standard_Real Draw_RGBColorsArray[MAXCOLOR][3] = {{1.0,  1.0,  1.0},
                                                   {0.94, 0.9,  0.55},
                                                   {1.0,  0.5,  0.31}};
 
-//=======================================================================
-//function : Draw_Window
-//purpose  :
-//=======================================================================
+//=================================================================================================
+
 Draw_Window::Draw_Window (const char* theTitle,
                           const NCollection_Vec2<int>& theXY,
                           const NCollection_Vec2<int>& theSize,
@@ -166,10 +164,8 @@ Draw_Window::~Draw_Window()
   }
 }
 
-//=======================================================================
-//function : init
-//purpose  :
-//=======================================================================
+//=================================================================================================
+
 void Draw_Window::init (const NCollection_Vec2<int>& theXY,
                         const NCollection_Vec2<int>& theSize)
 {
@@ -213,19 +209,15 @@ void Draw_Window::init (const NCollection_Vec2<int>& theXY,
   [myWindow setReleasedWhenClosed: NO];
 }
 
-//=======================================================================
-//function : InitBuffer
-//purpose  :
-//=======================================================================
+//=================================================================================================
+
 void Draw_Window::InitBuffer()
 {
   //
 }
 
-//=======================================================================
-//function : SetPosition
-//purpose  :
-//=======================================================================
+//=================================================================================================
+
 void Draw_Window::SetPosition (Standard_Integer theNewXpos,
                                Standard_Integer theNewYpos)
 {
@@ -233,10 +225,8 @@ void Draw_Window::SetPosition (Standard_Integer theNewXpos,
   [myWindow setFrameTopLeftPoint: aNewPosition];
 }
 
-//=======================================================================
-//function : SetDimension
-//purpose  :
-//=======================================================================
+//=================================================================================================
+
 void Draw_Window::SetDimension (Standard_Integer theNewWidth,
                                 Standard_Integer theNewHeight)
 {
@@ -247,10 +237,8 @@ void Draw_Window::SetDimension (Standard_Integer theNewWidth,
   [myWindow setFrame: aNewContentRect display: YES];
 }
 
-//=======================================================================
-//function : GetPosition
-//purpose  :
-//=======================================================================
+//=================================================================================================
+
 void Draw_Window::GetPosition (Standard_Integer &thePosX,
                                Standard_Integer &thePosY)
 {
@@ -259,30 +247,24 @@ void Draw_Window::GetPosition (Standard_Integer &thePosX,
   thePosY = getScreenBottom() - aWindowRect.origin.y - aWindowRect.size.height;
 }
 
-//=======================================================================
-//function : HeightWin
-//purpose  :
-//=======================================================================
+//=================================================================================================
+
 Standard_Integer Draw_Window::HeightWin() const
 {
   NSRect aViewBounds = [myView bounds];
   return aViewBounds.size.height;
 }
 
-//=======================================================================
-//function : WidthWin
-//purpose  :
-//=======================================================================
+//=================================================================================================
+
 Standard_Integer Draw_Window::WidthWin() const
 {
   NSRect aViewBounds = [myView bounds];
   return aViewBounds.size.width;
 }
 
-//=======================================================================
-//function : SetTitle
-//purpose  :
-//=======================================================================
+//=================================================================================================
+
 void Draw_Window::SetTitle (const TCollection_AsciiString& theTitle)
 {
   NSString* aTitleNs = [[NSString alloc] initWithUTF8String: theTitle.ToCString()];
@@ -290,29 +272,23 @@ void Draw_Window::SetTitle (const TCollection_AsciiString& theTitle)
   [aTitleNs release];
 }
 
-//=======================================================================
-//function : GetTitle
-//purpose  :
-//=======================================================================
+//=================================================================================================
+
 TCollection_AsciiString Draw_Window::GetTitle() const
 {
   Standard_CString aTitle = [[myWindow title] UTF8String];
   return TCollection_AsciiString (aTitle);
 }
 
-//=======================================================================
-//function :DefineColor
-//purpose  :
-//=======================================================================
+//=================================================================================================
+
 Standard_Boolean Draw_Window::DefineColor (const Standard_Integer , Standard_CString )
 {
   return Standard_True; // unused
 }
 
-//=======================================================================
-//function : IsMapped
-//purpose  :
-//=======================================================================
+//=================================================================================================
+
 bool Draw_Window::IsMapped() const
 {
   if (Draw_VirtualWindows
@@ -324,10 +300,8 @@ bool Draw_Window::IsMapped() const
   return [myWindow isVisible];
 }
 
-//=======================================================================
-//function : DisplayWindow
-//purpose  :
-//=======================================================================
+//=================================================================================================
+
 void Draw_Window::DisplayWindow()
 {
   if (Draw_VirtualWindows)
@@ -341,10 +315,8 @@ void Draw_Window::DisplayWindow()
   }
 }
 
-//=======================================================================
-//function : Hide
-//purpose  :
-//=======================================================================
+//=================================================================================================
+
 void Draw_Window::Hide()
 {
   if (myWindow != NULL)
@@ -353,10 +325,8 @@ void Draw_Window::Hide()
   }
 }
 
-//=======================================================================
-//function : Destroy
-//purpose  :
-//=======================================================================
+//=================================================================================================
+
 void Draw_Window::Destroy()
 {  
   if (myWindow != NULL)
@@ -378,10 +348,8 @@ void Draw_Window::Destroy()
   }
 }
 
-//=======================================================================
-//function : Clear
-//purpose  :
-//=======================================================================
+//=================================================================================================
+
 void Draw_Window::Clear()
 {
   [myImageBuffer lockFocus];
@@ -396,19 +364,15 @@ void Draw_Window::Clear()
   }
 }
 
-//=======================================================================
-//function : Flush
-//purpose  :
-//=======================================================================
+//=================================================================================================
+
 void Draw_Window::Flush()
 {
   //
 }
 
-//=======================================================================
-//function : DrawString
-//purpose  :
-//=======================================================================
+//=================================================================================================
+
 void Draw_Window::DrawString (Standard_Integer theXLeft, Standard_Integer theYTop,
                               const char* theText)
 {
@@ -431,10 +395,8 @@ void Draw_Window::DrawString (Standard_Integer theXLeft, Standard_Integer theYTo
   }
 }
 
-//=======================================================================
-//function : DrawSegments
-//purpose  :
-//=======================================================================
+//=================================================================================================
+
 void Draw_Window::DrawSegments (const Draw_XSegment* theSegments,
                                 Standard_Integer theNumberOfElements)
 {
@@ -484,10 +446,8 @@ void Draw_Window::DrawSegments (const Draw_XSegment* theSegments,
   Draw_IsInZoomingMode = Standard_False;
 }
 
-//=======================================================================
-//function : Redraw
-//purpose  :
-//=======================================================================
+//=================================================================================================
+
 void Draw_Window::Redraw()
 {
   if (myUseBuffer)
@@ -496,29 +456,23 @@ void Draw_Window::Redraw()
   }
 }
 
-//=======================================================================
-//function : SetColor
-//purpose  :
-//=======================================================================
+//=================================================================================================
+
 void Draw_Window::SetColor (Standard_Integer theColor)
 {
   myCurrentColor = theColor;
 }
 
-//=======================================================================
-//function : SetMode
-//purpose  :
-//=======================================================================
+//=================================================================================================
+
 void Draw_Window::SetMode (Standard_Integer theMode)
 {
   // unsupported
   (void )theMode;
 }
 
-//=======================================================================
-//function : Save
-//purpose  :
-//=======================================================================
+//=================================================================================================
+
 Standard_Boolean Draw_Window::Save (Standard_CString theFileName) const
 {
   Cocoa_LocalPool aLocalPool;
index 532c9379349a64fb30b6d91aaddfd5dad2196ccb..bedc8748e773b489a008485cea44edc6cf89561d 100644 (file)
@@ -1271,10 +1271,8 @@ static Standard_Integer VtkSelect(Draw_Interpretor&,
   return 0;
 }
 
-//===================================================================
-// Fubction  : VtkViewProj
-// Purpose   :
-//===================================================================
+//=================================================================================================
+
 static Standard_Integer VtkViewProj(Draw_Interpretor&,
                                     Standard_Integer theNbArgs,
                                     const char**     theArgVec)
@@ -1507,10 +1505,8 @@ static int VtkCamera(Draw_Interpretor& theDI, Standard_Integer theArgsNb, const
   return 0;
 }
 
-//===================================================================
-// Fubction  : VtkDump
-// Purpose   :
-//===================================================================
+//=================================================================================================
+
 static Standard_Integer VtkDump(Draw_Interpretor&, Standard_Integer theArgNum, const char** theArgs)
 {
   if (!GetInteractor() || !GetInteractor()->IsEnabled())
@@ -1654,10 +1650,8 @@ static Standard_Integer VtkDump(Draw_Interpretor&, Standard_Integer theArgNum, c
   return 0;
 }
 
-//===================================================================
-// Fubction  : VtkBackgroundColor
-// Purpose   :
-//===================================================================
+//=================================================================================================
+
 static Standard_Integer VtkBackgroundColor(Draw_Interpretor&,
                                            Standard_Integer theArgNum,
                                            const char**     theArgs)
index 3abfd49a8bf91e0f61eb09e89cd7d0c49a195a9e..6253ca9432f638882d55af374ac3984171f635c5 100644 (file)
@@ -272,10 +272,7 @@ static void CollectAttachment(const TDF_Label&              root,
   }
 }
 
-//=======================================================================
-// function : Attachment
-// purpose  : Attachment DF entry
-//=======================================================================
+//=================================================================================================
 
 static Standard_Integer QADNaming_Attachment(Draw_Interpretor& di,
                                              Standard_Integer  n,
index 74a2123617412128819dc59c71e5f6ee05fc83da..37c98c844cf140527f5d4036396e0596df35e7f3 100644 (file)
@@ -93,10 +93,8 @@ void BOPTest::CheckCommands(Draw_Interpretor& theCommands)
                   g);
 }
 
-//=======================================================================
-// class    : BOPTest_Interf
-// purpose  : Auxiliary class
-//=======================================================================
+//=================================================================================================
+
 class BOPTest_Interf
 {
 public:
index fe28f5a653f2b449c0d0376c32a935a5dcdd0fac..8782b7436656dd021bcd8b61653a1a2e0dd780d7 100644 (file)
 // Alternatively, this file may be used under the terms of Open CASCADE
 // commercial license or contractual agreement.
 
-//=======================================================================
-// function : Show
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void HLRTest_DrawablePolyEdgeTool::Show()
 {
   myHideMode = Standard_False;
 }
 
-//=======================================================================
-// function : Hide
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void HLRTest_DrawablePolyEdgeTool::Hide()
 {
   myHideMode = Standard_True;
 }
 
-//=======================================================================
-// function : DisplayRg1Line
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void HLRTest_DrawablePolyEdgeTool::DisplayRg1Line(const Standard_Boolean B)
 {
   myDispRg1 = B;
 }
 
-//=======================================================================
-// function : DisplayRg1Line
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean HLRTest_DrawablePolyEdgeTool::DisplayRg1Line() const
 {
   return myDispRg1;
 }
 
-//=======================================================================
-// function : DisplayRgNLine
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void HLRTest_DrawablePolyEdgeTool::DisplayRgNLine(const Standard_Boolean B)
 {
   myDispRgN = B;
 }
 
-//=======================================================================
-// function : DisplayRgNLine
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean HLRTest_DrawablePolyEdgeTool::DisplayRgNLine() const
 {
   return myDispRgN;
 }
 
-//=======================================================================
-// function : DisplayHidden
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void HLRTest_DrawablePolyEdgeTool::DisplayHidden(const Standard_Boolean B)
 {
   myDispHid = B;
 }
 
-//=======================================================================
-// function : DisplayHidden
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean HLRTest_DrawablePolyEdgeTool::DisplayHidden() const
 {
   return myDispHid;
 }
 
-//=======================================================================
-// function : Debug
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void HLRTest_DrawablePolyEdgeTool::Debug(const Standard_Boolean B)
 {
   myDebug = B;
 }
 
-//=======================================================================
-// function : Debug
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean HLRTest_DrawablePolyEdgeTool::Debug() const
 {
index 2c4a90cc78aede5faa004bc7db06f066c493679b..5166e797f5de5006959346c90030bee1fedd8d9f 100644 (file)
 // Alternatively, this file may be used under the terms of Open CASCADE
 // commercial license or contractual agreement.
 
-//=======================================================================
-// function : OutLiner
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Handle(HLRTopoBRep_OutLiner) HLRTest_OutLiner::OutLiner() const
 {
index 54e9033585d9e5045083f3e35a4d65bbdfd58683..8801ad47f2f5968b39fa7524bb39aef833d1753f 100644 (file)
 // Alternatively, this file may be used under the terms of Open CASCADE
 // commercial license or contractual agreement.
 
-//=======================================================================
-// function : VisibleColor
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void HLRTest_ShapeData::VisibleColor(const Draw_Color& CVis)
 {
   myVColor = CVis;
 }
 
-//=======================================================================
-// function : VisibleOutLineColor
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void HLRTest_ShapeData::VisibleOutLineColor(const Draw_Color& COVis)
 {
   myVOColor = COVis;
 }
 
-//=======================================================================
-// function : VisibleIsoColor
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void HLRTest_ShapeData::VisibleIsoColor(const Draw_Color& CIVis)
 {
   myVIColor = CIVis;
 }
 
-//=======================================================================
-// function : HiddenColor
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void HLRTest_ShapeData::HiddenColor(const Draw_Color& CHid)
 {
   myHColor = CHid;
 }
 
-//=======================================================================
-// function : HiddenOutLineColor
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void HLRTest_ShapeData::HiddenOutLineColor(const Draw_Color& COHid)
 {
   myHOColor = COHid;
 }
 
-//=======================================================================
-// function : HiddenIsoColor
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void HLRTest_ShapeData::HiddenIsoColor(const Draw_Color& CIHid)
 {
   myHIColor = CIHid;
 }
 
-//=======================================================================
-// function : VisibleColor
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Draw_Color HLRTest_ShapeData::VisibleColor() const
 {
   return myVColor;
 }
 
-//=======================================================================
-// function : VisibleOutLineColor
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Draw_Color HLRTest_ShapeData::VisibleOutLineColor() const
 {
   return myVOColor;
 }
 
-//=======================================================================
-// function : VisibleIsoColor
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Draw_Color HLRTest_ShapeData::VisibleIsoColor() const
 {
   return myVIColor;
 }
 
-//=======================================================================
-// function : HiddenColor
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Draw_Color HLRTest_ShapeData::HiddenColor() const
 {
   return myHColor;
 }
 
-//=======================================================================
-// function : HiddenOutLineColor
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Draw_Color HLRTest_ShapeData::HiddenOutLineColor() const
 {
   return myHOColor;
 }
 
-//=======================================================================
-// function : HiddenIsoColor
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Draw_Color HLRTest_ShapeData::HiddenIsoColor() const
 {
index 00337769a4a691d3c5b8a5cf9619801e93e468f0..6ba2c63ef2dd7a896b5795335d41e19d0a8ea873 100644 (file)
@@ -46,10 +46,8 @@ extern void ActivateView (const TCollection_AsciiString& theViewName,
 
 extern NCollection_DoubleMap <TCollection_AsciiString, Handle(V3d_View)> ViewerTest_myViews;
 
-// =======================================================================
-// function : GetCocoaScreenResolution
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 void GetCocoaScreenResolution (Standard_Integer& theWidth, Standard_Integer& theHeight)
 {
   NSRect aRect = [[NSScreen mainScreen] visibleFrame];
@@ -57,10 +55,8 @@ void GetCocoaScreenResolution (Standard_Integer& theWidth, Standard_Integer& the
   theHeight = (Standard_Integer )aRect.size.height;
 }
 
-// =======================================================================
-// function : FindViewId
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 TCollection_AsciiString FindViewId (const NSWindow* theWindow)
 {
   TCollection_AsciiString aViewId = "";
@@ -100,20 +96,16 @@ TCollection_AsciiString FindViewId (const NSWindow* theWindow)
 
 @end
 
-// =======================================================================
-// function : ViewerMainLoop
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 int ViewerMainLoop (Standard_Integer, const char** )
 {
   // unused
   return 0;
 }
 
-// =======================================================================
-// function : ViewerTest_SetCocoaEventManagerView
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 void ViewerTest_SetCocoaEventManagerView (const Handle(Cocoa_Window)& theWindow)
 {
   if (theWindow.IsNull())
@@ -180,20 +172,16 @@ static Aspect_VKeyFlags getMouseKeyFlags (NSEvent* theEvent)
 
 @implementation ViewerTest_CocoaEventManagerView
 
-// =======================================================================
-// function : setFrameSize
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 - (void )setFrameSize: (NSSize )theNewSize
 {
   [super setFrameSize: theNewSize];
   ViewerTest::CurrentEventManager()->ProcessConfigure();
 }
 
-// =======================================================================
-// function : drawRect
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 - (void )drawRect: (NSRect )theDirtyRect
 {
   (void )theDirtyRect;
@@ -203,10 +191,8 @@ static Aspect_VKeyFlags getMouseKeyFlags (NSEvent* theEvent)
   }
 }
 
-// =======================================================================
-// function : mouseMoved
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 - (void )mouseMoved: (NSEvent* )theEvent
 {
   const Graphic3d_Vec2i  aPos   = getMouseCoords (self, theEvent);
@@ -216,19 +202,15 @@ static Aspect_VKeyFlags getMouseKeyFlags (NSEvent* theEvent)
   ViewerTest::CurrentEventManager()->FlushViewEvents (ViewerTest::GetAISContext(), ViewerTest::CurrentView(), true);
 }
 
-// =======================================================================
-// function : acceptsFirstResponder
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 - (BOOL )acceptsFirstResponder
 {
   return YES;
 }
 
-// =======================================================================
-// function : mouseDown
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 - (void )mouseDown: (NSEvent* )theEvent
 {
   const Graphic3d_Vec2i  aPos   = getMouseCoords (self, theEvent);
@@ -237,10 +219,8 @@ static Aspect_VKeyFlags getMouseKeyFlags (NSEvent* theEvent)
   ViewerTest::CurrentEventManager()->FlushViewEvents (ViewerTest::GetAISContext(), ViewerTest::CurrentView(), true);
 }
 
-// =======================================================================
-// function : mouseUp
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 - (void )mouseUp: (NSEvent* )theEvent
 {
   const Graphic3d_Vec2i  aPos   = getMouseCoords (self, theEvent);
@@ -249,10 +229,8 @@ static Aspect_VKeyFlags getMouseKeyFlags (NSEvent* theEvent)
   ViewerTest::CurrentEventManager()->FlushViewEvents (ViewerTest::GetAISContext(), ViewerTest::CurrentView(), true);
 }
 
-// =======================================================================
-// function : mouseDragged
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 - (void )mouseDragged: (NSEvent* )theEvent
 {
   const Graphic3d_Vec2i  aPos   = getMouseCoords (self, theEvent);
@@ -262,10 +240,8 @@ static Aspect_VKeyFlags getMouseKeyFlags (NSEvent* theEvent)
   ViewerTest::CurrentEventManager()->FlushViewEvents (ViewerTest::GetAISContext(), ViewerTest::CurrentView(), true);
 }
 
-// =======================================================================
-// function : rightMouseDown
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 - (void )rightMouseDown: (NSEvent* )theEvent
 {
   const Graphic3d_Vec2i  aPos   = getMouseCoords (self, theEvent);
@@ -274,10 +250,8 @@ static Aspect_VKeyFlags getMouseKeyFlags (NSEvent* theEvent)
   ViewerTest::CurrentEventManager()->FlushViewEvents (ViewerTest::GetAISContext(), ViewerTest::CurrentView(), true);
 }
 
-// =======================================================================
-// function : rightMouseUp
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 - (void )rightMouseUp: (NSEvent* )theEvent
 {
   const Graphic3d_Vec2i  aPos   = getMouseCoords (self, theEvent);
@@ -286,10 +260,8 @@ static Aspect_VKeyFlags getMouseKeyFlags (NSEvent* theEvent)
   ViewerTest::CurrentEventManager()->FlushViewEvents (ViewerTest::GetAISContext(), ViewerTest::CurrentView(), true);
 }
 
-// =======================================================================
-// function : rightMouseDragged
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 - (void )rightMouseDragged: (NSEvent* )theEvent
 {
   const Graphic3d_Vec2i  aPos   = getMouseCoords (self, theEvent);
@@ -299,10 +271,8 @@ static Aspect_VKeyFlags getMouseKeyFlags (NSEvent* theEvent)
   ViewerTest::CurrentEventManager()->FlushViewEvents (ViewerTest::GetAISContext(), ViewerTest::CurrentView(), true);
 }
 
-// =======================================================================
-// function : scrollWheel
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 - (void )scrollWheel: (NSEvent* )theEvent
 {
   const Graphic3d_Vec2i  aPos   = getMouseCoords (self, theEvent);
@@ -319,10 +289,8 @@ static Aspect_VKeyFlags getMouseKeyFlags (NSEvent* theEvent)
   ViewerTest::CurrentEventManager()->FlushViewEvents (ViewerTest::GetAISContext(), ViewerTest::CurrentView(), true);
 }
 
-// =======================================================================
-// function : keyDown
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 - (void )keyDown: (NSEvent* )theEvent
 {
   unsigned int aKeyCode = [theEvent keyCode];
@@ -341,10 +309,8 @@ static Aspect_VKeyFlags getMouseKeyFlags (NSEvent* theEvent)
   //}
 }
 
-// =======================================================================
-// function : keyUp
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 - (void )keyUp: (NSEvent* )theEvent
 {
   unsigned int aKeyCode = [theEvent keyCode];
index 6a5fe17ed993b37b419383acd2e967f98a047f23..935a4cdeaa50854570aa68c976fdf3e9627215cf 100644 (file)
@@ -1093,10 +1093,8 @@ static Standard_Integer noteGetNotes(Draw_Interpretor& di, Standard_Integer argc
   return 0;
 }
 
-//=======================================================================
-// function : noteUsername
-// purpose  : gets a note username
-//=======================================================================
+//=================================================================================================
+
 static const cmd XNoteUsername = {"XNoteUsername", 3, "XNoteUsername Doc note"};
 
 static Standard_Integer noteUsername(Draw_Interpretor& di, Standard_Integer argc, const char** argv)
@@ -1189,10 +1187,8 @@ static Standard_Integer noteTimestamp(Draw_Interpretor& di,
   return 0;
 }
 
-//=======================================================================
-// function : noteDump
-// purpose  : dump a note contents
-//=======================================================================
+//=================================================================================================
+
 static const cmd XNoteDump = {"XNoteDump", 3, "XNoteDump Doc note"};
 
 static Standard_Integer noteDump(Draw_Interpretor& di, Standard_Integer argc, const char** argv)
index 9769cc524384dfb3b198d026b9a487dffa4f7420..c75f7a817dd4967c5cfe9a67168ae653ee3204ac 100644 (file)
 #include <TColgp_Array1OfPnt.hxx>
 #include <TColgp_Array1OfPnt2d.hxx>
 
-//=======================================================================
-// function : MaxDegree
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer BSplCLib::MaxDegree()
 {
   return 25;
 }
 
-//=======================================================================
-// function : NoWeights
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline TColStd_Array1OfReal* BSplCLib::NoWeights()
 {
   return NULL;
 }
 
-//=======================================================================
-// function : NoMults
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline TColStd_Array1OfInteger* BSplCLib::NoMults()
 {
   return NULL;
 }
 
-//=======================================================================
-// function : CoefsD0
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void BSplCLib::CoefsD0(const Standard_Real         U,
                               const TColgp_Array1OfPnt&   Poles,
@@ -61,10 +49,7 @@ inline void BSplCLib::CoefsD0(const Standard_Real         U,
   BSplCLib::CacheD0(U, Poles.Length() - 1, 0., 1., Poles, Weights, P);
 }
 
-//=======================================================================
-// function : CoefsD0
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void BSplCLib::CoefsD0(const Standard_Real         U,
                               const TColgp_Array1OfPnt2d& Poles,
@@ -74,10 +59,7 @@ inline void BSplCLib::CoefsD0(const Standard_Real         U,
   BSplCLib::CacheD0(U, Poles.Length() - 1, 0., 1., Poles, Weights, P);
 }
 
-//=======================================================================
-// function : CoefsD1
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void BSplCLib::CoefsD1(const Standard_Real         U,
                               const TColgp_Array1OfPnt&   Poles,
@@ -88,10 +70,7 @@ inline void BSplCLib::CoefsD1(const Standard_Real         U,
   BSplCLib::CacheD1(U, Poles.Length() - 1, 0., 1., Poles, Weights, P, Vec);
 }
 
-//=======================================================================
-// function : CoefsD1
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void BSplCLib::CoefsD1(const Standard_Real         U,
                               const TColgp_Array1OfPnt2d& Poles,
@@ -102,10 +81,7 @@ inline void BSplCLib::CoefsD1(const Standard_Real         U,
   BSplCLib::CacheD1(U, Poles.Length() - 1, 0., 1., Poles, Weights, P, Vec);
 }
 
-//=======================================================================
-// function : CoefsD2
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void BSplCLib::CoefsD2(const Standard_Real         U,
                               const TColgp_Array1OfPnt&   Poles,
@@ -117,10 +93,7 @@ inline void BSplCLib::CoefsD2(const Standard_Real         U,
   BSplCLib::CacheD2(U, Poles.Length() - 1, 0., 1., Poles, Weights, P, Vec1, Vec2);
 }
 
-//=======================================================================
-// function : CoefsD2
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void BSplCLib::CoefsD2(const Standard_Real         U,
                               const TColgp_Array1OfPnt2d& Poles,
@@ -132,10 +105,7 @@ inline void BSplCLib::CoefsD2(const Standard_Real         U,
   BSplCLib::CacheD2(U, Poles.Length() - 1, 0., 1., Poles, Weights, P, Vec1, Vec2);
 }
 
-//=======================================================================
-// function : CoefsD3
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void BSplCLib::CoefsD3(const Standard_Real         U,
                               const TColgp_Array1OfPnt&   Poles,
@@ -148,10 +118,7 @@ inline void BSplCLib::CoefsD3(const Standard_Real         U,
   BSplCLib::CacheD3(U, Poles.Length() - 1, 0., 1., Poles, Weights, P, Vec1, Vec2, Vec3);
 }
 
-//=======================================================================
-// function : CoefsD3
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void BSplCLib::CoefsD3(const Standard_Real         U,
                               const TColgp_Array1OfPnt2d& Poles,
@@ -164,10 +131,7 @@ inline void BSplCLib::CoefsD3(const Standard_Real         U,
   BSplCLib::CacheD3(U, Poles.Length() - 1, 0., 1., Poles, Weights, P, Vec1, Vec2, Vec3);
 }
 
-//=======================================================================
-// function : PolesCoefficients
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void BSplCLib::PolesCoefficients(const TColgp_Array1OfPnt& Poles,
                                         TColgp_Array1OfPnt&       CachePoles)
@@ -175,10 +139,7 @@ inline void BSplCLib::PolesCoefficients(const TColgp_Array1OfPnt& Poles,
   BSplCLib::PolesCoefficients(Poles, PLib::NoWeights(), CachePoles, PLib::NoWeights());
 }
 
-//=======================================================================
-// function : PolesCoefficients
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void BSplCLib::PolesCoefficients(const TColgp_Array1OfPnt2d& Poles,
                                         TColgp_Array1OfPnt2d&       CachePoles)
index c0341287ecc18739279ced9afcd512b6b826e47f..152210972cd5760fe2eb8294f5079096f58319cf 100644 (file)
@@ -46,10 +46,8 @@ struct BSplCLib_DataContainer
   Standard_Real ders[Dimension_gen*4];
 };
 
-//=======================================================================
-//function : Reverse
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 
 void  BSplCLib::Reverse(Array1OfPoints& Poles,
                        const Standard_Integer L)
@@ -73,10 +71,8 @@ void  BSplCLib::Reverse(Array1OfPoints& Poles,
 // CURVES MODIFICATIONS
 //
 
-//=======================================================================
-//function : RemoveKnot
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 
 Standard_Boolean BSplCLib::RemoveKnot 
 (const Standard_Integer         Index,       
@@ -152,10 +148,8 @@ void BSplCLib::InsertKnots
   else          PLib::GetPoles(newpoles,NewPoles);
 }
 
-//=======================================================================
-//function : InsertKnot
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 
 void  BSplCLib::InsertKnot(const Standard_Integer , 
                           const Standard_Real U,
@@ -179,10 +173,8 @@ void  BSplCLib::InsertKnot(const Standard_Integer ,
              k,&m,NewPoles,NewWeights,nk,nm,Epsilon(U));
 }
 
-//=======================================================================
-//function : RaiseMultiplicity
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 
 void  BSplCLib::RaiseMultiplicity(const Standard_Integer KnotIndex,
                                  const Standard_Integer Mult,
@@ -205,10 +197,8 @@ void  BSplCLib::RaiseMultiplicity(const Standard_Integer KnotIndex,
              k,&m,NewPoles,NewWeights,nk,nm,Epsilon(k(1)));
 }
 
-//=======================================================================
-//function : IncreaseDegree
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 
 void BSplCLib::IncreaseDegree 
 (const Standard_Integer          Degree,
@@ -241,10 +231,8 @@ void BSplCLib::IncreaseDegree
   else          PLib::GetPoles(newpoles,NewPoles);
 }
 
-//=======================================================================
-//function : Unperiodize
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 
 void  BSplCLib::Unperiodize
 (const Standard_Integer         Degree, 
@@ -275,10 +263,8 @@ void  BSplCLib::Unperiodize
   else          PLib::GetPoles(newpoles,NewPoles);
 }
 
-//=======================================================================
-//function : Trimming
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 
 void BSplCLib::Trimming(const Standard_Integer         Degree, 
                        const Standard_Boolean         Periodic,
@@ -408,10 +394,8 @@ static void PrepareEval
   }
 }
 
-//=======================================================================
-//function : D0
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 
 void BSplCLib::D0 
 (const Standard_Real            U,                  
@@ -440,10 +424,8 @@ void BSplCLib::D0
     CoordsToPoint (P, dc.poles, );
 }
 
-//=======================================================================
-//function : D1
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 
 void BSplCLib::D1
 (const Standard_Real            U,                  
@@ -473,10 +455,8 @@ void BSplCLib::D1
   CoordsToPoint (V, result + Dimension_gen, );
 }
 
-//=======================================================================
-//function : D2
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 
 void BSplCLib::D2
 (const Standard_Real            U,                  
@@ -511,10 +491,8 @@ void BSplCLib::D2
     CoordsToPoint (V2, result + 2 * Dimension_gen, );  
 }
 
-//=======================================================================
-//function : D3
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 
 void BSplCLib::D3
 (const Standard_Real            U,                  
@@ -554,10 +532,8 @@ void BSplCLib::D3
     CoordsToPoint (V3, result + 3 * Dimension_gen, );  
 }
 
-//=======================================================================
-//function : DN
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 
 void BSplCLib::DN
 (const Standard_Real            U,                  
@@ -593,10 +569,8 @@ void BSplCLib::DN
   }
 }
 
-//=======================================================================
-//function : Solves a LU factored Matrix 
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 
 Standard_Integer 
 BSplCLib::SolveBandedSystem(const math_Matrix&  Matrix,
@@ -1154,10 +1128,8 @@ void BSplCLib::BuildCache(const Standard_Real          theParameter,
     theCacheArray.SetValue(theCacheArray.LowerRow(), theCacheArray.LowerCol() + aCacheShift - 1, 1.0);
 }
 
-//=======================================================================
-//function : Interpolate
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 
 void  BSplCLib::Interpolate(const Standard_Integer         Degree,
                            const TColStd_Array1OfReal&    FlatKnots,
@@ -1180,10 +1152,8 @@ void  BSplCLib::Interpolate(const Standard_Integer         Degree,
                        InversionProblem) ;
 }
 
-//=======================================================================
-//function : Interpolate
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 
 void  BSplCLib::Interpolate(const Standard_Integer         Degree,
                            const TColStd_Array1OfReal&    FlatKnots,
@@ -1334,10 +1304,8 @@ void BSplCLib::MovePoint (const Standard_Real            U,
 //           given  u as parameter) to reach a new position
 //=======================================================================
 
-//=======================================================================
-//function : MovePointAndTangent
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 
 void BSplCLib::MovePointAndTangent (const Standard_Real      U, 
                                    const Vector&            Delta,
@@ -1383,10 +1351,8 @@ void BSplCLib::MovePointAndTangent (const Standard_Real      U,
                      ErrorStatus) ;
 }
 
-//=======================================================================
-//function : Resolution
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 
 void BSplCLib::Resolution(const Array1OfPoints&          Poles,  
                          const TColStd_Array1OfReal*    Weights,
@@ -1408,10 +1374,8 @@ void BSplCLib::Resolution(const Array1OfPoints&          Poles,
                       UTolerance) ;
 }
 
-//=======================================================================
-//function : FunctionMultiply
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 
 void BSplCLib::FunctionMultiply
 (const BSplCLib_EvaluatorFunction & FunctionPtr,
@@ -1447,10 +1411,8 @@ void BSplCLib::FunctionMultiply
                             theStatus);
 }
 
-//=======================================================================
-//function : FunctionReparameterise
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 
 void BSplCLib::FunctionReparameterise
 (const BSplCLib_EvaluatorFunction & FunctionPtr,
index ae788f541266efc419e821b1e50cade9215597a0..57e3390b3df7c39c685a0070c8d5c8e730ccc8d0 100644 (file)
 #include <TColgp_Array2OfPnt.hxx>
 #include <TColStd_Array2OfReal.hxx>
 
-//=======================================================================
-// function : CoefsD0
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void BSplSLib::CoefsD0(const Standard_Real         U,
                               const Standard_Real         V,
@@ -42,10 +39,7 @@ inline void BSplSLib::CoefsD0(const Standard_Real         U,
                     Point);
 }
 
-//=======================================================================
-// function : CoefsD1
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void BSplSLib::CoefsD1(const Standard_Real         U,
                               const Standard_Real         V,
@@ -70,10 +64,7 @@ inline void BSplSLib::CoefsD1(const Standard_Real         U,
                     VecV);
 }
 
-//=======================================================================
-// function : CoefsD2
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void BSplSLib::CoefsD2(const Standard_Real         U,
                               const Standard_Real         V,
@@ -104,10 +95,7 @@ inline void BSplSLib::CoefsD2(const Standard_Real         U,
                     VecVV);
 }
 
-//=======================================================================
-// function : PolesCoefficients
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void BSplSLib::PolesCoefficients(const TColgp_Array2OfPnt& Poles,
                                         TColgp_Array2OfPnt&       CachePoles)
@@ -115,10 +103,7 @@ inline void BSplSLib::PolesCoefficients(const TColgp_Array2OfPnt& Poles,
   BSplSLib::PolesCoefficients(Poles, BSplSLib::NoWeights(), CachePoles, BSplSLib::NoWeights());
 }
 
-//=======================================================================
-// function : NoWeights
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline TColStd_Array2OfReal* BSplSLib::NoWeights()
 {
index 0e90770a62a17aac8e01baa2eff4838a497f10be..b35bca87dff51dd2b7364dc361f7afecd6f30fa2 100644 (file)
@@ -196,10 +196,8 @@ void EstimateSAH(const BVH_Tree<T, N, BVH_BinaryTree>* theTree,
 }
 } // namespace BVH
 
-// =======================================================================
-// function : EstimateSAH
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 template <class T, int N>
 T BVH_Tree<T, N, BVH_BinaryTree>::EstimateSAH() const
 {
@@ -208,10 +206,8 @@ T BVH_Tree<T, N, BVH_BinaryTree>::EstimateSAH() const
   return aSAH;
 }
 
-// =======================================================================
-// function : CollapseToQuadTree
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 template <class T, int N>
 BVH_Tree<T, N, BVH_QuadTree>* BVH_Tree<T, N, BVH_BinaryTree>::CollapseToQuadTree() const
 {
index 29721d883f1724f7d0d658d600d21b84a0937c66..e7b88d493b9951b2f03d6d8a0ad82df37aadc2ef 100644 (file)
@@ -98,10 +98,8 @@ private:
   // clang-format on
 };
 
-// =======================================================================
-// function : getSubVolumes
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 template <class T, int N, int Bins>
 void BVH_BinnedBuilder<T, N, Bins>::getSubVolumes(BVH_Set<T, N>*         theSet,
                                                   BVH_Tree<T, N>*        theBVH,
@@ -210,10 +208,8 @@ struct BVH_AxisSelector<T, 2>
 };
 } // namespace BVH
 
-// =======================================================================
-// function : buildNode
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 template <class T, int N, int Bins>
 typename BVH_QueueBuilder<T, N>::BVH_ChildNodes BVH_BinnedBuilder<T, N, Bins>::buildNode(
   BVH_Set<T, N>*         theSet,
index 2bae241ffe5a04f48b0af57b66bf11496ec6ca3c..08620d5ef57d91a63984baea3f48921632e7a1b2 100644 (file)
@@ -517,10 +517,8 @@ struct BoxMinMax<T, 2>
 };
 } // namespace BVH
 
-// =======================================================================
-// function : Combine
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 template <class T, int N>
 void BVH_Box<T, N>::Combine(const BVH_Box& theBox)
 {
@@ -540,10 +538,8 @@ void BVH_Box<T, N>::Combine(const BVH_Box& theBox)
   }
 }
 
-// =======================================================================
-// function : Area
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 template <class T, int N>
 T BVH_Box<T, N>::Area() const
 {
@@ -551,10 +547,8 @@ T BVH_Box<T, N>::Area() const
                      : BVH::SurfaceCalculator<T, N>::Area(myMaxPoint - myMinPoint);
 }
 
-// =======================================================================
-// function : Center
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 template <class T, int N>
 T BVH_Box<T, N>::Center(const Standard_Integer theAxis) const
 {
index bc6febeefa7155a24d32142b3c4eb051e2e86732..a61c5ae236c2a1e6f7f69a506b17de0b51433724 100644 (file)
 #include <OSD_Parallel.hxx>
 #include <BVH_Distance.hxx>
 
-// =======================================================================
-// function : BVH_DistanceField
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 template <class T, int N>
 BVH_DistanceField<T, N>::BVH_DistanceField(const Standard_Integer theMaximumSize,
                                            const Standard_Boolean theComputeSign)
index fa73be11972340a2225507cc572cd32a3c06ab89..3a7eed183eaf0395f52f9261d08532ba7f22f325 100644 (file)
@@ -67,10 +67,8 @@ protected:
                               Standard_Integer                           theDigit) const;
 };
 
-// =======================================================================
-// function : BVH_LinearBuilder
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 template <class T, int N>
 BVH_LinearBuilder<T, N>::BVH_LinearBuilder(const Standard_Integer theLeafNodeSize,
                                            const Standard_Integer theMaxTreeDepth)
@@ -306,10 +304,8 @@ private:
 };
 } // namespace BVH
 
-// =======================================================================
-// function : Build
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 template <class T, int N>
 void BVH_LinearBuilder<T, N>::Build(BVH_Set<T, N>*       theSet,
                                     BVH_Tree<T, N>*      theBVH,
index b715e6e9055bfbda06024c5ca5d1b52026ac1fb4..cba39c554092c1a624b1bb1a74e05ba0d2f1a86b 100644 (file)
@@ -161,10 +161,8 @@ struct UnitVector<T, 4>
 };
 } // namespace BVH
 
-// =======================================================================
-// function : SetTransform
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 template <class T, int N>
 void BVH_Transform<T, N>::SetTransform(const BVH_MatNt& theTransform)
 {
@@ -172,10 +170,8 @@ void BVH_Transform<T, N>::SetTransform(const BVH_MatNt& theTransform)
   BVH::MatrixOp<T, N>::Inverse(myTransform, myTransformInversed);
 }
 
-// =======================================================================
-// function : Apply
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 template <class T, int N>
 BVH_Box<T, N> BVH_Transform<T, N>::Apply(const BVH_Box<T, N>& theBox) const
 {
index 8a7e439c44073ac4c61d15fd478ed2f8ad4a7304..917cccd379cef02f80530d06873fa88b8e8a5182 100644 (file)
@@ -160,10 +160,8 @@ protected:
   Standard_Integer myNumOfThreads; //!< Number of threads used to build BVH
 };
 
-// =======================================================================
-// function : addChildren
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 template <class T, int N>
 void BVH_QueueBuilder<T, N>::addChildren(
   BVH_Tree<T, N>*                                        theBVH,
index d6a4d773e07dd981b78b6cee4649cbb6286cd921..cfd8388fbaf047e5699f53eed37b1cada685c652 100644 (file)
@@ -178,10 +178,8 @@ protected:
 };
 } // namespace BVH
 
-// =======================================================================
-// function : Perform
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 template <class T, int N>
 void BVH_RadixSorter<T, N>::Perform(BVH_Set<T, N>*         theSet,
                                     const Standard_Integer theStart,
index 47218ede932e8b1c1373b6409acc1c0433ad441f..ba79046b6bbe750acb63b99f26c0791834b1c6fb 100644 (file)
@@ -32,10 +32,8 @@ struct BVH_NodeInStack
 };
 } // namespace
 
-// =======================================================================
-// function : BVH_Traverse::Select
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 template <class NumType, int Dimension, class BVHSetType, class MetricType>
 Standard_Integer BVH_Traverse<NumType, Dimension, BVHSetType, MetricType>::Select(
   const opencascade::handle<BVH_Tree<NumType, Dimension>>& theBVH)
@@ -167,10 +165,8 @@ struct BVH_PairNodesInStack
 };
 } // namespace
 
-// =======================================================================
-// function : BVH_PairTraverse::Select
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 template <class NumType, int Dimension, class BVHSetType, class MetricType>
 Standard_Integer BVH_PairTraverse<NumType, Dimension, BVHSetType, MetricType>::Select(
   const opencascade::handle<BVH_Tree<NumType, Dimension>>& theBVH1,
index 45a2fcda64bdd098ec8eff0a6757f129812cbfdd..d18707ab76e1d33627c6100d2e548caf7850ccc7 100644 (file)
@@ -106,10 +106,8 @@ Standard_Boolean Bnd_B2x::Limit (const Bnd_B2x& theBox)
   return aResult;
 }
 
-//=======================================================================
-//function : Transformed
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 
 Bnd_B2x Bnd_B2x::Transformed (const gp_Trsf2d& theTrsf) const
 {
index 673f643e724745396987f8e02a0a8be1653e2fbf..476341414140c8bb142e35ba939a1e63ba7568ce 100644 (file)
@@ -134,10 +134,8 @@ Standard_Boolean Bnd_B3x::Limit (const Bnd_B3x& theBox)
   return aResult;
 }
 
-//=======================================================================
-//function : Transformed
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 
 Bnd_B3x Bnd_B3x::Transformed (const gp_Trsf& theTrsf) const
 {
@@ -319,10 +317,8 @@ Standard_Boolean Bnd_B3x::IsOut (const Bnd_B3x& theBox,
   return aResult;
 }
 
-//=======================================================================
-//function : IsOut
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 
 Standard_Boolean Bnd_B3x::IsOut (const gp_Ax3& thePlane) const
 {
@@ -343,10 +339,8 @@ Standard_Boolean Bnd_B3x::IsOut (const gp_Ax3& thePlane) const
   return ((aDist0 + aDist1) * (aDist0 - aDist1) > 0.);
 }
 
-//=======================================================================
-//function : IsOut
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 
 Standard_Boolean Bnd_B3x::IsOut (const gp_Ax1&          theLine,
                                  const Standard_Boolean isRay,
index ad8c8adcb97b72fae1a6c2e732e8af368b07d980..cd21a9638678376c1e38e2306fa2118539e6f7d9 100644 (file)
@@ -112,10 +112,8 @@ public:
   gp_Pnt operator[](Standard_Integer theIndex) const { return Value(theIndex); }
 };
 
-// =======================================================================
-// function : Value
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 inline gp_Pnt Poly_ArrayOfNodes::Value(Standard_Integer theIndex) const
 {
   if (myStride == (Standard_Integer)sizeof(gp_Pnt))
@@ -129,10 +127,8 @@ inline gp_Pnt Poly_ArrayOfNodes::Value(Standard_Integer theIndex) const
   }
 }
 
-// =======================================================================
-// function : SetValue
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 inline void Poly_ArrayOfNodes::SetValue(Standard_Integer theIndex, const gp_Pnt& theValue)
 {
   if (myStride == (Standard_Integer)sizeof(gp_Pnt))
index 3f05b380ec4ce156cc0fe59c676bc00a43258108..c9016abaf5a077415258bef153c488fdaed36c64 100644 (file)
@@ -112,10 +112,8 @@ public:
   gp_Pnt2d operator[](Standard_Integer theIndex) const { return Value(theIndex); }
 };
 
-// =======================================================================
-// function : Value
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 inline gp_Pnt2d Poly_ArrayOfUVNodes::Value(Standard_Integer theIndex) const
 {
   if (myStride == (Standard_Integer)sizeof(gp_Pnt2d))
@@ -129,10 +127,8 @@ inline gp_Pnt2d Poly_ArrayOfUVNodes::Value(Standard_Integer theIndex) const
   }
 }
 
-// =======================================================================
-// function : SetValue
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 inline void Poly_ArrayOfUVNodes::SetValue(Standard_Integer theIndex, const gp_Pnt2d& theValue)
 {
   if (myStride == (Standard_Integer)sizeof(gp_Pnt2d))
index 8cbaebe2dde7de079ea2327429426060e0304053..f78330be47183507881b5095f9213b232c01ff3e 100644 (file)
 #include <TopLoc_Location.hxx>
 #include <TopLoc_SListOfItemLocation.hxx>
 
-//=======================================================================
-// function : TopLoc_Location
-// purpose  : constructor Identity
-//=======================================================================
+//=================================================================================================
 
 TopLoc_Location::TopLoc_Location() {}
 
index dd79dcfbd4ca7ef643f018842bfb5db65dbefe71..bfdc712186c8d1b5bc0ca2bb1b328b5131e5cd22 100644 (file)
 #include <TopLoc_Datum3D.hxx>
 #include <TopLoc_ItemLocation.hxx>
 
-//=======================================================================
-// function : IsIdentity
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean TopLoc_Location::IsIdentity() const
 {
   return myItems.IsEmpty();
 }
 
-//=======================================================================
-// function : Identity
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void TopLoc_Location::Identity()
 {
   myItems.Clear();
 }
 
-//=======================================================================
-// function : FirstDatum
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline const Handle(TopLoc_Datum3D)& TopLoc_Location::FirstDatum() const
 {
   return myItems.Value().myDatum;
 }
 
-//=======================================================================
-// function : FirstPower
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer TopLoc_Location::FirstPower() const
 {
   return myItems.Value().myPower;
 }
 
-//=======================================================================
-// function : NextLocation
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline const TopLoc_Location& TopLoc_Location::NextLocation() const
 {
   return (*(TopLoc_Location*)&(myItems.Tail()));
 }
 
-//=======================================================================
-// function : HashCode
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline size_t TopLoc_Location::HashCode() const
 {
   // Hashing base on IsEqual function
@@ -94,10 +77,8 @@ inline size_t TopLoc_Location::HashCode() const
   return aHash;
 }
 
-//=======================================================================
-// function : ShallowDump
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline void ShallowDump(const TopLoc_Location& me, Standard_OStream& S)
 {
   me.ShallowDump(S);
index a9738294c6c7dbca3057a6b62b75e6142d7d2d3c..3771f0e1bfe27a9ab0664337b3a3b9a698d895c1 100644 (file)
@@ -370,10 +370,8 @@ private:
   gp_Dir vxdir;
 };
 
-// =======================================================================
-// function : SetAxis
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 inline void gp_Ax2::SetAxis(const gp_Ax1& theA1)
 {
   Standard_Real a = theA1.Direction() * vxdir;
@@ -399,10 +397,8 @@ inline void gp_Ax2::SetAxis(const gp_Ax1& theA1)
   }
 }
 
-// =======================================================================
-// function : SetDirection
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 inline void gp_Ax2::SetDirection(const gp_Dir& theV)
 {
   Standard_Real a = theV * vxdir;
@@ -428,10 +424,8 @@ inline void gp_Ax2::SetDirection(const gp_Dir& theV)
   }
 }
 
-// =======================================================================
-// function : IsCoplanar
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 inline Standard_Boolean gp_Ax2::IsCoplanar(const gp_Ax2&       theOther,
                                            const Standard_Real theLinearTolerance,
                                            const Standard_Real theAngularTolerance) const
@@ -448,10 +442,8 @@ inline Standard_Boolean gp_Ax2::IsCoplanar(const gp_Ax2&       theOther,
   return D1 <= theLinearTolerance && axis.IsParallel(theOther.axis, theAngularTolerance);
 }
 
-// =======================================================================
-// function : IsCoplanar
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 inline Standard_Boolean gp_Ax2::IsCoplanar(const gp_Ax1&       theA,
                                            const Standard_Real theLinearTolerance,
                                            const Standard_Real theAngularTolerance) const
index dd3ddcfb9dfd021758dd00306b183234432df671..009f30fa86bb10ca7cac53534e7aba0c3020143e 100644 (file)
@@ -262,10 +262,8 @@ private:
   gp_Dir2d vxdir;
 };
 
-// =======================================================================
-// function : SetDirection
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 inline void gp_Ax22d::SetXAxis(const gp_Ax2d& theA1)
 {
   Standard_Boolean isSign = (vxdir.Crossed(vydir)) >= 0.0;
@@ -281,10 +279,8 @@ inline void gp_Ax22d::SetXAxis(const gp_Ax2d& theA1)
   }
 }
 
-// =======================================================================
-// function : SetDirection
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 inline void gp_Ax22d::SetYAxis(const gp_Ax2d& theA1)
 {
   Standard_Boolean isSign = (vxdir.Crossed(vydir)) >= 0.0;
@@ -300,10 +296,8 @@ inline void gp_Ax22d::SetYAxis(const gp_Ax2d& theA1)
   }
 }
 
-// =======================================================================
-// function : SetXDirection
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 inline void gp_Ax22d::SetXDirection(const gp_Dir2d& theVx)
 {
   Standard_Boolean isSign = (vxdir.Crossed(vydir)) >= 0.0;
@@ -318,10 +312,8 @@ inline void gp_Ax22d::SetXDirection(const gp_Dir2d& theVx)
   }
 }
 
-// =======================================================================
-// function : SetYDirection
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 inline void gp_Ax22d::SetYDirection(const gp_Dir2d& theVy)
 {
   Standard_Boolean isSign = (vxdir.Crossed(vydir)) >= 0.0;
@@ -336,10 +328,8 @@ inline void gp_Ax22d::SetYDirection(const gp_Dir2d& theVy)
   }
 }
 
-// =======================================================================
-// function : Rotate
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 inline void gp_Ax22d::Rotate(const gp_Pnt2d& theP, const Standard_Real theAng)
 {
   gp_Pnt2d aTemp = point;
@@ -349,10 +339,8 @@ inline void gp_Ax22d::Rotate(const gp_Pnt2d& theP, const Standard_Real theAng)
   vydir.Rotate(theAng);
 }
 
-// =======================================================================
-// function : Scale
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 inline void gp_Ax22d::Scale(const gp_Pnt2d& theP, const Standard_Real theS)
 {
   gp_Pnt2d aTemp = point;
@@ -365,10 +353,8 @@ inline void gp_Ax22d::Scale(const gp_Pnt2d& theP, const Standard_Real theS)
   }
 }
 
-// =======================================================================
-// function : Transform
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 inline void gp_Ax22d::Transform(const gp_Trsf2d& theT)
 {
   gp_Pnt2d aTemp = point;
index 6436cb3a507dac67003b6becee971122ce7e4784..cb8e7105b1ed011ac48e27c072bd326d66d406b7 100644 (file)
@@ -327,10 +327,8 @@ private:
   gp_Dir vxdir;
 };
 
-// =======================================================================
-// function : gp_Ax3
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 inline gp_Ax3::gp_Ax3(const gp_Ax2& theA)
     : axis(theA.Axis()),
       vydir(theA.YDirection()),
@@ -338,10 +336,8 @@ inline gp_Ax3::gp_Ax3(const gp_Ax2& theA)
 {
 }
 
-// =======================================================================
-// function : Ax2
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 inline gp_Ax2 gp_Ax3::Ax2() const
 {
   gp_Dir aZz = axis.Direction();
@@ -352,20 +348,16 @@ inline gp_Ax2 gp_Ax3::Ax2() const
   return gp_Ax2(axis.Location(), aZz, vxdir);
 }
 
-// =======================================================================
-// function : SetAxis
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 inline void gp_Ax3::SetAxis(const gp_Ax1& theA1)
 {
   axis.SetLocation(theA1.Location());
   SetDirection(theA1.Direction());
 }
 
-// =======================================================================
-// function : SetDirection
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 inline void gp_Ax3::SetDirection(const gp_Dir& theV)
 {
   Standard_Real aDot = theV.Dot(vxdir);
@@ -398,10 +390,8 @@ inline void gp_Ax3::SetDirection(const gp_Dir& theV)
   }
 }
 
-// =======================================================================
-// function : SetXDirection
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 inline void gp_Ax3::SetXDirection(const gp_Dir& theVx)
 {
   Standard_Real aDot = theVx.Dot(axis.Direction());
@@ -433,10 +423,8 @@ inline void gp_Ax3::SetXDirection(const gp_Dir& theVx)
   }
 }
 
-// =======================================================================
-// function : SetYDirection
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 inline void gp_Ax3::SetYDirection(const gp_Dir& theVy)
 {
   Standard_Real aDot = theVy.Dot(axis.Direction());
@@ -465,10 +453,8 @@ inline void gp_Ax3::SetYDirection(const gp_Dir& theVy)
   }
 }
 
-// =======================================================================
-// function : IsCoplanar
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 inline Standard_Boolean gp_Ax3::IsCoplanar(const gp_Ax3&       theOther,
                                            const Standard_Real theLinearTolerance,
                                            const Standard_Real theAngularTolerance) const
@@ -488,10 +474,8 @@ inline Standard_Boolean gp_Ax3::IsCoplanar(const gp_Ax3&       theOther,
           && axis.IsParallel(theOther.axis, theAngularTolerance));
 }
 
-// =======================================================================
-// function : IsCoplanar
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 inline Standard_Boolean gp_Ax3::IsCoplanar(const gp_Ax1&       theA1,
                                            const Standard_Real theLinearTolerance,
                                            const Standard_Real theAngularTolerance) const
index 3fff5499dccd5853a89d4c3c513fff0d6a48f45f..1ee32a0bc5c82b5bb18914ed0b23494fd8fe4331 100644 (file)
@@ -222,10 +222,8 @@ private:
   Standard_Real radius;
 };
 
-// =======================================================================
-// function : Scale
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 inline void gp_Circ::Scale(const gp_Pnt& theP, const Standard_Real theS)
 {
   radius *= theS;
@@ -236,10 +234,8 @@ inline void gp_Circ::Scale(const gp_Pnt& theP, const Standard_Real theS)
   pos.Scale(theP, theS);
 }
 
-// =======================================================================
-// function : Scaled
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 inline gp_Circ gp_Circ::Scaled(const gp_Pnt& theP, const Standard_Real theS) const
 {
   gp_Circ aC = *this;
@@ -252,10 +248,8 @@ inline gp_Circ gp_Circ::Scaled(const gp_Pnt& theP, const Standard_Real theS) con
   return aC;
 }
 
-// =======================================================================
-// function : Transform
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 inline void gp_Circ::Transform(const gp_Trsf& theT)
 {
   radius *= theT.ScaleFactor();
@@ -266,10 +260,8 @@ inline void gp_Circ::Transform(const gp_Trsf& theT)
   pos.Transform(theT);
 }
 
-// =======================================================================
-// function : Transformed
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 inline gp_Circ gp_Circ::Transformed(const gp_Trsf& theT) const
 {
   gp_Circ aC = *this;
index 98e50c293b038f69d72ca66e94acb04c8e5e0d13..63d14ca649957400332e676a3298237d283a422c 100644 (file)
@@ -245,10 +245,8 @@ private:
   Standard_Real radius;
 };
 
-// =======================================================================
-// function : Coefficients
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 inline void gp_Circ2d::Coefficients(Standard_Real& theA,
                                     Standard_Real& theB,
                                     Standard_Real& theC,
@@ -266,10 +264,8 @@ inline void gp_Circ2d::Coefficients(Standard_Real& theA,
   theF               = aXc * aXc + anYc * anYc - radius * radius;
 }
 
-// =======================================================================
-// function : Distance
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 inline Standard_Real gp_Circ2d::Distance(const gp_Pnt2d& theP) const
 {
   gp_XY aCoord = theP.XY();
@@ -282,10 +278,8 @@ inline Standard_Real gp_Circ2d::Distance(const gp_Pnt2d& theP) const
   return aD;
 }
 
-// =======================================================================
-// function : Reversed
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 inline gp_Circ2d gp_Circ2d::Reversed() const
 {
   gp_Circ2d aCirc = *this;
@@ -295,10 +289,8 @@ inline gp_Circ2d gp_Circ2d::Reversed() const
   return aCirc;
 }
 
-// =======================================================================
-// function : SquareDistance
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 inline Standard_Real gp_Circ2d::SquareDistance(const gp_Pnt2d& theP) const
 {
   gp_XY aCoord = theP.XY();
@@ -307,10 +299,8 @@ inline Standard_Real gp_Circ2d::SquareDistance(const gp_Pnt2d& theP) const
   return aD * aD;
 }
 
-// =======================================================================
-// function : Scale
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 inline void gp_Circ2d::Scale(const gp_Pnt2d& theP, const Standard_Real theS)
 {
   radius *= theS;
@@ -321,10 +311,8 @@ inline void gp_Circ2d::Scale(const gp_Pnt2d& theP, const Standard_Real theS)
   pos.Scale(theP, theS);
 }
 
-// =======================================================================
-// function : Scaled
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 inline gp_Circ2d gp_Circ2d::Scaled(const gp_Pnt2d& theP, const Standard_Real theS) const
 {
   gp_Circ2d aCirc = *this;
@@ -337,10 +325,8 @@ inline gp_Circ2d gp_Circ2d::Scaled(const gp_Pnt2d& theP, const Standard_Real the
   return aCirc;
 }
 
-// =======================================================================
-// function : Transform
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 inline void gp_Circ2d::Transform(const gp_Trsf2d& theT)
 {
   radius *= theT.ScaleFactor();
@@ -351,10 +337,8 @@ inline void gp_Circ2d::Transform(const gp_Trsf2d& theT)
   pos.Transform(theT);
 }
 
-// =======================================================================
-// function : Transformed
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 inline gp_Circ2d gp_Circ2d::Transformed(const gp_Trsf2d& theT) const
 {
   gp_Circ2d aCirc = *this;
index bff1f5f5dee92f2326d59d923555a11974b73620..b2dced720dd8a88e04dc17de088d7ba59eec9e8c 100644 (file)
@@ -231,10 +231,8 @@ private:
   Standard_Real semiAngle;
 };
 
-// =======================================================================
-// function : gp_Cone
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 inline gp_Cone::gp_Cone(const gp_Ax3&       theA3,
                         const Standard_Real theAng,
                         const Standard_Real theRadius)
@@ -252,10 +250,8 @@ inline gp_Cone::gp_Cone(const gp_Ax3&       theA3,
                                       "gp_Cone() - invalid construction parameters");
 }
 
-// =======================================================================
-// function : SetSemiAngle
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 inline void gp_Cone::SetSemiAngle(const Standard_Real theAng)
 {
   Standard_Real aVal = theAng;
@@ -269,10 +265,8 @@ inline void gp_Cone::SetSemiAngle(const Standard_Real theAng)
   semiAngle = theAng;
 }
 
-// =======================================================================
-// function : Scale
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 inline void gp_Cone::Scale(const gp_Pnt& theP, const Standard_Real theS)
 {
   pos.Scale(theP, theS);
@@ -283,10 +277,8 @@ inline void gp_Cone::Scale(const gp_Pnt& theP, const Standard_Real theS)
   }
 }
 
-// =======================================================================
-// function : Scaled
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 inline gp_Cone gp_Cone::Scaled(const gp_Pnt& theP, const Standard_Real theS) const
 {
   gp_Cone aC = *this;
@@ -299,10 +291,8 @@ inline gp_Cone gp_Cone::Scaled(const gp_Pnt& theP, const Standard_Real theS) con
   return aC;
 }
 
-// =======================================================================
-// function : Transform
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 inline void gp_Cone::Transform(const gp_Trsf& theT)
 {
   pos.Transform(theT);
@@ -313,10 +303,8 @@ inline void gp_Cone::Transform(const gp_Trsf& theT)
   }
 }
 
-// =======================================================================
-// function : Transformed
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 inline gp_Cone gp_Cone::Transformed(const gp_Trsf& theT) const
 {
   gp_Cone aC = *this;
index d318e44849e2fbafa4b929efdece622c18acdb0d..e0fbfb6cece977ef858312ea143085bed79932c2 100644 (file)
@@ -191,10 +191,8 @@ private:
   Standard_Real radius;
 };
 
-// =======================================================================
-// function : Scale
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 inline void gp_Cylinder::Scale(const gp_Pnt& theP, const Standard_Real theS)
 {
   pos.Scale(theP, theS);
@@ -205,10 +203,8 @@ inline void gp_Cylinder::Scale(const gp_Pnt& theP, const Standard_Real theS)
   }
 }
 
-// =======================================================================
-// function : Scaled
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 inline gp_Cylinder gp_Cylinder::Scaled(const gp_Pnt& theP, const Standard_Real theS) const
 {
   gp_Cylinder aCyl = *this;
@@ -221,10 +217,8 @@ inline gp_Cylinder gp_Cylinder::Scaled(const gp_Pnt& theP, const Standard_Real t
   return aCyl;
 }
 
-// =======================================================================
-// function : Transform
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 inline void gp_Cylinder::Transform(const gp_Trsf& theT)
 {
   pos.Transform(theT);
@@ -235,10 +229,8 @@ inline void gp_Cylinder::Transform(const gp_Trsf& theT)
   }
 }
 
-// =======================================================================
-// function : Transformed
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 inline gp_Cylinder gp_Cylinder::Transformed(const gp_Trsf& theT) const
 {
   gp_Cylinder aCyl = *this;
index 17a847f65266c99e8b095109669263b723ee549e..be0c8ad551cded609b308f9db8e46078340cb5bc 100644 (file)
@@ -288,10 +288,8 @@ private:
 
 #include <gp_Trsf.hxx>
 
-// =======================================================================
-// function : gp_Dir
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 inline gp_Dir::gp_Dir(const gp_Vec& theV)
 {
   const gp_XYZ& aXYZ = theV.XYZ();
@@ -306,10 +304,8 @@ inline gp_Dir::gp_Dir(const gp_Vec& theV)
   coord.SetZ(aZ / aD);
 }
 
-// =======================================================================
-// function : gp_Dir
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 inline gp_Dir::gp_Dir(const gp_XYZ& theXYZ)
 {
   Standard_Real aX = theXYZ.X();
@@ -323,10 +319,8 @@ inline gp_Dir::gp_Dir(const gp_XYZ& theXYZ)
   coord.SetZ(aZ / aD);
 }
 
-// =======================================================================
-// function : gp_Dir
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 inline gp_Dir::gp_Dir(const Standard_Real theXv,
                       const Standard_Real theYv,
                       const Standard_Real theZv)
@@ -339,10 +333,8 @@ inline gp_Dir::gp_Dir(const Standard_Real theXv,
   coord.SetZ(theZv / aD);
 }
 
-// =======================================================================
-// function : SetCoord
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 inline void gp_Dir::SetCoord(const Standard_Integer theIndex, const Standard_Real theXi)
 {
   Standard_Real aX = coord.X();
@@ -370,10 +362,8 @@ inline void gp_Dir::SetCoord(const Standard_Integer theIndex, const Standard_Rea
   coord.SetZ(aZ / aD);
 }
 
-// =======================================================================
-// function : SetCoord
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 inline void gp_Dir::SetCoord(const Standard_Real theXv,
                              const Standard_Real theYv,
                              const Standard_Real theZv)
@@ -386,10 +376,8 @@ inline void gp_Dir::SetCoord(const Standard_Real theXv,
   coord.SetZ(theZv / aD);
 }
 
-// =======================================================================
-// function : SetX
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 inline void gp_Dir::SetX(const Standard_Real theX)
 {
   Standard_Real anY = coord.Y();
@@ -402,10 +390,8 @@ inline void gp_Dir::SetX(const Standard_Real theX)
   coord.SetZ(aZ / aD);
 }
 
-// =======================================================================
-// function : SetY
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 inline void gp_Dir::SetY(const Standard_Real theY)
 {
   Standard_Real aZ = coord.Z();
@@ -418,10 +404,8 @@ inline void gp_Dir::SetY(const Standard_Real theY)
   coord.SetZ(aZ / aD);
 }
 
-// =======================================================================
-// function : SetZ
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 inline void gp_Dir::SetZ(const Standard_Real theZ)
 {
   Standard_Real aX  = coord.X();
@@ -434,10 +418,8 @@ inline void gp_Dir::SetZ(const Standard_Real theZ)
   coord.SetZ(theZ / aD);
 }
 
-// =======================================================================
-// function : SetXYZ
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 inline void gp_Dir::SetXYZ(const gp_XYZ& theXYZ)
 {
   Standard_Real aX  = theXYZ.X();
@@ -451,10 +433,8 @@ inline void gp_Dir::SetXYZ(const gp_XYZ& theXYZ)
   coord.SetZ(aZ / aD);
 }
 
-// =======================================================================
-// function : Cross
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 inline void gp_Dir::Cross(const gp_Dir& theRight)
 {
   coord.Cross(theRight.coord);
@@ -464,10 +444,8 @@ inline void gp_Dir::Cross(const gp_Dir& theRight)
   coord.Divide(aD);
 }
 
-// =======================================================================
-// function : Crossed
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 inline gp_Dir gp_Dir::Crossed(const gp_Dir& theRight) const
 {
   gp_Dir aV = *this;
@@ -479,10 +457,8 @@ inline gp_Dir gp_Dir::Crossed(const gp_Dir& theRight) const
   return aV;
 }
 
-// =======================================================================
-// function : CrossCross
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 inline void gp_Dir::CrossCross(const gp_Dir& theV1, const gp_Dir& theV2)
 {
   coord.CrossCross(theV1.coord, theV2.coord);
@@ -492,10 +468,8 @@ inline void gp_Dir::CrossCross(const gp_Dir& theV1, const gp_Dir& theV2)
   coord.Divide(aD);
 }
 
-// =======================================================================
-// function : CrossCrossed
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 inline gp_Dir gp_Dir::CrossCrossed(const gp_Dir& theV1, const gp_Dir& theV2) const
 {
   gp_Dir aV = *this;
@@ -507,10 +481,8 @@ inline gp_Dir gp_Dir::CrossCrossed(const gp_Dir& theV1, const gp_Dir& theV2) con
   return aV;
 }
 
-// =======================================================================
-// function : Rotate
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 inline void gp_Dir::Rotate(const gp_Ax1& theA1, const Standard_Real theAng)
 {
   gp_Trsf aT;
index b7a9dc6dd68a16bd29e918fbebd7495641258c4e..6ce6cbf530fa80c6f131c07376cf1ff6607438b8 100644 (file)
@@ -257,10 +257,8 @@ private:
 #include <gp_Ax2d.hxx>
 #include <gp_Trsf2d.hxx>
 
-// =======================================================================
-// function : gp_Dir2d
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 inline gp_Dir2d::gp_Dir2d(const gp_Vec2d& theV)
 {
   const gp_XY&  aXY = theV.XY();
@@ -273,10 +271,8 @@ inline gp_Dir2d::gp_Dir2d(const gp_Vec2d& theV)
   coord.SetY(anY / aD);
 }
 
-// =======================================================================
-// function : gp_Dir2d
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 inline gp_Dir2d::gp_Dir2d(const gp_XY& theXY)
 {
   Standard_Real aX  = theXY.X();
@@ -288,10 +284,8 @@ inline gp_Dir2d::gp_Dir2d(const gp_XY& theXY)
   coord.SetY(anY / aD);
 }
 
-// =======================================================================
-// function : gp_Dir2d
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 inline gp_Dir2d::gp_Dir2d(const Standard_Real theXv, const Standard_Real theYv)
 {
   Standard_Real aD = sqrt(theXv * theXv + theYv * theYv);
@@ -301,10 +295,8 @@ inline gp_Dir2d::gp_Dir2d(const Standard_Real theXv, const Standard_Real theYv)
   coord.SetY(theYv / aD);
 }
 
-// =======================================================================
-// function : SetCoord
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 inline void gp_Dir2d::SetCoord(const Standard_Integer theIndex, const Standard_Real theXi)
 {
   Standard_Real aX  = coord.X();
@@ -326,10 +318,8 @@ inline void gp_Dir2d::SetCoord(const Standard_Integer theIndex, const Standard_R
   coord.SetY(anY / aD);
 }
 
-// =======================================================================
-// function : SetCoord
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 inline void gp_Dir2d::SetCoord(const Standard_Real theXv, const Standard_Real theYv)
 {
   Standard_Real aD = sqrt(theXv * theXv + theYv * theYv);
@@ -339,10 +329,8 @@ inline void gp_Dir2d::SetCoord(const Standard_Real theXv, const Standard_Real th
   coord.SetY(theYv / aD);
 }
 
-// =======================================================================
-// function : SetX
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 inline void gp_Dir2d::SetX(const Standard_Real theX)
 {
   Standard_Real anY = coord.Y();
@@ -353,10 +341,8 @@ inline void gp_Dir2d::SetX(const Standard_Real theX)
   coord.SetY(anY / aD);
 }
 
-// =======================================================================
-// function : SetY
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 inline void gp_Dir2d::SetY(const Standard_Real theY)
 {
   Standard_Real aX = coord.X();
@@ -367,10 +353,8 @@ inline void gp_Dir2d::SetY(const Standard_Real theY)
   coord.SetY(theY / aD);
 }
 
-// =======================================================================
-// function : SetXY
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 inline void gp_Dir2d::SetXY(const gp_XY& theXY)
 {
   Standard_Real aX  = theXY.X();
@@ -382,10 +366,8 @@ inline void gp_Dir2d::SetXY(const gp_XY& theXY)
   coord.SetY(anY / aD);
 }
 
-// =======================================================================
-// function : IsEqual
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 inline Standard_Boolean gp_Dir2d::IsEqual(const gp_Dir2d&     theOther,
                                           const Standard_Real theAngularTolerance) const
 {
@@ -397,10 +379,8 @@ inline Standard_Boolean gp_Dir2d::IsEqual(const gp_Dir2d&     theOther,
   return anAng <= theAngularTolerance;
 }
 
-// =======================================================================
-// function : IsNormal
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 inline Standard_Boolean gp_Dir2d::IsNormal(const gp_Dir2d&     theOther,
                                            const Standard_Real theAngularTolerance) const
 {
@@ -417,10 +397,8 @@ inline Standard_Boolean gp_Dir2d::IsNormal(const gp_Dir2d&     theOther,
   return anAng <= theAngularTolerance;
 }
 
-// =======================================================================
-// function : IsOpposite
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 inline Standard_Boolean gp_Dir2d::IsOpposite(const gp_Dir2d&     theOther,
                                              const Standard_Real theAngularTolerance) const
 {
@@ -432,10 +410,8 @@ inline Standard_Boolean gp_Dir2d::IsOpposite(const gp_Dir2d&     theOther,
   return M_PI - anAng <= theAngularTolerance;
 }
 
-// =======================================================================
-// function : IsParallel
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 inline Standard_Boolean gp_Dir2d::IsParallel(const gp_Dir2d&     theOther,
                                              const Standard_Real theAngularTolerance) const
 {
@@ -447,10 +423,8 @@ inline Standard_Boolean gp_Dir2d::IsParallel(const gp_Dir2d&     theOther,
   return anAng <= theAngularTolerance || M_PI - anAng <= theAngularTolerance;
 }
 
-// =======================================================================
-// function : Rotate
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 inline void gp_Dir2d::Rotate(const Standard_Real theAng)
 {
   gp_Trsf2d aT;
index 2ff44083571dfbc1a12483bb764381c5bd9ac7e4..4f768de967678812e5b7c46d132c73d0df79a02b 100644 (file)
@@ -263,10 +263,8 @@ private:
   Standard_Real minorRadius;
 };
 
-// =======================================================================
-// function : Directrix1
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 inline gp_Ax1 gp_Elips::Directrix1() const
 {
   Standard_Real anE = Eccentricity();
@@ -278,10 +276,8 @@ inline gp_Ax1 gp_Elips::Directrix1() const
   return gp_Ax1(gp_Pnt(anOrig), pos.YDirection());
 }
 
-// =======================================================================
-// function : Directrix2
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 inline gp_Ax1 gp_Elips::Directrix2() const
 {
   Standard_Real anE = Eccentricity();
@@ -293,10 +289,8 @@ inline gp_Ax1 gp_Elips::Directrix2() const
   return gp_Ax1(gp_Pnt(anOrig), pos.YDirection());
 }
 
-// =======================================================================
-// function : Eccentricity
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 inline Standard_Real gp_Elips::Eccentricity() const
 {
   if (majorRadius == 0.0)
@@ -309,10 +303,8 @@ inline Standard_Real gp_Elips::Eccentricity() const
   }
 }
 
-// =======================================================================
-// function : Focus1
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 inline gp_Pnt gp_Elips::Focus1() const
 {
   Standard_Real aC  = sqrt(majorRadius * majorRadius - minorRadius * minorRadius);
@@ -321,10 +313,8 @@ inline gp_Pnt gp_Elips::Focus1() const
   return gp_Pnt(aPP.X() + aC * aDD.X(), aPP.Y() + aC * aDD.Y(), aPP.Z() + aC * aDD.Z());
 }
 
-// =======================================================================
-// function : Focus2
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 inline gp_Pnt gp_Elips::Focus2() const
 {
   Standard_Real aC  = sqrt(majorRadius * majorRadius - minorRadius * minorRadius);
@@ -333,10 +323,8 @@ inline gp_Pnt gp_Elips::Focus2() const
   return gp_Pnt(aPP.X() - aC * aDD.X(), aPP.Y() - aC * aDD.Y(), aPP.Z() - aC * aDD.Z());
 }
 
-// =======================================================================
-// function : Parameter
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 inline Standard_Real gp_Elips::Parameter() const
 {
   if (majorRadius == 0.0)
@@ -349,10 +337,8 @@ inline Standard_Real gp_Elips::Parameter() const
   }
 }
 
-// =======================================================================
-// function : Scale
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 inline void gp_Elips::Scale(const gp_Pnt& theP, const Standard_Real theS)
 //  Modified by skv - Fri Apr  8 10:28:10 2005 OCC8559 Begin
 // { pos.Scale(P, S); }
@@ -372,10 +358,8 @@ inline void gp_Elips::Scale(const gp_Pnt& theP, const Standard_Real theS)
 
 //  Modified by skv - Fri Apr  8 10:28:10 2005 OCC8559 End
 
-// =======================================================================
-// function : Scaled
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 inline gp_Elips gp_Elips::Scaled(const gp_Pnt& theP, const Standard_Real theS) const
 {
   gp_Elips anE = *this;
@@ -393,10 +377,8 @@ inline gp_Elips gp_Elips::Scaled(const gp_Pnt& theP, const Standard_Real theS) c
   return anE;
 }
 
-// =======================================================================
-// function : Transform
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 inline void gp_Elips::Transform(const gp_Trsf& theT)
 {
   majorRadius *= theT.ScaleFactor();
@@ -412,10 +394,8 @@ inline void gp_Elips::Transform(const gp_Trsf& theT)
   pos.Transform(theT);
 }
 
-// =======================================================================
-// function : Transformed
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 inline gp_Elips gp_Elips::Transformed(const gp_Trsf& theT) const
 {
   gp_Elips anE = *this;
index c8ce8cc3c37f5342d3c1b4c52e55f34eee135292..d2596d17566e8e4b5f008ea700591ef42d164f9c 100644 (file)
@@ -288,10 +288,8 @@ private:
   Standard_Real minorRadius;
 };
 
-// =======================================================================
-// function : Directrix1
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 inline gp_Ax2d gp_Elips2d::Directrix1() const
 {
   Standard_Real anE = Eccentricity();
@@ -303,10 +301,8 @@ inline gp_Ax2d gp_Elips2d::Directrix1() const
   return gp_Ax2d(gp_Pnt2d(anOrig), gp_Dir2d(pos.YDirection()));
 }
 
-// =======================================================================
-// function : Directrix2
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 inline gp_Ax2d gp_Elips2d::Directrix2() const
 {
   Standard_Real anE = Eccentricity();
@@ -318,10 +314,8 @@ inline gp_Ax2d gp_Elips2d::Directrix2() const
   return gp_Ax2d(gp_Pnt2d(anOrig), gp_Dir2d(pos.YDirection()));
 }
 
-// =======================================================================
-// function : Eccentricity
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 inline Standard_Real gp_Elips2d::Eccentricity() const
 {
   if (majorRadius == 0.0)
@@ -334,10 +328,8 @@ inline Standard_Real gp_Elips2d::Eccentricity() const
   }
 }
 
-// =======================================================================
-// function : Focus1
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 inline gp_Pnt2d gp_Elips2d::Focus1() const
 {
   Standard_Real   aC  = sqrt(majorRadius * majorRadius - minorRadius * minorRadius);
@@ -346,10 +338,8 @@ inline gp_Pnt2d gp_Elips2d::Focus1() const
   return gp_Pnt2d(aPP.X() + aC * aDD.X(), aPP.Y() + aC * aDD.Y());
 }
 
-// =======================================================================
-// function : Focus2
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 inline gp_Pnt2d gp_Elips2d::Focus2() const
 {
   Standard_Real   aC  = sqrt(majorRadius * majorRadius - minorRadius * minorRadius);
@@ -358,10 +348,8 @@ inline gp_Pnt2d gp_Elips2d::Focus2() const
   return gp_Pnt2d(aPP.X() - aC * aDD.X(), aPP.Y() - aC * aDD.Y());
 }
 
-// =======================================================================
-// function : Scale
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 inline void gp_Elips2d::Scale(const gp_Pnt2d& theP, const Standard_Real theS)
 {
   majorRadius *= theS;
@@ -377,10 +365,8 @@ inline void gp_Elips2d::Scale(const gp_Pnt2d& theP, const Standard_Real theS)
   pos.Scale(theP, theS);
 }
 
-// =======================================================================
-// function : Scaled
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 inline gp_Elips2d gp_Elips2d::Scaled(const gp_Pnt2d& theP, const Standard_Real theS) const
 {
   gp_Elips2d anE = *this;
@@ -398,10 +384,8 @@ inline gp_Elips2d gp_Elips2d::Scaled(const gp_Pnt2d& theP, const Standard_Real t
   return anE;
 }
 
-// =======================================================================
-// function : Parameter
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 inline Standard_Real gp_Elips2d::Parameter() const
 {
   if (majorRadius == 0.0)
@@ -414,10 +398,8 @@ inline Standard_Real gp_Elips2d::Parameter() const
   }
 }
 
-// =======================================================================
-// function : Reversed
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 inline gp_Elips2d gp_Elips2d::Reversed() const
 {
   gp_Elips2d anE   = *this;
@@ -427,10 +409,8 @@ inline gp_Elips2d gp_Elips2d::Reversed() const
   return anE;
 }
 
-// =======================================================================
-// function : Transform
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 inline void gp_Elips2d::Transform(const gp_Trsf2d& theT)
 {
   Standard_Real aTSca = theT.ScaleFactor();
@@ -443,10 +423,8 @@ inline void gp_Elips2d::Transform(const gp_Trsf2d& theT)
   pos.Transform(theT);
 }
 
-// =======================================================================
-// function : Transformed
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 inline gp_Elips2d gp_Elips2d::Transformed(const gp_Trsf2d& theT) const
 {
   gp_Elips2d anE = *this;
index 4b204e1c70498f0ed85544a4d3552653bf65452d..efeafa71ad26165138bc6d3849f921c4b244926c 100644 (file)
@@ -316,10 +316,8 @@ private:
   Standard_Real scale;
 };
 
-//=======================================================================
-// function : SetAffinity
-// purpose :
-//=======================================================================
+//=================================================================================================
+
 inline void gp_GTrsf::SetAffinity(const gp_Ax1& theA1, const Standard_Real theRatio)
 {
   shape = gp_Other;
@@ -335,10 +333,8 @@ inline void gp_GTrsf::SetAffinity(const gp_Ax1& theA1, const Standard_Real theRa
   loc.Add(theA1.Location().XYZ());
 }
 
-//=======================================================================
-// function : SetAffinity
-// purpose :
-//=======================================================================
+//=================================================================================================
+
 inline void gp_GTrsf::SetAffinity(const gp_Ax2& theA2, const Standard_Real theRatio)
 {
   shape = gp_Other;
@@ -351,10 +347,8 @@ inline void gp_GTrsf::SetAffinity(const gp_Ax2& theA2, const Standard_Real theRa
   matrix.SetDiagonal(matrix.Value(1, 1) + 1., matrix.Value(2, 2) + 1., matrix.Value(3, 3) + 1.);
 }
 
-//=======================================================================
-// function : SetValue
-// purpose :
-//=======================================================================
+//=================================================================================================
+
 inline void gp_GTrsf::SetValue(const Standard_Integer theRow,
                                const Standard_Integer theCol,
                                const Standard_Real    theValue)
@@ -382,10 +376,8 @@ inline void gp_GTrsf::SetValue(const Standard_Integer theRow,
   }
 }
 
-//=======================================================================
-// function : Value
-// purpose :
-//=======================================================================
+//=================================================================================================
+
 inline Standard_Real gp_GTrsf::Value(const Standard_Integer theRow,
                                      const Standard_Integer theCol) const
 {
@@ -401,10 +393,8 @@ inline Standard_Real gp_GTrsf::Value(const Standard_Integer theRow,
   return scale * matrix.Value(theRow, theCol);
 }
 
-//=======================================================================
-// function : Transforms
-// purpose :
-//=======================================================================
+//=================================================================================================
+
 inline void gp_GTrsf::Transforms(gp_XYZ& theCoord) const
 {
   theCoord.Multiply(matrix);
@@ -415,10 +405,8 @@ inline void gp_GTrsf::Transforms(gp_XYZ& theCoord) const
   theCoord.Add(loc);
 }
 
-//=======================================================================
-// function : Transforms
-// purpose :
-//=======================================================================
+//=================================================================================================
+
 inline void gp_GTrsf::Transforms(Standard_Real& theX,
                                  Standard_Real& theY,
                                  Standard_Real& theZ) const
@@ -433,10 +421,8 @@ inline void gp_GTrsf::Transforms(Standard_Real& theX,
   aTriplet.Coord(theX, theY, theZ);
 }
 
-//=======================================================================
-// function : Trsf
-// purpose :
-//=======================================================================
+//=================================================================================================
+
 inline gp_Trsf gp_GTrsf::Trsf() const
 {
   if (Form() == gp_Other)
index 6de71f872e74704702539ab1ccdcab247519808e..9d8fbd90ff8171cf160cc64449b9276bb4f33d00 100644 (file)
@@ -235,10 +235,8 @@ private:
 
 #include <gp_Trsf2d.hxx>
 
-//=======================================================================
-// function : SetTrsf2d
-// purpose :
-//=======================================================================
+//=================================================================================================
+
 inline void gp_GTrsf2d::SetTrsf2d(const gp_Trsf2d& theT)
 {
   shape  = theT.shape;
@@ -247,10 +245,8 @@ inline void gp_GTrsf2d::SetTrsf2d(const gp_Trsf2d& theT)
   scale  = theT.scale;
 }
 
-//=======================================================================
-// function : gp_GTrsf2d
-// purpose :
-//=======================================================================
+//=================================================================================================
+
 inline gp_GTrsf2d::gp_GTrsf2d(const gp_Trsf2d& theT)
 {
   shape  = theT.shape;
@@ -259,10 +255,8 @@ inline gp_GTrsf2d::gp_GTrsf2d(const gp_Trsf2d& theT)
   scale  = theT.scale;
 }
 
-//=======================================================================
-// function : SetValue
-// purpose :
-//=======================================================================
+//=================================================================================================
+
 inline void gp_GTrsf2d::SetValue(const Standard_Integer theRow,
                                  const Standard_Integer theCol,
                                  const Standard_Real    theValue)
@@ -279,10 +273,8 @@ inline void gp_GTrsf2d::SetValue(const Standard_Integer theRow,
   shape = gp_Other;
 }
 
-//=======================================================================
-// function : Value
-// purpose :
-//=======================================================================
+//=================================================================================================
+
 inline Standard_Real gp_GTrsf2d::Value(const Standard_Integer theRow,
                                        const Standard_Integer theCol) const
 {
@@ -298,10 +290,8 @@ inline Standard_Real gp_GTrsf2d::Value(const Standard_Integer theRow,
   return scale * matrix.Value(theRow, theCol);
 }
 
-//=======================================================================
-// function : Transforms
-// purpose :
-//=======================================================================
+//=================================================================================================
+
 inline void gp_GTrsf2d::Transforms(gp_XY& theCoord) const
 {
   theCoord.Multiply(matrix);
@@ -312,10 +302,8 @@ inline void gp_GTrsf2d::Transforms(gp_XY& theCoord) const
   theCoord.Add(loc);
 }
 
-//=======================================================================
-// function : Transforms
-// purpose :
-//=======================================================================
+//=================================================================================================
+
 inline void gp_GTrsf2d::Transforms(Standard_Real& theX, Standard_Real& theY) const
 {
   gp_XY aDoublet(theX, theY);
index b1aac4f1d78924d7d08e1fa9111c69e5a4b0497e..ad4ba6cfb0006ab61a8c890b6412b18ecca90fca 100644 (file)
@@ -342,10 +342,8 @@ private:
   Standard_Real minorRadius;
 };
 
-//=======================================================================
-// function : Asymptote1
-// purpose :
-//=======================================================================
+//=================================================================================================
+
 inline gp_Ax1 gp_Hypr::Asymptote1() const
 {
   Standard_ConstructionError_Raise_if(majorRadius <= gp::Resolution(),
@@ -357,10 +355,8 @@ inline gp_Ax1 gp_Hypr::Asymptote1() const
   return gp_Ax1(pos.Location(), gp_Dir(aV));
 }
 
-//=======================================================================
-// function : Asymptote2
-// purpose :
-//=======================================================================
+//=================================================================================================
+
 inline gp_Ax1 gp_Hypr::Asymptote2() const
 {
   Standard_ConstructionError_Raise_if(majorRadius <= gp::Resolution(),
@@ -372,10 +368,8 @@ inline gp_Ax1 gp_Hypr::Asymptote2() const
   return gp_Ax1(pos.Location(), gp_Dir(aV));
 }
 
-//=======================================================================
-// function : Focus1
-// purpose :
-//=======================================================================
+//=================================================================================================
+
 inline gp_Pnt gp_Hypr::Focus1() const
 {
   Standard_Real aC  = sqrt(majorRadius * majorRadius + minorRadius * minorRadius);
@@ -384,10 +378,8 @@ inline gp_Pnt gp_Hypr::Focus1() const
   return gp_Pnt(aPP.X() + aC * aDD.X(), aPP.Y() + aC * aDD.Y(), aPP.Z() + aC * aDD.Z());
 }
 
-//=======================================================================
-// function : Focus2
-// purpose :
-//=======================================================================
+//=================================================================================================
+
 inline gp_Pnt gp_Hypr::Focus2() const
 {
   Standard_Real aC  = sqrt(majorRadius * majorRadius + minorRadius * minorRadius);
@@ -396,10 +388,8 @@ inline gp_Pnt gp_Hypr::Focus2() const
   return gp_Pnt(aPP.X() - aC * aDD.X(), aPP.Y() - aC * aDD.Y(), aPP.Z() - aC * aDD.Z());
 }
 
-//=======================================================================
-// function : Scale
-// purpose :
-//=======================================================================
+//=================================================================================================
+
 inline void gp_Hypr::Scale(const gp_Pnt& theP, const Standard_Real theS)
 {
   majorRadius *= theS;
@@ -415,10 +405,8 @@ inline void gp_Hypr::Scale(const gp_Pnt& theP, const Standard_Real theS)
   pos.Scale(theP, theS);
 }
 
-//=======================================================================
-// function : Scaled
-// purpose :
-//=======================================================================
+//=================================================================================================
+
 inline gp_Hypr gp_Hypr::Scaled(const gp_Pnt& theP, const Standard_Real theS) const
 {
   gp_Hypr aH = *this;
@@ -436,10 +424,8 @@ inline gp_Hypr gp_Hypr::Scaled(const gp_Pnt& theP, const Standard_Real theS) con
   return aH;
 }
 
-//=======================================================================
-// function : Transform
-// purpose :
-//=======================================================================
+//=================================================================================================
+
 inline void gp_Hypr::Transform(const gp_Trsf& theT)
 {
   majorRadius *= theT.ScaleFactor();
@@ -455,10 +441,8 @@ inline void gp_Hypr::Transform(const gp_Trsf& theT)
   pos.Transform(theT);
 }
 
-//=======================================================================
-// function : Transformed
-// purpose :
-//=======================================================================
+//=================================================================================================
+
 inline gp_Hypr gp_Hypr::Transformed(const gp_Trsf& theT) const
 {
   gp_Hypr aH = *this;
@@ -476,10 +460,8 @@ inline gp_Hypr gp_Hypr::Transformed(const gp_Trsf& theT) const
   return aH;
 }
 
-//=======================================================================
-// function : Directrix1
-// purpose :
-//=======================================================================
+//=================================================================================================
+
 inline gp_Ax1 gp_Hypr::Directrix1() const
 {
   Standard_Real anE    = Eccentricity();
@@ -489,10 +471,8 @@ inline gp_Ax1 gp_Hypr::Directrix1() const
   return gp_Ax1(gp_Pnt(anOrig), pos.YDirection());
 }
 
-//=======================================================================
-// function : Directrix2
-// purpose :
-//=======================================================================
+//=================================================================================================
+
 inline gp_Ax1 gp_Hypr::Directrix2() const
 {
   Standard_Real anE    = Eccentricity();
index 45f57c5fb6eed8c56bf17f6b4e2ef62784e5c22d..3eee4d9cfcb0bd0c179fc5e75e385836f564077b 100644 (file)
@@ -391,10 +391,8 @@ private:
   Standard_Real minorRadius;
 };
 
-//=======================================================================
-// function : Asymptote1
-// purpose :
-//=======================================================================
+//=================================================================================================
+
 inline gp_Ax2d gp_Hypr2d::Asymptote1() const
 {
   Standard_ConstructionError_Raise_if(majorRadius <= gp::Resolution(),
@@ -407,10 +405,8 @@ inline gp_Ax2d gp_Hypr2d::Asymptote1() const
   return gp_Ax2d(pos.Location(), aVdir);
 }
 
-//=======================================================================
-// function : Asymptote2
-// purpose :
-//=======================================================================
+//=================================================================================================
+
 inline gp_Ax2d gp_Hypr2d::Asymptote2() const
 {
   Standard_ConstructionError_Raise_if(majorRadius <= gp::Resolution(),
@@ -423,10 +419,8 @@ inline gp_Ax2d gp_Hypr2d::Asymptote2() const
   return gp_Ax2d(pos.Location(), aVdir);
 }
 
-//=======================================================================
-// function : Directrix1
-// purpose :
-//=======================================================================
+//=================================================================================================
+
 inline gp_Ax2d gp_Hypr2d::Directrix1() const
 {
   Standard_Real anE    = Eccentricity();
@@ -436,10 +430,8 @@ inline gp_Ax2d gp_Hypr2d::Directrix1() const
   return gp_Ax2d(gp_Pnt2d(anOrig), gp_Dir2d(pos.YDirection()));
 }
 
-//=======================================================================
-// function : Directrix2
-// purpose :
-//=======================================================================
+//=================================================================================================
+
 inline gp_Ax2d gp_Hypr2d::Directrix2() const
 {
   Standard_Real anE    = Eccentricity();
@@ -449,10 +441,8 @@ inline gp_Ax2d gp_Hypr2d::Directrix2() const
   return gp_Ax2d(gp_Pnt2d(anOrig), gp_Dir2d(pos.YDirection()));
 }
 
-//=======================================================================
-// function : Reversed
-// purpose :
-//=======================================================================
+//=================================================================================================
+
 inline gp_Hypr2d gp_Hypr2d::Reversed() const
 {
   gp_Hypr2d aH    = *this;
@@ -462,10 +452,8 @@ inline gp_Hypr2d gp_Hypr2d::Reversed() const
   return aH;
 }
 
-//=======================================================================
-// function : Scale
-// purpose :
-//=======================================================================
+//=================================================================================================
+
 inline void gp_Hypr2d::Scale(const gp_Pnt2d& theP, const Standard_Real theS)
 {
   majorRadius *= theS;
@@ -481,10 +469,8 @@ inline void gp_Hypr2d::Scale(const gp_Pnt2d& theP, const Standard_Real theS)
   pos.Scale(theP, theS);
 }
 
-//=======================================================================
-// function : Scaled
-// purpose :
-//=======================================================================
+//=================================================================================================
+
 inline gp_Hypr2d gp_Hypr2d::Scaled(const gp_Pnt2d& theP, const Standard_Real theS) const
 {
   gp_Hypr2d aH = *this;
@@ -502,10 +488,8 @@ inline gp_Hypr2d gp_Hypr2d::Scaled(const gp_Pnt2d& theP, const Standard_Real the
   return aH;
 }
 
-//=======================================================================
-// function : Transform
-// purpose :
-//=======================================================================
+//=================================================================================================
+
 inline void gp_Hypr2d::Transform(const gp_Trsf2d& theT)
 {
   majorRadius *= theT.ScaleFactor();
@@ -521,10 +505,8 @@ inline void gp_Hypr2d::Transform(const gp_Trsf2d& theT)
   pos.Transform(theT);
 }
 
-//=======================================================================
-// function : Transformed
-// purpose :
-//=======================================================================
+//=================================================================================================
+
 inline gp_Hypr2d gp_Hypr2d::Transformed(const gp_Trsf2d& theT) const
 {
   gp_Hypr2d aH = *this;
index d8a86a502d8bffea4546c96c0fb890b844cb3812..c22e24fafc0d954861156fc05b685e48a1b29f84 100644 (file)
@@ -210,10 +210,8 @@ private:
   gp_Ax1 pos;
 };
 
-//=======================================================================
-// function : Distance
-// purpose :
-//=======================================================================
+//=================================================================================================
+
 inline Standard_Real gp_Lin::Distance(const gp_Pnt& theP) const
 {
   gp_XYZ aCoord = theP.XYZ();
@@ -222,10 +220,8 @@ inline Standard_Real gp_Lin::Distance(const gp_Pnt& theP) const
   return aCoord.Modulus();
 }
 
-//=======================================================================
-// function : SquareDistance
-// purpose :
-//=======================================================================
+//=================================================================================================
+
 inline Standard_Real gp_Lin::SquareDistance(const gp_Pnt& theP) const
 {
   const gp_Pnt& aLoc = pos.Location();
@@ -234,10 +230,8 @@ inline Standard_Real gp_Lin::SquareDistance(const gp_Pnt& theP) const
   return aV.SquareMagnitude();
 }
 
-//=======================================================================
-// function : Normal
-// purpose :
-//=======================================================================
+//=================================================================================================
+
 inline gp_Lin gp_Lin::Normal(const gp_Pnt& theP) const
 {
   const gp_Pnt& aLoc = pos.Location();
index 6a9ab20fadfdd413e92fa0f22ca809a98ba15fc9..d254ec0ecda3580cac6af26235255b853afd45ab 100644 (file)
@@ -212,10 +212,8 @@ private:
   gp_Ax2d pos;
 };
 
-//=======================================================================
-// function : Distance
-// purpose :
-//=======================================================================
+//=================================================================================================
+
 inline Standard_Real gp_Lin2d::Distance(const gp_Pnt2d& theP) const
 {
   gp_XY aCoord = theP.XY();
@@ -228,10 +226,8 @@ inline Standard_Real gp_Lin2d::Distance(const gp_Pnt2d& theP) const
   return aVal;
 }
 
-//=======================================================================
-// function : Distance
-// purpose :
-//=======================================================================
+//=================================================================================================
+
 inline Standard_Real gp_Lin2d::Distance(const gp_Lin2d& theOther) const
 {
   Standard_Real aD = 0.0;
@@ -242,10 +238,8 @@ inline Standard_Real gp_Lin2d::Distance(const gp_Lin2d& theOther) const
   return aD;
 }
 
-//=======================================================================
-// function : SquareDistance
-// purpose :
-//=======================================================================
+//=================================================================================================
+
 inline Standard_Real gp_Lin2d::SquareDistance(const gp_Pnt2d& theP) const
 {
   gp_XY aCoord = theP.XY();
@@ -254,10 +248,8 @@ inline Standard_Real gp_Lin2d::SquareDistance(const gp_Pnt2d& theP) const
   return aD * aD;
 }
 
-//=======================================================================
-// function : SquareDistance
-// purpose :
-//=======================================================================
+//=================================================================================================
+
 inline Standard_Real gp_Lin2d::SquareDistance(const gp_Lin2d& theOther) const
 {
   Standard_Real aD = 0.0;
index 0008aec9fbc4b1e6b1f47915d2e2a4f57a8cc139..12a56c2f7d665b0c3c0abd3f0ccfbb235984f5e7 100644 (file)
@@ -310,10 +310,8 @@ private:
   Standard_Real myMat[3][3];
 };
 
-//=======================================================================
-// function : gp_Mat
-// purpose :
-//=======================================================================
+//=================================================================================================
+
 inline gp_Mat::gp_Mat(const Standard_Real theA11,
                       const Standard_Real theA12,
                       const Standard_Real theA13,
@@ -335,10 +333,8 @@ inline gp_Mat::gp_Mat(const Standard_Real theA11,
   myMat[2][2] = theA33;
 }
 
-//=======================================================================
-// function : Add
-// purpose :
-//=======================================================================
+//=================================================================================================
+
 inline void gp_Mat::Add(const gp_Mat& theOther)
 {
   myMat[0][0] += theOther.myMat[0][0];
@@ -352,10 +348,8 @@ inline void gp_Mat::Add(const gp_Mat& theOther)
   myMat[2][2] += theOther.myMat[2][2];
 }
 
-//=======================================================================
-// function : Added
-// purpose :
-//=======================================================================
+//=================================================================================================
+
 inline gp_Mat gp_Mat::Added(const gp_Mat& theOther) const
 {
   gp_Mat aNewMat(*this);
@@ -363,10 +357,8 @@ inline gp_Mat gp_Mat::Added(const gp_Mat& theOther) const
   return aNewMat;
 }
 
-//=======================================================================
-// function : Divide
-// purpose :
-//=======================================================================
+//=================================================================================================
+
 inline void gp_Mat::Divide(const Standard_Real theScalar)
 {
   Standard_Real aVal = theScalar;
@@ -387,10 +379,8 @@ inline void gp_Mat::Divide(const Standard_Real theScalar)
   myMat[2][2] *= anUnSurScalar;
 }
 
-//=======================================================================
-// function : Divided
-// purpose :
-//=======================================================================
+//=================================================================================================
+
 inline gp_Mat gp_Mat::Divided(const Standard_Real theScalar) const
 {
   gp_Mat aNewMat(*this);
@@ -398,10 +388,8 @@ inline gp_Mat gp_Mat::Divided(const Standard_Real theScalar) const
   return aNewMat;
 }
 
-//=======================================================================
-// function : Multiply
-// purpose :
-//=======================================================================
+//=================================================================================================
+
 inline void gp_Mat::Multiply(const gp_Mat& theOther)
 {
   const Standard_Real aT00 = myMat[0][0] * theOther.myMat[0][0] + myMat[0][1] * theOther.myMat[1][0]
@@ -433,10 +421,8 @@ inline void gp_Mat::Multiply(const gp_Mat& theOther)
   myMat[2][2] = aT22;
 }
 
-//=======================================================================
-// function : PreMultiply
-// purpose :
-//=======================================================================
+//=================================================================================================
+
 inline void gp_Mat::PreMultiply(const gp_Mat& theOther)
 {
   const Standard_Real aT00 = theOther.myMat[0][0] * myMat[0][0] + theOther.myMat[0][1] * myMat[1][0]
@@ -468,10 +454,8 @@ inline void gp_Mat::PreMultiply(const gp_Mat& theOther)
   myMat[2][2] = aT22;
 }
 
-//=======================================================================
-// function : Multiplied
-// purpose :
-//=======================================================================
+//=================================================================================================
+
 inline gp_Mat gp_Mat::Multiplied(const Standard_Real theScalar) const
 {
   gp_Mat aNewMat(*this);
@@ -479,10 +463,8 @@ inline gp_Mat gp_Mat::Multiplied(const Standard_Real theScalar) const
   return aNewMat;
 }
 
-//=======================================================================
-// function : Multiply
-// purpose :
-//=======================================================================
+//=================================================================================================
+
 inline void gp_Mat::Multiply(const Standard_Real theScalar)
 {
   myMat[0][0] *= theScalar;
@@ -496,10 +478,8 @@ inline void gp_Mat::Multiply(const Standard_Real theScalar)
   myMat[2][2] *= theScalar;
 }
 
-//=======================================================================
-// function : Subtract
-// purpose :
-//=======================================================================
+//=================================================================================================
+
 inline void gp_Mat::Subtract(const gp_Mat& theOther)
 {
   myMat[0][0] -= theOther.myMat[0][0];
@@ -513,10 +493,8 @@ inline void gp_Mat::Subtract(const gp_Mat& theOther)
   myMat[2][2] -= theOther.myMat[2][2];
 }
 
-//=======================================================================
-// function : Subtracted
-// purpose :
-//=======================================================================
+//=================================================================================================
+
 inline gp_Mat gp_Mat::Subtracted(const gp_Mat& theOther) const
 {
   gp_Mat aNewMat(*this);
@@ -524,10 +502,8 @@ inline gp_Mat gp_Mat::Subtracted(const gp_Mat& theOther) const
   return aNewMat;
 }
 
-//=======================================================================
-// function : Transpose
-// purpose :
-//=======================================================================
+//=================================================================================================
+
 // On macOS 10.13.6 with XCode 9.4.1 the compiler has a bug leading to
 // generation of invalid code when method gp_Mat::Transpose() is called
 // for a matrix which is when applied to vector; it looks like vector
index c777a044da9245caea135e0990ec2f7cdf8288c1..1723d3c7e43049ac8bd3113de74b32fcfdff9256 100644 (file)
@@ -266,10 +266,8 @@ private:
   Standard_Real myMat[2][2];
 };
 
-//=======================================================================
-// function : SetRotation
-// purpose :
-//=======================================================================
+//=================================================================================================
+
 inline void gp_Mat2d::SetRotation(const Standard_Real theAng)
 {
   Standard_Real aSinA = sin(theAng);
@@ -279,10 +277,8 @@ inline void gp_Mat2d::SetRotation(const Standard_Real theAng)
   myMat[1][0]               = aSinA;
 }
 
-//=======================================================================
-// function : Add
-// purpose :
-//=======================================================================
+//=================================================================================================
+
 inline void gp_Mat2d::Add(const gp_Mat2d& theOther)
 {
   myMat[0][0] += theOther.myMat[0][0];
@@ -291,10 +287,8 @@ inline void gp_Mat2d::Add(const gp_Mat2d& theOther)
   myMat[1][1] += theOther.myMat[1][1];
 }
 
-//=======================================================================
-// function : Added
-// purpose :
-//=======================================================================
+//=================================================================================================
+
 inline gp_Mat2d gp_Mat2d::Added(const gp_Mat2d& theOther) const
 {
   gp_Mat2d aNewMat2d;
@@ -305,10 +299,8 @@ inline gp_Mat2d gp_Mat2d::Added(const gp_Mat2d& theOther) const
   return aNewMat2d;
 }
 
-//=======================================================================
-// function : Divide
-// purpose :
-//=======================================================================
+//=================================================================================================
+
 inline void gp_Mat2d::Divide(const Standard_Real theScalar)
 {
   myMat[0][0] /= theScalar;
@@ -317,10 +309,8 @@ inline void gp_Mat2d::Divide(const Standard_Real theScalar)
   myMat[1][1] /= theScalar;
 }
 
-//=======================================================================
-// function : Divided
-// purpose :
-//=======================================================================
+//=================================================================================================
+
 inline gp_Mat2d gp_Mat2d::Divided(const Standard_Real theScalar) const
 {
   gp_Mat2d aNewMat2d;
@@ -331,10 +321,8 @@ inline gp_Mat2d gp_Mat2d::Divided(const Standard_Real theScalar) const
   return aNewMat2d;
 }
 
-//=======================================================================
-// function : Multiply
-// purpose :
-//=======================================================================
+//=================================================================================================
+
 inline void gp_Mat2d::Multiply(const gp_Mat2d& theOther)
 {
   const Standard_Real aT00 =
@@ -347,10 +335,8 @@ inline void gp_Mat2d::Multiply(const gp_Mat2d& theOther)
   myMat[1][0] = aT10;
 }
 
-//=======================================================================
-// function : PreMultiply
-// purpose :
-//=======================================================================
+//=================================================================================================
+
 inline void gp_Mat2d::PreMultiply(const gp_Mat2d& theOther)
 {
   const Standard_Real aT00 =
@@ -363,10 +349,8 @@ inline void gp_Mat2d::PreMultiply(const gp_Mat2d& theOther)
   myMat[0][1] = aT01;
 }
 
-//=======================================================================
-// function : Multiplied
-// purpose :
-//=======================================================================
+//=================================================================================================
+
 inline gp_Mat2d gp_Mat2d::Multiplied(const Standard_Real theScalar) const
 {
   gp_Mat2d aNewMat2d;
@@ -377,10 +361,8 @@ inline gp_Mat2d gp_Mat2d::Multiplied(const Standard_Real theScalar) const
   return aNewMat2d;
 }
 
-//=======================================================================
-// function : Multiply
-// purpose :
-//=======================================================================
+//=================================================================================================
+
 inline void gp_Mat2d::Multiply(const Standard_Real theScalar)
 {
   myMat[0][0] *= theScalar;
@@ -389,10 +371,8 @@ inline void gp_Mat2d::Multiply(const Standard_Real theScalar)
   myMat[1][1] *= theScalar;
 }
 
-//=======================================================================
-// function : Subtract
-// purpose :
-//=======================================================================
+//=================================================================================================
+
 inline void gp_Mat2d::Subtract(const gp_Mat2d& theOther)
 {
   myMat[0][0] -= theOther.myMat[0][0];
@@ -401,10 +381,8 @@ inline void gp_Mat2d::Subtract(const gp_Mat2d& theOther)
   myMat[1][1] -= theOther.myMat[1][1];
 }
 
-//=======================================================================
-// function : Subtracted
-// purpose :
-//=======================================================================
+//=================================================================================================
+
 inline gp_Mat2d gp_Mat2d::Subtracted(const gp_Mat2d& theOther) const
 {
   gp_Mat2d aNewMat2d;
@@ -415,10 +393,8 @@ inline gp_Mat2d gp_Mat2d::Subtracted(const gp_Mat2d& theOther) const
   return aNewMat2d;
 }
 
-//=======================================================================
-// function : Transpose
-// purpose :
-//=======================================================================
+//=================================================================================================
+
 inline void gp_Mat2d::Transpose()
 {
   const Standard_Real aTemp = myMat[0][1];
@@ -426,10 +402,8 @@ inline void gp_Mat2d::Transpose()
   myMat[1][0]               = aTemp;
 }
 
-//=======================================================================
-// function : Transposed
-// purpose :
-//=======================================================================
+//=================================================================================================
+
 inline gp_Mat2d gp_Mat2d::Transposed() const
 {
   gp_Mat2d aNewMat2d;
index dd5d7817cf31213fe492538d080c86709b1b72f5..12cae6ee4961ec8c85482489a271698c198d66e4 100644 (file)
@@ -220,10 +220,8 @@ private:
   Standard_Real focalLength;
 };
 
-//=======================================================================
-// function : gp_Parab
-// purpose :
-//=======================================================================
+//=================================================================================================
+
 inline gp_Parab::gp_Parab(const gp_Ax1& theD, const gp_Pnt& theF)
 {
   gp_Lin aDroite(theD);
@@ -238,10 +236,8 @@ inline gp_Parab::gp_Parab(const gp_Ax1& theD, const gp_Pnt& theF)
                anAx.Direction());
 }
 
-//=======================================================================
-// function : Directrix
-// purpose :
-//=======================================================================
+//=================================================================================================
+
 inline gp_Ax1 gp_Parab::Directrix() const
 {
   const gp_Pnt& aPP = pos.Location();
@@ -252,10 +248,8 @@ inline gp_Ax1 gp_Parab::Directrix() const
   return gp_Ax1(aP, pos.YDirection());
 }
 
-//=======================================================================
-// function : Focus
-// purpose :
-//=======================================================================
+//=================================================================================================
+
 inline gp_Pnt gp_Parab::Focus() const
 {
   const gp_Pnt& aPP = pos.Location();
@@ -265,10 +259,8 @@ inline gp_Pnt gp_Parab::Focus() const
                 aPP.Z() + focalLength * aDD.Z());
 }
 
-//=======================================================================
-// function : Scale
-// purpose :
-//=======================================================================
+//=================================================================================================
+
 inline void gp_Parab::Scale(const gp_Pnt& theP, const Standard_Real theS)
 {
   focalLength *= theS;
@@ -279,10 +271,8 @@ inline void gp_Parab::Scale(const gp_Pnt& theP, const Standard_Real theS)
   pos.Scale(theP, theS);
 }
 
-//=======================================================================
-// function : Scaled
-// purpose :
-//=======================================================================
+//=================================================================================================
+
 inline gp_Parab gp_Parab::Scaled(const gp_Pnt& theP, const Standard_Real theS) const
 {
   gp_Parab aPrb = *this;
@@ -295,10 +285,8 @@ inline gp_Parab gp_Parab::Scaled(const gp_Pnt& theP, const Standard_Real theS) c
   return aPrb;
 }
 
-//=======================================================================
-// function : Transform
-// purpose :
-//=======================================================================
+//=================================================================================================
+
 inline void gp_Parab::Transform(const gp_Trsf& theT)
 {
   focalLength *= theT.ScaleFactor();
@@ -309,10 +297,8 @@ inline void gp_Parab::Transform(const gp_Trsf& theT)
   pos.Transform(theT);
 }
 
-//=======================================================================
-// function : Transformed
-// purpose :
-//=======================================================================
+//=================================================================================================
+
 inline gp_Parab gp_Parab::Transformed(const gp_Trsf& theT) const
 {
   gp_Parab aPrb = *this;
index acebcdc75cdf549137829385f67bb07a6f4ba606..803f38b34eb3f192ae1e454698044ddbe7a3de94 100644 (file)
@@ -254,10 +254,8 @@ private:
   Standard_Real focalLength;
 };
 
-//=======================================================================
-// function : Directrix
-// purpose :
-//=======================================================================
+//=================================================================================================
+
 inline gp_Ax2d gp_Parab2d::Directrix() const
 {
   gp_Pnt2d aP(pos.Location().X() - focalLength * pos.XDirection().X(),
@@ -266,10 +264,8 @@ inline gp_Ax2d gp_Parab2d::Directrix() const
   return gp_Ax2d(aP, aV);
 }
 
-//=======================================================================
-// function : Reversed
-// purpose :
-//=======================================================================
+//=================================================================================================
+
 inline gp_Parab2d gp_Parab2d::Reversed() const
 {
   gp_Parab2d aP    = *this;
@@ -279,10 +275,8 @@ inline gp_Parab2d gp_Parab2d::Reversed() const
   return aP;
 }
 
-//=======================================================================
-// function : Scale
-// purpose :
-//=======================================================================
+//=================================================================================================
+
 inline void gp_Parab2d::Scale(const gp_Pnt2d& theP, const Standard_Real theS)
 {
   focalLength *= theS;
@@ -293,10 +287,8 @@ inline void gp_Parab2d::Scale(const gp_Pnt2d& theP, const Standard_Real theS)
   pos.Scale(theP, theS);
 }
 
-//=======================================================================
-// function : Scaled
-// purpose :
-//=======================================================================
+//=================================================================================================
+
 inline gp_Parab2d gp_Parab2d::Scaled(const gp_Pnt2d& theP, const Standard_Real theS) const
 {
   gp_Parab2d aPrb = *this;
@@ -309,10 +301,8 @@ inline gp_Parab2d gp_Parab2d::Scaled(const gp_Pnt2d& theP, const Standard_Real t
   return aPrb;
 }
 
-//=======================================================================
-// function : Transform
-// purpose :
-//=======================================================================
+//=================================================================================================
+
 inline void gp_Parab2d::Transform(const gp_Trsf2d& theT)
 {
   focalLength *= theT.ScaleFactor();
@@ -323,10 +313,8 @@ inline void gp_Parab2d::Transform(const gp_Trsf2d& theT)
   pos.Transform(theT);
 }
 
-//=======================================================================
-// function : Transformed
-// purpose :
-//=======================================================================
+//=================================================================================================
+
 inline gp_Parab2d gp_Parab2d::Transformed(const gp_Trsf2d& theT) const
 {
   gp_Parab2d aPrb = *this;
index bdd16786549cf04035f6b85b285e6faf786440fe..fa825947433c5bd8b8befef45e2016088ecfa30b 100644 (file)
@@ -281,10 +281,8 @@ private:
 
 #include <gp_Lin.hxx>
 
-//=======================================================================
-// function : Coefficients
-// purpose :
-//=======================================================================
+//=================================================================================================
+
 inline void gp_Pln::Coefficients(Standard_Real& theA,
                                  Standard_Real& theB,
                                  Standard_Real& theC,
@@ -307,10 +305,8 @@ inline void gp_Pln::Coefficients(Standard_Real& theA,
   theD             = -(theA * aP.X() + theB * aP.Y() + theC * aP.Z());
 }
 
-//=======================================================================
-// function : Distance
-// purpose :
-//=======================================================================
+//=================================================================================================
+
 inline Standard_Real gp_Pln::Distance(const gp_Pnt& theP) const
 {
   const gp_Pnt& aLoc = pos.Location();
@@ -324,10 +320,8 @@ inline Standard_Real gp_Pln::Distance(const gp_Pnt& theP) const
   return aD;
 }
 
-//=======================================================================
-// function : Distance
-// purpose :
-//=======================================================================
+//=================================================================================================
+
 inline Standard_Real gp_Pln::Distance(const gp_Lin& theL) const
 {
   Standard_Real aD = 0.0;
@@ -346,10 +340,8 @@ inline Standard_Real gp_Pln::Distance(const gp_Lin& theL) const
   return aD;
 }
 
-//=======================================================================
-// function : Distance
-// purpose :
-//=======================================================================
+//=================================================================================================
+
 inline Standard_Real gp_Pln::Distance(const gp_Pln& theOther) const
 {
   Standard_Real aD = 0.0;
index 706fb34a70ccb1b849b82bd602133f12fb402a3c..175daf799ca0f254c99cbb56431db5fd9b742762 100644 (file)
@@ -253,19 +253,15 @@ struct equal_to<gp_Pnt>
 #include <gp_Vec.hxx>
 #include <gp_XYZ.hxx>
 
-//=======================================================================
-// function : Distance
-// purpose :
-//=======================================================================
+//=================================================================================================
+
 inline Standard_Real gp_Pnt::Distance(const gp_Pnt& theOther) const
 {
   return sqrt(SquareDistance(theOther));
 }
 
-//=======================================================================
-// function : SquareDistance
-// purpose :
-//=======================================================================
+//=================================================================================================
+
 inline Standard_Real gp_Pnt::SquareDistance(const gp_Pnt& theOther) const
 {
   const gp_XYZ&       aXYZ = theOther.coord;
@@ -275,10 +271,8 @@ inline Standard_Real gp_Pnt::SquareDistance(const gp_Pnt& theOther) const
   return aDx * aDx + aDy * aDy + aDz * aDz;
 }
 
-//=======================================================================
-// function : Rotate
-// purpose :
-//=======================================================================
+//=================================================================================================
+
 inline void gp_Pnt::Rotate(const gp_Ax1& theA1, const Standard_Real theAng)
 {
   gp_Trsf aT;
@@ -286,10 +280,8 @@ inline void gp_Pnt::Rotate(const gp_Ax1& theA1, const Standard_Real theAng)
   aT.Transforms(coord);
 }
 
-//=======================================================================
-// function : Scale
-// purpose :
-//=======================================================================
+//=================================================================================================
+
 inline void gp_Pnt::Scale(const gp_Pnt& theP, const Standard_Real theS)
 {
   gp_XYZ aXYZ = theP.coord;
@@ -298,19 +290,15 @@ inline void gp_Pnt::Scale(const gp_Pnt& theP, const Standard_Real theS)
   coord.Add(aXYZ);
 }
 
-//=======================================================================
-// function : Translate
-// purpose :
-//=======================================================================
+//=================================================================================================
+
 inline void gp_Pnt::Translate(const gp_Vec& theV)
 {
   coord.Add(theV.XYZ());
 }
 
-//=======================================================================
-// function : Translated
-// purpose :
-//=======================================================================
+//=================================================================================================
+
 inline gp_Pnt gp_Pnt::Translated(const gp_Vec& theV) const
 {
   gp_Pnt aP = *this;
index 889d61fab22c8f3a96dc84d760e275b29547a95c..8779350b077d29edf11fbe28a92a770d0bbe9c85 100644 (file)
@@ -185,10 +185,8 @@ private:
 #include <gp_Vec2d.hxx>
 #include <gp_Trsf2d.hxx>
 
-//=======================================================================
-// function : Distance
-// purpose :
-//=======================================================================
+//=================================================================================================
+
 inline Standard_Real gp_Pnt2d::Distance(const gp_Pnt2d& theOther) const
 {
   const gp_XY&  aXY = theOther.coord;
@@ -197,10 +195,8 @@ inline Standard_Real gp_Pnt2d::Distance(const gp_Pnt2d& theOther) const
   return sqrt(aX * aX + aY * aY);
 }
 
-//=======================================================================
-// function : SquareDistance
-// purpose :
-//=======================================================================
+//=================================================================================================
+
 inline Standard_Real gp_Pnt2d::SquareDistance(const gp_Pnt2d& theOther) const
 {
   const gp_XY&  aXY = theOther.coord;
@@ -209,10 +205,8 @@ inline Standard_Real gp_Pnt2d::SquareDistance(const gp_Pnt2d& theOther) const
   return (aX * aX + aY * aY);
 }
 
-//=======================================================================
-// function : Rotate
-// purpose :
-//=======================================================================
+//=================================================================================================
+
 inline void gp_Pnt2d::Rotate(const gp_Pnt2d& theP, const Standard_Real theAng)
 {
   gp_Trsf2d aT;
@@ -220,10 +214,8 @@ inline void gp_Pnt2d::Rotate(const gp_Pnt2d& theP, const Standard_Real theAng)
   aT.Transforms(coord);
 }
 
-//=======================================================================
-// function : Scale
-// purpose :
-//=======================================================================
+//=================================================================================================
+
 inline void gp_Pnt2d::Scale(const gp_Pnt2d& theP, const Standard_Real theS)
 {
   gp_XY aXY = theP.coord;
@@ -232,19 +224,15 @@ inline void gp_Pnt2d::Scale(const gp_Pnt2d& theP, const Standard_Real theS)
   coord.Add(aXY);
 }
 
-//=======================================================================
-// function : Translate
-// purpose :
-//=======================================================================
+//=================================================================================================
+
 inline void gp_Pnt2d::Translate(const gp_Vec2d& theV)
 {
   coord.Add(theV.XY());
 }
 
-//=======================================================================
-// function : Translated
-// purpose :
-//=======================================================================
+//=================================================================================================
+
 inline gp_Pnt2d gp_Pnt2d::Translated(const gp_Vec2d& theV) const
 {
   gp_Pnt2d aP = *this;
index 858c40abee5504d21ff620b1e9e884a8aadd5c5d..8577282d788f21aa0b59dbf41554d2a26fa24fcf 100644 (file)
@@ -301,10 +301,8 @@ private:
   Standard_Real w;
 };
 
-//=======================================================================
-// function : Set
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline void gp_Quaternion::Set(Standard_Real theX,
                                Standard_Real theY,
                                Standard_Real theZ,
@@ -316,10 +314,8 @@ inline void gp_Quaternion::Set(Standard_Real theX,
   this->w = theW;
 }
 
-//=======================================================================
-// function : Set
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline void gp_Quaternion::Set(const gp_Quaternion& theQuaternion)
 {
   x = theQuaternion.x;
@@ -328,10 +324,8 @@ inline void gp_Quaternion::Set(const gp_Quaternion& theQuaternion)
   w = theQuaternion.w;
 }
 
-//=======================================================================
-// function : Scale
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline void gp_Quaternion::Scale(const Standard_Real theScale)
 {
   x *= theScale;
@@ -340,10 +334,8 @@ inline void gp_Quaternion::Scale(const Standard_Real theScale)
   w *= theScale;
 }
 
-//=======================================================================
-// function : Multiplied
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline gp_Quaternion gp_Quaternion::Multiplied(const gp_Quaternion& theQ) const
 {
   return gp_Quaternion(w * theQ.x + x * theQ.w + y * theQ.z - z * theQ.y,
@@ -353,10 +345,8 @@ inline gp_Quaternion gp_Quaternion::Multiplied(const gp_Quaternion& theQ) const
   // 16 multiplications    12 addidtions    0 variables
 }
 
-//=======================================================================
-// function : Add
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline void gp_Quaternion::Add(const gp_Quaternion& theQ)
 {
   x += theQ.x;
@@ -365,10 +355,8 @@ inline void gp_Quaternion::Add(const gp_Quaternion& theQ)
   w += theQ.w;
 }
 
-//=======================================================================
-// function : Subtract
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline void gp_Quaternion::Subtract(const gp_Quaternion& theQ)
 {
   x -= theQ.x;
index 4b10a3ed6abcd9ba25413c9050d4bcb6b1a2c438..bcc636310bfe96c2a04a6fb4b518ec8da307d095 100644 (file)
@@ -199,10 +199,8 @@ private:
   Standard_Real radius;
 };
 
-//=======================================================================
-// function : Scale
-// purpose :
-//=======================================================================
+//=================================================================================================
+
 inline void gp_Sphere::Scale(const gp_Pnt& theP, const Standard_Real theS)
 {
   pos.Scale(theP, theS);
@@ -213,10 +211,8 @@ inline void gp_Sphere::Scale(const gp_Pnt& theP, const Standard_Real theS)
   }
 }
 
-//=======================================================================
-// function : Scaled
-// purpose :
-//=======================================================================
+//=================================================================================================
+
 inline gp_Sphere gp_Sphere::Scaled(const gp_Pnt& theP, const Standard_Real theS) const
 {
   gp_Sphere aC = *this;
@@ -229,10 +225,8 @@ inline gp_Sphere gp_Sphere::Scaled(const gp_Pnt& theP, const Standard_Real theS)
   return aC;
 }
 
-//=======================================================================
-// function : Transform
-// purpose :
-//=======================================================================
+//=================================================================================================
+
 inline void gp_Sphere::Transform(const gp_Trsf& theT)
 {
   pos.Transform(theT);
@@ -243,10 +237,8 @@ inline void gp_Sphere::Transform(const gp_Trsf& theT)
   }
 }
 
-//=======================================================================
-// function : Transformed
-// purpose :
-//=======================================================================
+//=================================================================================================
+
 inline gp_Sphere gp_Sphere::Transformed(const gp_Trsf& theT) const
 {
   gp_Sphere aC = *this;
index 0e732bf4c188e952114f3221443d1704045d8e98..b3a67a269c0c34c3bc423176895735506f8af8e8 100644 (file)
@@ -249,10 +249,8 @@ private:
   Standard_Real minorRadius;
 };
 
-//=======================================================================
-// function : Scale
-// purpose :
-//=======================================================================
+//=================================================================================================
+
 inline void gp_Torus::Scale(const gp_Pnt& theP, const Standard_Real theS)
 {
   pos.Scale(theP, theS);
@@ -265,10 +263,8 @@ inline void gp_Torus::Scale(const gp_Pnt& theP, const Standard_Real theS)
   minorRadius *= s;
 }
 
-//=======================================================================
-// function : Scaled
-// purpose :
-//=======================================================================
+//=================================================================================================
+
 inline gp_Torus gp_Torus::Scaled(const gp_Pnt& theP, const Standard_Real theS) const
 {
   gp_Torus aC = *this;
@@ -286,10 +282,8 @@ inline gp_Torus gp_Torus::Scaled(const gp_Pnt& theP, const Standard_Real theS) c
   return aC;
 }
 
-//=======================================================================
-// function : Transform
-// purpose :
-//=======================================================================
+//=================================================================================================
+
 inline void gp_Torus::Transform(const gp_Trsf& theT)
 {
   pos.Transform(theT);
@@ -302,10 +296,8 @@ inline void gp_Torus::Transform(const gp_Trsf& theT)
   majorRadius *= aT;
 }
 
-//=======================================================================
-// function : Transformed
-// purpose :
-//=======================================================================
+//=================================================================================================
+
 inline gp_Torus gp_Torus::Transformed(const gp_Trsf& theT) const
 {
   gp_Torus aC = *this;
index b1290adaa470932d3678185638765bd9ea8a1b04..56c5fc19ca4d44f9b81fd771c84d01d2c033e104 100644 (file)
 #include <Standard_OutOfRange.hxx>
 #include <Standard_Dump.hxx>
 
-//=======================================================================
-// function : gp_Trsf
-// purpose  : Constructor from 2d
-//=======================================================================
+//=================================================================================================
+
 gp_Trsf::gp_Trsf(const gp_Trsf2d& T)
     : scale(T.ScaleFactor()),
       shape(T.Form()),
index 8b804dbf2160218df3097d03358fb7e7d23cc963..70cd405789a57cb0e7d5827eb1a0ed582bad0c48 100644 (file)
@@ -375,10 +375,8 @@ private:
 #include <gp_Vec.hxx>
 #include <gp_Pnt.hxx>
 
-//=======================================================================
-// function : gp_Trsf
-// purpose :
-//=======================================================================
+//=================================================================================================
+
 inline gp_Trsf::gp_Trsf()
     : scale(1.0),
       shape(gp_Identity),
@@ -387,10 +385,8 @@ inline gp_Trsf::gp_Trsf()
 {
 }
 
-//=======================================================================
-// function : SetMirror
-// purpose :
-//=======================================================================
+//=================================================================================================
+
 inline void gp_Trsf::SetMirror(const gp_Pnt& theP)
 {
   shape = gp_PntMirror;
@@ -400,10 +396,8 @@ inline void gp_Trsf::SetMirror(const gp_Pnt& theP)
   loc.Multiply(2.0);
 }
 
-//=======================================================================
-// function : SetTranslation
-// purpose :
-//=======================================================================
+//=================================================================================================
+
 inline void gp_Trsf::SetTranslation(const gp_Vec& theV)
 {
   shape = gp_Translation;
@@ -412,10 +406,8 @@ inline void gp_Trsf::SetTranslation(const gp_Vec& theV)
   loc = theV.XYZ();
 }
 
-//=======================================================================
-// function : SetTranslation
-// purpose :
-//=======================================================================
+//=================================================================================================
+
 inline void gp_Trsf::SetTranslation(const gp_Pnt& theP1, const gp_Pnt& theP2)
 {
   shape = gp_Translation;
@@ -424,10 +416,8 @@ inline void gp_Trsf::SetTranslation(const gp_Pnt& theP1, const gp_Pnt& theP2)
   loc = (theP2.XYZ()).Subtracted(theP1.XYZ());
 }
 
-//=======================================================================
-// function : Value
-// purpose :
-//=======================================================================
+//=================================================================================================
+
 inline Standard_Real gp_Trsf::Value(const Standard_Integer theRow,
                                     const Standard_Integer theCol) const
 {
@@ -442,10 +432,8 @@ inline Standard_Real gp_Trsf::Value(const Standard_Integer theRow,
   }
 }
 
-//=======================================================================
-// function : Transforms
-// purpose :
-//=======================================================================
+//=================================================================================================
+
 inline void gp_Trsf::Transforms(Standard_Real& theX, Standard_Real& theY, Standard_Real& theZ) const
 {
   gp_XYZ aTriplet(theX, theY, theZ);
@@ -460,10 +448,8 @@ inline void gp_Trsf::Transforms(Standard_Real& theX, Standard_Real& theY, Standa
   theZ = aTriplet.Z();
 }
 
-//=======================================================================
-// function : Transforms
-// purpose :
-//=======================================================================
+//=================================================================================================
+
 inline void gp_Trsf::Transforms(gp_XYZ& theCoord) const
 {
   theCoord.Multiply(matrix);
index 2215ce0600d10fe107d11662a919a8f8e2f01951..e69aac3b2d3ad5fc61b481361f85d8d0d8f224c9 100644 (file)
@@ -216,10 +216,8 @@ private:
 #include <gp_Trsf.hxx>
 #include <gp_Pnt2d.hxx>
 
-//=======================================================================
-// function : gp_Trsf2d
-// purpose :
-//=======================================================================
+//=================================================================================================
+
 inline gp_Trsf2d::gp_Trsf2d()
 {
   shape = gp_Identity;
@@ -228,10 +226,8 @@ inline gp_Trsf2d::gp_Trsf2d()
   loc.SetCoord(0.0, 0.0);
 }
 
-//=======================================================================
-// function : gp_Trsf2d
-// purpose :
-//=======================================================================
+//=================================================================================================
+
 inline gp_Trsf2d::gp_Trsf2d(const gp_Trsf& theT)
     : scale(theT.ScaleFactor()),
       shape(theT.Form()),
@@ -244,10 +240,8 @@ inline gp_Trsf2d::gp_Trsf2d(const gp_Trsf& theT)
   matrix(2, 2)    = M(2, 2);
 }
 
-//=======================================================================
-// function : SetRotation
-// purpose :
-//=======================================================================
+//=================================================================================================
+
 inline void gp_Trsf2d::SetRotation(const gp_Pnt2d& theP, const Standard_Real theAng)
 {
   shape = gp_Rotation;
@@ -259,10 +253,8 @@ inline void gp_Trsf2d::SetRotation(const gp_Pnt2d& theP, const Standard_Real the
   loc.Add(theP.XY());
 }
 
-//=======================================================================
-// function : SetMirror
-// purpose :
-//=======================================================================
+//=================================================================================================
+
 inline void gp_Trsf2d::SetMirror(const gp_Pnt2d& theP)
 {
   shape = gp_PntMirror;
@@ -272,10 +264,8 @@ inline void gp_Trsf2d::SetMirror(const gp_Pnt2d& theP)
   loc.Multiply(2.0);
 }
 
-//=======================================================================
-// function : SetScale
-// purpose :
-//=======================================================================
+//=================================================================================================
+
 inline void gp_Trsf2d::SetScale(const gp_Pnt2d& theP, const Standard_Real theS)
 {
   shape = gp_Scale;
@@ -285,10 +275,8 @@ inline void gp_Trsf2d::SetScale(const gp_Pnt2d& theP, const Standard_Real theS)
   loc.Multiply(1.0 - theS);
 }
 
-//=======================================================================
-// function : SetTranslation
-// purpose :
-//=======================================================================
+//=================================================================================================
+
 inline void gp_Trsf2d::SetTranslation(const gp_Vec2d& theV)
 {
   shape = gp_Translation;
@@ -297,10 +285,8 @@ inline void gp_Trsf2d::SetTranslation(const gp_Vec2d& theV)
   loc = theV.XY();
 }
 
-//=======================================================================
-// function : SetTranslation
-// purpose :
-//=======================================================================
+//=================================================================================================
+
 inline void gp_Trsf2d::SetTranslation(const gp_Pnt2d& theP1, const gp_Pnt2d& theP2)
 {
   shape = gp_Translation;
@@ -309,10 +295,8 @@ inline void gp_Trsf2d::SetTranslation(const gp_Pnt2d& theP1, const gp_Pnt2d& the
   loc = (theP2.XY()).Subtracted(theP1.XY());
 }
 
-//=======================================================================
-// function : Value
-// purpose :
-//=======================================================================
+//=================================================================================================
+
 inline Standard_Real gp_Trsf2d::Value(const Standard_Integer theRow,
                                       const Standard_Integer theCol) const
 {
@@ -327,10 +311,8 @@ inline Standard_Real gp_Trsf2d::Value(const Standard_Integer theRow,
   }
 }
 
-//=======================================================================
-// function : Transforms
-// purpose :
-//=======================================================================
+//=================================================================================================
+
 inline void gp_Trsf2d::Transforms(Standard_Real& theX, Standard_Real& theY) const
 {
   gp_XY aDoublet(theX, theY);
@@ -343,10 +325,8 @@ inline void gp_Trsf2d::Transforms(Standard_Real& theX, Standard_Real& theY) cons
   aDoublet.Coord(theX, theY);
 }
 
-//=======================================================================
-// function : Transforms
-// purpose :
-//=======================================================================
+//=================================================================================================
+
 inline void gp_Trsf2d::Transforms(gp_XY& theCoord) const
 {
   theCoord.Multiply(matrix);
index 5df6876913242a88c1677f51e632b111342e59d7..26f75c26c7e69f3e7f6ce8aa97708ced475c58b5 100644 (file)
@@ -449,28 +449,22 @@ private:
 #include <gp_Pnt.hxx>
 #include <gp_Trsf.hxx>
 
-//=======================================================================
-// function :  gp_Vec
-// purpose :
-//=======================================================================
+//=================================================================================================
+
 inline gp_Vec::gp_Vec(const gp_Dir& theV)
 {
   coord = theV.XYZ();
 }
 
-//=======================================================================
-// function :  gp_Vec
-// purpose :
-//=======================================================================
+//=================================================================================================
+
 inline gp_Vec::gp_Vec(const gp_Pnt& theP1, const gp_Pnt& theP2)
 {
   coord = theP2.XYZ().Subtracted(theP1.XYZ());
 }
 
-//=======================================================================
-// function :  IsNormal
-// purpose :
-//=======================================================================
+//=================================================================================================
+
 inline Standard_Boolean gp_Vec::IsNormal(const gp_Vec&       theOther,
                                          const Standard_Real theAngularTolerance) const
 {
@@ -478,10 +472,8 @@ inline Standard_Boolean gp_Vec::IsNormal(const gp_Vec&       theOther,
   return anAng <= theAngularTolerance;
 }
 
-//=======================================================================
-// function :  Angle
-// purpose :
-//=======================================================================
+//=================================================================================================
+
 inline Standard_Real gp_Vec::Angle(const gp_Vec& theOther) const
 {
   gp_VectorWithNullMagnitude_Raise_if(coord.Modulus() <= gp::Resolution()
@@ -490,10 +482,8 @@ inline Standard_Real gp_Vec::Angle(const gp_Vec& theOther) const
   return (gp_Dir(coord)).Angle(theOther);
 }
 
-//=======================================================================
-// function :  AngleWithRef
-// purpose :
-//=======================================================================
+//=================================================================================================
+
 inline Standard_Real gp_Vec::AngleWithRef(const gp_Vec& theOther, const gp_Vec& theVRef) const
 {
   gp_VectorWithNullMagnitude_Raise_if(coord.Modulus() <= gp::Resolution()
@@ -503,10 +493,8 @@ inline Standard_Real gp_Vec::AngleWithRef(const gp_Vec& theOther, const gp_Vec&
   return (gp_Dir(coord)).AngleWithRef(theOther, theVRef);
 }
 
-//=======================================================================
-// function :  Normalized
-// purpose :
-//=======================================================================
+//=================================================================================================
+
 inline gp_Vec gp_Vec::Normalized() const
 {
   const Standard_Real aD = coord.Modulus();
@@ -517,10 +505,8 @@ inline gp_Vec gp_Vec::Normalized() const
   return aV;
 }
 
-//=======================================================================
-// function :  Rotate
-// purpose :
-//=======================================================================
+//=================================================================================================
+
 inline void gp_Vec::Rotate(const gp_Ax1& theA1, const Standard_Real theAng)
 {
   gp_Trsf aT;
index f8a4eea48585978eca1c38ac74da9ca27f066fd5..b9540beded2b6014df2f09c692d07f02fcf8894c 100644 (file)
@@ -357,28 +357,22 @@ private:
 #include <gp_Trsf2d.hxx>
 #include <gp_Pnt2d.hxx>
 
-//=======================================================================
-// function :  gp_Vec2d
-// purpose :
-//=======================================================================
+//=================================================================================================
+
 inline gp_Vec2d::gp_Vec2d(const gp_Dir2d& theV)
 {
   coord = theV.XY();
 }
 
-//=======================================================================
-// function :  gp_Vec2d
-// purpose :
-//=======================================================================
+//=================================================================================================
+
 inline gp_Vec2d::gp_Vec2d(const gp_Pnt2d& theP1, const gp_Pnt2d& theP2)
 {
   coord = theP2.XY().Subtracted(theP1.XY());
 }
 
-//=======================================================================
-// function :  IsOpposite
-// purpose :
-//=======================================================================
+//=================================================================================================
+
 inline Standard_Boolean gp_Vec2d::IsOpposite(const gp_Vec2d&     theOther,
                                              const Standard_Real theAngularTolerance) const
 {
@@ -386,10 +380,8 @@ inline Standard_Boolean gp_Vec2d::IsOpposite(const gp_Vec2d&     theOther,
   return M_PI - anAng <= theAngularTolerance;
 }
 
-//=======================================================================
-// function :  IsParallel
-// purpose :
-//=======================================================================
+//=================================================================================================
+
 inline Standard_Boolean gp_Vec2d::IsParallel(const gp_Vec2d&     theOther,
                                              const Standard_Real theAngularTolerance) const
 {
@@ -397,10 +389,8 @@ inline Standard_Boolean gp_Vec2d::IsParallel(const gp_Vec2d&     theOther,
   return anAng <= theAngularTolerance || M_PI - anAng <= theAngularTolerance;
 }
 
-//=======================================================================
-// function :  Normalized
-// purpose :
-//=======================================================================
+//=================================================================================================
+
 inline gp_Vec2d gp_Vec2d::Normalized() const
 {
   Standard_Real aD = coord.Modulus();
@@ -411,10 +401,8 @@ inline gp_Vec2d gp_Vec2d::Normalized() const
   return aV;
 }
 
-//=======================================================================
-// function :  Rotate
-// purpose :
-//=======================================================================
+//=================================================================================================
+
 inline void gp_Vec2d::Rotate(const Standard_Real theAng)
 {
   gp_Trsf2d aT;
index 3c514c8630fc860121c4bcff16014522550cbb7b..40a42eaa4507758e8acdcc43fe6c6ba29fcf7481 100644 (file)
@@ -377,10 +377,8 @@ private:
   Standard_Real y;
 };
 
-//=======================================================================
-// function :  Multiply
-// purpose :
-//=======================================================================
+//=================================================================================================
+
 inline void gp_XY::Multiply(const gp_Mat2d& theMatrix)
 {
   const Standard_Real aXresult = theMatrix.myMat[0][0] * x + theMatrix.myMat[0][1] * y;
@@ -388,10 +386,8 @@ inline void gp_XY::Multiply(const gp_Mat2d& theMatrix)
   x                            = aXresult;
 }
 
-//=======================================================================
-// function :  Normalize
-// purpose :
-//=======================================================================
+//=================================================================================================
+
 inline void gp_XY::Normalize()
 {
   Standard_Real aD = Modulus();
index f4c05f2b45903379ac84e705966fc9978d1bf1dc..29140e98facb68b2baf23e5db81d5218c8dfd22d 100644 (file)
@@ -477,10 +477,8 @@ private:
   Standard_Real z;
 };
 
-//=======================================================================
-// function : Cross
-// purpose :
-//=======================================================================
+//=================================================================================================
+
 inline void gp_XYZ::Cross(const gp_XYZ& theRight)
 {
   const Standard_Real aXresult = y * theRight.z - z * theRight.y;
@@ -490,19 +488,15 @@ inline void gp_XYZ::Cross(const gp_XYZ& theRight)
   y                            = aYresult;
 }
 
-//=======================================================================
-// function : CrossMagnitude
-// purpose :
-//=======================================================================
+//=================================================================================================
+
 inline Standard_Real gp_XYZ::CrossMagnitude(const gp_XYZ& theRight) const
 {
   return sqrt(CrossSquareMagnitude(theRight));
 }
 
-//=======================================================================
-// function : CrossSquareMagnitude
-// purpose :
-//=======================================================================
+//=================================================================================================
+
 inline Standard_Real gp_XYZ::CrossSquareMagnitude(const gp_XYZ& theRight) const
 {
   const Standard_Real aXresult = y * theRight.z - z * theRight.y;
@@ -511,10 +505,8 @@ inline Standard_Real gp_XYZ::CrossSquareMagnitude(const gp_XYZ& theRight) const
   return aXresult * aXresult + aYresult * aYresult + aZresult * aZresult;
 }
 
-//=======================================================================
-// function : CrossCross
-// purpose :
-//=======================================================================
+//=================================================================================================
+
 inline void gp_XYZ::CrossCross(const gp_XYZ& theCoord1, const gp_XYZ& theCoord2)
 {
   // First compute theCoord1 * theCoord2
@@ -531,10 +523,8 @@ inline void gp_XYZ::CrossCross(const gp_XYZ& theCoord1, const gp_XYZ& theCoord2)
   y = aYresult;
 }
 
-//=======================================================================
-// function : DotCross
-// purpose :
-//=======================================================================
+//=================================================================================================
+
 inline Standard_Real gp_XYZ::DotCross(const gp_XYZ& theCoord1, const gp_XYZ& theCoord2) const
 {
   const Standard_Real aXresult  = theCoord1.y * theCoord2.z - theCoord1.z * theCoord2.y;
@@ -543,10 +533,8 @@ inline Standard_Real gp_XYZ::DotCross(const gp_XYZ& theCoord1, const gp_XYZ& the
   return (x * aXresult + y * anYresult + z * aZresult);
 }
 
-//=======================================================================
-// function : Multiply
-// purpose :
-//=======================================================================
+//=================================================================================================
+
 inline void gp_XYZ::Multiply(const gp_Mat& theMatrix)
 {
   // Cache original coordinates to avoid aliasing issues
@@ -563,10 +551,8 @@ inline void gp_XYZ::Multiply(const gp_Mat& theMatrix)
       + theMatrix.myMat[2][2] * aOrigZ;
 }
 
-//=======================================================================
-// function : Normalize
-// purpose :
-//=======================================================================
+//=================================================================================================
+
 inline void gp_XYZ::Normalize()
 {
   Standard_Real aD = Modulus();
index ee7875fc52070718e8843dd579e7f2e781acd809..4256f9c1eb01374801e5a62303979bb0b27eb61f 100644 (file)
@@ -47,10 +47,7 @@ inline Standard_Real math_KronrodSingleIntegration::ErrorReached() const
   return myErrorReached;
 }
 
-//=======================================================================
-// function : AbsolutError
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Real math_KronrodSingleIntegration::AbsolutError() const
 {
index 2246541b702338d4dc03d879f6c83bc3e5ef9165..6044162ae99266fc2da570cb7c30dfee6f87f2b9 100644 (file)
 #include <Message_Algorithm.hxx>
 #include <TCollection_HExtendedString.hxx>
 
-//=======================================================================
-// function : SetStatus
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void Message_Algorithm::SetStatus(const Message_Status&  theStat,
                                          const Standard_CString theStr,
@@ -28,10 +25,7 @@ inline void Message_Algorithm::SetStatus(const Message_Status&  theStat,
   SetStatus(theStat, new TCollection_HExtendedString(theStr), noRepetitions);
 }
 
-//=======================================================================
-// function : SetStatus
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void Message_Algorithm::SetStatus(const Message_Status&          theStat,
                                          const TCollection_AsciiString& theStr,
@@ -40,10 +34,7 @@ inline void Message_Algorithm::SetStatus(const Message_Status&          theStat,
   SetStatus(theStat, new TCollection_HExtendedString(theStr), noRepetitions);
 }
 
-//=======================================================================
-// function : SetStatus
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void Message_Algorithm::SetStatus(const Message_Status&                   theStat,
                                          const Handle(TCollection_HAsciiString)& theStr,
@@ -52,10 +43,7 @@ inline void Message_Algorithm::SetStatus(const Message_Status&
   SetStatus(theStat, new TCollection_HExtendedString(theStr), noRepetitions);
 }
 
-//=======================================================================
-// function : SetStatus
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void Message_Algorithm::SetStatus(const Message_Status&             theStat,
                                          const TCollection_ExtendedString& theStr,
@@ -64,30 +52,21 @@ inline void Message_Algorithm::SetStatus(const Message_Status&             theSt
   SetStatus(theStat, new TCollection_HExtendedString(theStr), noRepetitions);
 }
 
-//=======================================================================
-// function : GetStatus
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline const Message_ExecStatus& Message_Algorithm::GetStatus() const
 {
   return myStatus;
 }
 
-//=======================================================================
-// function : ChangeStatus
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Message_ExecStatus& Message_Algorithm::ChangeStatus()
 {
   return myStatus;
 }
 
-//=======================================================================
-// function : GetMessenger
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Handle(Message_Messenger) Message_Algorithm::GetMessenger() const
 {
index e794877d8ac03b12a646e8c76077a34dd6d16b29..e2bbb8f8aec2b117b8a8cc818268be5839666bf5 100644 (file)
@@ -52,30 +52,21 @@ inline Message_Msg& Message_Msg::Arg(const Handle(TCollection_HExtendedString)&
   return Arg(theString->String());
 }
 
-//=======================================================================
-// function : Original
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline const TCollection_ExtendedString& Message_Msg::Original() const
 {
   return myOriginal;
 }
 
-//=======================================================================
-// function : Value
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline const TCollection_ExtendedString& Message_Msg::Value() const
 {
   return myMessageBody;
 }
 
-//=======================================================================
-// function : IsEdited
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean Message_Msg::IsEdited() const
 {
index 773239f8b123d2a3e8a8f93e5a502cfeb9055941..4e7b55ebe8986899b72c6a3fd93efddbb9086eba 100644 (file)
@@ -145,10 +145,8 @@ private:
 
 #include <Message_ProgressScope.hxx>
 
-//=======================================================================
-// function : Increment
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline void Message_ProgressIndicator::Increment(const Standard_Real          theStep,
                                                  const Message_ProgressScope& theScope)
 {
index 7dd9eb38e395ee22f4377d2922a32ff39cc2c205..568c7be428dbea4d15c629367d83635231ed9be4 100644 (file)
@@ -110,28 +110,22 @@ private:
 
 #include <Message_ProgressIndicator.hxx>
 
-//=======================================================================
-// function : IsActive
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline Standard_Boolean Message_ProgressRange::IsActive() const
 {
   return !myWasUsed && myParentScope && myParentScope->myProgress;
 }
 
-//=======================================================================
-// function : UserBreak
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline Standard_Boolean Message_ProgressRange::UserBreak() const
 {
   return myParentScope && myParentScope->myProgress && myParentScope->myProgress->UserBreak();
 }
 
-//=======================================================================
-// function : Close
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline void Message_ProgressRange::Close()
 {
   if (!IsActive())
index 471abb51a85f07ce80f837b1826a2fbd6af49296..ddfaf0ea0813c28b688aa60f67244650d382e882 100644 (file)
@@ -404,10 +404,8 @@ private:
 
 #include <Message_ProgressRange.hxx>
 
-//=======================================================================
-// function : Message_ProgressScope
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline Message_ProgressScope::Message_ProgressScope(Message_ProgressIndicator* theProgress)
     : myProgress(theProgress),
       myParent(0),
@@ -422,10 +420,8 @@ inline Message_ProgressScope::Message_ProgressScope(Message_ProgressIndicator* t
 {
 }
 
-//=======================================================================
-// function : Message_ProgressScope
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline Message_ProgressScope::Message_ProgressScope(const Message_ProgressRange&   theRange,
                                                     const TCollection_AsciiString& theName,
                                                     Standard_Real                  theMax,
@@ -447,10 +443,8 @@ inline Message_ProgressScope::Message_ProgressScope(const Message_ProgressRange&
   theRange.myWasUsed = true; // Disarm the range
 }
 
-//=======================================================================
-// function : Message_ProgressScope
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 template <size_t N>
 Message_ProgressScope::Message_ProgressScope(const Message_ProgressRange& theRange,
                                              const char (&theName)[N],
@@ -472,10 +466,8 @@ Message_ProgressScope::Message_ProgressScope(const Message_ProgressRange& theRan
   theRange.myWasUsed = true; // Disarm the range
 }
 
-//=======================================================================
-// function : Message_ProgressScope
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline Message_ProgressScope::Message_ProgressScope(const Message_ProgressRange& theRange,
                                                     const NullString*,
                                                     Standard_Real    theMax,
@@ -496,10 +488,8 @@ inline Message_ProgressScope::Message_ProgressScope(const Message_ProgressRange&
   theRange.myWasUsed = true; // Disarm the range
 }
 
-//=======================================================================
-// function : Close
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline void Message_ProgressScope::Close()
 {
   if (!myIsActive)
@@ -521,19 +511,15 @@ inline void Message_ProgressScope::Close()
   myIsActive = false;
 }
 
-//=======================================================================
-// function : UserBreak
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline Standard_Boolean Message_ProgressScope::UserBreak() const
 {
   return myProgress && myProgress->UserBreak();
 }
 
-//=======================================================================
-// function : Next
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline Message_ProgressRange Message_ProgressScope::Next(Standard_Real theStep)
 {
   if (myIsActive && theStep > 0.)
@@ -549,10 +535,7 @@ inline Message_ProgressRange Message_ProgressScope::Next(Standard_Real theStep)
   return Message_ProgressRange();
 }
 
-//=======================================================================
-// function : Show
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void Message_ProgressScope::Show()
 {
@@ -562,10 +545,8 @@ inline void Message_ProgressScope::Show()
   }
 }
 
-//=======================================================================
-// function : localToGlobal
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline Standard_Real Message_ProgressScope::localToGlobal(const Standard_Real theVal) const
 {
   if (theVal <= 0.)
@@ -583,10 +564,7 @@ inline Standard_Real Message_ProgressScope::localToGlobal(const Standard_Real th
   return myPortion * x / (1. + x); // hyperbola
 }
 
-//=======================================================================
-// function : Value
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Real Message_ProgressScope::Value() const
 {
index b6a368f0bb45f3e1fd1c4730370ac45d333156fd..550bcd30a1125e1419e12da537d5e698f6ff4025 100644 (file)
 
 IMPLEMENT_STANDARD_RTTIEXT(NCollection_BaseAllocator, Standard_Transient)
 
-//=======================================================================
-// function : Allocate
-// purpose  : Standard allocation
-//=======================================================================
+//=================================================================================================
+
 void* NCollection_BaseAllocator::Allocate(const size_t theSize)
 {
   return Standard::Allocate(theSize);
index 99797277d668e4c8f8deafb8ba43c1f278c3df9b..98f4afcd28a0461684f91d09823c6b8eafd2cbfd 100644 (file)
@@ -144,10 +144,7 @@ private:
   Standard_Boolean           myIsFullRandom;
 };
 
-//=======================================================================
-// function : Fill
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 template <class TheObjType, class TheBndType>
 Standard_Integer NCollection_UBTreeFiller<TheObjType, TheBndType>::Fill()
@@ -180,10 +177,7 @@ Standard_Integer NCollection_UBTreeFiller<TheObjType, TheBndType>::Fill()
   return nbAdd;
 }
 
-//=======================================================================
-// function : CheckTree
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 template <class TheObjType, class TheBndType>
 Standard_Integer NCollection_UBTreeFiller<TheObjType, TheBndType>::CheckTree(
@@ -200,10 +194,7 @@ Standard_Integer NCollection_UBTreeFiller<TheObjType, TheBndType>::CheckTree(
   return aNumber;
 }
 
-//=======================================================================
-// function : checkNode
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 template <class TheObjType, class TheBndType>
 Standard_Real NCollection_UBTreeFiller<TheObjType, TheBndType>::checkNode(
index c945bc06bf9a9518659c9fe7c35d5aac8476d1b9..6c134be1ab9d1c540d7441d8c11880f98d03c7a8 100755 (executable)
@@ -125,10 +125,8 @@ const Standard_Utf32Char NCollection_UtfIterator<Type>::UTF32_MAX_BMP = 0x0000FF
 template <typename Type>
 const Standard_Utf32Char NCollection_UtfIterator<Type>::UTF32_MAX_LEGAL = 0x0010FFFFUL;
 
-// =======================================================================
-// function : readUTF16
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 template <typename Type>
 inline void NCollection_UtfIterator<Type>::readUTF16()
 {
@@ -148,10 +146,8 @@ inline void NCollection_UtfIterator<Type>::readUTF16()
   myCharUtf32 = aChar;
 }
 
-// =======================================================================
-// function : AdvanceBytesUtf8
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 template <typename Type>
 inline Standard_Integer NCollection_UtfIterator<Type>::AdvanceBytesUtf8() const
 {
@@ -183,10 +179,8 @@ inline Standard_Integer NCollection_UtfIterator<Type>::AdvanceBytesUtf8() const
   }
 }
 
-// =======================================================================
-// function : GetUtf8
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 template <typename Type>
 inline Standard_Utf8Char* NCollection_UtfIterator<Type>::GetUtf8(Standard_Utf8Char* theBuffer) const
 {
@@ -194,10 +188,8 @@ inline Standard_Utf8Char* NCollection_UtfIterator<Type>::GetUtf8(Standard_Utf8Ch
   return (Standard_Utf8Char*)GetUtf8((Standard_Utf8UChar*)theBuffer);
 }
 
-// =======================================================================
-// function : GetUtf8
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 template <typename Type>
 inline Standard_Utf8UChar* NCollection_UtfIterator<Type>::GetUtf8(
   Standard_Utf8UChar* theBuffer) const
@@ -249,20 +241,16 @@ inline Standard_Utf8UChar* NCollection_UtfIterator<Type>::GetUtf8(
   }
 }
 
-// =======================================================================
-// function : AdvanceBytesUtf16
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 template <typename Type>
 inline Standard_Integer NCollection_UtfIterator<Type>::AdvanceBytesUtf16() const
 {
   return AdvanceCodeUnitsUtf16() * sizeof(Standard_Utf16Char);
 }
 
-// =======================================================================
-// function : AdvanceCodeUnitsUtf16
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 template <typename Type>
 inline Standard_Integer NCollection_UtfIterator<Type>::AdvanceCodeUnitsUtf16() const
 {
@@ -291,10 +279,8 @@ inline Standard_Integer NCollection_UtfIterator<Type>::AdvanceCodeUnitsUtf16() c
   }
 }
 
-// =======================================================================
-// function : GetUtf16
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 template <typename Type>
 inline Standard_Utf16Char* NCollection_UtfIterator<Type>::GetUtf16(
   Standard_Utf16Char* theBuffer) const
@@ -329,10 +315,8 @@ inline Standard_Utf16Char* NCollection_UtfIterator<Type>::GetUtf16(
   }
 }
 
-// =======================================================================
-// function : GetUtf32
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 template <typename Type>
 inline Standard_Utf32Char* NCollection_UtfIterator<Type>::GetUtf32(
   Standard_Utf32Char* theBuffer) const
index 35611fee9d42dd89d83325ef674eaa005c642745..4c0b0f4a494c36a7fde7a59a96e42b233008d7d7 100755 (executable)
 // Alternatively, this file may be used under the terms of Open CASCADE
 // commercial license or contractual agreement.
 
-// =======================================================================
-// function : GetChar
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 template <typename Type>
 Standard_Utf32Char NCollection_UtfString<Type>::GetChar(const Standard_Integer theCharIndex) const
 {
@@ -32,10 +30,8 @@ Standard_Utf32Char NCollection_UtfString<Type>::GetChar(const Standard_Integer t
   return 0;
 }
 
-// =======================================================================
-// function : GetCharBuffer
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 template <typename Type>
 const Type* NCollection_UtfString<Type>::GetCharBuffer(const Standard_Integer theCharIndex) const
 {
@@ -51,10 +47,8 @@ const Type* NCollection_UtfString<Type>::GetCharBuffer(const Standard_Integer th
   return NULL;
 }
 
-// =======================================================================
-// function : Clear
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 template <typename Type>
 inline void NCollection_UtfString<Type>::Clear()
 {
@@ -64,10 +58,8 @@ inline void NCollection_UtfString<Type>::Clear()
   myString = strAlloc(mySize);
 }
 
-// =======================================================================
-// function : NCollection_UtfString
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 template <typename Type>
 inline NCollection_UtfString<Type>::NCollection_UtfString()
     : myString(strAlloc(0)),
@@ -77,10 +69,8 @@ inline NCollection_UtfString<Type>::NCollection_UtfString()
   //
 }
 
-// =======================================================================
-// function : NCollection_UtfString
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 template <typename Type>
 inline NCollection_UtfString<Type>::NCollection_UtfString(const NCollection_UtfString& theCopy)
     : myString(strAlloc(theCopy.mySize)),
@@ -90,10 +80,8 @@ inline NCollection_UtfString<Type>::NCollection_UtfString(const NCollection_UtfS
   strCopy((Standard_Byte*)myString, (const Standard_Byte*)theCopy.myString, mySize);
 }
 
-// =======================================================================
-// function : NCollection_UtfString
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 template <typename Type>
 inline NCollection_UtfString<Type>::NCollection_UtfString(NCollection_UtfString&& theOther) noexcept
     : myString(theOther.myString),
@@ -105,10 +93,8 @@ inline NCollection_UtfString<Type>::NCollection_UtfString(NCollection_UtfString&
   theOther.myLength = 0;
 }
 
-// =======================================================================
-// function : NCollection_UtfString
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 template <typename Type>
 inline NCollection_UtfString<Type>::NCollection_UtfString(const char*            theCopyUtf8,
                                                           const Standard_Integer theLength)
@@ -119,10 +105,8 @@ inline NCollection_UtfString<Type>::NCollection_UtfString(const char*
   FromUnicode(theCopyUtf8, theLength);
 }
 
-// =======================================================================
-// function : NCollection_UtfString
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 template <typename Type>
 inline NCollection_UtfString<Type>::NCollection_UtfString(const Standard_Utf16Char* theCopyUtf16,
                                                           const Standard_Integer    theLength)
@@ -133,10 +117,8 @@ inline NCollection_UtfString<Type>::NCollection_UtfString(const Standard_Utf16Ch
   FromUnicode(theCopyUtf16, theLength);
 }
 
-// =======================================================================
-// function : NCollection_UtfString
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 template <typename Type>
 inline NCollection_UtfString<Type>::NCollection_UtfString(const Standard_Utf32Char* theCopyUtf32,
                                                           const Standard_Integer    theLength)
@@ -149,10 +131,8 @@ inline NCollection_UtfString<Type>::NCollection_UtfString(const Standard_Utf32Ch
 
 #if !defined(_MSC_VER) || defined(_NATIVE_WCHAR_T_DEFINED)                                         \
   || (defined(_MSC_VER) && _MSC_VER >= 1900)
-// =======================================================================
-// function : NCollection_UtfString
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 template <typename Type>
 inline NCollection_UtfString<Type>::NCollection_UtfString(const Standard_WideChar* theCopyUtfWide,
                                                           const Standard_Integer   theLength)
@@ -174,10 +154,8 @@ inline NCollection_UtfString<Type>::~NCollection_UtfString()
   strFree(myString);
 }
 
-// =======================================================================
-// function : Assign
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 template <typename Type>
 inline const NCollection_UtfString<Type>& NCollection_UtfString<Type>::Assign(
   const NCollection_UtfString<Type>& theOther)
@@ -195,10 +173,8 @@ inline const NCollection_UtfString<Type>& NCollection_UtfString<Type>::Assign(
   return (*this);
 }
 
-// =======================================================================
-// function : Swap
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 template <typename Type>
 inline void NCollection_UtfString<Type>::Swap(NCollection_UtfString<Type>& theOther)
 {
@@ -243,10 +219,8 @@ private:
 };
 #endif
 
-// =======================================================================
-// function : FromLocale
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 template <typename Type>
 inline void NCollection_UtfString<Type>::FromLocale(const char*            theString,
                                                     const Standard_Integer theLength)
@@ -266,10 +240,8 @@ inline void NCollection_UtfString<Type>::FromLocale(const char*            theSt
 #endif
 }
 
-// =======================================================================
-// function : ToLocale
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 template <typename Type>
 inline bool NCollection_UtfString<Type>::ToLocale(char*                  theBuffer,
                                                   const Standard_Integer theSizeBytes) const
@@ -314,10 +286,8 @@ inline const NCollection_UtfString<Type>& NCollection_UtfString<Type>::operator=
   return (*this);
 }
 
-// =======================================================================
-// function : IsEqual
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 template <typename Type>
 inline bool NCollection_UtfString<Type>::IsEqual(const NCollection_UtfString& theCompare) const
 {
@@ -363,10 +333,8 @@ inline NCollection_UtfString<Type>& NCollection_UtfString<Type>::operator+=(
   return (*this);
 }
 
-// =======================================================================
-// function : SubString
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 template <typename Type>
 inline NCollection_UtfString<Type> NCollection_UtfString<Type>::SubString(
   const Standard_Integer theStart,
@@ -386,10 +354,8 @@ inline NCollection_UtfString<Type> NCollection_UtfString<Type>::SubString(
   return NCollection_UtfString<Type>();
 }
 
-// =======================================================================
-// function : ToUtf8
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 template <typename Type>
 inline const NCollection_UtfString<Standard_Utf8Char> NCollection_UtfString<Type>::ToUtf8() const
 {
@@ -398,10 +364,8 @@ inline const NCollection_UtfString<Standard_Utf8Char> NCollection_UtfString<Type
   return aCopy;
 }
 
-// =======================================================================
-// function : ToUtf16
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 template <typename Type>
 inline const NCollection_UtfString<Standard_Utf16Char> NCollection_UtfString<Type>::ToUtf16() const
 {
@@ -410,10 +374,8 @@ inline const NCollection_UtfString<Standard_Utf16Char> NCollection_UtfString<Typ
   return aCopy;
 }
 
-// =======================================================================
-// function : ToUtf32
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 template <typename Type>
 inline const NCollection_UtfString<Standard_Utf32Char> NCollection_UtfString<Type>::ToUtf32() const
 {
@@ -422,10 +384,8 @@ inline const NCollection_UtfString<Standard_Utf32Char> NCollection_UtfString<Typ
   return aCopy;
 }
 
-// =======================================================================
-// function : ToUtfWide
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 template <typename Type>
 inline const NCollection_UtfString<Standard_WideChar> NCollection_UtfString<Type>::ToUtfWide() const
 {
index 240d20dfa7e14c53b036e011a12923ccb74ff466..34d38b00e329b1e80cca574bca8f6908cc6d5c34 100644 (file)
@@ -70,10 +70,8 @@ inline T unaligned_load(const char* thePnt) noexcept
 }
 } // namespace MurmurHashUtils
 
-//=======================================================================
-// function : MurmurHash64A
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline uint64_t MurmurHash64A(const void* theKey, int theLen, uint64_t theSeed) noexcept
 {
   static constexpr uint64_t aMul = (((uint64_t)0xc6a4a793UL) << 32UL) + (uint64_t)0x5bd1e995UL;
@@ -102,10 +100,8 @@ inline uint64_t MurmurHash64A(const void* theKey, int theLen, uint64_t theSeed)
   return aHash;
 }
 
-//=======================================================================
-// function : MurmurHash2A
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline uint32_t MurmurHash2A(const void* theKey, int theLen, uint32_t theSeed) noexcept
 {
   constexpr uint32_t aMul  = 0x5bd1e995;
@@ -153,10 +149,8 @@ inline uint32_t MurmurHash2A(const void* theKey, int theLen, uint32_t theSeed) n
 
 namespace FNVHash
 {
-//=======================================================================
-// function : FNVHash1A
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline uint32_t FNVHash1A(const void* theKey, int theLen, uint32_t theSeed) noexcept
 {
   const char* cptr = static_cast<const char*>(theKey);
@@ -168,10 +162,8 @@ inline uint32_t FNVHash1A(const void* theKey, int theLen, uint32_t theSeed) noex
   return theSeed;
 }
 
-//=======================================================================
-// function : FNVHash64A
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline uint64_t FNVHash64A(const void* theKey, int theLen, uint64_t theSeed) noexcept
 {
   const char* cptr = static_cast<const char*>(theKey);
index f4edec96380773ee048439ed221cc2a5650eaee1..d31e6b73babce4a9f271b8eeee244fb7910231ad 100644 (file)
@@ -79,10 +79,8 @@ inline TCollection_AsciiString TCollection_AsciiString::Cat(const Standard_Real
   return TCollection_AsciiString(*this, TCollection_AsciiString(other));
 }
 
-//============================================================================
-// function : HashCode
-// purpose  :
-//============================================================================
+//=================================================================================================
+
 inline size_t TCollection_AsciiString::HashCode() const
 {
   if (mylength < 4)
index f6d9df68a60aec78e95381b0b69a9244c99dc6e2..670b317d0f183a7ec752f8d414d1e1a64e306d35 100644 (file)
 // Alternatively, this file may be used under the terms of Open CASCADE
 // commercial license or contractual agreement.
 
-//=======================================================================
-// function : Mass
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Real Units_Dimensions::Mass() const
 {
   return themass;
 }
 
-//=======================================================================
-// function : Length
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Real Units_Dimensions::Length() const
 {
   return thelength;
 }
 
-//=======================================================================
-// function : Time
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Real Units_Dimensions::Time() const
 {
   return thetime;
 }
 
-//=======================================================================
-// function : ElectricCurrent
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Real Units_Dimensions::ElectricCurrent() const
 {
   return theelectriccurrent;
 }
 
-//=======================================================================
-// function : ThermodynamicTemperature
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Real Units_Dimensions::ThermodynamicTemperature() const
 {
   return thethermodynamictemperature;
 }
 
-//=======================================================================
-// function : AmountOfSubstance
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Real Units_Dimensions::AmountOfSubstance() const
 {
   return theamountofsubstance;
 }
 
-//=======================================================================
-// function : LuminousIntensity
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Real Units_Dimensions::LuminousIntensity() const
 {
   return theluminousintensity;
 }
 
-//=======================================================================
-// function : PlaneAngle
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Real Units_Dimensions::PlaneAngle() const
 {
   return theplaneangle;
 }
 
-//=======================================================================
-// function : SolidAngle
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Real Units_Dimensions::SolidAngle() const
 {
index 92f42031e3ffe0d360ab7ebd66a050b640350230..02bf04524613ea3f522dff2bb581700b7ec4cd1a 100644 (file)
 #include <Units_TokensSequence.hxx>
 #include <Units_Token.hxx>
 
-//=======================================================================
-// function : Sequence
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Handle(Units_TokensSequence) Units_Lexicon::Sequence() const
 {
   return thesequenceoftokens;
 }
 
-//=======================================================================
-// function : Dump
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void Units_Lexicon::Dump() const
 {
index 89abf8a154ab263da20ffa0ae9468cb31267050d..dec610043dac4fa7e0834c616490b02a8311820e 100644 (file)
 #include <Units_Dimensions.hxx>
 #include <TCollection_HAsciiString.hxx>
 
-//=======================================================================
-// function : Units_Quantity
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Units_Quantity::Units_Quantity(const Standard_CString             aname,
                                       const Handle(Units_Dimensions)&    adimensions,
@@ -32,30 +29,21 @@ inline Units_Quantity::Units_Quantity(const Standard_CString             aname,
   theunitssequence = aunitssequence;
 }
 
-//=======================================================================
-// function : Name
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline TCollection_AsciiString Units_Quantity::Name() const
 {
   return thename->String();
 }
 
-//=======================================================================
-// function : Dimensions
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Handle(Units_Dimensions) Units_Quantity::Dimensions() const
 {
   return thedimensions;
 }
 
-//=======================================================================
-// function : Sequence
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Handle(Units_UnitsSequence) Units_Quantity::Sequence() const
 {
index 9528a732179dda5b7017f12e1038f3f8c418c553..d0110bac8574230d118068eee9b159276f6c5003 100644 (file)
 #include <Units_TokensSequence.hxx>
 #include <Units_Token.hxx>
 
-//=======================================================================
-// function : Sequence
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Handle(Units_TokensSequence) Units_Sentence::Sequence() const
 {
   return thesequenceoftokens;
 }
 
-//=======================================================================
-// function : Sequence
-
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void Units_Sentence::Sequence(const Handle(Units_TokensSequence)& asequenceoftokens)
 {
   thesequenceoftokens = asequenceoftokens;
 }
 
-//=======================================================================
-// function : IsDone
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean Units_Sentence::IsDone() const
 {
   return thesequenceoftokens->Length() > 0;
 }
 
-//=======================================================================
-// function : Dump
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void Units_Sentence::Dump() const
 {
index 8b29d9972cb65f6b7bb57134f995d0e21778cfa5..c1c4f9a1b776e2bf0348d8082a5e637688288388 100644 (file)
 #include <TCollection_AsciiString.hxx>
 #include <Units_Dimensions.hxx>
 
-//=======================================================================
-// function : Word
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline TCollection_AsciiString Units_Token::Word() const
 {
   return theword;
 }
 
-//=======================================================================
-// function : Mean
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline TCollection_AsciiString Units_Token::Mean() const
 {
   return themean;
 }
 
-//=======================================================================
-// function : Value
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Real Units_Token::Value() const
 {
   return thevalue;
 }
 
-//=======================================================================
-// function : Dimensions
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Handle(Units_Dimensions) Units_Token::Dimensions() const
 {
   return thedimensions;
 }
 
-//=======================================================================
-// function : Word
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void Units_Token::Word(const Standard_CString aword)
 {
   theword = aword;
 }
 
-//=======================================================================
-// function : Mean
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void Units_Token::Mean(const Standard_CString amean)
 {
   themean = amean;
 }
 
-//=======================================================================
-// function : Value
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void Units_Token::Value(const Standard_Real avalue)
 {
   thevalue = avalue;
 }
 
-//=======================================================================
-// function : IsNotEqual
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean Units_Token::IsNotEqual(const Standard_CString astring) const
 {
@@ -106,10 +82,7 @@ inline Standard_Boolean Units_Token::IsNotEqual(const Standard_CString astring)
     return Standard_True;
 }
 
-//=======================================================================
-// function : IsNotEqual
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean Units_Token::IsNotEqual(const Handle(Units_Token)& atoken) const
 {
@@ -122,10 +95,7 @@ inline Standard_Boolean Units_Token::IsNotEqual(const Handle(Units_Token)& atoke
     return Standard_True;
 }
 
-//=======================================================================
-// function : IsLessOrEqual
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean Units_Token::IsLessOrEqual(const Standard_CString astring) const
 {
@@ -138,10 +108,7 @@ inline Standard_Boolean Units_Token::IsLessOrEqual(const Standard_CString astrin
     return Standard_False;
 }
 
-//=======================================================================
-// function : IsGreater
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean Units_Token::IsGreater(const Standard_CString astring) const
 {
@@ -151,10 +118,7 @@ inline Standard_Boolean Units_Token::IsGreater(const Standard_CString astring) c
                                                                       : Standard_False;
 }
 
-//=======================================================================
-// function : IsGreater
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean Units_Token::IsGreater(const Handle(Units_Token)& atoken) const
 {
@@ -165,10 +129,7 @@ inline Standard_Boolean Units_Token::IsGreater(const Handle(Units_Token)& atoken
                                                                                    : Standard_False;
 }
 
-//=======================================================================
-// function : IsGreaterOrEqual
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean Units_Token::IsGreaterOrEqual(const Handle(Units_Token)& atoken) const
 {
index 7714f14d60104d062fbfc1c36f7bd003f47dcb79..368d4f5ccbe9ece09ae9ce7b1605cfa14f925957 100644 (file)
 #include <TCollection_HAsciiString.hxx>
 #include <TCollection_AsciiString.hxx>
 
-//=======================================================================
-// function : Name
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline TCollection_AsciiString Units_Unit::Name() const
 {
   return thename->String();
 }
 
-//=======================================================================
-// function : Value
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Real Units_Unit::Value() const
 {
   return thevalue;
 }
 
-//=======================================================================
-// function : Quantity
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Handle(Units_Quantity) Units_Unit::Quantity() const
 {
   return thequantity;
 }
 
-//=======================================================================
-// function : SymbolsSequence
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Handle(TColStd_HSequenceOfHAsciiString) Units_Unit::SymbolsSequence() const
 {
   return thesymbolssequence;
 }
 
-//=======================================================================
-// function : Value
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void Units_Unit::Value(const Standard_Real avalue)
 {
   thevalue = avalue;
 }
 
-//=======================================================================
-// function : Quantity
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void Units_Unit::Quantity(const Handle(Units_Quantity)& aquantity)
 {
index 99cbaf1667589d2155f08fd714bc5faca3ff144a..8589b1f810d074b19e7c06a9f4dd201d9ef37674 100644 (file)
 #include <Units_Quantity.hxx>
 #include <Units_Explorer.hxx>
 
-//=======================================================================
-// function : Sequence
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Handle(Units_QuantitiesSequence) Units_UnitsDictionary::Sequence() const
 {
   return thequantitiessequence;
 }
 
-//=======================================================================
-// function : Dump
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void Units_UnitsDictionary::Dump(const Standard_Integer alevel) const
 {
@@ -59,10 +53,7 @@ inline void Units_UnitsDictionary::Dump(const Standard_Integer alevel) const
   }
 }
 
-//=======================================================================
-// function : Dump
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void Units_UnitsDictionary::Dump(const Handle(Units_Dimensions)& adimensions) const
 {
index 7b3719d92bccfb9a4e6bf2c38716b29150bd42fb..17ad44ebb0fadc502578a5a81118f882edda059a 100644 (file)
 
 #include <Units_Lexicon.hxx>
 
-//=======================================================================
-// function : Dump
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void Units_UnitsLexicon::Dump() const
 {
index 5bc5e806bcc1a2dfb2a68ba5d4ffa2ab2d3a3e6d..61dc6943209ebfed514c69d7bd460195282551a5 100644 (file)
 // Alternatively, this file may be used under the terms of Open CASCADE
 // commercial license or contractual agreement.
 
-//=======================================================================
-// function : BOPAlgo_MakerVolume
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline BOPAlgo_MakerVolume::BOPAlgo_MakerVolume()
     : BOPAlgo_Builder(),
       myIntersect(Standard_True),
@@ -23,10 +21,8 @@ inline BOPAlgo_MakerVolume::BOPAlgo_MakerVolume()
 {
 }
 
-//=======================================================================
-// function : BOPAlgo_MakerVolume
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline BOPAlgo_MakerVolume::BOPAlgo_MakerVolume(
   const Handle(NCollection_BaseAllocator)& theAllocator)
     : BOPAlgo_Builder(theAllocator),
@@ -44,10 +40,8 @@ inline BOPAlgo_MakerVolume::~BOPAlgo_MakerVolume()
   Clear();
 }
 
-//=======================================================================
-// function : Clear
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline void BOPAlgo_MakerVolume::Clear()
 {
   BOPAlgo_Builder::Clear();
@@ -58,37 +52,29 @@ inline void BOPAlgo_MakerVolume::Clear()
   myAvoidInternalShapes = Standard_False;
 }
 
-//=======================================================================
-// function : SetIntersect
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline void BOPAlgo_MakerVolume::SetIntersect(const Standard_Boolean bIntersect)
 {
   myIntersect = bIntersect;
 }
 
-//=======================================================================
-// function : IsIntersect
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline Standard_Boolean BOPAlgo_MakerVolume::IsIntersect() const
 {
   return myIntersect;
 }
 
-//=======================================================================
-// function : Box
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline const TopoDS_Solid& BOPAlgo_MakerVolume::Box() const
 {
   return mySBox;
 }
 
-//=======================================================================
-// function : Faces
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline const TopTools_ListOfShape& BOPAlgo_MakerVolume::Faces() const
 {
   return myFaces;
index a93507e9b20fc554d9bf8b3d4d27db21eec9ae30..5f25a773e9a50217edb37497a6946ddc6c752e92 100644 (file)
 // Alternatively, this file may be used under the terms of Open CASCADE
 // commercial license or contractual agreement.
 
-//=======================================================================
-// function :
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline BOPAlgo_WireEdgeSet::BOPAlgo_WireEdgeSet() {}
 
-//=======================================================================
-// function :
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline BOPAlgo_WireEdgeSet::BOPAlgo_WireEdgeSet(
   const Handle(NCollection_BaseAllocator)& theAllocator)
     : myStartShapes(theAllocator),
@@ -38,65 +34,51 @@ inline BOPAlgo_WireEdgeSet::BOPAlgo_WireEdgeSet(
 //=======================================================================
 inline BOPAlgo_WireEdgeSet::~BOPAlgo_WireEdgeSet() {}
 
-//=======================================================================
-// function : Clear
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline void BOPAlgo_WireEdgeSet::Clear()
 {
   myStartShapes.Clear();
   myShapes.Clear();
 }
 
-//=======================================================================
-// function : SetFace
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline void BOPAlgo_WireEdgeSet::SetFace(const TopoDS_Face& aF)
 {
   myFace = aF;
 }
 
-//=======================================================================
-// function : Face
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline const TopoDS_Face& BOPAlgo_WireEdgeSet::Face() const
 {
   return myFace;
 }
 
-//=======================================================================
-// function : AddStartElement
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline void BOPAlgo_WireEdgeSet::AddStartElement(const TopoDS_Shape& aE)
 {
   myStartShapes.Append(aE);
 }
 
-//=======================================================================
-// function : StartElements
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline const TopTools_ListOfShape& BOPAlgo_WireEdgeSet::StartElements() const
 {
   return myStartShapes;
 }
 
-//=======================================================================
-// function : AddShape
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline void BOPAlgo_WireEdgeSet::AddShape(const TopoDS_Shape& aW)
 {
   myShapes.Append(aW);
 }
 
-//=======================================================================
-// function : Shapes
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline const TopTools_ListOfShape& BOPAlgo_WireEdgeSet::Shapes() const
 {
   return myShapes;
index 90b201370c3df60ae2fa49a03e1e24f32d299e31..df6892a4e608b28cfe7c0e295f4d8575e878eb04 100644 (file)
 
 #include <TopoDS_Edge.hxx>
 
-//=======================================================================
-// function : BOPAlgo_EdgeInfo
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 class BOPAlgo_EdgeInfo
 {
 public:
@@ -80,10 +78,8 @@ typedef BOPAlgo_ListOfEdgeInfo::Iterator   BOPAlgo_ListIteratorOfListOfEdgeInfo;
 typedef NCollection_IndexedDataMap<TopoDS_Shape, BOPAlgo_ListOfEdgeInfo, TopTools_ShapeMapHasher>
   BOPAlgo_IndexedDataMapOfShapeListOfEdgeInfo;
 
-//=======================================================================
-// function : MakeWire
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline void BOPAlgo_WireSplitter::MakeWire(TopTools_ListOfShape& aLE, TopoDS_Wire& aWire)
 {
   BRep_Builder aBB;
index 21cb89e0a643125899d1dcbdbb59b6505cd55b9a..54faa63c440035238fafc2eb84610dc4c39874f9 100644 (file)
  * and some satellite information
  *
  */
-//=======================================================================
-// class : BOPDS_CoupleOfPaveBlocks
-// purpose  :
-//=======================================================================
+
+//=================================================================================================
+
 class BOPDS_CoupleOfPaveBlocks
 {
 public:
index 7accf9139df7359e4945f51067f3399e57b14797..62d3893003bef84fe5bae1cf387367b95debc227 100644 (file)
 
 #include <BOPDS_PaveBlock.hxx>
 
-//=======================================================================
-// function :
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline BOPDS_Curve::BOPDS_Curve()
     : myAllocator(NCollection_BaseAllocator::CommonBaseAllocator()),
       myPaveBlocks(myAllocator),
@@ -26,10 +24,8 @@ inline BOPDS_Curve::BOPDS_Curve()
 {
 }
 
-//=======================================================================
-// function :
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline BOPDS_Curve::BOPDS_Curve(const Handle(NCollection_BaseAllocator)& theAllocator)
     : myAllocator(theAllocator),
       myPaveBlocks(myAllocator),
@@ -38,34 +34,26 @@ inline BOPDS_Curve::BOPDS_Curve(const Handle(NCollection_BaseAllocator)& theAllo
 {
 }
 
-//=======================================================================
-// function :
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline BOPDS_Curve::~BOPDS_Curve() {}
 
-//=======================================================================
-// function : SetCurve
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline void BOPDS_Curve::SetCurve(const IntTools_Curve& theCurve)
 {
   myCurve = theCurve;
 }
 
-//=======================================================================
-// function : Curve
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline const IntTools_Curve& BOPDS_Curve::Curve() const
 {
   return myCurve;
 }
 
-//=======================================================================
-// function : SetPaveBlocks
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline void BOPDS_Curve::SetPaveBlocks(const BOPDS_ListOfPaveBlock& theLPB)
 {
   BOPDS_ListIteratorOfListOfPaveBlock aIt;
@@ -78,28 +66,22 @@ inline void BOPDS_Curve::SetPaveBlocks(const BOPDS_ListOfPaveBlock& theLPB)
   }
 }
 
-//=======================================================================
-// function : PaveBlocks
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline const BOPDS_ListOfPaveBlock& BOPDS_Curve::PaveBlocks() const
 {
   return myPaveBlocks;
 }
 
-//=======================================================================
-// function : ChangePaveBlocks
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline BOPDS_ListOfPaveBlock& BOPDS_Curve::ChangePaveBlocks()
 {
   return myPaveBlocks;
 }
 
-//=======================================================================
-// function : InitPaveBlock1
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline void BOPDS_Curve::InitPaveBlock1()
 {
   if (!myPaveBlocks.Extent())
@@ -109,65 +91,51 @@ inline void BOPDS_Curve::InitPaveBlock1()
   }
 }
 
-//=======================================================================
-// function : ChangePaveBlock1
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline Handle(BOPDS_PaveBlock)& BOPDS_Curve::ChangePaveBlock1()
 {
   Handle(BOPDS_PaveBlock)* pPB = (Handle(BOPDS_PaveBlock)*)&myPaveBlocks.First();
   return *pPB;
 }
 
-//=======================================================================
-// function : TechnoVertices
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline const TColStd_ListOfInteger& BOPDS_Curve::TechnoVertices() const
 {
   return myTechnoVertices;
 }
 
-//=======================================================================
-// function : ChangeTechnoVertices
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline TColStd_ListOfInteger& BOPDS_Curve::ChangeTechnoVertices()
 {
   return myTechnoVertices;
 }
 
-//=======================================================================
-// function : SetBox
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline void BOPDS_Curve::SetBox(const Bnd_Box& theBox)
 {
   myBox = theBox;
 }
 
-//=======================================================================
-// function : Box
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline const Bnd_Box& BOPDS_Curve::Box() const
 {
   return myBox;
 }
 
-//=======================================================================
-// function : ChangeBox
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline Bnd_Box& BOPDS_Curve::ChangeBox()
 {
   return myBox;
 }
 
-//=======================================================================
-// function : HasEdge
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline Standard_Boolean BOPDS_Curve::HasEdge() const
 {
   Standard_Boolean                    bFlag;
index 3df8949b9a8d3b93c12ef3e3a4c30eb14bb583c8..a171b1a626cf6c229b6dd93b72c8a65698ffd127 100644 (file)
 
 #include <BOPDS_Pair.hxx>
 
-//=======================================================================
-// function : InterfVV
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline BOPDS_VectorOfInterfVV& BOPDS_DS::InterfVV()
 {
   return myInterfVV;
 }
 
-//=======================================================================
-// function : InterfVE
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline BOPDS_VectorOfInterfVE& BOPDS_DS::InterfVE()
 {
   return myInterfVE;
 }
 
-//=======================================================================
-// function : InterfVF
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline BOPDS_VectorOfInterfVF& BOPDS_DS::InterfVF()
 {
   return myInterfVF;
-} //=======================================================================
+} //=================================================================================================
 
-// function : InterfEE
-// purpose  :
-//=======================================================================
 inline BOPDS_VectorOfInterfEE& BOPDS_DS::InterfEE()
 {
   return myInterfEE;
 }
 
-//=======================================================================
-// function : InterfEF
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline BOPDS_VectorOfInterfEF& BOPDS_DS::InterfEF()
 {
   return myInterfEF;
 }
 
-//=======================================================================
-// function : InterfFF
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline BOPDS_VectorOfInterfFF& BOPDS_DS::InterfFF()
 {
   return myInterfFF;
 }
 
-//=======================================================================
-// function : InterfVZ
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline BOPDS_VectorOfInterfVZ& BOPDS_DS::InterfVZ()
 {
   return myInterfVZ;
 }
 
-//=======================================================================
-// function : InterfEZ
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline BOPDS_VectorOfInterfEZ& BOPDS_DS::InterfEZ()
 {
   return myInterfEZ;
 }
 
-//=======================================================================
-// function : InterfFZ
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline BOPDS_VectorOfInterfFZ& BOPDS_DS::InterfFZ()
 {
   return myInterfFZ;
 }
 
-//=======================================================================
-// function : InterfZZ
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline BOPDS_VectorOfInterfZZ& BOPDS_DS::InterfZZ()
 {
   return myInterfZZ;
 }
 
-//=======================================================================
-// function : NbInterfTypes
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline Standard_Integer BOPDS_DS::NbInterfTypes()
 {
   return 10;
 }
 
-//=======================================================================
-// function : AddInterf
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline Standard_Boolean BOPDS_DS::AddInterf(const Standard_Integer theI1,
                                             const Standard_Integer theI2)
 {
@@ -128,19 +103,15 @@ inline Standard_Boolean BOPDS_DS::AddInterf(const Standard_Integer theI1,
   return Standard_False;
 }
 
-//=======================================================================
-// function : HasInterf
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline Standard_Boolean BOPDS_DS::HasInterf(const Standard_Integer theI) const
 {
   return myInterfered.Contains(theI);
 }
 
-//=======================================================================
-// function : HasInterf
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline Standard_Boolean BOPDS_DS::HasInterf(const Standard_Integer theI1,
                                             const Standard_Integer theI2) const
 {
@@ -148,10 +119,8 @@ inline Standard_Boolean BOPDS_DS::HasInterf(const Standard_Integer theI1,
   return myInterfTB.Contains(aPK);
 }
 
-//=======================================================================
-// function : Interferences
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline const BOPDS_MapOfPair& BOPDS_DS::Interferences() const
 {
   return myInterfTB;
index bf4272a603b29621389bf11203bea628473f3326..a54949b71c110b0062e6f6946f26e5efd359d34f 100644 (file)
 // Alternatively, this file may be used under the terms of Open CASCADE
 // commercial license or contractual agreement.
 
-//=======================================================================
-// function :
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline BOPDS_FaceInfo::BOPDS_FaceInfo()
     : myAllocator(NCollection_BaseAllocator::CommonBaseAllocator()),
       myIndex(-1),
@@ -31,10 +29,8 @@ inline BOPDS_FaceInfo::BOPDS_FaceInfo()
 {
 }
 
-//=======================================================================
-// function :
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline BOPDS_FaceInfo::BOPDS_FaceInfo(const Handle(NCollection_BaseAllocator)& theAllocator)
     : myAllocator(theAllocator),
       myIndex(-1),
@@ -56,10 +52,8 @@ inline BOPDS_FaceInfo::~BOPDS_FaceInfo()
   Clear();
 }
 
-//=======================================================================
-// function : Clear
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline void BOPDS_FaceInfo::Clear()
 {
   myPaveBlocksIn.Clear();
@@ -68,129 +62,101 @@ inline void BOPDS_FaceInfo::Clear()
   myVerticesOn.Clear();
 }
 
-//=======================================================================
-// function : SetIndex
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline void BOPDS_FaceInfo::SetIndex(const Standard_Integer theI)
 {
   myIndex = theI;
 }
 
-//=======================================================================
-// function : Index
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline Standard_Integer BOPDS_FaceInfo::Index() const
 {
   return myIndex;
 }
 
-//=======================================================================
-// function : PaveBlockIn
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline const BOPDS_IndexedMapOfPaveBlock& BOPDS_FaceInfo::PaveBlocksIn() const
 {
   return myPaveBlocksIn;
 }
 
-//=======================================================================
-// function : ChangePaveBlocksIn
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline BOPDS_IndexedMapOfPaveBlock& BOPDS_FaceInfo::ChangePaveBlocksIn()
 {
   return myPaveBlocksIn;
 }
 
-//=======================================================================
-// function : VerticesIn
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline const TColStd_MapOfInteger& BOPDS_FaceInfo::VerticesIn() const
 {
   return myVerticesIn;
 }
 
-//=======================================================================
-// function : ChangeVerticesIn
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline TColStd_MapOfInteger& BOPDS_FaceInfo::ChangeVerticesIn()
 {
   return myVerticesIn;
 }
 
 // On
-//=======================================================================
-// function : PaveBlocksOn
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline const BOPDS_IndexedMapOfPaveBlock& BOPDS_FaceInfo::PaveBlocksOn() const
 {
   return myPaveBlocksOn;
 }
 
-//=======================================================================
-// function : ChangePaveBlocksOn
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline BOPDS_IndexedMapOfPaveBlock& BOPDS_FaceInfo::ChangePaveBlocksOn()
 {
   return myPaveBlocksOn;
 }
 
-//=======================================================================
-// function : VerticesOn
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline const TColStd_MapOfInteger& BOPDS_FaceInfo::VerticesOn() const
 {
   return myVerticesOn;
 }
 
-//=======================================================================
-// function : ChangeVerticesOn
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline TColStd_MapOfInteger& BOPDS_FaceInfo::ChangeVerticesOn()
 {
   return myVerticesOn;
 }
 
 // Sc
-//=======================================================================
-// function : PaveBlocksSc
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline const BOPDS_IndexedMapOfPaveBlock& BOPDS_FaceInfo::PaveBlocksSc() const
 {
   return myPaveBlocksSc;
 }
 
-//=======================================================================
-// function : ChangePaveBlocksSc
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline BOPDS_IndexedMapOfPaveBlock& BOPDS_FaceInfo::ChangePaveBlocksSc()
 {
   return myPaveBlocksSc;
 }
 
-//=======================================================================
-// function : VerticesSc
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline const TColStd_MapOfInteger& BOPDS_FaceInfo::VerticesSc() const
 {
   return myVerticesSc;
 }
 
-//=======================================================================
-// function : ChangeVerticesSc
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline TColStd_MapOfInteger& BOPDS_FaceInfo::ChangeVerticesSc()
 {
   return myVerticesSc;
index b348c9c45d8c24516b89429816f82bd80cdf3ecc..da9f9da73bf49252bfec5b3fdda7b50ad0d543bf 100644 (file)
 // Alternatively, this file may be used under the terms of Open CASCADE
 // commercial license or contractual agreement.
 
-//=======================================================================
-// function :
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline BOPDS_IndexRange::BOPDS_IndexRange()
     : myFirst(0),
       myLast(0)
 {
 }
 
-//=======================================================================
-// function : SetFirst
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline void BOPDS_IndexRange::SetFirst(const Standard_Integer aFirst)
 {
   myFirst = aFirst;
 }
 
-//=======================================================================
-// function : First
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline Standard_Integer BOPDS_IndexRange::First() const
 {
   return myFirst;
 }
 
-//=======================================================================
-// function : SetLast
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline void BOPDS_IndexRange::SetLast(const Standard_Integer aLast)
 {
   myLast = aLast;
 }
 
-//=======================================================================
-// function :Last
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline Standard_Integer BOPDS_IndexRange::Last() const
 {
   return myLast;
 }
 
-//=======================================================================
-// function : SetIndices
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline void BOPDS_IndexRange::SetIndices(const Standard_Integer theI1, const Standard_Integer theI2)
 {
   myFirst = theI1;
   myLast  = theI2;
 }
 
-//=======================================================================
-// function : Indices
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline void BOPDS_IndexRange::Indices(Standard_Integer& theI1, Standard_Integer& theI2) const
 {
   theI1 = myFirst;
   theI2 = myLast;
 }
 
-//=======================================================================
-// function : Contains
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline Standard_Boolean BOPDS_IndexRange::Contains(const Standard_Integer aIndex) const
 {
   return aIndex >= myFirst && aIndex <= myLast;
index 307981638c0550883f8855deb80861ae6a11ad5a..b72ab9e6767d5ec1555fc310cab359460c2bb3e8 100644 (file)
  * The class BOPDS_Interf is root class
  *
  */
-//=======================================================================
-// function : BOPDS_Interf
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 class BOPDS_Interf
 {
 public:
@@ -203,10 +201,8 @@ protected:
  * The class BOPDS_InterfVV stores the information about
  * the interference of the type vertex/vertex.
  */
-//=======================================================================
-// function : BOPDS_InterfVV
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 class BOPDS_InterfVV : public BOPDS_Interf
 {
 public:
@@ -243,10 +239,8 @@ public:
  * The class BOPDS_InterfVE stores the information about
  * the interference of the type vertex/edge.
  */
-//=======================================================================
-// function : BOPDS_InterfVE
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 class BOPDS_InterfVE : public BOPDS_Interf
 {
 public:
@@ -308,10 +302,8 @@ protected:
  * The class BOPDS_InterfVF stores the information about
  * the interference of the type vertex/face
  */
-//=======================================================================
-// function : BOPDS_InterfVF
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 class BOPDS_InterfVF : public BOPDS_Interf
 {
 public:
@@ -388,10 +380,8 @@ protected:
  * The class BOPDS_InterfEE stores the information about
  * the interference of the type edge/edge.
  */
-//=======================================================================
-// function : BOPDS_InterfEE
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 class BOPDS_InterfEE : public BOPDS_Interf
 {
 public:
@@ -447,10 +437,8 @@ protected:
  * The class BOPDS_InterfEF stores the information about
  * the interference of the type edge/face.
  */
-//=======================================================================
-// function : BOPDS_InterfEF
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 class BOPDS_InterfEF : public BOPDS_Interf
 {
 public:
@@ -513,10 +501,8 @@ protected:
  */
 ;
 
-//=======================================================================
-// function : BOPDS_InterfFF
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 class BOPDS_InterfFF : public BOPDS_Interf
 {
 public:
@@ -622,10 +608,8 @@ protected:
  * The class BOPDS_InterfVZ stores the information about
  * the interference of the type vertex/solid.
  */
-//=======================================================================
-// function : BOPDS_InterfVZ
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 class BOPDS_InterfVZ : public BOPDS_Interf
 {
 public:
@@ -655,10 +639,8 @@ public:
  * The class BOPDS_InterfEZ stores the information about
  * the interference of the type edge/solid.
  */
-//=======================================================================
-// function : BOPDS_InterfEZ
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 class BOPDS_InterfEZ : public BOPDS_Interf
 {
 public:
@@ -688,10 +670,8 @@ public:
  * The class BOPDS_InterfFZ stores the information about
  * the interference of the type face/solid.
  */
-//=======================================================================
-// function : BOPDS_InterfFZ
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 class BOPDS_InterfFZ : public BOPDS_Interf
 {
 public:
@@ -721,10 +701,8 @@ public:
  * The class BOPDS_InterfZZ stores the information about
  * the interference of the type solid/solid.
  */
-//=======================================================================
-// function : BOPDS_InterfZZ
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 class BOPDS_InterfZZ : public BOPDS_Interf
 {
 public:
index 5361d85b36fbb158ea93fb24749575c986411d8c..e8c2af2170bfe5d3b7a7e96d842f113d9fdfc26d 100644 (file)
 // Alternatively, this file may be used under the terms of Open CASCADE
 // commercial license or contractual agreement.
 
-//=======================================================================
-// function :
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline BOPDS_Pave::BOPDS_Pave()
 {
   myIndex     = -1;
   myParameter = 99.;
 }
 
-//=======================================================================
-// function : SetIndex
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline void BOPDS_Pave::SetIndex(const Standard_Integer theIndex)
 {
   myIndex = theIndex;
 }
 
-//=======================================================================
-// function : Index
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline Standard_Integer BOPDS_Pave::Index() const
 {
   return myIndex;
 }
 
-//=======================================================================
-// function : SetParameter
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline void BOPDS_Pave::SetParameter(const Standard_Real theParameter)
 {
   myParameter = theParameter;
 }
 
-//=======================================================================
-// function : Parameter
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline Standard_Real BOPDS_Pave::Parameter() const
 {
   return myParameter;
 }
 
-//=======================================================================
-// function : Contents
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline void BOPDS_Pave::Contents(Standard_Integer& theIndex, Standard_Real& theParameter) const
 {
   theIndex     = myIndex;
   theParameter = myParameter;
 }
 
-//=======================================================================
-// function : IsLess
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline Standard_Boolean BOPDS_Pave::IsLess(const BOPDS_Pave& theOther) const
 {
   return myParameter < theOther.myParameter;
 }
 
-//=======================================================================
-// function : IsEqual
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline Standard_Boolean BOPDS_Pave::IsEqual(const BOPDS_Pave& theOther) const
 {
   Standard_Boolean bFlag;
index a9d67e8e4b767a5dde87c38a8889efcc5008e29b..bf1115f1879e8b7c9a51aa1a8f05238e8caa98c3 100644 (file)
 // Alternatively, this file may be used under the terms of Open CASCADE
 // commercial license or contractual agreement.
 
-//=======================================================================
-// function :
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline BOPDS_Point::BOPDS_Point()
 {
   myPnt.SetCoord(99., 99., 99.);
@@ -30,73 +28,57 @@ inline BOPDS_Point::BOPDS_Point()
 //=======================================================================
 inline BOPDS_Point::~BOPDS_Point() {}
 
-//=======================================================================
-// function : SetIndex
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline void BOPDS_Point::SetIndex(const Standard_Integer theIndex)
 {
   myIndex = theIndex;
 }
 
-//=======================================================================
-// function : Index
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline Standard_Integer BOPDS_Point::Index() const
 {
   return myIndex;
 }
 
-//=======================================================================
-// function : SetPnt
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline void BOPDS_Point::SetPnt(const gp_Pnt& thePnt)
 {
   myPnt = thePnt;
 }
 
-//=======================================================================
-// function : Pnt
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline const gp_Pnt& BOPDS_Point::Pnt() const
 {
   return myPnt;
 }
 
-//=======================================================================
-// function : SetPnt2D1
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline void BOPDS_Point::SetPnt2D1(const gp_Pnt2d& thePnt)
 {
   myPnt2D1 = thePnt;
 }
 
-//=======================================================================
-// function : Pnt2D1
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline const gp_Pnt2d& BOPDS_Point::Pnt2D1() const
 {
   return myPnt2D1;
 }
 
-//=======================================================================
-// function : SetPnt2D2
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline void BOPDS_Point::SetPnt2D2(const gp_Pnt2d& thePnt)
 {
   myPnt2D2 = thePnt;
 }
 
-//=======================================================================
-// function : Pnt2D2
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline const gp_Pnt2d& BOPDS_Point::Pnt2D2() const
 {
   return myPnt2D2;
index 45fbba584e1ece79b3edbf34ca20e5edaa1dd2fe..0a89be6fb32b574d7bad1685ff394f960947f0fd 100644 (file)
 
 #include <BOPDS_Tools.hxx>
 
-//=======================================================================
-// function :
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline BOPDS_ShapeInfo::BOPDS_ShapeInfo()
     :
 
@@ -27,10 +25,8 @@ inline BOPDS_ShapeInfo::BOPDS_ShapeInfo()
 {
 }
 
-//=======================================================================
-// function :
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline BOPDS_ShapeInfo::BOPDS_ShapeInfo(const Handle(NCollection_BaseAllocator)& theAllocator)
     : myType(TopAbs_SHAPE),
       mySubShapes(theAllocator),
@@ -45,173 +41,135 @@ inline BOPDS_ShapeInfo::BOPDS_ShapeInfo(const Handle(NCollection_BaseAllocator)&
 //=======================================================================
 inline BOPDS_ShapeInfo::~BOPDS_ShapeInfo() {}
 
-//=======================================================================
-// function : SetShape
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline void BOPDS_ShapeInfo::SetShape(const TopoDS_Shape& theS)
 {
   myShape = theS;
 }
 
-//=======================================================================
-// function : Shape
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline const TopoDS_Shape& BOPDS_ShapeInfo::Shape() const
 {
   return myShape;
 }
 
-//=======================================================================
-// function : SetShapeType
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline void BOPDS_ShapeInfo::SetShapeType(const TopAbs_ShapeEnum theType)
 {
   myType = theType;
 }
 
-//=======================================================================
-// function : ShapeType
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline TopAbs_ShapeEnum BOPDS_ShapeInfo::ShapeType() const
 {
   return myType;
 }
 
-//=======================================================================
-// function : SetBox
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline void BOPDS_ShapeInfo::SetBox(const Bnd_Box& theBox)
 {
   myBox = theBox;
 }
 
-//=======================================================================
-// function : Box
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline const Bnd_Box& BOPDS_ShapeInfo::Box() const
 {
   return myBox;
 }
 
-//=======================================================================
-// function : ChangeBox
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline Bnd_Box& BOPDS_ShapeInfo::ChangeBox()
 {
   return myBox;
 }
 
-//=======================================================================
-// function : SubShapes
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline const TColStd_ListOfInteger& BOPDS_ShapeInfo::SubShapes() const
 {
   return mySubShapes;
 }
 
-//=======================================================================
-// function : ChangeSubShapes
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline TColStd_ListOfInteger& BOPDS_ShapeInfo::ChangeSubShapes()
 {
   return mySubShapes;
 }
 
-//=======================================================================
-// function : HasSubShape
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline Standard_Boolean BOPDS_ShapeInfo::HasSubShape(const Standard_Integer theI) const
 {
   return mySubShapes.Contains(theI);
 }
 
-//=======================================================================
-// function : HasReference
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline Standard_Boolean BOPDS_ShapeInfo::HasReference() const
 {
   return (myReference >= 0);
 }
 
-//=======================================================================
-// function : SetReference
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline void BOPDS_ShapeInfo::SetReference(const Standard_Integer theI)
 {
   myReference = theI;
 }
 
-//=======================================================================
-// function : Reference
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline Standard_Integer BOPDS_ShapeInfo::Reference() const
 {
   return myReference;
 }
 
-//=======================================================================
-// function : HasBRep
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline Standard_Boolean BOPDS_ShapeInfo::HasBRep() const
 {
   return (BOPDS_Tools::HasBRep(myType));
 }
 
-//=======================================================================
-// function : IsInterfering
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline Standard_Boolean BOPDS_ShapeInfo::IsInterfering() const
 {
   return (HasBRep() || myType == TopAbs_SOLID);
 }
 
-//=======================================================================
-// function : HasFlag
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline Standard_Boolean BOPDS_ShapeInfo::HasFlag() const
 {
   return (myFlag >= 0);
 }
 
-//=======================================================================
-// function : HasFlag
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline Standard_Boolean BOPDS_ShapeInfo::HasFlag(Standard_Integer& theFlag) const
 {
   theFlag = myFlag;
   return (myFlag >= 0);
 }
 
-//=======================================================================
-// function : SetFlag
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline void BOPDS_ShapeInfo::SetFlag(const Standard_Integer theFlag)
 {
   myFlag = theFlag;
 }
 
-//=======================================================================
-// function : Flag
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline Standard_Integer BOPDS_ShapeInfo::Flag() const
 {
   return myFlag;
index 9af72a7f5083a43fc8b33240aa248ba080b7d7f8..1e24d46ee0229d9f536d06c5687e5977535f00b1 100644 (file)
 // Alternatively, this file may be used under the terms of Open CASCADE
 // commercial license or contractual agreement.
 
-//=======================================================================
-// function: HasBRep
-// purpose:
-//=======================================================================
+//=================================================================================================
+
 inline Standard_Boolean BOPDS_Tools::HasBRep(const TopAbs_ShapeEnum aTi)
 {
   return (aTi == TopAbs_VERTEX || aTi == TopAbs_EDGE || aTi == TopAbs_FACE);
 }
 
-//=======================================================================
-// function: IsInterfering
-// purpose:
-//=======================================================================
+//=================================================================================================
+
 inline Standard_Boolean BOPDS_Tools::IsInterfering(const TopAbs_ShapeEnum aTi)
 {
   return (BOPDS_Tools::HasBRep(aTi) || aTi == TopAbs_SOLID);
 }
 
-//=======================================================================
-// function : TypeToInteger
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline Standard_Integer BOPDS_Tools::TypeToInteger(const TopAbs_ShapeEnum aType1,
                                                    const TopAbs_ShapeEnum aType2)
 {
@@ -88,10 +82,8 @@ inline Standard_Integer BOPDS_Tools::TypeToInteger(const TopAbs_ShapeEnum aType1
   return iRet;
 }
 
-//=======================================================================
-// function : TypeToInteger
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline Standard_Integer BOPDS_Tools::TypeToInteger(const TopAbs_ShapeEnum aType1)
 {
   Standard_Integer iRet = 9;
index b0e3009d409a222f6be065d86e8d0a07c3173194..9f4eda7d873adbbde970de48a3b8e0dbb3e5d577 100644 (file)
 #include <NCollection_BaseAllocator.hxx>
 #include <TopTools_ListOfShape.hxx>
 
-//=======================================================================
-// class : ConnexityBlock
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 class BOPTools_ConnexityBlock
 {
 public:
index 8ac9d89e88abc350bf93bf9faee1efdb3f02507d..b854197d4ff30e364d0613b8e086786c537089ee 100644 (file)
 
 #include <TopoDS_Shape.hxx>
 
-//=======================================================================
-// class :
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 class BOPTools_CoupleOfShape
 {
 public:
index d75f99b6d28f415af01a56489016783f14f9792a..54a7c366c76ec9e4473c61b1947d37018e2c149e 100644 (file)
 #include <Precision.hxx>
 #include <BRep_Tool.hxx>
 
-//=======================================================================
-// function : IntTools_EdgeEdge
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline IntTools_EdgeEdge::IntTools_EdgeEdge()
     : myTol1(0.),
       myTol2(0.),
@@ -38,10 +36,8 @@ inline IntTools_EdgeEdge::IntTools_EdgeEdge()
 {
 }
 
-//=======================================================================
-// function : IntTools_EdgeEdge
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline IntTools_EdgeEdge::IntTools_EdgeEdge(const TopoDS_Edge& theEdge1,
                                             const TopoDS_Edge& theEdge2)
     : myEdge1(theEdge1),
@@ -64,10 +60,8 @@ inline IntTools_EdgeEdge::IntTools_EdgeEdge(const TopoDS_Edge& theEdge1,
 {
 }
 
-//=======================================================================
-// function : IntTools_EdgeEdge
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline IntTools_EdgeEdge::IntTools_EdgeEdge(const TopoDS_Edge&  theEdge1,
                                             const Standard_Real aT11,
                                             const Standard_Real aT12,
@@ -94,44 +88,34 @@ inline IntTools_EdgeEdge::IntTools_EdgeEdge(const TopoDS_Edge&  theEdge1,
 {
 }
 
-//=======================================================================
-// function : IntTools_EdgeEdge
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline IntTools_EdgeEdge::~IntTools_EdgeEdge() {}
 
-//=======================================================================
-// function : SetEdge1
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline void IntTools_EdgeEdge::SetEdge1(const TopoDS_Edge& theEdge)
 {
   myEdge1 = theEdge;
 }
 
-//=======================================================================
-// function : SetRange1
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline void IntTools_EdgeEdge::SetRange1(const IntTools_Range& theRange)
 {
   myRange1 = theRange;
 }
 
-//=======================================================================
-// function : SetRange1
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline void IntTools_EdgeEdge::SetRange1(const Standard_Real aT1, const Standard_Real aT2)
 {
   myRange1.SetFirst(aT1);
   myRange1.SetLast(aT2);
 }
 
-//=======================================================================
-// function : SetEdge1
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline void IntTools_EdgeEdge::SetEdge1(const TopoDS_Edge&  theEdge,
                                         const Standard_Real aT1,
                                         const Standard_Real aT2)
@@ -140,38 +124,30 @@ inline void IntTools_EdgeEdge::SetEdge1(const TopoDS_Edge&  theEdge,
   SetRange1(aT1, aT2);
 }
 
-//=======================================================================
-// function : SetEdge2
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline void IntTools_EdgeEdge::SetEdge2(const TopoDS_Edge& theEdge)
 {
   myEdge2 = theEdge;
 }
 
-//=======================================================================
-// function : SetRange1
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline void IntTools_EdgeEdge::SetRange2(const IntTools_Range& theRange)
 {
   myRange2 = theRange;
 }
 
-//=======================================================================
-// function : SetRange1
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline void IntTools_EdgeEdge::SetRange2(const Standard_Real aT1, const Standard_Real aT2)
 {
   myRange2.SetFirst(aT1);
   myRange2.SetLast(aT2);
 }
 
-//=======================================================================
-// function : SetEdge1
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline void IntTools_EdgeEdge::SetEdge2(const TopoDS_Edge&  theEdge,
                                         const Standard_Real aT1,
                                         const Standard_Real aT2)
@@ -180,46 +156,36 @@ inline void IntTools_EdgeEdge::SetEdge2(const TopoDS_Edge&  theEdge,
   SetRange2(aT1, aT2);
 }
 
-//=======================================================================
-// function : SetFuzzyValue
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline void IntTools_EdgeEdge::SetFuzzyValue(const Standard_Real theFuzz)
 {
   myFuzzyValue = Max(theFuzz, Precision::Confusion());
 }
 
-//=======================================================================
-// function : FuzzyValue
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline Standard_Real IntTools_EdgeEdge::FuzzyValue() const
 {
   return myFuzzyValue;
 }
 
-//=======================================================================
-// function : CommonParts
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline const IntTools_SequenceOfCommonPrts& IntTools_EdgeEdge::CommonParts() const
 {
   return myCommonParts;
 }
 
-//=======================================================================
-// function : IsDone
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline Standard_Boolean IntTools_EdgeEdge::IsDone() const
 {
   return (myErrorStatus == 0);
 }
 
-//=======================================================================
-// function : CheckData
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline void IntTools_EdgeEdge::CheckData()
 {
   if (myEdge1.IsNull() || myEdge2.IsNull())
index 5b6e748717b77e5ffe52215f770643a002d11b50..05198855efbf3abdc5e939c1ae5292cacf4b3efc 100644 (file)
 // Alternatively, this file may be used under the terms of Open CASCADE
 // commercial license or contractual agreement.
 
-//=======================================================================
-// function : Shell
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline const TopoDS_Shell& BRepFill_Generator::Shell() const
 {
index bc01045d71d4eddd0aa7bd58a7e8f920fcf141b3..7c85d8a90b51b800ba955443c4f00c27293b74f5 100644 (file)
@@ -620,10 +620,8 @@ void BRepFill_PipeShell::SetTransition(const BRepFill_TransitionStyle Mode,
   angmax       = Angmax;
 }
 
-//=======================================================================
-// function : Simulate
-// purpose  : Calculate N Sections
-//=======================================================================
+//=================================================================================================
+
 void BRepFill_PipeShell::Simulate(const Standard_Integer N, TopTools_ListOfShape& List)
 {
   // Preparation
index df30771c276a527ba4a85b6b2614dfe81b3278a4..407dbc3874d0175c6d43eb006d6d9ab1de9bee03 100644 (file)
 #include <TopoDS.hxx>
 #include <TopTools_HArray1OfShape.hxx>
 
-//=======================================================================
-// function : Edge
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline const TopoDS_Edge& BRepFill_ShapeLaw::Edge(const Standard_Integer Index) const
 {
   return TopoDS::Edge(myEdges->Value(Index));
index 374fb30614a506460b1616704c93124dc997030c..4a380293132618c55c69b224b3e63ba3462845ac 100644 (file)
 
 #include <IntPatch_Line.hxx>
 
-//=======================================================================
-// function : TopOpeBRep_LineInter
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline TopOpeBRep_LineInter::TopOpeBRep_LineInter()
     : myOK(Standard_True),
@@ -39,10 +36,7 @@ inline TopOpeBRep_LineInter::TopOpeBRep_LineInter()
 {
 }
 
-//=======================================================================
-// function : SetFaces
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void TopOpeBRep_LineInter::SetFaces(const TopoDS_Face& F1, const TopoDS_Face& F2)
 {
@@ -50,150 +44,105 @@ inline void TopOpeBRep_LineInter::SetFaces(const TopoDS_Face& F1, const TopoDS_F
   myF2 = F2;
 }
 
-//=======================================================================
-// function : TypeLineCurve
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline TopOpeBRep_TypeLineCurve TopOpeBRep_LineInter::TypeLineCurve() const
 {
   return myTypeLineCurve;
 }
 
-//=======================================================================
-// function : NbVPoint
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer TopOpeBRep_LineInter::NbVPoint() const
 {
   return myNbVPoint;
 }
 
-//=======================================================================
-// function : INL
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean TopOpeBRep_LineInter::INL() const
 {
   return myINL;
 }
 
-//=======================================================================
-// function : IsVClosed
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean TopOpeBRep_LineInter::IsVClosed() const
 {
   return myIsVClosed;
 }
 
-//=======================================================================
-// function : HasVPonR
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean TopOpeBRep_LineInter::HasVPonR() const
 {
   return myHasVPonR;
 }
 
-//=======================================================================
-// function : TransitionOnS1
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline IntSurf_TypeTrans TopOpeBRep_LineInter::TransitionOnS1() const
 {
   return myIL->TransitionOnS1();
 }
 
-//=======================================================================
-// function : TransitionOnS2
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline IntSurf_TypeTrans TopOpeBRep_LineInter::TransitionOnS2() const
 {
   return myIL->TransitionOnS2();
 }
 
-//=======================================================================
-// function : SituationS1
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline IntSurf_Situation TopOpeBRep_LineInter::SituationS1() const
 {
   return myIL->SituationS1();
 }
 
-//=======================================================================
-// function : SituationS2
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline IntSurf_Situation TopOpeBRep_LineInter::SituationS2() const
 {
   return myIL->SituationS2();
 }
 
-//=======================================================================
-// function : LineW
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline const Handle(IntPatch_WLine)& TopOpeBRep_LineInter::LineW() const
 {
   return myILW;
 }
 
-//=======================================================================
-// function : LineG
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline const Handle(IntPatch_GLine)& TopOpeBRep_LineInter::LineG() const
 {
   return myILG;
 }
 
-//=======================================================================
-// function : LineR
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline const Handle(IntPatch_RLine)& TopOpeBRep_LineInter::LineR() const
 {
   return myILR;
 }
 
-//=======================================================================
-// function : Index
-// purpose  : trace
-//=======================================================================
+//=================================================================================================
 
 inline void TopOpeBRep_LineInter::Index(const Standard_Integer I)
 {
   myIndex = I;
 }
 
-//=======================================================================
-// function : Index
-// purpose  : trace
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer TopOpeBRep_LineInter::Index() const
 {
   return myIndex;
 }
 
-//=======================================================================
-// function : OK
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean TopOpeBRep_LineInter::OK() const
 {
index a3ac5af451587efbd53c8b8f89dea65d1417b4bf..44cc73f1ef8d95e56a95639c664eb766216c2fdb 100644 (file)
 
 #include <TopOpeBRep_define.hxx>
 
-//=======================================================================
-// function : SetPint
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline void TopOpeBRep_Point2d::SetPint(const IntRes2d_IntersectionPoint& P)
 {
   mypint    = P;
   myhaspint = Standard_True;
 }
 
-//=======================================================================
-// function : HasPint
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline Standard_Boolean TopOpeBRep_Point2d::HasPint() const
 {
   return myhaspint;
 }
 
-//=======================================================================
-// function : Pint
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline const IntRes2d_IntersectionPoint& TopOpeBRep_Point2d::Pint() const
 {
   if (!HasPint())
@@ -46,10 +40,8 @@ inline const IntRes2d_IntersectionPoint& TopOpeBRep_Point2d::Pint() const
   return mypint;
 }
 
-//=======================================================================
-// function : SetIsVertex
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline void TopOpeBRep_Point2d::SetIsVertex(const Standard_Integer Index, const Standard_Boolean B)
 {
   if (Index == 1)
@@ -60,10 +52,8 @@ inline void TopOpeBRep_Point2d::SetIsVertex(const Standard_Integer Index, const
     throw Standard_Failure("TopOpeBRep_Point2d::SetIsVertex");
 }
 
-//=======================================================================
-// function : IsVertex
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline Standard_Boolean TopOpeBRep_Point2d::IsVertex(const Standard_Integer Index) const
 {
   if (Index == 1)
@@ -74,10 +64,8 @@ inline Standard_Boolean TopOpeBRep_Point2d::IsVertex(const Standard_Integer Inde
     throw Standard_Failure("TopOpeBRep_Point2d::IsVertex");
 }
 
-//=======================================================================
-// function : SetVertex
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline void TopOpeBRep_Point2d::SetVertex(const Standard_Integer Index, const TopoDS_Vertex& V)
 {
   if (Index == 1)
@@ -94,10 +82,8 @@ inline void TopOpeBRep_Point2d::SetVertex(const Standard_Integer Index, const To
     throw Standard_Failure("TopOpeBRep_Point2d::SetVertex");
 }
 
-//=======================================================================
-// function : SetTransition
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline void TopOpeBRep_Point2d::SetTransition(const Standard_Integer         Index,
                                               const TopOpeBRepDS_Transition& T)
 {
@@ -109,10 +95,8 @@ inline void TopOpeBRep_Point2d::SetTransition(const Standard_Integer         Ind
     throw Standard_Failure("TopOpeBRep_Point2d::SetTransition");
 }
 
-//=======================================================================
-// function : SetParameter
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline void TopOpeBRep_Point2d::SetParameter(const Standard_Integer Index, const Standard_Real P)
 {
   if (Index == 1)
@@ -123,10 +107,8 @@ inline void TopOpeBRep_Point2d::SetParameter(const Standard_Integer Index, const
     throw Standard_Failure("TopOpeBRep_Point2d::SetParameter");
 }
 
-//=======================================================================
-// function : Parameter
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline Standard_Real TopOpeBRep_Point2d::Parameter(const Standard_Integer Index) const
 {
   if (Index == 1)
@@ -137,28 +119,22 @@ inline Standard_Real TopOpeBRep_Point2d::Parameter(const Standard_Integer Index)
     throw Standard_Failure("TopOpeBRep_Point2d::Parameter");
 }
 
-//=======================================================================
-// function : SetIsPointOfSegment
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline void TopOpeBRep_Point2d::SetIsPointOfSegment(const Standard_Boolean B)
 {
   myispointofsegment = B;
 }
 
-//=======================================================================
-// function : IsPointOfSegment
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline Standard_Boolean TopOpeBRep_Point2d::IsPointOfSegment() const
 {
   return myispointofsegment;
 }
 
-//=======================================================================
-// function : SetSegmentAncestors
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline void TopOpeBRep_Point2d::SetSegmentAncestors(const Standard_Integer IP1,
                                                     const Standard_Integer IP2)
 {
@@ -169,10 +145,8 @@ inline void TopOpeBRep_Point2d::SetSegmentAncestors(const Standard_Integer IP1,
     mystatus = TopOpeBRep_P2DNEW;
 }
 
-//=======================================================================
-// function : SegmentAncestors
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline Standard_Boolean TopOpeBRep_Point2d::SegmentAncestors(Standard_Integer& IP1,
                                                              Standard_Integer& IP2) const
 {
@@ -181,163 +155,127 @@ inline Standard_Boolean TopOpeBRep_Point2d::SegmentAncestors(Standard_Integer& I
   return myhasancestors;
 }
 
-//=======================================================================
-// function : SetStatus
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline void TopOpeBRep_Point2d::SetStatus(const TopOpeBRep_P2Dstatus I)
 {
   mystatus = I;
 }
 
-//=======================================================================
-// function : Status
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline TopOpeBRep_P2Dstatus TopOpeBRep_Point2d::Status() const
 {
   return mystatus;
 }
 
-//=======================================================================
-// function : SetIndex
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline void TopOpeBRep_Point2d::SetIndex(const Standard_Integer I)
 {
   myindex = I;
 }
 
-//=======================================================================
-// function : Index
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline Standard_Integer TopOpeBRep_Point2d::Index() const
 {
   return myindex;
 }
 
-//=======================================================================
-// function : SetValue
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline void TopOpeBRep_Point2d::SetValue(const gp_Pnt& P)
 {
   mypnt = P;
 }
 
-//=======================================================================
-// function : Value
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline const gp_Pnt& TopOpeBRep_Point2d::Value() const
 {
   return mypnt;
 }
 
-//=======================================================================
-// function : SetValue2d
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline void TopOpeBRep_Point2d::SetValue2d(const gp_Pnt2d& P)
 {
   mypnt2d = P;
 }
 
-//=======================================================================
-// function : Value2d
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline const gp_Pnt2d& TopOpeBRep_Point2d::Value2d() const
 {
   return mypnt2d;
 }
 
-//=======================================================================
-// function : SetKeep
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline void TopOpeBRep_Point2d::SetKeep(const Standard_Boolean B)
 {
   mykeep = B;
 }
 
-//=======================================================================
-// function : Keep
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline Standard_Boolean TopOpeBRep_Point2d::Keep() const
 {
   return mykeep;
 }
 
-//=======================================================================
-// function : SetEdgesConfig
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline void TopOpeBRep_Point2d::SetEdgesConfig(const TopOpeBRepDS_Config B)
 {
   myedgesconfig = B;
 }
 
-//=======================================================================
-// function : EdgesConfig
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline TopOpeBRepDS_Config TopOpeBRep_Point2d::EdgesConfig() const
 {
   return myedgesconfig;
 }
 
-//=======================================================================
-// function : SetTolerance
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline void TopOpeBRep_Point2d::SetTolerance(const Standard_Real t)
 {
   mytolerance = t;
 }
 
-//=======================================================================
-// function : Tolerance
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline Standard_Real TopOpeBRep_Point2d::Tolerance() const
 {
   return mytolerance;
 }
 
-//=======================================================================
-// function : SetHctxff2d
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline void TopOpeBRep_Point2d::SetHctxff2d(const Handle(TopOpeBRep_Hctxff2d)& h)
 {
   myctxff2d = h;
 }
 
-//=======================================================================
-// function : Hctxff2d
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline Handle(TopOpeBRep_Hctxff2d) TopOpeBRep_Point2d::Hctxff2d() const
 {
   return myctxff2d;
 }
 
-//=======================================================================
-// function : SetHctxee2d
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline void TopOpeBRep_Point2d::SetHctxee2d(const Handle(TopOpeBRep_Hctxee2d)& h)
 {
   myctxee2d = h;
 }
 
-//=======================================================================
-// function : Hctxee2d
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline Handle(TopOpeBRep_Hctxee2d) TopOpeBRep_Point2d::Hctxee2d() const
 {
   return myctxee2d;
index 59ef72c1ed015b6b9c4fa7da12b4663798f3e3a4..c38b6fabe3af62e9fe249c906b359204b57c7944 100644 (file)
 
 #include <IntPatch_Point.hxx>
 
-//=======================================================================
-// function : TopOpeBRep_VPointInter
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline TopOpeBRep_VPointInter::TopOpeBRep_VPointInter()
     : myPPOI(NULL),
@@ -35,10 +32,7 @@ inline TopOpeBRep_VPointInter::TopOpeBRep_VPointInter()
 {
 }
 
-//=======================================================================
-// function : SetShapes
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void TopOpeBRep_VPointInter::SetShapes(const Standard_Integer I1, const Standard_Integer I2)
 {
@@ -46,10 +40,7 @@ inline void TopOpeBRep_VPointInter::SetShapes(const Standard_Integer I1, const S
   myS2 = I2;
 }
 
-//=======================================================================
-// function : GetShapes
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void TopOpeBRep_VPointInter::GetShapes(Standard_Integer& I1, Standard_Integer& I2) const
 {
@@ -57,230 +48,161 @@ inline void TopOpeBRep_VPointInter::GetShapes(Standard_Integer& I1, Standard_Int
   I2 = myS2;
 }
 
-//=======================================================================
-// function : TransitionOnS1
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline IntSurf_Transition TopOpeBRep_VPointInter::TransitionOnS1() const
 {
   return myPPOI->TransitionOnS1();
 }
 
-//=======================================================================
-// function : TransitionOnS2
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline IntSurf_Transition TopOpeBRep_VPointInter::TransitionOnS2() const
 {
   return myPPOI->TransitionOnS2();
 }
 
-//=======================================================================
-// function : TransitionLineArc1
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline IntSurf_Transition TopOpeBRep_VPointInter::TransitionLineArc1() const
 {
   return myPPOI->TransitionLineArc1();
 }
 
-//=======================================================================
-// function : TransitionLineArc2
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline IntSurf_Transition TopOpeBRep_VPointInter::TransitionLineArc2() const
 {
   return myPPOI->TransitionLineArc2();
 }
 
-//=======================================================================
-// function : IsOnDomS1
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean TopOpeBRep_VPointInter::IsOnDomS1() const
 {
   return myPPOI->IsOnDomS1();
 }
 
-//=======================================================================
-// function : IsOnDomS2
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean TopOpeBRep_VPointInter::IsOnDomS2() const
 {
   return myPPOI->IsOnDomS2();
 }
 
-//=======================================================================
-// function : ParametersOnS1
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void TopOpeBRep_VPointInter::ParametersOnS1(Standard_Real& u, Standard_Real& v) const
 {
   myPPOI->ParametersOnS1(u, v);
 }
 
-//=======================================================================
-// function : ParametersOnS2
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void TopOpeBRep_VPointInter::ParametersOnS2(Standard_Real& u, Standard_Real& v) const
 {
   myPPOI->ParametersOnS2(u, v);
 }
 
-//=======================================================================
-// function : Value
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline const gp_Pnt& TopOpeBRep_VPointInter::Value() const
 {
   return myPPOI->Value();
 }
 
-//=======================================================================
-// function : Tolerance
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Real TopOpeBRep_VPointInter::Tolerance() const
 {
   return myPPOI->Tolerance();
 }
 
-//=======================================================================
-// function : ParameterOnLine
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Real TopOpeBRep_VPointInter::ParameterOnLine() const
 {
   return myPPOI->ParameterOnLine();
 }
 
-//=======================================================================
-// function : ParameterOnArc1
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Real TopOpeBRep_VPointInter::ParameterOnArc1() const
 {
   return myPPOI->ParameterOnArc1();
 }
 
-//=======================================================================
-// function : ParameterOnArc2
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Real TopOpeBRep_VPointInter::ParameterOnArc2() const
 {
   return myPPOI->ParameterOnArc2();
 }
 
-//=======================================================================
-// function : IsVertexOnS1
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean TopOpeBRep_VPointInter::IsVertexOnS1() const
 {
   return myPPOI->IsVertexOnS1();
 }
 
-//=======================================================================
-// function : IsVertexOnS2
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean TopOpeBRep_VPointInter::IsVertexOnS2() const
 {
   return myPPOI->IsVertexOnS2();
 }
 
-//=======================================================================
-// function : IsMultiple
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean TopOpeBRep_VPointInter::IsMultiple() const
 {
   return myPPOI->IsMultiple();
 }
 
-//=======================================================================
-// function : IsInternal
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean TopOpeBRep_VPointInter::IsInternal() const
 {
   return Standard_False;
 }
 
-//=======================================================================
-// function : ShapeIndex
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer TopOpeBRep_VPointInter::ShapeIndex() const
 {
   return myShapeIndex;
 }
 
-//=======================================================================
-// function : ShapeIndex
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void TopOpeBRep_VPointInter::ShapeIndex(const Standard_Integer I)
 {
   myShapeIndex = I;
 }
 
-//=======================================================================
-// function : Keep
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean TopOpeBRep_VPointInter::Keep() const
 {
   return myKeep;
 }
 
-//=======================================================================
-// function : ChangeKeep
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void TopOpeBRep_VPointInter::ChangeKeep(const Standard_Boolean keep)
 {
   myKeep = keep;
 }
 
-//=======================================================================
-// function : Index
-// purpose  : trace
-//=======================================================================
+//=================================================================================================
 
 inline void TopOpeBRep_VPointInter::Index(const Standard_Integer I)
 {
   myIndex = I;
 }
 
-//=======================================================================
-// function : Index
-// purpose  : trace
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer TopOpeBRep_VPointInter::Index() const
 {
index 71abd134ec5dc432d63f5e3e6c5a224da6bf1f84..c495f83e3c4ef64007b2c298dece8d71fa7c48a1 100644 (file)
 // Alternatively, this file may be used under the terms of Open CASCADE
 // commercial license or contractual agreement.
 
-//=======================================================================
-// function : Initialize
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void TopOpeBRepBuild_BlockIterator::Initialize()
 {
   myValue = myLower;
 }
 
-//=======================================================================
-// function : More
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean TopOpeBRepBuild_BlockIterator::More() const
 {
@@ -35,30 +29,21 @@ inline Standard_Boolean TopOpeBRepBuild_BlockIterator::More() const
   return b;
 }
 
-//=======================================================================
-// function : Next
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void TopOpeBRepBuild_BlockIterator::Next()
 {
   myValue++;
 }
 
-//=======================================================================
-// function : Value
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer TopOpeBRepBuild_BlockIterator::Value() const
 {
   return myValue;
 }
 
-//=======================================================================
-// function : Extent
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer TopOpeBRepBuild_BlockIterator::Extent() const
 {
index 178f6ec3858a1675e80d1fc99224390650d8a440..e5bb969adf61a1ec83051ff220b6655db0980085 100644 (file)
 
 #include <StdFail_NotDone.hxx>
 
-//=======================================================================
-// function : TopOpeBRepBuild_FuseFace
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline TopOpeBRepBuild_FuseFace::TopOpeBRepBuild_FuseFace()
     : myInternal(Standard_False),
@@ -28,10 +25,7 @@ inline TopOpeBRepBuild_FuseFace::TopOpeBRepBuild_FuseFace()
 {
 }
 
-//=======================================================================
-// function : TopOpeBRepBuild_FuseFace
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline TopOpeBRepBuild_FuseFace::TopOpeBRepBuild_FuseFace(const TopTools_ListOfShape& LIF,
                                                           const TopTools_ListOfShape& LRF,
@@ -40,90 +34,63 @@ inline TopOpeBRepBuild_FuseFace::TopOpeBRepBuild_FuseFace(const TopTools_ListOfS
   Init(LIF, LRF, CXM);
 }
 
-//=======================================================================
-// function : IsDone
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean TopOpeBRepBuild_FuseFace::IsDone() const
 {
   return myDone;
 }
 
-//=======================================================================
-// function : IsModified
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean TopOpeBRepBuild_FuseFace::IsModified() const
 {
   return myModified;
 }
 
-//=======================================================================
-// function : ListOfFusionnedFaces
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline const TopTools_ListOfShape& TopOpeBRepBuild_FuseFace::LFuseFace() const
 {
   return myLFF;
 }
 
-//=======================================================================
-// function : ListOfInternalEdges
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline const TopTools_ListOfShape& TopOpeBRepBuild_FuseFace::LInternEdge() const
 {
   return myLIE;
 }
 
-//=======================================================================
-// function : ListOfExternalEdges
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline const TopTools_ListOfShape& TopOpeBRepBuild_FuseFace::LExternEdge() const
 {
   return myLEE;
 }
 
-//=======================================================================
-// function : ListOfModifiedEdges
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline const TopTools_ListOfShape& TopOpeBRepBuild_FuseFace::LModifEdge() const
 {
   return myLME;
 }
 
-//=======================================================================
-// function : ListOfInternalVertex
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline const TopTools_ListOfShape& TopOpeBRepBuild_FuseFace::LInternVertex() const
 {
   return myLIV;
 }
 
-//=======================================================================
-// function : ListOfExternalVertex
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline const TopTools_ListOfShape& TopOpeBRepBuild_FuseFace::LExternVertex() const
 {
   return myLEV;
 }
 
-//=======================================================================
-// function : ListOfModifiedVertex
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline const TopTools_ListOfShape& TopOpeBRepBuild_FuseFace::LModifVertex() const
 {
index 018d5108e6e100201db9d7f091623bdb79873533..203d63db75083b0251046a387fdcbf272c278611 100644 (file)
@@ -314,10 +314,8 @@ Standard_Boolean FUN_computeLIFfaces2d(const TopOpeBRepBuild_Builder& BU,
   return Standard_True;
 }
 
-//=======================================================================
-// variable : Standard_EXPORT TopOpeBRepDS_PDataStructure GLOBAL_DS2d
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 Standard_EXPORT TopOpeBRepDS_PDataStructure GLOBAL_DS2d = NULL;
 
 //=================================================================================================
@@ -838,10 +836,10 @@ void TopOpeBRepBuild_Builder::GSplitEdgeWES(const TopoDS_Shape&          EOR,
   if (isfafa)
     newO = Standard_False; // xpu110598
 
-    // if (fus) : faces are SDSO : we keep original edge's orientation
-    // if (com) : faces are SDSO : we keep original edge's orientation
-    // if (cut && TBToFill==OUT)  : myFaceToFill is the reference face,
-    //                              we keep original edge's orientation
+  // if (fus) : faces are SDSO : we keep original edge's orientation
+  // if (com) : faces are SDSO : we keep original edge's orientation
+  // if (cut && TBToFill==OUT)  : myFaceToFill is the reference face,
+  //                              we keep original edge's orientation
 
 #ifdef OCCT_DEBUG
   Standard_Integer iEOR;
index c045d134057602e23d632dfd9d4e8d2aaff5d63e..2ad71144e4186050702e6f14035a0f89b490c5ba 100644 (file)
 // Alternatively, this file may be used under the terms of Open CASCADE
 // commercial license or contractual agreement.
 
-//=======================================================================
-// function : BRepFeatForm
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline BRepFeat_Form::BRepFeat_Form()
     : myFuse(Standard_False),
@@ -37,70 +34,49 @@ inline BRepFeat_Form::BRepFeat_Form()
 {
 }
 
-//=======================================================================
-// function : BasisShapeValid
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void BRepFeat_Form::BasisShapeValid()
 {
   mySbOK = Standard_True;
 }
 
-//=======================================================================
-// function : PerfSelectionValid
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void BRepFeat_Form::PerfSelectionValid()
 {
   myPSOK = Standard_True;
 }
 
-//=======================================================================
-// function : GeneratedShapeValid
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void BRepFeat_Form::GeneratedShapeValid()
 {
   myGSOK = Standard_True;
 }
 
-//=======================================================================
-// function : ShapeFromValid
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void BRepFeat_Form::ShapeFromValid()
 {
   mySFOK = Standard_True;
 }
 
-//=======================================================================
-// function : ShapeUntilValid
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void BRepFeat_Form::ShapeUntilValid()
 {
   mySUOK = Standard_True;
 }
 
-//=======================================================================
-// function : GluedFacesValid
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void BRepFeat_Form::GluedFacesValid()
 {
   myGFOK = Standard_True;
 }
 
-//=======================================================================
-// function : SketchFaceValid
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void BRepFeat_Form::SketchFaceValid()
 {
index f9ec24852575fd88a0ead6563fdbaa236d734c09..4d46a497173c42f6dd84c64d8265729c60038d33 100644 (file)
 // Alternatively, this file may be used under the terms of Open CASCADE
 // commercial license or contractual agreement.
 
-//=======================================================================
-// function : BRepFeat_Gluer
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline BRepFeat_Gluer::BRepFeat_Gluer() {}
 
-//=======================================================================
-// function : BRepFeat_Gluer
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline BRepFeat_Gluer::BRepFeat_Gluer(const TopoDS_Shape& Snew, const TopoDS_Shape& Sbase)
     : myGluer(Sbase, Snew) // Attention a l`inversion
 {
 }
 
-//=======================================================================
-// function : Init
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void BRepFeat_Gluer::Init(const TopoDS_Shape& Snew, const TopoDS_Shape& Sbase)
 {
   myGluer.Init(Sbase, Snew);
 }
 
-//=======================================================================
-// function : Bind
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void BRepFeat_Gluer::Bind(const TopoDS_Face& Fnew, const TopoDS_Face& Fbase)
 {
   myGluer.Bind(Fnew, Fbase);
 }
 
-//=======================================================================
-// function : Bind
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void BRepFeat_Gluer::Bind(const TopoDS_Edge& Enew, const TopoDS_Edge& Ebase)
 {
   myGluer.Bind(Enew, Ebase);
 }
 
-//=======================================================================
-// function : OpeType
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline LocOpe_Operation BRepFeat_Gluer::OpeType() const
 {
   return myGluer.OpeType();
 }
 
-//=======================================================================
-// function : BasisShape
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline const TopoDS_Shape& BRepFeat_Gluer::BasisShape() const
 {
   return myGluer.BasisShape();
 }
 
-//=======================================================================
-// function : GluedShape
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline const TopoDS_Shape& BRepFeat_Gluer::GluedShape() const
 {
index a0d2c552264ae6d32db82198a0fe8f76e1dff42f..e4fb788936989b1bfdf5ca7c5633b9249d95d4ae 100644 (file)
 
 // Modified by jag, Tue May 30 09:47:02 1995
 
-//=======================================================================
-// function : BRepFeat_MakeCylindricalHole
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline BRepFeat_MakeCylindricalHole::BRepFeat_MakeCylindricalHole()
     : myAxDef(Standard_False),
@@ -29,10 +26,7 @@ inline BRepFeat_MakeCylindricalHole::BRepFeat_MakeCylindricalHole()
 {
 }
 
-//=======================================================================
-// function : Init
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void BRepFeat_MakeCylindricalHole::Init(const gp_Ax1& Axis)
 {
@@ -40,10 +34,7 @@ inline void BRepFeat_MakeCylindricalHole::Init(const gp_Ax1& Axis)
   myAxDef = Standard_True;
 }
 
-//=======================================================================
-// function : Init
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void BRepFeat_MakeCylindricalHole::Init(const TopoDS_Shape& S, const gp_Ax1& Axis)
 {
@@ -52,10 +43,7 @@ inline void BRepFeat_MakeCylindricalHole::Init(const TopoDS_Shape& S, const gp_A
   myAxDef = Standard_True;
 }
 
-//=======================================================================
-// function : Status
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline BRepFeat_Status BRepFeat_MakeCylindricalHole::Status() const
 {
index 6b4400af733e470c5377d20f73ced392d25d9365..13c31831c996f3a8c1bee4823ae6e8a0a2c51838 100644 (file)
 // Alternatively, this file may be used under the terms of Open CASCADE
 // commercial license or contractual agreement.
 
-//=======================================================================
-// function : BRepFeat_MakeLinearForm
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline BRepFeat_MakeLinearForm::BRepFeat_MakeLinearForm()
     : myBnd(0.0),
@@ -25,10 +22,7 @@ inline BRepFeat_MakeLinearForm::BRepFeat_MakeLinearForm()
 {
 }
 
-//=======================================================================
-// function : BRepFeat_MakePrism
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline BRepFeat_MakeLinearForm::BRepFeat_MakeLinearForm(const TopoDS_Shape&       Sbase,
                                                         const TopoDS_Wire&        W,
index 4895f17bf412a746dd67fe198c480b4c4b4bfa4b..0b6098c27f3c4543bc06f59e183147587322d85f 100644 (file)
@@ -113,10 +113,7 @@ void BRepFeat_MakePipe::Init(const TopoDS_Shape&    Sbase,
 #endif
 }
 
-//=======================================================================
-// function : Add
-// purpose  : add faces of gluing
-//=======================================================================
+//=================================================================================================
 
 void BRepFeat_MakePipe::Add(const TopoDS_Edge& E, const TopoDS_Face& F)
 {
index e3c93f5809f0e38ba366a83d79de4cf5326fdf98..a7118a83f95125b1cdf8e9d5a235f11aeac7e9ec 100644 (file)
 // Alternatively, this file may be used under the terms of Open CASCADE
 // commercial license or contractual agreement.
 
-//=======================================================================
-// function : BRepFeat_MakePipe
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline BRepFeat_MakePipe::BRepFeat_MakePipe() {}
 
-//=======================================================================
-// function : BRepFeat_MakePipe
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline BRepFeat_MakePipe::BRepFeat_MakePipe(const TopoDS_Shape&    Sbase,
                                             const TopoDS_Shape&    Pbase,
index baf4d8fdec106f0193207695184db1ab55f3e38f..5747ebc81869881f0a18ddff3590506dd335955e 100644 (file)
 // Alternatively, this file may be used under the terms of Open CASCADE
 // commercial license or contractual agreement.
 
-//=======================================================================
-// function : BRepFeat_MakePrism
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline BRepFeat_MakePrism::BRepFeat_MakePrism()
     : myStatusError(BRepFeat_OK)
 {
 }
 
-//=======================================================================
-// function : BRepFeat_MakePrism
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline BRepFeat_MakePrism::BRepFeat_MakePrism(const TopoDS_Shape&    Sbase,
                                               const TopoDS_Shape&    Pbase,
index 0d766b79735089c98aa4318cff710901cd269460..d038b5e7e244aad2f6fb6bebeaea1c76583f7c37 100644 (file)
 // Alternatively, this file may be used under the terms of Open CASCADE
 // commercial license or contractual agreement.
 
-//=======================================================================
-// function : BRepFeat_MakeRevol
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline BRepFeat_MakeRevol::BRepFeat_MakeRevol()
     : myStatusError(BRepFeat_OK)
 {
 }
 
-//=======================================================================
-// function : BRepFeat_MakeRevol
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline BRepFeat_MakeRevol::BRepFeat_MakeRevol(const TopoDS_Shape&    Sbase,
                                               const TopoDS_Shape&    Pbase,
index 89764946ff3c7530c8461d4fdc33f06a949b13e3..530dcea3a24e6a1330b507a1dd93e7fd32fceb54 100644 (file)
 // Alternatively, this file may be used under the terms of Open CASCADE
 // commercial license or contractual agreement.
 
-//=======================================================================
-// function : BRepFeat_MakeLinearForm
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline BRepFeat_MakeRevolutionForm::BRepFeat_MakeRevolutionForm()
     : myHeight1(0.0),
@@ -30,10 +27,7 @@ inline BRepFeat_MakeRevolutionForm::BRepFeat_MakeRevolutionForm()
 {
 }
 
-//=======================================================================
-// function : BRepFeat_MakePrism
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline BRepFeat_MakeRevolutionForm::BRepFeat_MakeRevolutionForm(const TopoDS_Shape&       Sbase,
                                                                 const TopoDS_Wire&        W,
index e01799d93b09abbfee1b93a6bb48f4da81bf597a..dd0911f96f96e4d014e2b5c75bdc3e2f90392dd8 100644 (file)
 // Alternatively, this file may be used under the terms of Open CASCADE
 // commercial license or contractual agreement.
 
-//=======================================================================
-// function : BRepFeatForm
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline BRepFeat_RibSlot::BRepFeat_RibSlot()
     : myFuse(Standard_False),
index 5411bc5464f01a4cc63a89b6f1467068d833ddde..5f64f3c740fbf1a4884c2adc88d1457251a030ef 100644 (file)
 
 #include <LocOpe_WiresOnShape.hxx>
 
-//=======================================================================
-// function : BRepFeat_SplitShape
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline BRepFeat_SplitShape::BRepFeat_SplitShape() {}
 
-//=======================================================================
-// function : BRepFeat_SplitShape
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline BRepFeat_SplitShape::BRepFeat_SplitShape(const TopoDS_Shape& S)
     : mySShape(S)
@@ -34,19 +28,14 @@ inline BRepFeat_SplitShape::BRepFeat_SplitShape(const TopoDS_Shape& S)
   myWOnShape = new LocOpe_WiresOnShape(S);
 }
 
-//=======================================================================
-// function :  Add
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline Standard_Boolean BRepFeat_SplitShape::Add(const TopTools_SequenceOfShape& theEdges)
 {
   return myWOnShape->Add(theEdges);
 }
 
-//=======================================================================
-// function : Init
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void BRepFeat_SplitShape::Init(const TopoDS_Shape& S)
 {
@@ -61,50 +50,35 @@ inline void BRepFeat_SplitShape::Init(const TopoDS_Shape& S)
   }
 }
 
-//=======================================================================
-// function : SetCheckInterior
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void BRepFeat_SplitShape::SetCheckInterior(const Standard_Boolean ToCheckInterior)
 {
   myWOnShape->SetCheckInterior(ToCheckInterior);
 }
 
-//=======================================================================
-// function : Add
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void BRepFeat_SplitShape::Add(const TopoDS_Wire& W, const TopoDS_Face& F)
 {
   myWOnShape->Bind(W, F);
 }
 
-//=======================================================================
-// function : Add
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void BRepFeat_SplitShape::Add(const TopoDS_Edge& E, const TopoDS_Face& F)
 {
   myWOnShape->Bind(E, F);
 }
 
-//=======================================================================
-// function : Add
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void BRepFeat_SplitShape::Add(const TopoDS_Compound& Comp, const TopoDS_Face& F)
 {
   myWOnShape->Bind(Comp, F);
 }
 
-//=======================================================================
-// function : Add
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void BRepFeat_SplitShape::Add(const TopoDS_Edge& E, const TopoDS_Edge& EOn)
 {
index 78aee5b7905a2ec6d6c92434281fb46cea6c6131..4db22d03ea8dd6fe63af651a0faaae7dcb683078 100644 (file)
 // Alternatively, this file may be used under the terms of Open CASCADE
 // commercial license or contractual agreement.
 
-//=======================================================================
-// function : LocOpe_BuildShape
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline LocOpe_BuildShape::LocOpe_BuildShape() {}
 
-//=======================================================================
-// function : LocOpe_BuildShape
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline LocOpe_BuildShape::LocOpe_BuildShape(const TopTools_ListOfShape& L)
 {
   Perform(L);
 }
 
-//=======================================================================
-// function : Shape
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline const TopoDS_Shape& LocOpe_BuildShape::Shape() const
 {
index d5f2f72513e98a0a7f02e484d96b4b9ad38c84a0..ad726b958c8a1fe62034905beafb60bfd5316853 100644 (file)
 
 #include <StdFail_NotDone.hxx>
 
-//=======================================================================
-// function : LocOpe_CSIntersector
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline LocOpe_CSIntersector::LocOpe_CSIntersector()
     : myDone(Standard_False),
@@ -28,10 +25,7 @@ inline LocOpe_CSIntersector::LocOpe_CSIntersector()
 {
 }
 
-//=======================================================================
-// function : LocOpe_CSIntersector
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline LocOpe_CSIntersector::LocOpe_CSIntersector(const TopoDS_Shape& S)
     : myDone(Standard_False),
@@ -41,10 +35,7 @@ inline LocOpe_CSIntersector::LocOpe_CSIntersector(const TopoDS_Shape& S)
 {
 }
 
-//=======================================================================
-// function : IsDone
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean LocOpe_CSIntersector::IsDone() const
 {
index 7137491d90a65b05bdf2c54823d19fadfa890f66..4b310d7a67294d73555c871cd5e8cf1dee51305b 100644 (file)
 
 #include <StdFail_NotDone.hxx>
 
-//=======================================================================
-// function : LocOpe_CurveShapeIntersector
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline LocOpe_CurveShapeIntersector::LocOpe_CurveShapeIntersector()
     : myDone(Standard_False)
 {
 }
 
-//=======================================================================
-// function : LocOpe_CurveShapeIntersector
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline LocOpe_CurveShapeIntersector::LocOpe_CurveShapeIntersector(const gp_Ax1&       Axis,
                                                                   const TopoDS_Shape& S)
@@ -37,10 +31,7 @@ inline LocOpe_CurveShapeIntersector::LocOpe_CurveShapeIntersector(const gp_Ax1&
   Init(Axis, S);
 }
 
-//=======================================================================
-// function : LocOpe_CurveShapeIntersector
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline LocOpe_CurveShapeIntersector::LocOpe_CurveShapeIntersector(const gp_Circ&      C,
                                                                   const TopoDS_Shape& S)
@@ -48,20 +39,14 @@ inline LocOpe_CurveShapeIntersector::LocOpe_CurveShapeIntersector(const gp_Circ&
   Init(C, S);
 }
 
-//=======================================================================
-// function : IsDone
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean LocOpe_CurveShapeIntersector::IsDone() const
 {
   return myDone;
 }
 
-//=======================================================================
-// function : NbPoints
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer LocOpe_CurveShapeIntersector::NbPoints() const
 {
@@ -72,10 +57,7 @@ inline Standard_Integer LocOpe_CurveShapeIntersector::NbPoints() const
   return myPoints.Length();
 }
 
-//=======================================================================
-// function : Point
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline const LocOpe_PntFace& LocOpe_CurveShapeIntersector::Point(const Standard_Integer I) const
 {
index 285aad6828907212c99f70655257bd070e4402f6..de0f75422d452a1b366224523135962b99c0e864 100644 (file)
 
 #include <TopoDS.hxx>
 
-//=======================================================================
-// function : LocOpe_FindEdges
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline LocOpe_FindEdges::LocOpe_FindEdges() {}
 
-//=======================================================================
-// function : LocOpe_FindEdges
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline LocOpe_FindEdges::LocOpe_FindEdges(const TopoDS_Shape& FFrom, const TopoDS_Shape& FTo)
 {
   Set(FFrom, FTo);
 }
 
-//=======================================================================
-// function : InitIterator
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void LocOpe_FindEdges::InitIterator()
 {
@@ -44,40 +35,28 @@ inline void LocOpe_FindEdges::InitIterator()
   myItTo.Initialize(myLTo);
 }
 
-//=======================================================================
-// function : More
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean LocOpe_FindEdges::More() const
 {
   return myItFrom.More();
 }
 
-//=======================================================================
-// function : EdgeFrom
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline const TopoDS_Edge& LocOpe_FindEdges::EdgeFrom() const
 {
   return TopoDS::Edge(myItFrom.Value());
 }
 
-//=======================================================================
-// function : EdgeTo
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline const TopoDS_Edge& LocOpe_FindEdges::EdgeTo() const
 {
   return TopoDS::Edge(myItTo.Value());
 }
 
-//=======================================================================
-// function : Next
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void LocOpe_FindEdges::Next()
 {
index 2900d17f097d419a03147b3f76d66d91edb61fa6..a7754b20ed3920bf249f49ab38ee57f6d027dd64 100644 (file)
 
 #include <TopoDS.hxx>
 
-//=======================================================================
-// function : LocOpe_FindEdgesInFace
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline LocOpe_FindEdgesInFace::LocOpe_FindEdgesInFace() {}
 
-//=======================================================================
-// function : LocOpe_FindEdgesInFace
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline LocOpe_FindEdgesInFace::LocOpe_FindEdgesInFace(const TopoDS_Shape& S, const TopoDS_Face& F)
 {
   Set(S, F);
 }
 
-//=======================================================================
-// function : Init
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void LocOpe_FindEdgesInFace::Init()
 {
   myIt.Initialize(myList);
 }
 
-//=======================================================================
-// function : More
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean LocOpe_FindEdgesInFace::More() const
 {
   return myIt.More();
 }
 
-//=======================================================================
-// function : Edge
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline const TopoDS_Edge& LocOpe_FindEdgesInFace::Edge() const
 {
   return TopoDS::Edge(myIt.Value());
 }
 
-//=======================================================================
-// function : Next
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void LocOpe_FindEdgesInFace::Next()
 {
index 8b4be6637c131ccaadc236e1342cfe1f7b97918f..e8e45e1a23fc57ef1e3c14e4f27372e1e79f8ffc 100644 (file)
 
 #include <StdFail_NotDone.hxx>
 
-//=======================================================================
-// function : LocOpe_Generator
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline LocOpe_Generator::LocOpe_Generator()
     : myDone(Standard_False)
 {
 }
 
-//=======================================================================
-// function : LocOpe_Generator
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline LocOpe_Generator::LocOpe_Generator(const TopoDS_Shape& S)
     : myShape(S),
@@ -37,10 +31,7 @@ inline LocOpe_Generator::LocOpe_Generator(const TopoDS_Shape& S)
 {
 }
 
-//=======================================================================
-// function : Init
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void LocOpe_Generator::Init(const TopoDS_Shape& S)
 {
@@ -48,30 +39,21 @@ inline void LocOpe_Generator::Init(const TopoDS_Shape& S)
   myDone  = Standard_False;
 }
 
-//=======================================================================
-// function : IsDone
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean LocOpe_Generator::IsDone() const
 {
   return myDone;
 }
 
-//=======================================================================
-// function : Shape
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline const TopoDS_Shape& LocOpe_Generator::Shape() const
 {
   return myShape;
 }
 
-//=======================================================================
-// function : ResultingShape
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline const TopoDS_Shape& LocOpe_Generator::ResultingShape() const
 {
index ad8a82dddb47f1d859d6a12a2d9da985ceb4dea2..8eff265d5bad256b8c27726cafe0e65c5505b126 100644 (file)
 
 #include <StdFail_NotDone.hxx>
 
-//=======================================================================
-// function : LocOpe_Gluer
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline LocOpe_Gluer::LocOpe_Gluer()
     : myDone(Standard_False),
@@ -28,10 +25,7 @@ inline LocOpe_Gluer::LocOpe_Gluer()
 {
 }
 
-//=======================================================================
-// function : LocOpe_Gluer
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline LocOpe_Gluer::LocOpe_Gluer(const TopoDS_Shape& Sbase, const TopoDS_Shape& Snew)
     : myDone(Standard_False),
@@ -42,20 +36,14 @@ inline LocOpe_Gluer::LocOpe_Gluer(const TopoDS_Shape& Sbase, const TopoDS_Shape&
 {
 }
 
-//=======================================================================
-// function : IsDone
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean LocOpe_Gluer::IsDone() const
 {
   return myDone;
 }
 
-//=======================================================================
-// function : ResultingShape
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline const TopoDS_Shape& LocOpe_Gluer::ResultingShape() const
 {
@@ -66,50 +54,35 @@ inline const TopoDS_Shape& LocOpe_Gluer::ResultingShape() const
   return myRes;
 }
 
-//=======================================================================
-// function : BasisShape
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline const TopoDS_Shape& LocOpe_Gluer::BasisShape() const
 {
   return mySb;
 }
 
-//=======================================================================
-// function : GluedShape
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline const TopoDS_Shape& LocOpe_Gluer::GluedShape() const
 {
   return mySn;
 }
 
-//=======================================================================
-// function : OpeType
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline LocOpe_Operation LocOpe_Gluer::OpeType() const
 {
   return myOpe;
 }
 
-//=======================================================================
-// function : Edges
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline const TopTools_ListOfShape& LocOpe_Gluer::Edges() const
 {
   return myEdges;
 }
 
-//=======================================================================
-// function : TgtEdges
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline const TopTools_ListOfShape& LocOpe_Gluer::TgtEdges() const
 {
index b9bc8daf024cd41305554eac41cb1ea96ce30370..b4cad472a4df958eb4577c56fb5cb6ecc79d7847 100644 (file)
 // Alternatively, this file may be used under the terms of Open CASCADE
 // commercial license or contractual agreement.
 
-//=======================================================================
-// function : LocOpe_LinearForm
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline LocOpe_LinearForm::LocOpe_LinearForm()
     : myDone(Standard_False),
@@ -25,10 +22,7 @@ inline LocOpe_LinearForm::LocOpe_LinearForm()
 {
 }
 
-//=======================================================================
-// function : LocOpe_LinearForm
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline LocOpe_LinearForm::LocOpe_LinearForm(const TopoDS_Shape& Base,
                                             const gp_Vec&       V,
@@ -39,10 +33,7 @@ inline LocOpe_LinearForm::LocOpe_LinearForm(const TopoDS_Shape& Base,
   Perform(Base, V, Pnt1, Pnt2);
 }
 
-//=======================================================================
-// function : LocOpe_LinearForm
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline LocOpe_LinearForm::LocOpe_LinearForm(const TopoDS_Shape& Base,
                                             const gp_Vec&       V,
index 3858323ddca4a150e87aa7e0414f0f99cc4adc5c..c95356025652325e7062c9c7d42dd9a614a55f51 100644 (file)
 // Alternatively, this file may be used under the terms of Open CASCADE
 // commercial license or contractual agreement.
 
-//=======================================================================
-// function : Spine
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline const TopoDS_Shape& LocOpe_Pipe::Spine() const
 {
   return myPipe.Spine();
 }
 
-//=======================================================================
-// function : Profile
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline const TopoDS_Shape& LocOpe_Pipe::Profile() const
 {
   return myPipe.Profile();
 }
 
-//=======================================================================
-// function : FirstShape
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline const TopoDS_Shape& LocOpe_Pipe::FirstShape() const
 {
   return myPipe.FirstShape();
 }
 
-//=======================================================================
-// function : LastShape
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline const TopoDS_Shape& LocOpe_Pipe::LastShape() const
 {
index aaa907cd44d4ca3831c6d4026652a2b2e908db23..be4be1d304395a434d278ae0ac6b23ca2b417ddf 100644 (file)
 
 #include <StdFail_NotDone.hxx>
 
-//=======================================================================
-// function : LocOpe_SplitShape
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline LocOpe_SplitShape::LocOpe_SplitShape()
     : myDone(Standard_False)
 {
 }
 
-//=======================================================================
-// function : LocOpe_SplitShape
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline LocOpe_SplitShape::LocOpe_SplitShape(const TopoDS_Shape& S)
 {
   Init(S);
 }
 
-//=======================================================================
-// function : Shape
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline const TopoDS_Shape& LocOpe_SplitShape::Shape() const
 {
index 58133c79d7067a15f3bfcc3a50136a9be05d08ab..6c8aa4176811ccec7ab65fc47e5a4de6579ca35d 100644 (file)
 
 #include <StdFail_NotDone.hxx>
 
-//=======================================================================
-// function : LocOpe_Spliter
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline LocOpe_Spliter::LocOpe_Spliter()
     : myDone(Standard_False)
 {
 }
 
-//=======================================================================
-// function : LocOpe_Spliter
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline LocOpe_Spliter::LocOpe_Spliter(const TopoDS_Shape& S)
     : myShape(S),
@@ -37,10 +31,7 @@ inline LocOpe_Spliter::LocOpe_Spliter(const TopoDS_Shape& S)
 {
 }
 
-//=======================================================================
-// function : Init
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void LocOpe_Spliter::Init(const TopoDS_Shape& S)
 {
@@ -48,30 +39,21 @@ inline void LocOpe_Spliter::Init(const TopoDS_Shape& S)
   myDone  = Standard_False;
 }
 
-//=======================================================================
-// function : IsDone
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean LocOpe_Spliter::IsDone() const
 {
   return myDone;
 }
 
-//=======================================================================
-// function : Shape
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline const TopoDS_Shape& LocOpe_Spliter::Shape() const
 {
   return myShape;
 }
 
-//=======================================================================
-// function : ResultingShape
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline const TopoDS_Shape& LocOpe_Spliter::ResultingShape() const
 {
index 3f258b1629f187cdcac0d0c84a4194d22e69229b..17415316d0a33830719761eb7868d879956f599e 100644 (file)
 // Alternatively, this file may be used under the terms of Open CASCADE
 // commercial license or contractual agreement.
 
-//=======================================================================
-// function : SetCheckInterior
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void LocOpe_WiresOnShape::SetCheckInterior(const Standard_Boolean ToCheckInterior)
 {
   myCheckInterior = ToCheckInterior;
 }
 
-//=======================================================================
-// function : IsDone
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean LocOpe_WiresOnShape::IsDone() const
 {
   return myDone;
 }
 
-//=======================================================================
-// function : IsFaceWithSection
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean LocOpe_WiresOnShape::IsFaceWithSection(const TopoDS_Shape& aFace) const
 {
index d93ba24daf3964c1ae80186adf1b4b11c812aa69..b5de50a9fe7accdc0421ed211042e0c435a9f6c5 100644 (file)
@@ -1229,10 +1229,7 @@ Standard_Boolean BRepBlend_RstRstLineBuilder::Recadre1(Blend_RstRstFunction&
   return Standard_False;
 }
 
-//=======================================================================
-// function : Recadre2
-// purpose  : Contact lost on Rst2
-//=======================================================================
+//=================================================================================================
 
 Standard_Boolean BRepBlend_RstRstLineBuilder::Recadre2(Blend_RstRstFunction&      Func,
                                                        Blend_SurfCurvFuncInv&     Finv,
index eb9112aea912a17e3e46db5eb60253dd4d8089ca..c2166b8bad29dc1c41bce4734e501cb68cdfeaa9 100644 (file)
 
 #include <StdFail_NotDone.hxx>
 
-//=======================================================================
-// function : IsDone
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean BRepBlend_RstRstLineBuilder::IsDone() const
 {
   return done;
 }
 
-//=======================================================================
-// function : Line
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline const Handle(BRepBlend_Line)& BRepBlend_RstRstLineBuilder::Line() const
 {
@@ -40,10 +34,7 @@ inline const Handle(BRepBlend_Line)& BRepBlend_RstRstLineBuilder::Line() const
   return line;
 }
 
-//=======================================================================
-// function : Decroch1Start
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean BRepBlend_RstRstLineBuilder::Decroch1Start() const
 {
@@ -53,10 +44,7 @@ inline Standard_Boolean BRepBlend_RstRstLineBuilder::Decroch1Start() const
   return Standard_False;
 }
 
-//=======================================================================
-// function : Decroch1End
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean BRepBlend_RstRstLineBuilder::Decroch1End() const
 {
@@ -66,10 +54,7 @@ inline Standard_Boolean BRepBlend_RstRstLineBuilder::Decroch1End() const
   return Standard_False;
 }
 
-//=======================================================================
-// function : Decroch2Start
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean BRepBlend_RstRstLineBuilder::Decroch2Start() const
 {
@@ -79,10 +64,7 @@ inline Standard_Boolean BRepBlend_RstRstLineBuilder::Decroch2Start() const
   return Standard_False;
 }
 
-//=======================================================================
-// function : Decroch2End
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean BRepBlend_RstRstLineBuilder::Decroch2End() const
 {
index 64fc8109b16809895741ef4db1f380265325eba4..4cb43c373ce0e06a546ffa3c4cdf8323efebdc6e 100644 (file)
 
 #include <StdFail_NotDone.hxx>
 
-//=======================================================================
-// function : IsDone
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean BRepBlend_SurfRstLineBuilder::IsDone() const
 {
   return done;
 }
 
-//=======================================================================
-// function : Line
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline const Handle(BRepBlend_Line)& BRepBlend_SurfRstLineBuilder::Line() const
 {
@@ -40,20 +34,14 @@ inline const Handle(BRepBlend_Line)& BRepBlend_SurfRstLineBuilder::Line() const
   return line;
 }
 
-//=======================================================================
-// function : DecrochStart
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean BRepBlend_SurfRstLineBuilder::DecrochStart() const
 {
   return decrochdeb;
 }
 
-//=======================================================================
-// function : DecrochEnd
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean BRepBlend_SurfRstLineBuilder::DecrochEnd() const
 {
index 9edee307b2cfab637e653bfcc28e1fbd2c83e2b9..1b3c02301951a8b7361eda57d055a87a812caa35 100644 (file)
 // Alternatively, this file may be used under the terms of Open CASCADE
 // commercial license or contractual agreement.
 
-//=======================================================================
-// function : IsModified
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean BRepFilletAPI_MakeFillet2d::IsModified(const TopoDS_Edge& E) const
 {
   return myMakeChFi2d.IsModified(E);
 }
 
-//=======================================================================
-// function : FilletEdges
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline const TopTools_SequenceOfShape& BRepFilletAPI_MakeFillet2d::FilletEdges() const
 {
   return myMakeChFi2d.FilletEdges();
 }
 
-//=======================================================================
-// function : NbFillet
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer BRepFilletAPI_MakeFillet2d::NbFillet() const
 {
   return myMakeChFi2d.NbFillet();
 }
 
-//=======================================================================
-// function : ChamferEdges
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline const TopTools_SequenceOfShape& BRepFilletAPI_MakeFillet2d::ChamferEdges() const
 {
   return myMakeChFi2d.ChamferEdges();
 }
 
-//=======================================================================
-// function : NbChamfer
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer BRepFilletAPI_MakeFillet2d::NbChamfer() const
 {
   return myMakeChFi2d.NbChamfer();
 }
 
-//=======================================================================
-// function : HasDescendant
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean BRepFilletAPI_MakeFillet2d::HasDescendant(const TopoDS_Edge& E) const
 {
   return myMakeChFi2d.HasDescendant(E);
 }
 
-//=======================================================================
-// function : DescendantEdge
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline const TopoDS_Edge& BRepFilletAPI_MakeFillet2d::DescendantEdge(const TopoDS_Edge& E) const
 {
   return myMakeChFi2d.DescendantEdge(E);
 }
 
-//=======================================================================
-// function : Status
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline ChFi2d_ConstructionError BRepFilletAPI_MakeFillet2d::Status() const
 {
index 303dcb066589ecf4dba00c733fc394fe1228efb1..100040d3637afc874bbd49a5b6bc94ee77e1d62e 100644 (file)
 #include <TopoDS_Wire.hxx>
 #include <TopoDS_Face.hxx>
 
-//=======================================================================
-// function : Result
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline TopoDS_Face ChFi2d_Builder::Result() const
 {
@@ -33,80 +30,56 @@ inline TopoDS_Face ChFi2d_Builder::Result() const
   return aFace;
 }
 
-//=======================================================================
-// function : IsModified
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean ChFi2d_Builder::IsModified(const TopoDS_Edge& E) const
 {
   return history.IsBound(E);
 }
 
-//=======================================================================
-// function : FilletEdges
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline const TopTools_SequenceOfShape& ChFi2d_Builder::FilletEdges() const
 {
   return fillets;
 }
 
-//=======================================================================
-// function : ChamferEdges
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline const TopTools_SequenceOfShape& ChFi2d_Builder::ChamferEdges() const
 {
   return chamfers;
 }
 
-//=======================================================================
-// function : NbFillet
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer ChFi2d_Builder::NbFillet() const
 {
   return fillets.Length();
 }
 
-//=======================================================================
-// function : NbChamfer
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer ChFi2d_Builder::NbChamfer() const
 {
   return chamfers.Length();
 }
 
-//=======================================================================
-// function : HasDescendant
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean ChFi2d_Builder::HasDescendant(const TopoDS_Edge& E) const
 {
   return history.IsBound(E);
 }
 
-//=======================================================================
-// function : DescendantEdge
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline const TopoDS_Edge& ChFi2d_Builder::DescendantEdge(const TopoDS_Edge& E) const
 {
   return TopoDS::Edge(history.Find(E));
 } // DescendantEdge
 
-//=======================================================================
-// function : Status
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline ChFi2d_ConstructionError ChFi2d_Builder::Status() const
 {
index 33fb77ec6f85478fb742957e20f32073e8d0359b..315bd9c404821f48f60708513d1b40f1285622d9 100644 (file)
 // Alternatively, this file may be used under the terms of Open CASCADE
 // commercial license or contractual agreement.
 
-//=======================================================================
-// function : SetInterference
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void ChFiDS_FaceInterference::SetInterference(const Standard_Integer      LineIndex,
                                                      const TopAbs_Orientation    Trans,
@@ -30,110 +27,77 @@ inline void ChFiDS_FaceInterference::SetInterference(const Standard_Integer
   pCurveOnSurf   = PCurv2;
 }
 
-//=======================================================================
-// function : SetLineIndex
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void ChFiDS_FaceInterference::SetLineIndex(const Standard_Integer I)
 {
   lineindex = I;
 }
 
-//=======================================================================
-// function : SetFirstParameter
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void ChFiDS_FaceInterference::SetFirstParameter(const Standard_Real U1)
 {
   firstParam = U1;
 }
 
-//=======================================================================
-// function : SetLastParameter
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void ChFiDS_FaceInterference::SetLastParameter(const Standard_Real U1)
 {
   lastParam = U1;
 }
 
-//=======================================================================
-// function : LineIndex
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer ChFiDS_FaceInterference::LineIndex() const
 {
   return lineindex;
 }
 
-//=======================================================================
-// function : Transition
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline TopAbs_Orientation ChFiDS_FaceInterference::Transition() const
 {
   return LineTransition;
 }
 
-//=======================================================================
-// function : PCurveOnFace
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline const Handle(Geom2d_Curve)& ChFiDS_FaceInterference::PCurveOnFace() const
 {
   return pCurveOnFace;
 }
 
-//=======================================================================
-// function : PCurveOnSurf
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline const Handle(Geom2d_Curve)& ChFiDS_FaceInterference::PCurveOnSurf() const
 {
   return pCurveOnSurf;
 }
 
-//=======================================================================
-// function : ChangePCurveOnFace
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Handle(Geom2d_Curve)& ChFiDS_FaceInterference::ChangePCurveOnFace()
 {
   return pCurveOnFace;
 }
 
-//=======================================================================
-// function : ChangePCurveOnSurf
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Handle(Geom2d_Curve)& ChFiDS_FaceInterference::ChangePCurveOnSurf()
 {
   return pCurveOnSurf;
 }
 
-//=======================================================================
-// function : FirstParameter
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Real ChFiDS_FaceInterference::FirstParameter() const
 {
   return firstParam;
 }
 
-//=======================================================================
-// function : LastParameter
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Real ChFiDS_FaceInterference::LastParameter() const
 {
index 8f4bd9d571ff064c0db42c10e8d21b156f4b3a4f..fc8e22cbef666b550675681e0761cd93d06fe8d8 100644 (file)
 
 #include <TopoDS.hxx>
 
-//=======================================================================
-// function : SetTypeOfConcavity
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void ChFiDS_Spine::SetTypeOfConcavity(const ChFiDS_TypeOfConcavity theType)
 {
   myTypeOfConcavity = theType;
 }
 
-//=======================================================================
-// function : SetFirstStatus
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void ChFiDS_Spine::SetFirstStatus(const ChFiDS_State S)
 {
   firstState = S;
 }
 
-//=======================================================================
-// function : SetLastStatus
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void ChFiDS_Spine::SetLastStatus(const ChFiDS_State S)
 {
   lastState = S;
 }
 
-//=======================================================================
-// function : GetTypeOfConcavity
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline ChFiDS_TypeOfConcavity ChFiDS_Spine::GetTypeOfConcavity() const
 {
   return myTypeOfConcavity;
 }
 
-//=======================================================================
-// function : FirstStatus
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline ChFiDS_State ChFiDS_Spine::FirstStatus() const
 {
   return firstState;
 }
 
-//=======================================================================
-// function : LastStatus
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline ChFiDS_State ChFiDS_Spine::LastStatus() const
 {
   return lastState;
 }
 
-//=======================================================================
-// function : SetStatus
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void ChFiDS_Spine::SetStatus(const ChFiDS_State S, const Standard_Boolean IsFirst)
 {
@@ -89,10 +68,7 @@ inline void ChFiDS_Spine::SetStatus(const ChFiDS_State S, const Standard_Boolean
     lastState = S;
 }
 
-//=======================================================================
-// function : Status
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline ChFiDS_State ChFiDS_Spine::Status(const Standard_Boolean IsFirst) const
 {
@@ -102,10 +78,7 @@ inline ChFiDS_State ChFiDS_Spine::Status(const Standard_Boolean IsFirst) const
     return lastState;
 }
 
-//=======================================================================
-// function : SetTangencyExtremity
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void ChFiDS_Spine::SetTangencyExtremity(const Standard_Boolean IsTangency,
                                                const Standard_Boolean IsFirst)
@@ -116,10 +89,7 @@ inline void ChFiDS_Spine::SetTangencyExtremity(const Standard_Boolean IsTangency
     lastistgt = IsTangency;
 }
 
-//=======================================================================
-// function : IsTangencyExtremity
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean ChFiDS_Spine::IsTangencyExtremity(const Standard_Boolean IsFirst) const
 {
@@ -129,89 +99,63 @@ inline Standard_Boolean ChFiDS_Spine::IsTangencyExtremity(const Standard_Boolean
     return lastistgt;
 }
 
-//=======================================================================
-// function : NbEdges
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer ChFiDS_Spine::NbEdges() const
 {
   return spine.Length();
 }
 
-//=======================================================================
-// function : Edges
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline const TopoDS_Edge& ChFiDS_Spine::Edges(const Standard_Integer I) const
 {
   return TopoDS::Edge(spine.Value(I));
 }
 
-//=======================================================================
-// function : OffsetEdges
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline const TopoDS_Edge& ChFiDS_Spine::OffsetEdges(const Standard_Integer I) const
 {
   return TopoDS::Edge(offsetspine.Value(I));
 }
 
-//=======================================================================
-// function : SetEdges
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void ChFiDS_Spine::SetEdges(const TopoDS_Edge& E)
 {
   spine.Append(E);
 }
 
-//=======================================================================
-// function : SetOffsetEdges
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void ChFiDS_Spine::SetOffsetEdges(const TopoDS_Edge& E)
 {
   offsetspine.Append(E);
 }
 
-//=======================================================================
-// function : PutInFirst
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void ChFiDS_Spine::PutInFirst(const TopoDS_Edge& E)
 {
   spine.InsertBefore(1, E);
 }
 
-//=======================================================================
-// function : PutInFirstOffset
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void ChFiDS_Spine::PutInFirstOffset(const TopoDS_Edge& E)
 {
   offsetspine.InsertBefore(1, E);
 }
 
-//=======================================================================
-// function : CurrentIndexOfElementarySpine
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline Standard_Integer ChFiDS_Spine::CurrentIndexOfElementarySpine() const
 {
   return indexofcurve;
 }
 
-//=======================================================================
-// function : Mode
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline ChFiDS_ChamfMode ChFiDS_Spine::Mode() const
 {
@@ -219,10 +163,8 @@ inline ChFiDS_ChamfMode ChFiDS_Spine::Mode() const
   return myMode;
 }
 
-//=======================================================================
-// function : GetTolesp
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline Standard_Real ChFiDS_Spine::GetTolesp() const
 {
   return tolesp;
index ea2a122917b7fbf38b454cb84e9361da868d0b24..ff57722ec89aa3664499e609cf54decc96ec4e64 100644 (file)
 // Alternatively, this file may be used under the terms of Open CASCADE
 // commercial license or contractual agreement.
 
-//=======================================================================
-// function : SetOfSurfData
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline const Handle(ChFiDS_HData)& ChFiDS_Stripe::SetOfSurfData() const
 {
   return myHdata;
 }
 
-//=======================================================================
-// function : Spine
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline const Handle(ChFiDS_Spine)& ChFiDS_Stripe::Spine() const
 {
   return mySpine;
 }
 
-//=======================================================================
-// function : OrientationOnFace1
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline TopAbs_Orientation ChFiDS_Stripe::OrientationOnFace1() const
 {
   return myOr1;
 }
 
-//=======================================================================
-// function : OrientationOnFace2
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline TopAbs_Orientation ChFiDS_Stripe::OrientationOnFace2() const
 {
   return myOr2;
 }
 
-//=======================================================================
-// function : Choix
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer ChFiDS_Stripe::Choix() const
 {
   return myChoix;
 }
 
-//=======================================================================
-// function : ChangeSetOfSurfData
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Handle(ChFiDS_HData)& ChFiDS_Stripe::ChangeSetOfSurfData()
 {
   return myHdata;
 }
 
-//=======================================================================
-// function : ChangeSpine
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Handle(ChFiDS_Spine)& ChFiDS_Stripe::ChangeSpine()
 {
   return mySpine;
 }
 
-//=======================================================================
-// function : OrientationOnFace1
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void ChFiDS_Stripe::OrientationOnFace1(const TopAbs_Orientation Or1)
 {
   myOr1 = Or1;
 }
 
-//=======================================================================
-// function : OrientationOnFace2
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void ChFiDS_Stripe::OrientationOnFace2(const TopAbs_Orientation Or2)
 {
   myOr2 = Or2;
 }
 
-//=======================================================================
-// function : Choix
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void ChFiDS_Stripe::Choix(const Standard_Integer C)
 {
   myChoix = C;
 }
 
-//=======================================================================
-// function : FirstParameters
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void ChFiDS_Stripe::FirstParameters(Standard_Real& Pdeb, Standard_Real& Pfin) const
 {
@@ -125,10 +92,7 @@ inline void ChFiDS_Stripe::FirstParameters(Standard_Real& Pdeb, Standard_Real& P
   Pfin = parfin1;
 }
 
-//=======================================================================
-// function : lastParameters
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void ChFiDS_Stripe::LastParameters(Standard_Real& Pdeb, Standard_Real& Pfin) const
 {
@@ -136,10 +100,7 @@ inline void ChFiDS_Stripe::LastParameters(Standard_Real& Pdeb, Standard_Real& Pf
   Pfin = parfin2;
 }
 
-//=======================================================================
-// function : ChangeFirstParameters
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void ChFiDS_Stripe::ChangeFirstParameters(const Standard_Real Pdeb, const Standard_Real Pfin)
 {
@@ -147,10 +108,7 @@ inline void ChFiDS_Stripe::ChangeFirstParameters(const Standard_Real Pdeb, const
   parfin1 = Pfin;
 }
 
-//=======================================================================
-// function : ChangeLastParameters
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void ChFiDS_Stripe::ChangeLastParameters(const Standard_Real Pdeb, const Standard_Real Pfin)
 {
@@ -158,200 +116,140 @@ inline void ChFiDS_Stripe::ChangeLastParameters(const Standard_Real Pdeb, const
   parfin2 = Pfin;
 }
 
-//=======================================================================
-// function : FirstCurve
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer ChFiDS_Stripe::FirstCurve() const
 {
   return indexOfcurve1;
 }
 
-//=======================================================================
-// function : LastCurve
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer ChFiDS_Stripe::LastCurve() const
 {
   return indexOfcurve2;
 }
 
-//=======================================================================
-// function : ChangeFirstCurve
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void ChFiDS_Stripe::ChangeFirstCurve(const Standard_Integer Index)
 {
   indexOfcurve1 = Index;
 }
 
-//=======================================================================
-// function : ChangeLastCurve
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void ChFiDS_Stripe::ChangeLastCurve(const Standard_Integer Index)
 {
   indexOfcurve2 = Index;
 }
 
-//=======================================================================
-// function : FirstPCurve
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline const Handle(Geom2d_Curve)& ChFiDS_Stripe::FirstPCurve() const
 {
   return pcrv1;
 }
 
-//=======================================================================
-// function : LastPCurve
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline const Handle(Geom2d_Curve)& ChFiDS_Stripe::LastPCurve() const
 {
   return pcrv2;
 }
 
-//=======================================================================
-// function : ChangeFirstPCurve
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Handle(Geom2d_Curve)& ChFiDS_Stripe::ChangeFirstPCurve()
 {
   return pcrv1;
 }
 
-//=======================================================================
-// function : ChangeLastPCurve
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Handle(Geom2d_Curve)& ChFiDS_Stripe::ChangeLastPCurve()
 {
   return pcrv2;
 }
 
-//=======================================================================
-// function : IndexFirstPointOnS1
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer ChFiDS_Stripe::IndexFirstPointOnS1() const
 {
   return indexfirstPOnS1;
 }
 
-//=======================================================================
-// function : IndexLastPointOnS1
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer ChFiDS_Stripe::IndexLastPointOnS1() const
 {
   return indexlastPOnS1;
 }
 
-//=======================================================================
-// function : IndexFirstPointOnS2
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer ChFiDS_Stripe::IndexFirstPointOnS2() const
 {
   return indexfirstPOnS2;
 }
 
-//=======================================================================
-// function : IndexLastPointOnS2
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer ChFiDS_Stripe::IndexLastPointOnS2() const
 {
   return indexlastPOnS2;
 }
 
-//=======================================================================
-// function : ChangeIndexFirstPointOnS1
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void ChFiDS_Stripe::ChangeIndexFirstPointOnS1(const Standard_Integer Index)
 {
   indexfirstPOnS1 = Index;
 }
 
-//=======================================================================
-// function : ChangeIndexLastPointOnS1
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void ChFiDS_Stripe::ChangeIndexLastPointOnS1(const Standard_Integer Index)
 {
   indexlastPOnS1 = Index;
 }
 
-//=======================================================================
-// function : ChangeIndexFirstPointOnS2
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void ChFiDS_Stripe::ChangeIndexFirstPointOnS2(const Standard_Integer Index)
 {
   indexfirstPOnS2 = Index;
 }
 
-//=======================================================================
-// function : ChangeIndexLastPointOnS2
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void ChFiDS_Stripe::ChangeIndexLastPointOnS2(const Standard_Integer Index)
 {
   indexlastPOnS2 = Index;
 }
 
-//=======================================================================
-// function : FirstPCurveOrientation
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline TopAbs_Orientation ChFiDS_Stripe::FirstPCurveOrientation() const
 {
   return orcurv1;
 }
 
-//=======================================================================
-// function : LastPCurveOrientation
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline TopAbs_Orientation ChFiDS_Stripe::LastPCurveOrientation() const
 {
   return orcurv2;
 }
 
-//=======================================================================
-// function : FirstPCurveOrientation
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void ChFiDS_Stripe::FirstPCurveOrientation(const TopAbs_Orientation O)
 {
   orcurv1 = O;
 }
 
-//=======================================================================
-// function : LastPCurveOrientation
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void ChFiDS_Stripe::LastPCurveOrientation(const TopAbs_Orientation O)
 {
index 5db09989934895a6f23a3a38735d1a3f688222ba..eb4c7919d354364dce7dd31b9a27d97b374e0060 100644 (file)
 // Alternatively, this file may be used under the terms of Open CASCADE
 // commercial license or contractual agreement.
 
-//=======================================================================
-// function : Extent
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer ChFiDS_StripeMap::Extent() const
 {
   return mymap.Extent();
 }
 
-//=======================================================================
-// function : FindKey
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline const TopoDS_Vertex& ChFiDS_StripeMap::FindKey(const Standard_Integer I) const
 {
index 4a2d9e2ee37e43b43a5fecb8a3a32a1b5b94256f..7dac827cd26d8752e39e8978d6afb1e9aa528a56 100644 (file)
 // Alternatively, this file may be used under the terms of Open CASCADE
 // commercial license or contractual agreement.
 
-//=======================================================================
-// function : IndexOfS1
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer ChFiDS_SurfData::IndexOfS1() const
 {
   return indexOfS1;
 }
 
-//=======================================================================
-// function : IsOnCurve1
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean ChFiDS_SurfData::IsOnCurve1() const
 {
   return isoncurv1;
 }
 
-//=======================================================================
-// function : IndexOfC1
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer ChFiDS_SurfData::IndexOfC1() const
 {
@@ -46,10 +37,7 @@ inline Standard_Integer ChFiDS_SurfData::IndexOfC1() const
   return indexOfC1;
 }
 
-//=======================================================================
-// function : SetIndexOfC1
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void ChFiDS_SurfData::SetIndexOfC1(const Standard_Integer theIndex)
 {
@@ -57,30 +45,21 @@ inline void ChFiDS_SurfData::SetIndexOfC1(const Standard_Integer theIndex)
   isoncurv1 = (theIndex != 0);
 }
 
-//=======================================================================
-// function : IndexOfS2
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer ChFiDS_SurfData::IndexOfS2() const
 {
   return indexOfS2;
 }
 
-//=======================================================================
-// function : IsOnCurve2
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean ChFiDS_SurfData::IsOnCurve2() const
 {
   return isoncurv2;
 }
 
-//=======================================================================
-// function : IndexOfC2
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer ChFiDS_SurfData::IndexOfC2() const
 {
@@ -89,10 +68,7 @@ inline Standard_Integer ChFiDS_SurfData::IndexOfC2() const
   return indexOfC2;
 }
 
-//=======================================================================
-// function : SetIndexOfC2
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void ChFiDS_SurfData::SetIndexOfC2(const Standard_Integer theIndex)
 {
@@ -100,190 +76,133 @@ inline void ChFiDS_SurfData::SetIndexOfC2(const Standard_Integer theIndex)
   isoncurv2 = (theIndex != 0);
 }
 
-//=======================================================================
-// function : Surf
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer ChFiDS_SurfData::Surf() const
 {
   return indexOfConge;
 }
 
-//=======================================================================
-// function : Orientation
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline TopAbs_Orientation ChFiDS_SurfData::Orientation() const
 {
   return orientation;
 }
 
-//=======================================================================
-// function : InterferenceOnS1
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline const ChFiDS_FaceInterference& ChFiDS_SurfData::InterferenceOnS1() const
 {
   return intf1;
 }
 
-//=======================================================================
-// function : InterferenceOnS2
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline const ChFiDS_FaceInterference& ChFiDS_SurfData::InterferenceOnS2() const
 {
   return intf2;
 }
 
-//=======================================================================
-// function : VertexFirstOnS1
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline const ChFiDS_CommonPoint& ChFiDS_SurfData::VertexFirstOnS1() const
 {
   return pfirstOnS1;
 }
 
-//=======================================================================
-// function : VertexLastOnS1
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline const ChFiDS_CommonPoint& ChFiDS_SurfData::VertexLastOnS1() const
 {
   return plastOnS1;
 }
 
-//=======================================================================
-// function : VertexFirstOnS2
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline const ChFiDS_CommonPoint& ChFiDS_SurfData::VertexFirstOnS2() const
 {
   return pfirstOnS2;
 }
 
-//=======================================================================
-// function : VertexLastOnS2
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline const ChFiDS_CommonPoint& ChFiDS_SurfData::VertexLastOnS2() const
 {
   return plastOnS2;
 }
 
-//=======================================================================
-// function : ChangeIndexOfS1
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void ChFiDS_SurfData::ChangeIndexOfS1(const Standard_Integer Index)
 {
   indexOfS1 = Index;
 }
 
-//=======================================================================
-// function : ChangeIndexOfS2
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void ChFiDS_SurfData::ChangeIndexOfS2(const Standard_Integer Index)
 {
   indexOfS2 = Index;
 }
 
-//=======================================================================
-// function : ChangeSurf
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void ChFiDS_SurfData::ChangeSurf(const Standard_Integer Index)
 {
   indexOfConge = Index;
 }
 
-//=======================================================================
-// function : ChangeOrientation
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline TopAbs_Orientation& ChFiDS_SurfData::ChangeOrientation()
 {
   return orientation;
 }
 
-//=======================================================================
-// function : ChangeInterferenceOnS1
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline ChFiDS_FaceInterference& ChFiDS_SurfData::ChangeInterferenceOnS1()
 {
   return intf1;
 }
 
-//=======================================================================
-// function : ChangeInterferenceOnS2
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline ChFiDS_FaceInterference& ChFiDS_SurfData::ChangeInterferenceOnS2()
 {
   return intf2;
 }
 
-//=======================================================================
-// function : ChangeVertexFirstOnS1
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline ChFiDS_CommonPoint& ChFiDS_SurfData::ChangeVertexFirstOnS1()
 {
   return pfirstOnS1;
 }
 
-//=======================================================================
-// function : ChangeVertexLastOnS1
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline ChFiDS_CommonPoint& ChFiDS_SurfData::ChangeVertexLastOnS1()
 {
   return plastOnS1;
 }
 
-//=======================================================================
-// function : ChangeVertexFirstOnS2
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline ChFiDS_CommonPoint& ChFiDS_SurfData::ChangeVertexFirstOnS2()
 {
   return pfirstOnS2;
 }
 
-//=======================================================================
-// function : ChangeVertexLastOnS2
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline ChFiDS_CommonPoint& ChFiDS_SurfData::ChangeVertexLastOnS2()
 {
   return plastOnS2;
 }
 
-//=======================================================================
-// function : IsOnCurve
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean ChFiDS_SurfData::IsOnCurve(const Standard_Integer OnS) const
 {
@@ -292,10 +211,7 @@ inline Standard_Boolean ChFiDS_SurfData::IsOnCurve(const Standard_Integer OnS) c
   return isoncurv2;
 }
 
-//=======================================================================
-// function : IndexOfC
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer ChFiDS_SurfData::IndexOfC(const Standard_Integer OnS) const
 {
@@ -310,10 +226,7 @@ inline Standard_Integer ChFiDS_SurfData::IndexOfC(const Standard_Integer OnS) co
   return indexOfC2;
 }
 
-//=======================================================================
-// function : Twist
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean ChFiDS_SurfData::TwistOnS1() const
 {
index 44f56420f5bf4c4ea989fabb16cef652d9a114bf..1ec93f198121643fdc970fa1ee67b7d05c347f6c 100644 (file)
@@ -44,10 +44,8 @@ Standard_EXPORT Standard_Boolean AppBlend_GetContextApproxWithNoTgt();
 //  --- keep pipe parametrized like path
 
 
-//=======================================================================
-//function : AppBlend_AppSurf
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 
 AppBlend_AppSurf::AppBlend_AppSurf ()
 : done(Standard_False),
@@ -70,10 +68,8 @@ AppBlend_AppSurf::AppBlend_AppSurf ()
 }
 
 
-//=======================================================================
-//function : AppBlend_AppSurf
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 
 AppBlend_AppSurf::AppBlend_AppSurf (const Standard_Integer Degmin,
                                    const Standard_Integer Degmax,
@@ -100,10 +96,8 @@ AppBlend_AppSurf::AppBlend_AppSurf (const Standard_Integer Degmin,
   critweights[2]=0.4;
 }
 
-//=======================================================================
-//function : Init
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 
 void AppBlend_AppSurf::Init (const Standard_Integer Degmin,
                             const Standard_Integer Degmax,
@@ -138,10 +132,8 @@ void AppBlend_AppSurf::CriteriumWeight(Standard_Real& W1, Standard_Real& W2, Sta
   W2 = critweights[1];
   W3 = critweights[2] ;
 }
-//=======================================================================
-//function : SetCriteriumWeight
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 
 void AppBlend_AppSurf::SetCriteriumWeight(const Standard_Real W1, const Standard_Real W2, const Standard_Real W3)
 {
@@ -150,40 +142,32 @@ void AppBlend_AppSurf::SetCriteriumWeight(const Standard_Real W1, const Standard
   critweights[1] = W2;
   critweights[2] = W3;
 }
-//=======================================================================
-//function : SetContinuity
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 
 void AppBlend_AppSurf::SetContinuity (const GeomAbs_Shape TheCont)
 {
   continuity = TheCont;
 }
 
-//=======================================================================
-//function : Continuity
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 
 GeomAbs_Shape AppBlend_AppSurf::Continuity () const
 {
   return continuity;
 }
 
-//=======================================================================
-//function : SetParType
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 
 void AppBlend_AppSurf::SetParType (const Approx_ParametrizationType ParType)
 {
   paramtype = ParType;
 }
 
-//=======================================================================
-//function : ParType
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 
 Approx_ParametrizationType AppBlend_AppSurf::ParType () const
 {
@@ -191,10 +175,8 @@ Approx_ParametrizationType AppBlend_AppSurf::ParType () const
 }
 
 
-//=======================================================================
-//function : Perform
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 
 void AppBlend_AppSurf::Perform(const Handle(TheLine)& Lin,
                               TheSectionGenerator& F,
@@ -204,10 +186,8 @@ void AppBlend_AppSurf::Perform(const Handle(TheLine)& Lin,
   InternalPerform(Lin, F, SpApprox, Standard_False);
 }
 
-//=======================================================================
-//function : PerformSmoothing
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 
 void AppBlend_AppSurf::PerformSmoothing(const Handle(TheLine)& Lin,
                                          TheSectionGenerator& F)
@@ -216,10 +196,8 @@ void AppBlend_AppSurf::PerformSmoothing(const Handle(TheLine)& Lin,
   InternalPerform(Lin, F, Standard_True, Standard_True);
 }
 
-//=======================================================================
-//function : InternalPerform
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 
 void AppBlend_AppSurf::InternalPerform(const Handle(TheLine)& Lin,
                                       TheSectionGenerator& F,
@@ -583,10 +561,8 @@ void AppBlend_AppSurf::InternalPerform(const Handle(TheLine)& Lin,
 }
 
 
-//=======================================================================
-//function : Perform
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 
 void AppBlend_AppSurf::Perform(const Handle(TheLine)& Lin,
                               TheSectionGenerator& F,
@@ -929,10 +905,8 @@ void AppBlend_AppSurf::Perform(const Handle(TheLine)& Lin,
 }
 
 
-//=======================================================================
-//function : SurfShape
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 
 void AppBlend_AppSurf::SurfShape (Standard_Integer& UDegree,
                                  Standard_Integer& VDegree,
@@ -968,10 +942,8 @@ void AppBlend_AppSurf::Surface(TColgp_Array2OfPnt& TPoles,
   TVMults  = tabVMults->Array1();
 }
 
-//=======================================================================
-//function : Curves2dShape
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 
 void AppBlend_AppSurf::Curves2dShape(Standard_Integer& Degree,
                                     Standard_Integer& NbPoles,
@@ -984,10 +956,8 @@ void AppBlend_AppSurf::Curves2dShape(Standard_Integer& Degree,
   NbKnots = tabVKnots->Length();
 }
 
-//=======================================================================
-//function : Curve2d
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 
 void AppBlend_AppSurf::Curve2d(const Standard_Integer Index,
                               TColgp_Array1OfPnt2d& TPoles,
@@ -1001,10 +971,8 @@ void AppBlend_AppSurf::Curve2d(const Standard_Integer Index,
   TMults  = tabVMults->Array1();
 }
 
-//=======================================================================
-//function : TolCurveOnSurf
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 
 Standard_Real AppBlend_AppSurf::TolCurveOnSurf(const Standard_Integer) const
 {
index d5e48459725006879eae25d43cddf0ef900885bb..39ff4ae06a25beed17f6e6a60152b7542c8688a4 100644 (file)
 #include <DrawTrSurf.hxx>
 #endif
 
-//=======================================================================
-//function : Constructor
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 ApproxInt_MultiLine::ApproxInt_MultiLine()
 {
   PtrOnmySvSurfaces = NULL;
@@ -51,10 +49,8 @@ ApproxInt_MultiLine::ApproxInt_MultiLine()
   V2o = 0.;
 }
 
-//=======================================================================
-//function : Constructor
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 ApproxInt_MultiLine::
   ApproxInt_MultiLine(const Handle_TheLine& line,
                       const Standard_Address svsurf,
@@ -92,10 +88,8 @@ ApproxInt_MultiLine::
 #endif
 }
 
-//=======================================================================
-//function : Constructor
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 ApproxInt_MultiLine::
   ApproxInt_MultiLine(const Handle_TheLine& line,
                       const Standard_Integer NbP3d,
@@ -162,10 +156,8 @@ void ApproxInt_MultiLine::Value(const Standard_Integer  Index,
   TabPnt(1).SetCoord(aP.X()+Xo, aP.Y()+Yo, aP.Z()+Zo);
 }
 
-//=======================================================================
-//function : Value
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 void ApproxInt_MultiLine::Value(const Standard_Integer Index,
                                 TColgp_Array1OfPnt2d&  TabPnt2d) const 
 {
@@ -193,10 +185,8 @@ void ApproxInt_MultiLine::Value(const Standard_Integer Index,
   }
 }
 
-//=======================================================================
-//function : Value
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 void ApproxInt_MultiLine::Value(const Standard_Integer Index,
                                 TColgp_Array1OfPnt&    TabPnt,
                                 TColgp_Array1OfPnt2d&  TabPnt2d)  const 
@@ -205,10 +195,8 @@ void ApproxInt_MultiLine::Value(const Standard_Integer Index,
     Value(Index, TabPnt2d);
 }
 
-//=======================================================================
-//function : Tangency
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 Standard_Boolean ApproxInt_MultiLine::Tangency( const Standard_Integer Index,
                                                 TColgp_Array1OfVec&    TabVec) const 
 {
@@ -229,10 +217,8 @@ Standard_Boolean ApproxInt_MultiLine::Tangency( const Standard_Integer Index,
   return ret;
 }
 
-//=======================================================================
-//function : Tangency
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 Standard_Boolean ApproxInt_MultiLine::Tangency( const Standard_Integer Index,
                                                 TColgp_Array1OfVec2d&  TabVec2d) const 
 {
@@ -282,10 +268,8 @@ Standard_Boolean ApproxInt_MultiLine::Tangency( const Standard_Integer Index,
   return ret;
 }
 
-//=======================================================================
-//function : Tangency
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 Standard_Boolean ApproxInt_MultiLine::Tangency( const Standard_Integer Index,
                                                 TColgp_Array1OfVec& TabVec,
                                                 TColgp_Array1OfVec2d& TabVec2d) const
@@ -293,10 +277,8 @@ Standard_Boolean ApproxInt_MultiLine::Tangency( const Standard_Integer Index,
   return (Tangency(Index, TabVec) && Tangency(Index, TabVec2d));
 }
 
-//=======================================================================
-//function : MakeMLBetween
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 ApproxInt_MultiLine
   ApproxInt_MultiLine::MakeMLBetween( const Standard_Integer Low,
                                       const Standard_Integer High,
@@ -601,10 +583,8 @@ ApproxInt_MultiLine
   }
 }
 
-//=======================================================================
-//function : MakeMLOneMorePoint
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 Standard_Boolean
   ApproxInt_MultiLine::MakeMLOneMorePoint(const Standard_Integer theLow,
                                           const Standard_Integer theHigh,
@@ -731,10 +711,8 @@ Standard_Boolean
   return Standard_True;
 }
 
-//=======================================================================
-//function : Dump
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 void ApproxInt_MultiLine::Dump() const
 {
   TColgp_Array1OfPnt anArr1(1, 1);
index 1f30c5e0ec81076ee26532f830a36cd6efb3e97c..92691f95716d208f502a9abe6e3e13e3e2e82e64 100644 (file)
 // Alternatively, this file may be used under the terms of Open CASCADE
 // commercial license or contractual agreement.
 
-//=======================================================================
-// function : Extrema
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline const Extrema_ExtCC2d& Geom2dAPI_ExtremaCurveCurve::Extrema() const
 {
index f799704c4f09ba6e277a09b5dd0fc3f4127fce46..88475058bc4d981cecd838b3be8ab3794d3b2e74 100644 (file)
 // Alternatively, this file may be used under the terms of Open CASCADE
 // commercial license or contractual agreement.
 
-//=======================================================================
-// function : Intersector
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline const Geom2dInt_GInter& Geom2dAPI_InterCurveCurve::Intersector() const
 {
index 877c9bfc28ce8c838f8e9349f7e655fa5575ac1b..83c7ad862b63cdb006c1f9130baa89338a9f3411 100644 (file)
 // Alternatively, this file may be used under the terms of Open CASCADE
 // commercial license or contractual agreement.
 
-//=======================================================================
-// function : Extrema
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline const Extrema_ExtPC2d& Geom2dAPI_ProjectPointOnCurve::Extrema() const
 {
index 99f77fdc22fd1be12a1a74f16e89421e6c0ddcfc..fbd99ac0a4163807c1e4439780dfd22dd4ca1834 100644 (file)
@@ -111,10 +111,7 @@ void Geom2dHatch_Hatcher::Confusion3d(const Standard_Real Confusion)
   }
 }
 
-//=======================================================================
-// Function : KeepPoints
-// Purpose  : Sets the above flag.
-//=======================================================================
+//=================================================================================================
 
 void Geom2dHatch_Hatcher::KeepPoints(const Standard_Boolean Keep)
 {
@@ -129,10 +126,7 @@ void Geom2dHatch_Hatcher::KeepPoints(const Standard_Boolean Keep)
   }
 }
 
-//=======================================================================
-// Function : KeepSegments
-// Purpose  : Sets the above flag.
-//=======================================================================
+//=================================================================================================
 
 void Geom2dHatch_Hatcher::KeepSegments(const Standard_Boolean Keep)
 {
index b99a2e6d067810f859b07b2c2071beb618162b91..e245bb4749a52c429932029e6959e8cc8af94f97 100644 (file)
 // Alternatively, this file may be used under the terms of Open CASCADE
 // commercial license or contractual agreement.
 
-//=======================================================================
-// Function : Geom2dHatch_Intersector
-// Purpose  : Constructor.
-//=======================================================================
+//=================================================================================================
 
 inline Geom2dHatch_Intersector::Geom2dHatch_Intersector(const Standard_Real Confusion,
                                                         const Standard_Real Tangency)
index 12c4edd5ade2cecec6ed33af138bfbf6fa408422..829aabacfd9269ce7d503b1ec5db675dedb2f93e 100644 (file)
 // Alternatively, this file may be used under the terms of Open CASCADE
 // commercial license or contractual agreement.
 
-//=======================================================================
-// function : Extrema
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline const Extrema_ExtCC& GeomAPI_ExtremaCurveCurve::Extrema() const
 {
index 5b7f8a3dab47f3eb8c9fc0fbfe41e73be8a7d64d..4c49c6fa87eab4e99da0b74c0432bfef81919bd6 100644 (file)
 // Alternatively, this file may be used under the terms of Open CASCADE
 // commercial license or contractual agreement.
 
-//=======================================================================
-// function : Extrema
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline const Extrema_ExtCS& GeomAPI_ExtremaCurveSurface::Extrema() const
 {
index 4aed8008404ba9e66b0ec203a3ec10e3cc154e17..71a022e03c78c0406b5121a471398b5f29ec67f5 100644 (file)
 // Alternatively, this file may be used under the terms of Open CASCADE
 // commercial license or contractual agreement.
 
-//=======================================================================
-// function : Extrema
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline const Extrema_ExtSS& GeomAPI_ExtremaSurfaceSurface::Extrema() const
 {
index 0d8e818f3e7e7ddde34145176f1012f4a60a6500..0ee194ebef8c1cb2d8b2f7e7807481eb96f899e0 100644 (file)
 // Alternatively, this file may be used under the terms of Open CASCADE
 // commercial license or contractual agreement.
 
-//=======================================================================
-// function : GeomAPI_IntSS
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline GeomAPI_IntSS::GeomAPI_IntSS() {}
 
-//=======================================================================
-// function : GeomAPI_IntSS
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline GeomAPI_IntSS::GeomAPI_IntSS(const Handle(Geom_Surface)& S1,
                                     const Handle(Geom_Surface)& S2,
@@ -33,10 +27,7 @@ inline GeomAPI_IntSS::GeomAPI_IntSS(const Handle(Geom_Surface)& S1,
 {
 }
 
-//=======================================================================
-// function : Perform
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void GeomAPI_IntSS::Perform(const Handle(Geom_Surface)& S1,
                                    const Handle(Geom_Surface)& S2,
@@ -45,30 +36,21 @@ inline void GeomAPI_IntSS::Perform(const Handle(Geom_Surface)& S1,
   myIntersec.Perform(S1, S2, Tol, Standard_True);
 }
 
-//=======================================================================
-// function : IsDone
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean GeomAPI_IntSS::IsDone() const
 {
   return myIntersec.IsDone();
 }
 
-//=======================================================================
-// function : NbLines
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer GeomAPI_IntSS::NbLines() const
 {
   return myIntersec.NbLines();
 }
 
-//=======================================================================
-// function : Line
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline const Handle(Geom_Curve)& GeomAPI_IntSS::Line(const Standard_Integer I) const
 {
index dee87200cb79bdf9c58c415f386d6fa6ae79a2ed..c222558be3f302607803a590b8ece3ee680bb99f 100644 (file)
 // Alternatively, this file may be used under the terms of Open CASCADE
 // commercial license or contractual agreement.
 
-//=======================================================================
-// function : Extrema
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline const Extrema_ExtPC& GeomAPI_ProjectPointOnCurve::Extrema() const
 {
index ec4f4b8a63d13b825c5bc4d6d2858e70e82a2308..86d788c2a28756327185f84424004c05c8b67c61 100644 (file)
 // Alternatively, this file may be used under the terms of Open CASCADE
 // commercial license or contractual agreement.
 
-//=======================================================================
-// function : Extrema
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline const Extrema_ExtPS& GeomAPI_ProjectPointOnSurf::Extrema() const
 {
index eb4e5882c714e8ddc0bfbedd1b6a4a61c438c968..6c0c86b94bdb06c9edb6a438f4c671fb4569e9b8 100644 (file)
 // Alternatively, this file may be used under the terms of Open CASCADE
 // commercial license or contractual agreement.
 
-//=======================================================================
-// function : Surface
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline const Handle(Geom_BSplineSurface)& GeomFill_BSplineCurves::Surface() const
 {
index 1409a97597d9808a59cf1e8700387ff1a64ae52c..a2e8925c61dab00dcf97f5a428d5a55d4a759074 100644 (file)
 // Alternatively, this file may be used under the terms of Open CASCADE
 // commercial license or contractual agreement.
 
-//=======================================================================
-// function : Surface
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline const Handle(Geom_BezierSurface)& GeomFill_BezierCurves::Surface() const
 {
index 025ad8268d45d014348a7fd8ce4adbd7f153b917..2ac3ac2d512d6b4a2b3fea2fa103240d5da3608c 100644 (file)
@@ -54,10 +54,8 @@ static void TracePlan(const Handle(Geom_Surface)& /*Plan*/)
 }
 #endif
 
-//==================================================================
-// Function: InGoodPeriod
-// Purpose : Recadre un paramtere
-//==================================================================
+//=================================================================================================
+
 static void InGoodPeriod(const Standard_Real Prec,
                          const Standard_Real Period,
                          Standard_Real&      Current)
index 7cd33fd66850605bf5376dafffe059629b02e8c5..c809acc1a3105ecefc5c99a70be4880977cc2440 100644 (file)
 // Alternatively, this file may be used under the terms of Open CASCADE
 // commercial license or contractual agreement.
 
-//=======================================================================
-// function : NbPoints
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer GeomFill_Line::NbPoints() const
 {
   return myNbPoints;
 }
 
-//=======================================================================
-// function : Point
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer GeomFill_Line::Point(const Standard_Integer Index) const
 {
index e7aad77374e63a1f860aad1a4d24a85306c18d9e..37c2305379ae86d1d7bbc50814cb7aac3d5c9c3c 100644 (file)
@@ -135,10 +135,8 @@ static void TraceRevol(const Standard_Real                        t,
 }
 #endif
 
-//==================================================================
-// Function: InGoodPeriod
-// Purpose : Recadre un paramtere
-//==================================================================
+//=================================================================================================
+
 static void InGoodPeriod(const Standard_Real Prec,
                          const Standard_Real Period,
                          Standard_Real&      Current)
@@ -509,10 +507,8 @@ void GeomFill_LocationGuide::Set(const Handle(GeomFill_SectionLaw)& Section,
     rotation = Standard_False;
 }
 
-//==================================================================
-// Function: EraseRotation
-// Purpose : Supprime la Rotation
-//==================================================================
+//=================================================================================================
+
 void GeomFill_LocationGuide::EraseRotation()
 {
   rotation = Standard_False;
index 9a84059e6660c33e4bca4144766c89306faf4c18..062a5ed3fa2c618d7d9e18f001e5e74bb04701f7 100644 (file)
 // Alternatively, this file may be used under the terms of Open CASCADE
 // commercial license or contractual agreement.
 
-//=======================================================================
-// function : const
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline const Handle(Geom_Surface)& GeomFill_Pipe::Surface() const
 {
   return mySurface;
 }
 
-//=======================================================================
-// function : ExchangeUV
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean GeomFill_Pipe::ExchangeUV() const
 {
   return myExchUV;
 }
 
-//=======================================================================
-// function : GenerateParticularCase
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void GeomFill_Pipe::GenerateParticularCase(const Standard_Boolean B)
 {
   myKPart = B;
 }
 
-//=======================================================================
-// function : GenerateParticularCase
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean GeomFill_Pipe::GenerateParticularCase() const
 {
   return myKPart;
 }
 
-//=======================================================================
-// function :  ErrorOnSurf
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline Standard_Real GeomFill_Pipe::ErrorOnSurf() const
 {
   return myError;
 }
 
-//=======================================================================
-// function :  IsDone
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline Standard_Boolean GeomFill_Pipe::IsDone() const
 {
   return myStatus == GeomFill_PipeOk;
index 9c96c1987c569316a5697adeaffafab122065e9f..f46227dee05042576cee13648e12f1c2d1be65fa 100644 (file)
 // Alternatively, this file may be used under the terms of Open CASCADE
 // commercial license or contractual agreement.
 
-//=======================================================================
-// function : IsPeriodic
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean GeomFill_Profiler::IsPeriodic() const
 {
   return myIsPeriodic;
 }
 
-//=======================================================================
-// function : Curve
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline const Handle(Geom_Curve)& GeomFill_Profiler::Curve(const Standard_Integer Index) const
 {
index 2f1190a6e0b4d06662c42a6a7555f44d07ef9e80..48c8d877a56b307f380923af246d84639ff35196 100644 (file)
 // Alternatively, this file may be used under the terms of Open CASCADE
 // commercial license or contractual agreement.
 
-//=======================================================================
-// function : NbSections
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer GeomFill_SweepSectionGenerator::NbSections() const
 {
index 8fcfdd10a27bcb1359aaee7f9dd341a0b214bd1a..3d65177a144a1ceec9c38f900646a5391d747f01 100644 (file)
 #include <GeomAdaptor_Surface.hxx>
 #include <Extrema_ExtPS.hxx>
 
-//=======================================================================
-// function : Perform
-// purpose  : General intersection
-//=======================================================================
+//=================================================================================================
+
 void GeomInt_IntSS::Perform(const Handle(Geom_Surface)& S1,
                             const Handle(Geom_Surface)& S2,
                             const Standard_Real         Tol,
index 1ef52a98677a89f30e3a28bec8896ebf312045ea..99ef8ed8d153402a451683acb2b2d589670d70cb 100644 (file)
 #include <IntPatch_Point.hxx>
 #include <Geom_Surface.hxx>
 
-//=======================================================================
-// function : GeomInt_IntSS
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline GeomInt_IntSS::GeomInt_IntSS()
     : myNbrestr(0),
       myTolReached2d(0.0),
@@ -30,10 +28,8 @@ inline GeomInt_IntSS::GeomInt_IntSS()
 {
 }
 
-//=======================================================================
-// function : GeomInt_IntSS
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline GeomInt_IntSS::GeomInt_IntSS(const Handle(Geom_Surface)& S1,
                                     const Handle(Geom_Surface)& S2,
                                     const Standard_Real         Tol,
@@ -85,65 +81,51 @@ inline void GeomInt_IntSS::Perform(const Handle(GeomAdaptor_Surface)& HS1,
   InternalPerform(Tol, Approx, ApproxS1, ApproxS2, Standard_True, U1, V1, U2, V2);
 }
 
-//=======================================================================
-// function : IsDone
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline Standard_Boolean GeomInt_IntSS::IsDone() const
 {
   return myIntersector.IsDone();
 }
 
-//=======================================================================
-// function : TolReached2d
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline Standard_Real GeomInt_IntSS::TolReached2d() const
 {
   return myTolReached2d;
 }
 
-//=======================================================================
-// function : TolReached3d
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline Standard_Real GeomInt_IntSS::TolReached3d() const
 {
   return myTolReached3d;
 }
 
-//=======================================================================
-// function : NbLines
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline Standard_Integer GeomInt_IntSS::NbLines() const
 {
   return sline.Length() - myNbrestr;
 }
 
-//=======================================================================
-// function : NbBoundaries
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline Standard_Integer GeomInt_IntSS::NbBoundaries() const
 {
   StdFail_NotDone_Raise_if(!myIntersector.IsDone(), "GeomInt_IntSS::NbBoundaries() - no result");
   return myNbrestr;
 }
 
-//=======================================================================
-// function : NbPoints
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline Standard_Integer GeomInt_IntSS::NbPoints() const
 {
   return myIntersector.NbPnts();
 }
 
-//=======================================================================
-// function : Point
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline gp_Pnt GeomInt_IntSS::Point(const Standard_Integer Index) const
 {
   return myIntersector.Point(Index).Value();
index 6ed933c5b4325cca0c88c7c4708310eaff836017..44b2474bb7e5d6fb11395f1365d67eab80bdd2b1 100644 (file)
 
 #include <StdFail_NotDone.hxx>
 
-//=======================================================================
-// function : GeomInt_LineConstructor
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline GeomInt_LineConstructor::GeomInt_LineConstructor()
     : done(Standard_False)
 {
 }
 
-//=======================================================================
-// function : Load
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void GeomInt_LineConstructor::Load(const Handle(Adaptor3d_TopolTool)& D1,
                                           const Handle(Adaptor3d_TopolTool)& D2,
@@ -42,20 +36,14 @@ inline void GeomInt_LineConstructor::Load(const Handle(Adaptor3d_TopolTool)& D1,
   myHS2  = S2;
 }
 
-//=======================================================================
-// function : IsDone
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean GeomInt_LineConstructor::IsDone() const
 {
   return done;
 }
 
-//=======================================================================
-// function : NbParts
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer GeomInt_LineConstructor::NbParts() const
 {
@@ -66,10 +54,8 @@ inline Standard_Integer GeomInt_LineConstructor::NbParts() const
   return (seqp.Length() / 2);
 }
 
-//=======================================================================
-// function : Part
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline void GeomInt_LineConstructor::Part(const Standard_Integer I,
                                           Standard_Real&         WFirst,
                                           Standard_Real&         WLast) const
index 697aa0e0e64a3d032d816c7be5afe7a5c180cd16..e7e62b4196061c391e3d9ad80cd7faa5d8507bf0 100644 (file)
 // Alternatively, this file may be used under the terms of Open CASCADE
 // commercial license or contractual agreement.
 
-//=======================================================================
-// function : Tolerance
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void Hatch_Hatcher::Tolerance(const Standard_Real Tol)
 {
   myToler = Tol;
 }
 
-//=======================================================================
-// function : Tolerance
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Real Hatch_Hatcher::Tolerance() const
 {
index 9b9848ea851251ac1aaed2d7354943a4ca2ff3d2..1736af86f96e538a382b7686f8bbe155183e5b75 100644 (file)
@@ -55,10 +55,7 @@ HatchGen_Domain::HatchGen_Domain(const HatchGen_PointOnHatching& P, const Standa
   }
 }
 
-//=======================================================================
-// Function : Dump
-// Purpose  : Dump of the domain.
-//=======================================================================
+//=================================================================================================
 
 void HatchGen_Domain::Dump(const Standard_Integer Index) const
 {
index 0411266c909e77900aac001b9244fd55b9dd6feb..1e0256b7455bd3904cefa5476e411b0cb88d289a 100644 (file)
@@ -1121,19 +1121,15 @@ IntCurve_IntCurveCurveGen::InternalCompositePerform(const TheCurve& C1,
   }
 }
 
-//=======================================================================
-//function : SetMinNbSamples
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 void IntCurve_IntCurveCurveGen::SetMinNbSamples(const Standard_Integer theMinNbSamples)
 {
   intcurvcurv.SetMinNbSamples(theMinNbSamples);
 }
 
-//=======================================================================
-//function : GetMinNbSamples
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 Standard_Integer IntCurve_IntCurveCurveGen::GetMinNbSamples() const
 {
   return intcurvcurv.GetMinNbSamples();
index 96dbc6243c933b428ef46aed58892f2181a863bf..3f78a211d0d15b95662d0340d57ed9b46b1c6f9a 100644 (file)
@@ -1338,19 +1338,15 @@ void GetIntersection(const TheCurve& theC1, const Standard_Real theT1f, const St
 
 }
 
-//=======================================================================
-//function : GetMinNbPoints
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 Standard_Integer IntCurve_IntPolyPolyGen::GetMinNbSamples() const
 {
   return myMinPntNb;
 }
 
-//=======================================================================
-//function : SetMinNbPoints
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 void IntCurve_IntPolyPolyGen::SetMinNbSamples(const Standard_Integer theMinNbSamples)
 {
   myMinPntNb = theMinNbSamples;
index c2e2de2c3e204abf314e6750d3cada90f73c0286..c06d6b5a1573d7cff1dcf9f3f7a339a08730bdf0 100644 (file)
@@ -153,17 +153,13 @@ static
                                 Standard_Real&       theVmax,
                                 Standard_Boolean&    theNoIntersection);
 
-//=======================================================================
-//function : IntCurveSurface_Inter
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 IntCurveSurface_Inter::IntCurveSurface_Inter() 
 { 
 }
-//=======================================================================
-//function : DoSurface
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 void IntCurveSurface_Inter::DoSurface(const TheSurface&   surface,
                                      const Standard_Real u0,
                                      const Standard_Real u1,
@@ -208,10 +204,8 @@ void IntCurveSurface_Inter::DoSurface(const TheSurface&   surface,
   gap = Max(Ures,Vres);
 }
 
-//=======================================================================
-//function : DoNewBounds
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 void IntCurveSurface_Inter::DoNewBounds(
                                        const TheSurface&           surface,
                                        const Standard_Real         u0,
@@ -368,10 +362,8 @@ void IntCurveSurface_Inter::Perform(const TheCurve&   curve,
     Perform(curve,surface,U0,V0,U1,V1);
   }
 }
-//=======================================================================
-//function : Perform
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 void IntCurveSurface_Inter::Perform(const TheCurve&   curve,
                                     const TheSurface& surface,
                                     const Standard_Real U1,const Standard_Real V1,
@@ -466,10 +458,8 @@ void IntCurveSurface_Inter::Perform(const TheCurve&   curve,
     }
   }
 }
-//=======================================================================
-//function : Perform
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 void IntCurveSurface_Inter::Perform(const TheCurve&   curve,
                                    const IntCurveSurface_ThePolygon& polygon,
                                    const TheSurface& surface) {
@@ -488,10 +478,8 @@ void IntCurveSurface_Inter::Perform(const TheCurve&   curve,
   IntCurveSurface_ThePolyhedron    polyhedron(surface,nbsu,nbsv,u1,v1,u2,v2);
   Perform(curve,polygon,surface,polyhedron);
 }
-//=======================================================================
-//function : Perform
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 void IntCurveSurface_Inter::Perform(const TheCurve&   curve,
                                    const TheSurface& surface,
                                    const IntCurveSurface_ThePolyhedron& polyhedron) {
@@ -502,10 +490,8 @@ void IntCurveSurface_Inter::Perform(const TheCurve&   curve,
   IntCurveSurface_ThePolygon polygon(curve,TheCurveTool::NbSamples(curve,u1,u2));
   Perform(curve,polygon,surface,polyhedron);
 }
-//=======================================================================
-//function : Perform
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 void IntCurveSurface_Inter::Perform(const TheCurve&       curve,
                                    const IntCurveSurface_ThePolygon&     polygon,
                                    const TheSurface&     surface,
@@ -520,10 +506,8 @@ void IntCurveSurface_Inter::Perform(const TheCurve&       curve,
   InternalPerform(curve,polygon,surface,polyhedron,u1,v1,u2,v2);
 }
 
-//=======================================================================
-//function : Perform
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 void IntCurveSurface_Inter::Perform(const TheCurve&       curve,
                                    const IntCurveSurface_ThePolygon&     polygon,
                                    const TheSurface&     surface,
@@ -684,10 +668,8 @@ void IntCurveSurface_Inter::InternalPerform(const TheCurve&       curve,
   }
 }
 
-//=======================================================================
-//function : InternalPerform
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 void IntCurveSurface_Inter::InternalPerform(const TheCurve&       curve,
                                            const IntCurveSurface_ThePolygon&     polygon,
                                            const TheSurface&     surface,
@@ -827,10 +809,8 @@ void IntCurveSurface_Inter::InternalPerform(const TheCurve&       curve,
     delete [] TabU;
   }
 }
-//=======================================================================
-//function : InternalPerformCurveQuadric
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 void IntCurveSurface_Inter::InternalPerformCurveQuadric(const TheCurve&                 curve,
                                                        const TheSurface&               surface) { 
   IntCurveSurface_TheQuadCurvExactInter QuadCurv(surface,curve);  
@@ -846,10 +826,8 @@ void IntCurveSurface_Inter::InternalPerformCurveQuadric(const TheCurve&
   }
 }
 
-//=======================================================================
-//function : InternalPerform
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 void IntCurveSurface_Inter::InternalPerform(const TheCurve&       curve,
                                            const IntCurveSurface_ThePolygon&  polygon,
                                            const TheSurface&     surface,
@@ -902,10 +880,8 @@ void IntCurveSurface_Inter::InternalPerform(const TheCurve&       curve,
     }
   } //-- Fin : la Surface  est une quadrique
 }
-//=======================================================================
-//function : PerformConicSurf
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 void IntCurveSurface_Inter::PerformConicSurf(const gp_Lin&   Line,
                                             const TheCurve&       curve,
                                             const TheSurface&     surface,
@@ -1034,10 +1010,8 @@ void IntCurveSurface_Inter::PerformConicSurf(const gp_Lin&   Line,
     }
   }
 }
-//=======================================================================
-//function : PerformConicSurf
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 void IntCurveSurface_Inter::PerformConicSurf(const gp_Circ&        Circle,
                                             const TheCurve&       curve,
                                             const TheSurface&     surface,
@@ -1079,10 +1053,8 @@ void IntCurveSurface_Inter::PerformConicSurf(const gp_Circ&        Circle,
     }
   }
 }
-//=======================================================================
-//function : PerformConicSurf
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 void IntCurveSurface_Inter::PerformConicSurf(const gp_Elips&       Ellipse,
                                             const TheCurve&       curve,
                                             const TheSurface&     surface,
@@ -1124,10 +1096,8 @@ void IntCurveSurface_Inter::PerformConicSurf(const gp_Elips&       Ellipse,
     }
   }
 }
-//=======================================================================
-//function : PerformConicSurf
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 void IntCurveSurface_Inter::PerformConicSurf(const gp_Parab&       Parab,
                                             const TheCurve&       curve,
                                             const TheSurface&     surface,
@@ -1183,10 +1153,8 @@ void IntCurveSurface_Inter::PerformConicSurf(const gp_Parab&       Parab,
     }
   }
 }
-//=======================================================================
-//function : PerformConicSurf
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 void IntCurveSurface_Inter::PerformConicSurf(const gp_Hypr&        Hypr,
                                             const TheCurve&       curve,
                                             const TheSurface&     surface,
@@ -1242,10 +1210,8 @@ void IntCurveSurface_Inter::PerformConicSurf(const gp_Hypr&        Hypr,
     }
   }
 }
-//=======================================================================
-//function : AppendIntAna
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 void IntCurveSurface_Inter::AppendIntAna(const TheCurve& curve,
                                         const TheSurface& surface,
                                         const IntAna_IntConicQuad& intana_ConicQuad) {
@@ -1273,10 +1239,8 @@ void IntCurveSurface_Inter::AppendIntAna(const TheCurve& curve,
     //-- std::cout<<" IntAna Conic Quad Not Done  "<<std::endl;
   }
 }
-//=======================================================================
-//function : AppendPoint
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 void IntCurveSurface_Inter::AppendPoint(const TheCurve& curve,
                                        const Standard_Real lw,
                                        const TheSurface& surface,
@@ -1326,10 +1290,8 @@ void IntCurveSurface_Inter::AppendPoint(const TheCurve& curve,
   
 }
 
-//=======================================================================
-//function : AppendSegment
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 void IntCurveSurface_Inter::AppendSegment(const TheCurve& ,
                                          const Standard_Real ,
                                          const Standard_Real ,
@@ -1418,10 +1380,8 @@ void SectionPointToParameters(const Intf_SectionPoint&              Sp,
   U = u1;
   V = v1;
 }
-//=======================================================================
-//function : IntCurveSurface_ComputeTransitions
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 void IntCurveSurface_ComputeTransitions(const TheCurve& curve,
                                        const Standard_Real w,
                                        IntCurveSurface_TransitionOnCurve&   TransOnCurve,
@@ -1459,10 +1419,8 @@ void IntCurveSurface_ComputeTransitions(const TheCurve& curve,
     TransOnCurve   = IntCurveSurface_Tangent;
   }
 }
-//=======================================================================
-//function : IntCurveSurface_ComputeParamsOnQuadric
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 void IntCurveSurface_ComputeParamsOnQuadric(const TheSurface& surface,
                                            const gp_Pnt& P,
                                            Standard_Real& u,
@@ -1864,10 +1822,8 @@ void EstLimForInfRevl(const gp_Lin&   Line,
   return;
 }
 
-//=======================================================================
-//function : EstLimForInfOffs
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 void EstLimForInfOffs(const gp_Lin&   Line,
                      const TheSurface& surface, 
                      const Standard_Integer nbsu, 
@@ -2084,10 +2040,8 @@ void EstLimForInfOffs(const gp_Lin&   Line,
     V2new = Min(V2new,  1.e10);
   }
 }
-//=======================================================================
-//function : EstLimForInfSurf
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 void EstLimForInfSurf(Standard_Real& U1new, 
                      Standard_Real& U2new, 
                      Standard_Real& V1new, 
index 723b08fafa83395421d2a8cbc0758a07c86fe504..d5aa2bab4a53fe71b61a0371954cbd1039d159eb 100644 (file)
@@ -56,10 +56,8 @@ IntCurveSurface_Polygon::IntCurveSurface_Polygon(const TheCurve&        C,
   Init(C);
 }
 
-//=======================================================================
-//function : IntCurveSurface_Polygon
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 
 IntCurveSurface_Polygon::IntCurveSurface_Polygon(const TheCurve&        C,
                                                 const TColStd_Array1OfReal& Upars):
@@ -125,10 +123,8 @@ void IntCurveSurface_Polygon::Init(const TheCurve&        C) {
   ClosedPolygon = Standard_False;
 }
 
-//=======================================================================
-//function : Init
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 
 void IntCurveSurface_Polygon::Init(const TheCurve&        C,
                                   const TColStd_Array1OfReal& Upars) { 
index e20a7956903db6942bc14c078a868a5ad5960c90..1aea1f38f7f45568fc9757c388397e4971d9fa75 100644 (file)
 #define LONGUEUR_MINI_EDGE_TRIANGLE 1e-15
 
 
-//=======================================================================
-//function : IntCurveSurface_Polyhedron
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 IntCurveSurface_Polyhedron::IntCurveSurface_Polyhedron (const ThePSurface&     Surface,
                                                        const Standard_Integer nbdU,
                                                        const Standard_Integer nbdV,
@@ -64,10 +62,8 @@ IntCurveSurface_Polyhedron::IntCurveSurface_Polyhedron (const ThePSurface&     S
   Init(Surface,u1,v1,u2,v2);
 }
 
-//=======================================================================
-//function : IntCurveSurface_Polyhedron
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 IntCurveSurface_Polyhedron::IntCurveSurface_Polyhedron (const ThePSurface&     Surface,
                                                        const TColStd_Array1OfReal&    Upars,
                                                        const TColStd_Array1OfReal&    Vpars)
@@ -105,10 +101,8 @@ void IntCurveSurface_Polyhedron::Destroy() {
   C_MyPnts=C_MyU=C_MyV=C_MyIsOnBounds=NULL;
 }
 
-//=======================================================================
-//function : Init
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 void IntCurveSurface_Polyhedron::Init(const ThePSurface&     Surface,
                                      const Standard_Real U0,
                                      const Standard_Real V0,
@@ -193,10 +187,8 @@ void IntCurveSurface_Polyhedron::Init(const ThePSurface&     Surface,
     Dump();
   #endif
 }
-//=======================================================================
-//function : Init
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 void IntCurveSurface_Polyhedron::Init(const ThePSurface&     Surface,
                                      const TColStd_Array1OfReal& Upars,
                                      const TColStd_Array1OfReal& Vpars) { 
@@ -284,10 +276,8 @@ void IntCurveSurface_Polyhedron::Init(const ThePSurface&     Surface,
     Dump();
   #endif
 }
-//=======================================================================
-//function : DeflectionOnTriangle
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 Standard_Real IntCurveSurface_Polyhedron::DeflectionOnTriangle (const ThePSurface& Surface,
                                                                const Standard_Integer Triang) const 
 {
@@ -320,10 +310,8 @@ Standard_Real IntCurveSurface_Polyhedron::DeflectionOnTriangle (const ThePSurfac
   gp_Vec P1P(P1,P);
   return(Abs(P1P.Dot(NormalVector)));
 }
-//=======================================================================
-//function : Parameters
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 void IntCurveSurface_Polyhedron::Parameters( const Standard_Integer Index
                                            ,Standard_Real &U
                                            ,Standard_Real &V) const 
@@ -338,10 +326,8 @@ void IntCurveSurface_Polyhedron::Parameters( const Standard_Integer Index
   Standard_Real *CMyV = (Standard_Real *)C_MyV;
   V = CMyV[Index];
 }
-//=======================================================================
-//function : DeflectionOverEstimation
-//purpose  : Set
-//=======================================================================
+//=================================================================================================
+
 void IntCurveSurface_Polyhedron::DeflectionOverEstimation(const Standard_Real flec)
 {
   if(flec<0.0001) {  
@@ -353,26 +339,20 @@ void IntCurveSurface_Polyhedron::DeflectionOverEstimation(const Standard_Real fl
     TheBnd.Enlarge(flec);
   }    
 }
-//=======================================================================
-//function : DeflectionOverEstimation
-//purpose  : Get
-//=======================================================================
+//=================================================================================================
+
 Standard_Real IntCurveSurface_Polyhedron::DeflectionOverEstimation() const
 {
   return TheDeflection;
 }
-//=======================================================================
-//function : Bounding
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 const Bnd_Box& IntCurveSurface_Polyhedron::Bounding() const
 {
   return TheBnd;
 }
-//=======================================================================
-//function : FillBounding
-//purpose  :  
-//=======================================================================
+//=================================================================================================
+
 void IntCurveSurface_Polyhedron::FillBounding()
 {
   TheComponentsBnd=new Bnd_HArray1OfBox(1, NbTriangles());
@@ -399,35 +379,27 @@ void IntCurveSurface_Polyhedron::FillBounding()
     TheComponentsBnd->SetValue(iTri,Boite); 
   }
 }
-//=======================================================================
-//function : ComponentsBounding
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 const Handle(Bnd_HArray1OfBox)& 
       IntCurveSurface_Polyhedron::ComponentsBounding() const
 {
  return TheComponentsBnd;
 }
-//=======================================================================
-//function : NbTriangles
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 Standard_Integer IntCurveSurface_Polyhedron::NbTriangles  () const
 {
   return nbdeltaU*nbdeltaV*2;
 }
-//=======================================================================
-//function : NbPoints
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 Standard_Integer IntCurveSurface_Polyhedron::NbPoints () const
 {
   return (nbdeltaU+1)*(nbdeltaV+1);
 }
-//=======================================================================
-//function : TriConnex
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 Standard_Integer IntCurveSurface_Polyhedron::TriConnex
   (const Standard_Integer Triang,
    const Standard_Integer Pivot,
@@ -602,10 +574,8 @@ Standard_Integer IntCurveSurface_Polyhedron::TriConnex
 }
 
 
-//=======================================================================
-//function : PlaneEquation
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 void IntCurveSurface_Polyhedron::PlaneEquation (const Standard_Integer Triang,
                                        gp_XYZ&        NormalVector,
                                        Standard_Real& PolarDistance)  const
@@ -640,10 +610,8 @@ void IntCurveSurface_Polyhedron::PlaneEquation (const Standard_Integer Triang,
     PolarDistance = NormalVector * Point(i1).XYZ();
   }
 }
-//=======================================================================
-//function : Contain
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 Standard_Boolean IntCurveSurface_Polyhedron::Contain (const Standard_Integer Triang,
                                                      const gp_Pnt& ThePnt) const
 {
@@ -661,28 +629,22 @@ Standard_Boolean IntCurveSurface_Polyhedron::Contain (const Standard_Integer Tri
   else 
     return Standard_False;
 }
-//=======================================================================
-//function : Dump
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 void IntCurveSurface_Polyhedron::Dump() const
 {
 
 }
-//=======================================================================
-//function : Size
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 void IntCurveSurface_Polyhedron::Size (Standard_Integer& nbdu,
                              Standard_Integer& nbdv) const
 {
   nbdu=nbdeltaU;
   nbdv=nbdeltaV;
 }
-//=======================================================================
-//function : Triangle
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 void IntCurveSurface_Polyhedron::Triangle (const Standard_Integer Index,
                                  Standard_Integer& P1,
                                  Standard_Integer& P2,
index 6ef6d32c6e8125cdbead248f90f356c038b808f3..c14f155d75d795154896deb3ba85bb910169203c 100644 (file)
 // Alternatively, this file may be used under the terms of Open CASCADE
 // commercial license or contractual agreement.
 
-//=======================================================================
-// function : Error
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Real IntPatch_Polygo::Error() const
 {
   return myError;
 }
 
-//=======================================================================
-// function : DeflectionOverEstimation
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Real IntPatch_Polygo::DeflectionOverEstimation() const
 {
   return myError;
 }
 
-//=======================================================================
-// function : NbSegments
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer IntPatch_Polygo::NbSegments() const
 {
   return NbPoints() - 1;
 }
 
-//=======================================================================
-// function : BeginOfSeg
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void IntPatch_Polygo::Segment(const Standard_Integer theIndex,
                                      gp_Pnt2d&              theBegin,
index 59bac003464ff02f43b080485c0505e054a3a412..e1d10b5aaee14fe3003362aca3e94244bfa9beb7 100644 (file)
@@ -135,10 +135,8 @@ private:
 };
 
 
-//=======================================================================
-//function : FindVertex
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 void FindVertex (const TheArc& A,
                  const Handle(TheTopolTool)& Domain,
                  TheFunction& Func,
@@ -790,10 +788,8 @@ void BoundedArc (const TheArc& A,
   }
 }
 
-//=======================================================================
-//function : ComputeBoundsfromInfinite
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 // - PROVISIONAL - TEMPORARY - NOT GOOD - NYI - TO DO
 // - Temporary - temporary - not good - nyi - to do
 void ComputeBoundsfromInfinite(TheFunction& Func,
@@ -861,10 +857,8 @@ void ComputeBoundsfromInfinite(TheFunction& Func,
   }
 } 
 
-//=======================================================================
-//function : PointProcess
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 void PointProcess (const gp_Pnt& Pt,
                    const Standard_Real Para,
                    const TheArc& A,
@@ -974,10 +968,8 @@ void PointProcess (const gp_Pnt& Pt,
   }
 }
 
-//=======================================================================
-//function : IsRegularity
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 Standard_Boolean IsRegularity(const TheArc& /*A*/,
                               const Handle(TheTopolTool)& aDomain)
 {
@@ -991,10 +983,8 @@ Standard_Boolean IsRegularity(const TheArc& /*A*/,
   return (BRep_Tool::HasContinuity(*anE));
 }
 
-//=======================================================================
-//function : TreatLC
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 Standard_Integer TreatLC (const TheArc& A,
                           const Handle(TheTopolTool)& aDomain,
                           const IntSurf_Quadric& aQuadric,
@@ -1095,20 +1085,16 @@ Standard_Integer TreatLC (const TheArc& A,
 }
 
 
-//=======================================================================
-//function : IntStart_SearchOnBoundaries::IntStart_SearchOnBoundaries
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 IntStart_SearchOnBoundaries::IntStart_SearchOnBoundaries ()
 :  done(Standard_False),
    all(Standard_False)  
 {
 }  
 
-//=======================================================================
-//function : Perform
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
   void IntStart_SearchOnBoundaries::Perform (TheFunction& Func,
                                              const Handle(TheTopolTool)& Domain,
                                              const Standard_Real TolBoundary,
index c83aba039829ffabf8e1d456d44d9d7bd283ca86..be1b9553bb11579d14c678b1c175d9c5b7f43484 100644 (file)
@@ -69,10 +69,7 @@ inline const Intf_TangentZone& Intf_Interference::ZoneValue(const Standard_Integ
   return myTZones(Index);
 }
 
-//=======================================================================
-// function : GetTolerance
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Real Intf_Interference::GetTolerance() const
 {
index 1e909d6989bdde2e1e02e2909d758b3fcc12ee4c..430aab537f8aef6ba7da174815f7c8f6db8f7587 100644 (file)
@@ -51,10 +51,8 @@ static Standard_Boolean IsInSegment(const gp_Vec& P1P2,
 }
     
 
-//=======================================================================
-//function : Intf_InterferencePolygonPolyhedron
-//purpose  : Empty constructor
-//=======================================================================
+//=================================================================================================
+
 
 Intf_InterferencePolygonPolyhedron::Intf_InterferencePolygonPolyhedron() 
 : Intf_Interference (Standard_False),
@@ -188,10 +186,8 @@ Intf_InterferencePolygonPolyhedron::Intf_InterferencePolygonPolyhedron
 }
 
 
-//=======================================================================
-//function : Perform
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 
 void Intf_InterferencePolygonPolyhedron::Perform 
   (const Polygon3d& thePolyg, const Polyhedron& thePolyh) 
@@ -209,10 +205,8 @@ void Intf_InterferencePolygonPolyhedron::Perform
 } 
 
 
-//=======================================================================
-//function : Perform
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 
 void Intf_InterferencePolygonPolyhedron::Perform 
   (const gp_Lin& theLin, const Polyhedron& thePolyh) 
@@ -451,10 +445,8 @@ Intf_InterferencePolygonPolyhedron::Intf_InterferencePolygonPolyhedron
 }
 
 
-//=======================================================================
-//function : Perform
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 
 void Intf_InterferencePolygonPolyhedron::Perform 
   (const Polygon3d& thePolyg, const Polyhedron& thePolyh,
@@ -473,10 +465,8 @@ void Intf_InterferencePolygonPolyhedron::Perform
 } 
 
 
-//=======================================================================
-//function : Perform
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 
 void Intf_InterferencePolygonPolyhedron::Perform 
   (const gp_Lin& theLin, const Polyhedron& thePolyh,
index 43d78f1e3c1f54339c2c4daaa8774fdd35ee062f..dafc1af11cb8a2d0ec9964a84dab6a74a665c560 100644 (file)
 // Alternatively, this file may be used under the terms of Open CASCADE
 // commercial license or contractual agreement.
 
-//=======================================================================
-// function : Bounding
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline const Bnd_Box2d& Intf_Polygon2d::Bounding() const
 {
index d42cc6bfcf331a65757aa027bba92dd04efa5c02..84559a488f56d6a5cb600e714e7744763bfeb58e 100644 (file)
 
 #include <Intf_SeqOfSectionPoint.hxx>
 
-//=======================================================================
-// function : NumberOfPoint
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer Intf_SectionLine::NumberOfPoints() const
 {
index d45a885c67a61ac5bc1b509e3d5c5797c8fc3dfd..5a65db4c407694597d36fa842a00f762b6ebae4f 100644 (file)
@@ -26,10 +26,7 @@ inline Standard_Integer Intf_TangentZone::NumberOfPoints() const
   return Result.Length();
 }
 
-//=======================================================================
-// function : ParamOnFirst
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void Intf_TangentZone::ParamOnFirst(Standard_Real& paraMin, Standard_Real& paraMax) const
 {
@@ -37,10 +34,7 @@ inline void Intf_TangentZone::ParamOnFirst(Standard_Real& paraMin, Standard_Real
   paraMax = ParamOnFirstMax;
 }
 
-//=======================================================================
-// function : ParamOnSecond
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void Intf_TangentZone::ParamOnSecond(Standard_Real& paraMin, Standard_Real& paraMax) const
 {
index abf99e551fe6d0f9b7cc736b7a1e87041196b082..c1274aeb3f2785dcd6db694403e1b955f134d6cc 100644 (file)
 #include <IntRes2d_IntersectionPoint.hxx>
 #include <gp_Vec2d.hxx>
 
-//=======================================================================
-//function : TopClass_Classifier2d
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 
 TopClass_Classifier2d::TopClass_Classifier2d() :
        myIsSet(Standard_False),
@@ -41,10 +39,8 @@ TopClass_Classifier2d::TopClass_Classifier2d() :
 {
 }
 
-//=======================================================================
-//function : Reset
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 
 void TopClass_Classifier2d::Reset(const gp_Lin2d& L,  
                                  const Standard_Real P,
@@ -63,10 +59,8 @@ void TopClass_Classifier2d::Reset(const gp_Lin2d& L,
 //  Modified by skv - Wed Jul 12 15:20:58 2006 OCC12627 End
 }
 
-//=======================================================================
-//function : Compare
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 
 void TopClass_Classifier2d::Compare(const TheEdge& E,
                                    const TopAbs_Orientation Or)
index a3b1f23718957aa831b01097ff453c997c367936..e653e78d83db004259f74ed387ac8ea275a0a91d 100644 (file)
 
 //  Modified by skv - Wed Jul 12 15:20:58 2006 OCC12627
 
-//=======================================================================
-// function : Parameter
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Real TopClass_Classifier2d::Parameter() const
 {
   return myParam;
 }
 
-//=======================================================================
-// function : Intersector
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline TheIntersector& TopClass_Classifier2d::Intersector()
 {
   return myIntersector;
 }
 
-//=======================================================================
-// function : ClosestIntersection
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer TopClass_Classifier2d::ClosestIntersection() const
 {
   return myClosest;
 }
 
-//=======================================================================
-// function : State
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline TopAbs_State TopClass_Classifier2d::State() const
 {
@@ -58,10 +46,7 @@ inline TopAbs_State TopClass_Classifier2d::State() const
 
 //  Modified by skv - Wed Jul 12 15:20:58 2006 OCC12627 Begin
 
-//=======================================================================
-// function : IsHeadOrEnd
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean TopClass_Classifier2d::IsHeadOrEnd() const
 {
index 7f8674928530331b7d15d3b26ecc44b174252d45..5599201258ac80036e766779eeeb6a9481560888 100644 (file)
 #include <IntRes2d_IntersectionSegment.hxx>
 #include <IntRes2d_IntersectionPoint.hxx>
 
-//=======================================================================
-//function : TopClass_FaceClassifier
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 
 TopClass_FaceClassifier::TopClass_FaceClassifier() :
 myEdgeParameter(0.0),
@@ -32,10 +30,8 @@ nowires(Standard_True)
 {
 }
 
-//=======================================================================
-//function : TopClass_FaceClassifier
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 
 TopClass_FaceClassifier::TopClass_FaceClassifier(TheFaceExplorer& FExp,
                                                 const gp_Pnt2d& P,
@@ -47,10 +43,8 @@ nowires(Standard_True)
   Perform(FExp,P,Tol);
 }
 
-//=======================================================================
-//function : Perform
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 
 void TopClass_FaceClassifier::Perform(TheFaceExplorer& Fexp,
                                      const gp_Pnt2d& P,
@@ -152,10 +146,8 @@ void TopClass_FaceClassifier::Perform(TheFaceExplorer& Fexp,
   }
 }
 
-//=======================================================================
-//function : State
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 
 TopAbs_State TopClass_FaceClassifier::State() const
 {
@@ -164,10 +156,8 @@ TopAbs_State TopClass_FaceClassifier::State() const
   else              return  myClassifier.State();
 }
 
-//=======================================================================
-//function : Edge
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 
 const TheEdge& TopClass_FaceClassifier::Edge() const
 {
@@ -177,10 +167,8 @@ const TheEdge& TopClass_FaceClassifier::Edge() const
 }
 
 
-//=======================================================================
-//function : EdgeParameter
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 
 Standard_Real TopClass_FaceClassifier::EdgeParameter() const
 {
index 70ffbb3548085bbb04788b0d3ee373e2422472b1..15f3e654e7c5913e134e08d944c94da5152b8780 100644 (file)
 
 #include TheFaceExplorer_hxx
 
-//=======================================================================
-// function : Rejected
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean TopClass_FaceClassifier::Rejected() const
 {
   return rejected;
 }
 
-//=======================================================================
-// function : Nowires
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean TopClass_FaceClassifier::NoWires() const
 {
   return nowires;
 }
 
-//=======================================================================
-// function : Position
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline IntRes2d_Position TopClass_FaceClassifier::Position() const
 {
index dfd290f83963fb83c7f7c1cd8b1371d3f5b9acdd..d10561dbf86285cdf34e133df8804f6527bd7e41 100644 (file)
 
 #include <HLRAlgo_EdgeStatus.hxx>
 
-//=======================================================================
-// function : MoreHidden
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean HLRAlgo_EdgeIterator::MoreHidden() const
 {
   return iHid <= myNbHid + 1;
 }
 
-//=======================================================================
-// function : Hidden
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void HLRAlgo_EdgeIterator::Hidden(Standard_Real&      Start,
                                          Standard_ShortReal& TolStart,
@@ -42,10 +36,7 @@ inline void HLRAlgo_EdgeIterator::Hidden(Standard_Real&      Start,
   TolEnd   = myHidTolEnd;
 }
 
-//=======================================================================
-// function : InitVisible
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void HLRAlgo_EdgeIterator::InitVisible(HLRAlgo_EdgeStatus& status)
 {
@@ -54,30 +45,21 @@ inline void HLRAlgo_EdgeIterator::InitVisible(HLRAlgo_EdgeStatus& status)
   myNbVis = ((HLRAlgo_EdgeStatus*)EVis)->NbVisiblePart();
 }
 
-//=======================================================================
-// function : MoreVisible
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean HLRAlgo_EdgeIterator::MoreVisible() const
 {
   return iVis <= myNbVis;
 }
 
-//=======================================================================
-// function : NextVisible
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void HLRAlgo_EdgeIterator::NextVisible()
 {
   iVis++;
 }
 
-//=======================================================================
-// function : Visible
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void HLRAlgo_EdgeIterator::Visible(Standard_Real&      Start,
                                           Standard_ShortReal& TolStart,
index 9455ef5ab2cd0ce254aa08575c83211fda649aa7..8540604738506086c87e7264fa0ee48206bf01a3 100644 (file)
 // Alternatively, this file may be used under the terms of Open CASCADE
 // commercial license or contractual agreement.
 
-//=======================================================================
-// function : Orientation
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void HLRAlgo_Intersection::Orientation(const TopAbs_Orientation Ori)
 {
   myOrien = Ori;
 }
 
-//=======================================================================
-// function : Orientation
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline TopAbs_Orientation HLRAlgo_Intersection::Orientation() const
 {
   return myOrien;
 }
 
-//=======================================================================
-// function : Level
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void HLRAlgo_Intersection::Level(const Standard_Integer Lev)
 {
   myLevel = Lev;
 }
 
-//=======================================================================
-// function : Level
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer HLRAlgo_Intersection::Level() const
 {
   return myLevel;
 }
 
-//=======================================================================
-// function : SegIndex
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void HLRAlgo_Intersection::SegIndex(const Standard_Integer SegInd)
 {
   mySegIndex = SegInd;
 }
 
-//=======================================================================
-// function : SegIndex
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer HLRAlgo_Intersection::SegIndex() const
 {
   return mySegIndex;
 }
 
-//=======================================================================
-// function : Index
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void HLRAlgo_Intersection::Index(const Standard_Integer Ind)
 {
   myIndex = Ind;
 }
 
-//=======================================================================
-// function : Index
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer HLRAlgo_Intersection::Index() const
 {
   return myIndex;
 }
 
-//=======================================================================
-// function : Parameter
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void HLRAlgo_Intersection::Parameter(const Standard_Real P)
 {
   myParam = P;
 }
 
-//=======================================================================
-// function : Parameter
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Real HLRAlgo_Intersection::Parameter() const
 {
   return myParam;
 }
 
-//=======================================================================
-// function : Tolerance
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void HLRAlgo_Intersection::Tolerance(const Standard_ShortReal T)
 {
   myToler = T;
 }
 
-//=======================================================================
-// function : Tolerance
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_ShortReal HLRAlgo_Intersection::Tolerance() const
 {
   return myToler;
 }
 
-//=======================================================================
-// function : State
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void HLRAlgo_Intersection::State(const TopAbs_State St)
 {
   myState = St;
 }
 
-//=======================================================================
-// function : State
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline TopAbs_State HLRAlgo_Intersection::State() const
 {
index 6962183e3f90925b6f528977f7eaae4df4b5720c..5f25266d07665669782ee040ab4397a1dae5dc44 100644 (file)
 #include <HLRAlgo_HArray1OfTData.hxx>
 #include <HLRAlgo_HArray1OfPHDat.hxx>
 
-//=======================================================================
-// function : FaceIndex
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void HLRAlgo_PolyData::FaceIndex(const Standard_Integer I)
 {
   myFaceIndices.Index = I;
 }
 
-//=======================================================================
-// function : FaceIndex
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer HLRAlgo_PolyData::FaceIndex() const
 {
   return myFaceIndices.Index;
 }
 
-//=======================================================================
-// function : Nodes
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline TColgp_Array1OfXYZ& HLRAlgo_PolyData::Nodes() const
 {
   return myHNodes->ChangeArray1();
 }
 
-//=======================================================================
-// function : TData
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline HLRAlgo_Array1OfTData& HLRAlgo_PolyData::TData() const
 {
   return myHTData->ChangeArray1();
 }
 
-//=======================================================================
-// function : PHDat
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline HLRAlgo_Array1OfPHDat& HLRAlgo_PolyData::PHDat() const
 {
   return myHPHDat->ChangeArray1();
 }
 
-//=======================================================================
-// function : Hiding
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean HLRAlgo_PolyData::Hiding() const
 {
index 3b597b0fba4e5faa071bfdd67981aa68510e450f..bad7dfde08f2b3dba6c43047dee7574f2da766d3 100644 (file)
 #include <HLRAlgo_HArray1OfPISeg.hxx>
 #include <HLRAlgo_HArray1OfPINod.hxx>
 
-//=======================================================================
-// function : DecTData
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void HLRAlgo_PolyInternalData::DecTData()
 {
   myNbTData--;
 }
 
-//=======================================================================
-// function : DecPISeg
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void HLRAlgo_PolyInternalData::DecPISeg()
 {
   myNbPISeg--;
 }
 
-//=======================================================================
-// function : DecPINod
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void HLRAlgo_PolyInternalData::DecPINod()
 {
   myNbPINod--;
 }
 
-//=======================================================================
-// function : NbTData
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer HLRAlgo_PolyInternalData::NbTData() const
 {
   return myNbTData;
 }
 
-//=======================================================================
-// function : NbPISeg
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer HLRAlgo_PolyInternalData::NbPISeg() const
 {
   return myNbPISeg;
 }
 
-//=======================================================================
-// function : NbPINod
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer HLRAlgo_PolyInternalData::NbPINod() const
 {
   return myNbPINod;
 }
 
-//=======================================================================
-// function : Planar
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean HLRAlgo_PolyInternalData::Planar() const
 {
   return myPlanar;
 }
 
-//=======================================================================
-// function : Planar
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void HLRAlgo_PolyInternalData::Planar(const Standard_Boolean B)
 {
   myPlanar = B;
 }
 
-//=======================================================================
-// function : IntOutL
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean HLRAlgo_PolyInternalData::IntOutL() const
 {
   return myIntOutL;
 }
 
-//=======================================================================
-// function : IntOutL
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void HLRAlgo_PolyInternalData::IntOutL(const Standard_Boolean B)
 {
   myIntOutL = B;
 }
 
-//=======================================================================
-// function : TData
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline HLRAlgo_Array1OfTData& HLRAlgo_PolyInternalData::TData() const
 {
   return myTData->ChangeArray1();
 }
 
-//=======================================================================
-// function : PINod
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline HLRAlgo_Array1OfPINod& HLRAlgo_PolyInternalData::PINod() const
 {
   return myPINod->ChangeArray1();
 }
 
-//=======================================================================
-// function : PISeg
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline HLRAlgo_Array1OfPISeg& HLRAlgo_PolyInternalData::PISeg() const
 {
index 0ef034a7b70d4efbe564ed11f74634b3f15fda0e..bbd806f39e5e264260bc24f60d3ab38ecccceb66 100644 (file)
 #include <gp_Vec.hxx>
 #include <gp_Pnt.hxx>
 
-//=======================================================================
-// function : Directions
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void HLRAlgo_Projector::Directions(gp_Vec2d& D1, gp_Vec2d& D2, gp_Vec2d& D3) const
 {
@@ -30,10 +27,7 @@ inline void HLRAlgo_Projector::Directions(gp_Vec2d& D1, gp_Vec2d& D2, gp_Vec2d&
   D3 = myD3;
 }
 
-//=======================================================================
-// function : Perspective
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean HLRAlgo_Projector::Perspective() const
 {
@@ -41,38 +35,27 @@ inline Standard_Boolean HLRAlgo_Projector::Perspective() const
 }
 
 /*
-//=======================================================================
-//function : Transformation
-//purpose  :
-//=======================================================================
+//=================================================================================================
+
 
 inline const gp_Trsf & HLRAlgo_Projector::Transformation() const
 { return myTrsf; }
 */
-//=======================================================================
-// function : InvertedTransformation
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline const gp_Trsf& HLRAlgo_Projector::InvertedTransformation() const
 {
   return myInvTrsf;
 }
 
-//=======================================================================
-// function : FullTransformation
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline const gp_Trsf& HLRAlgo_Projector::FullTransformation() const
 {
   return myScaledTrsf;
 }
 
-//=======================================================================
-// function : Focus
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Real HLRAlgo_Projector::Focus() const
 {
@@ -80,20 +63,14 @@ inline Standard_Real HLRAlgo_Projector::Focus() const
   return myFocus;
 }
 
-//=======================================================================
-// function : Transform
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void HLRAlgo_Projector::Transform(gp_Vec& D) const
 {
   D.Transform(myTrsf);
 }
 
-//=======================================================================
-// function : Transform
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void HLRAlgo_Projector::Transform(gp_Pnt& Pnt) const
 {
index ea3b00521cc6cd49edeaef966d6859895d2ef433..c17531fc11a939cdb736c1324772568aaf5cc715 100644 (file)
 #include <gp_Hypr.hxx>
 #include <BRepAdaptor_Curve.hxx>
 
-//=======================================================================
-// function : FirstParameter
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Real HLRBRep_BCurveTool::FirstParameter(const BRepAdaptor_Curve& C)
 {
   return (C.FirstParameter());
 }
 
-//=======================================================================
-// function : LastParameter
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Real HLRBRep_BCurveTool::LastParameter(const BRepAdaptor_Curve& C)
 {
   return (C.LastParameter());
 }
 
-//=======================================================================
-// function : Continuity
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline GeomAbs_Shape HLRBRep_BCurveTool::Continuity(const BRepAdaptor_Curve& C)
 {
   return (C.Continuity());
 }
 
-//=======================================================================
-// function : NbIntervals
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer HLRBRep_BCurveTool::NbIntervals(const BRepAdaptor_Curve& C,
                                                         const GeomAbs_Shape      Sh)
@@ -65,10 +53,7 @@ inline Standard_Integer HLRBRep_BCurveTool::NbIntervals(const BRepAdaptor_Curve&
   return (C.NbIntervals(Sh));
 }
 
-//=======================================================================
-// function : Intervals
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void HLRBRep_BCurveTool::Intervals(const BRepAdaptor_Curve& C,
                                           TColStd_Array1OfReal&    Tab,
@@ -77,60 +62,42 @@ inline void HLRBRep_BCurveTool::Intervals(const BRepAdaptor_Curve& C,
   C.Intervals(Tab, Sh);
 }
 
-//=======================================================================
-// function : IsClosed
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean HLRBRep_BCurveTool::IsClosed(const BRepAdaptor_Curve& C)
 {
   return (C.IsClosed());
 }
 
-//=======================================================================
-// function : IsPeriodic
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean HLRBRep_BCurveTool::IsPeriodic(const BRepAdaptor_Curve& C)
 {
   return (C.IsPeriodic());
 }
 
-//=======================================================================
-// function : Period
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Real HLRBRep_BCurveTool::Period(const BRepAdaptor_Curve& C)
 {
   return (C.Period());
 }
 
-//=======================================================================
-// function : Value
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline gp_Pnt HLRBRep_BCurveTool::Value(const BRepAdaptor_Curve& C, const Standard_Real U)
 {
   return (C.Value(U));
 }
 
-//=======================================================================
-// function : D0
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void HLRBRep_BCurveTool::D0(const BRepAdaptor_Curve& C, const Standard_Real U, gp_Pnt& P)
 {
   C.D0(U, P);
 }
 
-//=======================================================================
-// function : D1
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void HLRBRep_BCurveTool::D1(const BRepAdaptor_Curve& C,
                                    const Standard_Real      U,
@@ -149,10 +116,7 @@ inline void HLRBRep_BCurveTool::D2(const BRepAdaptor_Curve& C,
   C.D2(U, P, T, N);
 }
 
-//=======================================================================
-// function : D3
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void HLRBRep_BCurveTool::D3(const BRepAdaptor_Curve& C,
                                    const Standard_Real      U,
@@ -164,10 +128,7 @@ inline void HLRBRep_BCurveTool::D3(const BRepAdaptor_Curve& C,
   C.D3(U, P, V1, V2, V3);
 }
 
-//=======================================================================
-// function : DN
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline gp_Vec HLRBRep_BCurveTool::DN(const BRepAdaptor_Curve& C,
                                      const Standard_Real      U,
@@ -176,10 +137,7 @@ inline gp_Vec HLRBRep_BCurveTool::DN(const BRepAdaptor_Curve& C,
   return (C.DN(U, N));
 }
 
-//=======================================================================
-// function : Resolution
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Real HLRBRep_BCurveTool::Resolution(const BRepAdaptor_Curve& C,
                                                     const Standard_Real      R3d)
@@ -187,100 +145,70 @@ inline Standard_Real HLRBRep_BCurveTool::Resolution(const BRepAdaptor_Curve& C,
   return (C.Resolution(R3d));
 }
 
-//=======================================================================
-// function : GetType
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline GeomAbs_CurveType HLRBRep_BCurveTool::GetType(const BRepAdaptor_Curve& C)
 {
   return (C.GetType());
 }
 
-//=======================================================================
-// function : Line
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline gp_Lin HLRBRep_BCurveTool::Line(const BRepAdaptor_Curve& C)
 {
   return (C.Line());
 }
 
-//=======================================================================
-// function : Circle
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline gp_Circ HLRBRep_BCurveTool::Circle(const BRepAdaptor_Curve& C)
 {
   return (C.Circle());
 }
 
-//=======================================================================
-// function : Ellipse
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline gp_Elips HLRBRep_BCurveTool::Ellipse(const BRepAdaptor_Curve& C)
 {
   return (C.Ellipse());
 }
 
-//=======================================================================
-// function : Parabola
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline gp_Parab HLRBRep_BCurveTool::Parabola(const BRepAdaptor_Curve& C)
 {
   return (C.Parabola());
 }
 
-//=======================================================================
-// function : Hyperbola
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline gp_Hypr HLRBRep_BCurveTool::Hyperbola(const BRepAdaptor_Curve& C)
 {
   return (C.Hyperbola());
 }
 
-//=======================================================================
-// function : Degree
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer HLRBRep_BCurveTool::Degree(const BRepAdaptor_Curve& C)
 {
   return (C.Degree());
 }
 
-//=======================================================================
-// function : IsRational
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean HLRBRep_BCurveTool::IsRational(const BRepAdaptor_Curve& C)
 {
   return (C.IsRational());
 }
 
-//=======================================================================
-// function : NbPoles
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer HLRBRep_BCurveTool::NbPoles(const BRepAdaptor_Curve& C)
 {
   return (C.NbPoles());
 }
 
-//=======================================================================
-// function : NbKnots
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer HLRBRep_BCurveTool::NbKnots(const BRepAdaptor_Curve& C)
 {
index 6c714603c9d78f2ed33a904fd96f1a37594b24de..6c0d6b1bdbbde159197cd8651ccc8c59b0465218 100644 (file)
 #include <Adaptor3d_Curve.hxx>
 #include <BRepAdaptor_Surface.hxx>
 
-//=======================================================================
-// function : FirstUParameter
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Real HLRBRep_BSurfaceTool::FirstUParameter(const BRepAdaptor_Surface& Surf)
 {
   return Surf.FirstUParameter();
 }
 
-//=======================================================================
-// function : FirstVParameter
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Real HLRBRep_BSurfaceTool::FirstVParameter(const BRepAdaptor_Surface& Surf)
 {
   return Surf.FirstVParameter();
 }
 
-//=======================================================================
-// function : LastUParameter
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Real HLRBRep_BSurfaceTool::LastUParameter(const BRepAdaptor_Surface& Surf)
 {
   return Surf.LastUParameter();
 }
 
-//=======================================================================
-// function : LastVParameter
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Real HLRBRep_BSurfaceTool::LastVParameter(const BRepAdaptor_Surface& Surf)
 {
   return Surf.LastVParameter();
 }
 
-//=======================================================================
-// function : NbUIntervals
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer HLRBRep_BSurfaceTool::NbUIntervals(const BRepAdaptor_Surface& Surf,
                                                            const GeomAbs_Shape        S)
@@ -79,10 +64,7 @@ inline Standard_Integer HLRBRep_BSurfaceTool::NbUIntervals(const BRepAdaptor_Sur
   return Surf.NbUIntervals(S);
 }
 
-//=======================================================================
-// function : NbVIntervals
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer HLRBRep_BSurfaceTool::NbVIntervals(const BRepAdaptor_Surface& Surf,
                                                            const GeomAbs_Shape        S)
@@ -90,10 +72,7 @@ inline Standard_Integer HLRBRep_BSurfaceTool::NbVIntervals(const BRepAdaptor_Sur
   return Surf.NbVIntervals(S);
 }
 
-//=======================================================================
-// function : UIntervals
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void HLRBRep_BSurfaceTool::UIntervals(const BRepAdaptor_Surface& Surf,
                                              TColStd_Array1OfReal&      Tab,
@@ -102,10 +81,7 @@ inline void HLRBRep_BSurfaceTool::UIntervals(const BRepAdaptor_Surface& Surf,
   Surf.UIntervals(Tab, S);
 }
 
-//=======================================================================
-// function : VIntervals
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void HLRBRep_BSurfaceTool::VIntervals(const BRepAdaptor_Surface& Surf,
                                              TColStd_Array1OfReal&      Tab,
@@ -114,10 +90,7 @@ inline void HLRBRep_BSurfaceTool::VIntervals(const BRepAdaptor_Surface& Surf,
   Surf.VIntervals(Tab, S);
 }
 
-//=======================================================================
-// function : UTrim
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Handle(Adaptor3d_Surface) HLRBRep_BSurfaceTool::UTrim(const BRepAdaptor_Surface& Surf,
                                                              const Standard_Real        F,
@@ -127,10 +100,7 @@ inline Handle(Adaptor3d_Surface) HLRBRep_BSurfaceTool::UTrim(const BRepAdaptor_S
   return Surf.UTrim(F, L, Tol);
 }
 
-//=======================================================================
-// function : VTrim
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Handle(Adaptor3d_Surface) HLRBRep_BSurfaceTool::VTrim(const BRepAdaptor_Surface& Surf,
                                                              const Standard_Real        F,
@@ -140,70 +110,49 @@ inline Handle(Adaptor3d_Surface) HLRBRep_BSurfaceTool::VTrim(const BRepAdaptor_S
   return Surf.VTrim(F, L, Tol);
 }
 
-//=======================================================================
-// function : IsUClosed
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean HLRBRep_BSurfaceTool::IsUClosed(const BRepAdaptor_Surface& S)
 {
   return S.IsUClosed();
 }
 
-//=======================================================================
-// function : IsVClosed
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean HLRBRep_BSurfaceTool::IsVClosed(const BRepAdaptor_Surface& S)
 {
   return S.IsVClosed();
 }
 
-//=======================================================================
-// function : IsUPeriodic
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean HLRBRep_BSurfaceTool::IsUPeriodic(const BRepAdaptor_Surface& S)
 {
   return S.IsUPeriodic();
 }
 
-//=======================================================================
-// function : UPeriod
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Real HLRBRep_BSurfaceTool::UPeriod(const BRepAdaptor_Surface& S)
 {
   return S.UPeriod();
 }
 
-//=======================================================================
-// function : IsVPeriodic
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean HLRBRep_BSurfaceTool::IsVPeriodic(const BRepAdaptor_Surface& S)
 {
   return S.IsVPeriodic();
 }
 
-//=======================================================================
-// function : VPeriod
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Real HLRBRep_BSurfaceTool::VPeriod(const BRepAdaptor_Surface& S)
 {
   return S.VPeriod();
 }
 
-//=======================================================================
-// function : Value
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline gp_Pnt HLRBRep_BSurfaceTool::Value(const BRepAdaptor_Surface& S,
                                           const Standard_Real        U,
@@ -212,10 +161,7 @@ inline gp_Pnt HLRBRep_BSurfaceTool::Value(const BRepAdaptor_Surface& S,
   return S.Value(U, V);
 }
 
-//=======================================================================
-// function : D0
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void HLRBRep_BSurfaceTool::D0(const BRepAdaptor_Surface& S,
                                      const Standard_Real        U,
@@ -225,10 +171,7 @@ inline void HLRBRep_BSurfaceTool::D0(const BRepAdaptor_Surface& S,
   S.D0(U, V, P);
 }
 
-//=======================================================================
-// function : D1
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void HLRBRep_BSurfaceTool::D1(const BRepAdaptor_Surface& S,
                                      const Standard_Real        U,
@@ -240,10 +183,7 @@ inline void HLRBRep_BSurfaceTool::D1(const BRepAdaptor_Surface& S,
   S.D1(U, V, P, D1U, D1V);
 }
 
-//=======================================================================
-// function : D2
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void HLRBRep_BSurfaceTool::D2(const BRepAdaptor_Surface& S,
                                      const Standard_Real        U,
@@ -258,10 +198,7 @@ inline void HLRBRep_BSurfaceTool::D2(const BRepAdaptor_Surface& S,
   S.D2(U, V, P, D1U, D1V, D2U, D2V, D2UV);
 }
 
-//=======================================================================
-// function : D3
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void HLRBRep_BSurfaceTool::D3(const BRepAdaptor_Surface& S,
                                      const Standard_Real        U,
@@ -280,10 +217,7 @@ inline void HLRBRep_BSurfaceTool::D3(const BRepAdaptor_Surface& S,
   S.D3(U, V, P, D1U, D1V, D2U, D2V, D2UV, D3U, D3V, D3UUV, D3UVV);
 }
 
-//=======================================================================
-// function : DN
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline gp_Vec HLRBRep_BSurfaceTool::DN(const BRepAdaptor_Surface& S,
                                        const Standard_Real        U,
@@ -294,10 +228,7 @@ inline gp_Vec HLRBRep_BSurfaceTool::DN(const BRepAdaptor_Surface& S,
   return S.DN(U, V, Nu, Nv);
 }
 
-//=======================================================================
-// function : UResolution
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Real HLRBRep_BSurfaceTool::UResolution(const BRepAdaptor_Surface& S,
                                                        const Standard_Real        R3d)
@@ -305,10 +236,7 @@ inline Standard_Real HLRBRep_BSurfaceTool::UResolution(const BRepAdaptor_Surface
   return S.UResolution(R3d);
 }
 
-//=======================================================================
-// function : VResolution
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Real HLRBRep_BSurfaceTool::VResolution(const BRepAdaptor_Surface& S,
                                                        const Standard_Real        R3d)
@@ -316,210 +244,147 @@ inline Standard_Real HLRBRep_BSurfaceTool::VResolution(const BRepAdaptor_Surface
   return S.VResolution(R3d);
 }
 
-//=======================================================================
-// function : GetType
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline GeomAbs_SurfaceType HLRBRep_BSurfaceTool::GetType(const BRepAdaptor_Surface& S)
 {
   return S.GetType();
 }
 
-//=======================================================================
-// function : Plane
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline gp_Pln HLRBRep_BSurfaceTool::Plane(const BRepAdaptor_Surface& S)
 {
   return S.Plane();
 }
 
-//=======================================================================
-// function : Cylinder
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline gp_Cylinder HLRBRep_BSurfaceTool::Cylinder(const BRepAdaptor_Surface& S)
 {
   return S.Cylinder();
 }
 
-//=======================================================================
-// function : Cone
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline gp_Cone HLRBRep_BSurfaceTool::Cone(const BRepAdaptor_Surface& S)
 {
   return S.Cone();
 }
 
-//=======================================================================
-// function : Sphere
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline gp_Sphere HLRBRep_BSurfaceTool::Sphere(const BRepAdaptor_Surface& S)
 {
   return S.Sphere();
 }
 
-//=======================================================================
-// function : Torus
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline gp_Torus HLRBRep_BSurfaceTool::Torus(const BRepAdaptor_Surface& S)
 {
   return S.Torus();
 }
 
-//=======================================================================
-// function : Bezier
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Handle(Geom_BezierSurface) HLRBRep_BSurfaceTool::Bezier(const BRepAdaptor_Surface& S)
 {
   return (S.Bezier());
 }
 
-//=======================================================================
-// function : BSpline
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Handle(Geom_BSplineSurface) HLRBRep_BSurfaceTool::BSpline(const BRepAdaptor_Surface& S)
 {
   return (S.BSpline());
 }
 
-//=======================================================================
-// function : AxeOfRevolution
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline gp_Ax1 HLRBRep_BSurfaceTool::AxeOfRevolution(const BRepAdaptor_Surface& S)
 {
   return (S.AxeOfRevolution());
 }
 
-//=======================================================================
-// function : Direction
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline gp_Dir HLRBRep_BSurfaceTool::Direction(const BRepAdaptor_Surface& S)
 {
   return (S.Direction());
 }
 
-//=======================================================================
-// function : BasisCurve
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Handle(Adaptor3d_Curve) HLRBRep_BSurfaceTool::BasisCurve(const BRepAdaptor_Surface& S)
 {
   return (S.BasisCurve());
 }
 
-//=======================================================================
-// function : UContinuity
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline GeomAbs_Shape HLRBRep_BSurfaceTool::UContinuity(const BRepAdaptor_Surface& S)
 {
   return (S.UContinuity());
 }
 
-//=======================================================================
-// function : VContinuity
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline GeomAbs_Shape HLRBRep_BSurfaceTool::VContinuity(const BRepAdaptor_Surface& S)
 {
   return (S.VContinuity());
 }
 
-//=======================================================================
-// function : UDegree
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer HLRBRep_BSurfaceTool::UDegree(const BRepAdaptor_Surface& S)
 {
   return (S.UDegree());
 }
 
-//=======================================================================
-// function : NbUPoles
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer HLRBRep_BSurfaceTool::NbUPoles(const BRepAdaptor_Surface& S)
 {
   return (S.NbUPoles());
 }
 
-//=======================================================================
-// function : NbUKnots
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer HLRBRep_BSurfaceTool::NbUKnots(const BRepAdaptor_Surface& S)
 {
   return (S.NbUKnots());
 }
 
-//=======================================================================
-// function : IsURational
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean HLRBRep_BSurfaceTool::IsURational(const BRepAdaptor_Surface& S)
 {
   return (S.IsURational());
 }
 
-//=======================================================================
-// function : VDegree
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer HLRBRep_BSurfaceTool::VDegree(const BRepAdaptor_Surface& S)
 {
   return (S.VDegree());
 }
 
-//=======================================================================
-// function : NbVPoles
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer HLRBRep_BSurfaceTool::NbVPoles(const BRepAdaptor_Surface& S)
 {
   return (S.NbVPoles());
 }
 
-//=======================================================================
-// function : NbVKnots
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer HLRBRep_BSurfaceTool::NbVKnots(const BRepAdaptor_Surface& S)
 {
   return (S.NbVKnots());
 }
 
-//=======================================================================
-// function : IsVRational
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean HLRBRep_BSurfaceTool::IsVRational(const BRepAdaptor_Surface& S)
 {
index 6ce15a4f23daabc3c34eb85ce6051f1ee34c3bf8..359a65b1cfd048f197b4e99989b6b31c80afbb18 100644 (file)
 #include <HLRBRep_Curve.hxx>
 #include <GeomAbs_Shape.hxx>
 
-//=======================================================================
-// function : Value
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void HLRBRep_CLPropsATool::Value(const HLRBRep_Curve* A, const Standard_Real U, gp_Pnt2d& P)
 {
   P = A->Value(U);
 }
 
-//=======================================================================
-// function : D1
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void HLRBRep_CLPropsATool::D1(const HLRBRep_Curve* A,
                                      const Standard_Real  U,
@@ -41,10 +35,7 @@ inline void HLRBRep_CLPropsATool::D1(const HLRBRep_Curve* A,
   A->D1(U, P, V1);
 }
 
-//=======================================================================
-// function : D2
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void HLRBRep_CLPropsATool::D2(const HLRBRep_Curve* A,
                                      const Standard_Real  U,
@@ -55,10 +46,7 @@ inline void HLRBRep_CLPropsATool::D2(const HLRBRep_Curve* A,
   A->D2(U, P, V1, V2);
 }
 
-//=======================================================================
-// function : D3
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void HLRBRep_CLPropsATool::D3(const HLRBRep_Curve* A,
                                      const Standard_Real  U,
@@ -70,30 +58,21 @@ inline void HLRBRep_CLPropsATool::D3(const HLRBRep_Curve* A,
   A->D3(U, P, V1, V2, V3);
 }
 
-//=======================================================================
-// function : Continuity
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer HLRBRep_CLPropsATool::Continuity(const HLRBRep_Curve*)
 {
   return GeomAbs_C2;
 }
 
-//=======================================================================
-// function : FirstParameter
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Real HLRBRep_CLPropsATool::FirstParameter(const HLRBRep_Curve* A)
 {
   return A->FirstParameter();
 }
 
-//=======================================================================
-// function : LastParameter
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Real HLRBRep_CLPropsATool::LastParameter(const HLRBRep_Curve* A)
 {
index fa0db7b3b1e8a07554dd3bddf6e1efefa4c8fd7c..86682b3e3ab43e773fbdd4bd9de2725ee62e74e1 100644 (file)
 #include <gp_Parab2d.hxx>
 #include <HLRBRep_BCurveTool.hxx>
 
-//=======================================================================
-// function : Curve
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline BRepAdaptor_Curve& HLRBRep_Curve::Curve()
 {
   return myCurve;
 }
 
-//=======================================================================
-// function : GetCurve
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline const BRepAdaptor_Curve& HLRBRep_Curve::GetCurve() const
 {
   return myCurve;
 }
 
-//=======================================================================
-// function : Value3D
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline gp_Pnt HLRBRep_Curve::Value3D(const Standard_Real U) const
 {
@@ -56,110 +47,77 @@ inline gp_Pnt HLRBRep_Curve::Value3D(const Standard_Real U) const
   return P;
 }
 
-//=======================================================================
-// function : D0
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void HLRBRep_Curve::D0(const Standard_Real U, gp_Pnt& P) const
 {
   HLRBRep_BCurveTool::D0(myCurve, U, P);
 }
 
-//=======================================================================
-// function : D1
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void HLRBRep_Curve::D1(const Standard_Real U, gp_Pnt& P, gp_Vec& V) const
 {
   HLRBRep_BCurveTool::D1(myCurve, U, P, V);
 }
 
-//=======================================================================
-// function : FirstParameter
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Real HLRBRep_Curve::FirstParameter() const
 {
   return Parameter2d(HLRBRep_BCurveTool::FirstParameter(myCurve));
 }
 
-//=======================================================================
-// function : LastParameter
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Real HLRBRep_Curve::LastParameter() const
 {
   return Parameter2d(HLRBRep_BCurveTool::LastParameter(myCurve));
 }
 
-//=======================================================================
-// function : Continuity
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline GeomAbs_Shape HLRBRep_Curve::Continuity() const
 {
   return HLRBRep_BCurveTool::Continuity(myCurve);
 }
 
-//=======================================================================
-// function : NbIntervals
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer HLRBRep_Curve::NbIntervals(const GeomAbs_Shape S) const
 {
   return HLRBRep_BCurveTool::NbIntervals(myCurve, S);
 }
 
-//=======================================================================
-// function : Intervals
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void HLRBRep_Curve::Intervals(TColStd_Array1OfReal& Tab, const GeomAbs_Shape Sh) const
 {
   HLRBRep_BCurveTool::Intervals(myCurve, Tab, Sh);
 }
 
-//=======================================================================
-// function : IsClosed
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean HLRBRep_Curve::IsClosed() const
 {
   return HLRBRep_BCurveTool::IsClosed(myCurve);
 }
 
-//=======================================================================
-// function : IsPeriodic
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean HLRBRep_Curve::IsPeriodic() const
 {
   return HLRBRep_BCurveTool::IsPeriodic(myCurve);
 }
 
-//=======================================================================
-// function : Period
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Real HLRBRep_Curve::Period() const
 {
   return HLRBRep_BCurveTool::Period(myCurve);
 }
 
-//=======================================================================
-// function : Value
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline gp_Pnt2d HLRBRep_Curve::Value(const Standard_Real U) const
 {
@@ -168,60 +126,42 @@ inline gp_Pnt2d HLRBRep_Curve::Value(const Standard_Real U) const
   return P;
 }
 
-//=======================================================================
-// function : Resolution
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Real HLRBRep_Curve::Resolution(const Standard_Real R3d) const
 {
   return HLRBRep_BCurveTool::Resolution(myCurve, R3d);
 }
 
-//=======================================================================
-// function : GetType
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline GeomAbs_CurveType HLRBRep_Curve::GetType() const
 {
   return myType;
 }
 
-//=======================================================================
-// function : Degree
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer HLRBRep_Curve::Degree() const
 {
   return HLRBRep_BCurveTool::Degree(myCurve);
 }
 
-//=======================================================================
-// function : NbPoles
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer HLRBRep_Curve::NbPoles() const
 {
   return HLRBRep_BCurveTool::NbPoles(myCurve);
 }
 
-//=======================================================================
-// function : NbKnots
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer HLRBRep_Curve::NbKnots() const
 {
   return HLRBRep_BCurveTool::NbKnots(myCurve);
 }
 
-//=======================================================================
-// function : IsRational
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean HLRBRep_Curve::IsRational() const
 {
index 9b2c3bb5d194bbc5f06361f58206ccdfd2eb4a2b..36f2f0acae5a5f3f9de2cafe2a02b6bb13c678d0 100644 (file)
 
 #define IS_C2_COMPOSITE 0
 
-//=======================================================================
-// function : FirstParameter
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Real HLRBRep_CurveTool::FirstParameter(const Standard_Address C)
 {
   return (((HLRBRep_Curve*)C)->FirstParameter());
 }
 
-//=======================================================================
-// function : LastParameter
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Real HLRBRep_CurveTool::LastParameter(const Standard_Address C)
 {
   return (((HLRBRep_Curve*)C)->LastParameter());
 }
 
-//=======================================================================
-// function : Continuity
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline GeomAbs_Shape HLRBRep_CurveTool::Continuity(const Standard_Address C)
 {
   return (((HLRBRep_Curve*)C)->Continuity());
 }
 
-//=======================================================================
-// function : NbIntervals
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer HLRBRep_CurveTool::NbIntervals(const Standard_Address C)
 {
@@ -73,10 +61,7 @@ inline Standard_Integer HLRBRep_CurveTool::NbIntervals(const Standard_Address C)
 #endif
 }
 
-//=======================================================================
-// function : Intervals
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void HLRBRep_CurveTool::Intervals(const Standard_Address C, TColStd_Array1OfReal& Tab)
 {
@@ -87,10 +72,7 @@ inline void HLRBRep_CurveTool::Intervals(const Standard_Address C, TColStd_Array
 #endif
 }
 
-//=======================================================================
-// function : GetInterval
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void HLRBRep_CurveTool::GetInterval(const Standard_Address /*C*/,
                                            const Standard_Integer      i,
@@ -102,60 +84,42 @@ inline void HLRBRep_CurveTool::GetInterval(const Standard_Address /*C*/,
   b = Tab.Value(i + 1);
 }
 
-//=======================================================================
-// function : IsClosed
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean HLRBRep_CurveTool::IsClosed(const Standard_Address C)
 {
   return (((HLRBRep_Curve*)C)->IsClosed());
 }
 
-//=======================================================================
-// function : IsPeriodic
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean HLRBRep_CurveTool::IsPeriodic(const Standard_Address C)
 {
   return (((HLRBRep_Curve*)C)->IsPeriodic());
 }
 
-//=======================================================================
-// function : Period
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Real HLRBRep_CurveTool::Period(const Standard_Address C)
 {
   return (((HLRBRep_Curve*)C)->Period());
 }
 
-//=======================================================================
-// function : Value
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline gp_Pnt2d HLRBRep_CurveTool::Value(const Standard_Address C, const Standard_Real U)
 {
   return (((HLRBRep_Curve*)C)->Value(U));
 }
 
-//=======================================================================
-// function : D0
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void HLRBRep_CurveTool::D0(const Standard_Address C, const Standard_Real U, gp_Pnt2d& P)
 {
   ((HLRBRep_Curve*)C)->D0(U, P);
 }
 
-//=======================================================================
-// function : D1
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void HLRBRep_CurveTool::D1(const Standard_Address C,
                                   const Standard_Real    U,
@@ -165,10 +129,7 @@ inline void HLRBRep_CurveTool::D1(const Standard_Address C,
   ((HLRBRep_Curve*)C)->D1(U, P, T);
 }
 
-//=======================================================================
-// function : D2
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void HLRBRep_CurveTool::D2(const Standard_Address C,
                                   const Standard_Real    U,
@@ -179,10 +140,7 @@ inline void HLRBRep_CurveTool::D2(const Standard_Address C,
   ((HLRBRep_Curve*)C)->D2(U, P, T, N);
 }
 
-//=======================================================================
-// function : D3
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void HLRBRep_CurveTool::D3(const Standard_Address C,
                                   const Standard_Real    U,
@@ -194,10 +152,7 @@ inline void HLRBRep_CurveTool::D3(const Standard_Address C,
   ((HLRBRep_Curve*)C)->D3(U, P, V1, V2, V3);
 }
 
-//=======================================================================
-// function : DN
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline gp_Vec2d HLRBRep_CurveTool::DN(const Standard_Address C,
                                       const Standard_Real    U,
@@ -206,10 +161,7 @@ inline gp_Vec2d HLRBRep_CurveTool::DN(const Standard_Address C,
   return (((HLRBRep_Curve*)C)->DN(U, N));
 }
 
-//=======================================================================
-// function : Resolution
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Real HLRBRep_CurveTool::Resolution(const Standard_Address C,
                                                    const Standard_Real    R3d)
@@ -217,80 +169,56 @@ inline Standard_Real HLRBRep_CurveTool::Resolution(const Standard_Address C,
   return (((HLRBRep_Curve*)C)->Resolution(R3d));
 }
 
-//=======================================================================
-// function : GetType
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline GeomAbs_CurveType HLRBRep_CurveTool::GetType(const Standard_Address C)
 {
   return (((HLRBRep_Curve*)C)->GetType());
 }
 
-//=======================================================================
-// function : TheType
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline GeomAbs_CurveType HLRBRep_CurveTool::TheType(const Standard_Address C)
 {
   return (((HLRBRep_Curve*)C)->GetType());
 }
 
-//=======================================================================
-// function : Line
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline gp_Lin2d HLRBRep_CurveTool::Line(const Standard_Address C)
 {
   return (((HLRBRep_Curve*)C)->Line());
 }
 
-//=======================================================================
-// function : Circle
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline gp_Circ2d HLRBRep_CurveTool::Circle(const Standard_Address C)
 {
   return (((HLRBRep_Curve*)C)->Circle());
 }
 
-//=======================================================================
-// function : Ellipse
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline gp_Elips2d HLRBRep_CurveTool::Ellipse(const Standard_Address C)
 {
   return (((HLRBRep_Curve*)C)->Ellipse());
 }
 
-//=======================================================================
-// function : Parabola
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline gp_Parab2d HLRBRep_CurveTool::Parabola(const Standard_Address C)
 {
   return (((HLRBRep_Curve*)C)->Parabola());
 }
 
-//=======================================================================
-// function : Hyperbola
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline gp_Hypr2d HLRBRep_CurveTool::Hyperbola(const Standard_Address C)
 {
   return (((HLRBRep_Curve*)C)->Hyperbola());
 }
 
-//=======================================================================
-// function : Bezier
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Handle(Geom2d_BezierCurve) HLRBRep_CurveTool::Bezier(const Standard_Address /*C*/)
 {
@@ -301,10 +229,7 @@ inline Handle(Geom2d_BezierCurve) HLRBRep_CurveTool::Bezier(const Standard_Addre
   return (0);
 }
 
-//=======================================================================
-// function : BSpline
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Handle(Geom2d_BSplineCurve) HLRBRep_CurveTool::BSpline(const Standard_Address /*C*/)
 {
@@ -315,20 +240,14 @@ inline Handle(Geom2d_BSplineCurve) HLRBRep_CurveTool::BSpline(const Standard_Add
   return (0);
 }
 
-//=======================================================================
-// function : EpsX
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Real HLRBRep_CurveTool::EpsX(const Standard_Address /*C*/)
 {
   return (1e-10);
 }
 
-//=======================================================================
-// function : Degree
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer HLRBRep_CurveTool::Degree(const Standard_Address C)
 {
index b70a7216ce967aa2b86d9887032311c2e74ec65d..74d033b997fe105251a99b19aaa04a793d3bf65f 100644 (file)
 // Alternatively, this file may be used under the terms of Open CASCADE
 // commercial license or contractual agreement.
 
-//=======================================================================
-// function : EDataArray
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline HLRBRep_Array1OfEData& HLRBRep_Data::EDataArray()
 {
   return myEData;
 }
 
-//=======================================================================
-// function : FDataArray
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline HLRBRep_Array1OfFData& HLRBRep_Data::FDataArray()
 {
   return myFData;
 }
 
-//=======================================================================
-// function : Tolerance
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void HLRBRep_Data::Tolerance(const Standard_ShortReal tol)
 {
   myToler = tol;
 }
 
-//=======================================================================
-// function : Tolerance
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_ShortReal HLRBRep_Data::Tolerance() const
 {
   return myToler;
 }
 
-//=======================================================================
-// function : Projector
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline HLRAlgo_Projector& HLRBRep_Data::Projector()
 {
   return myProj;
 }
 
-//=======================================================================
-// function : NbVertices
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer HLRBRep_Data::NbVertices() const
 {
   return myNbVertices;
 }
 
-//=======================================================================
-// function : NbEdges
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer HLRBRep_Data::NbEdges() const
 {
   return myNbEdges;
 }
 
-//=======================================================================
-// function : NbFaces
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer HLRBRep_Data::NbFaces() const
 {
   return myNbFaces;
 }
 
-//=======================================================================
-// function : EdgeMap
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline TopTools_IndexedMapOfShape& HLRBRep_Data::EdgeMap()
 {
   return myEMap;
 }
 
-//=======================================================================
-// function : FaceMap
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline TopTools_IndexedMapOfShape& HLRBRep_Data::FaceMap()
 {
   return myFMap;
 }
 
-//=======================================================================
-// function : SimpleHidingFace
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean HLRBRep_Data::SimpleHidingFace() const
 {
   return iFaceSimp;
 }
 
-//=======================================================================
-// function : HidingTheFace
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean HLRBRep_Data::HidingTheFace() const
 {
   return iFaceTest;
 }
 
-//=======================================================================
-// function : MoreInterference
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean HLRBRep_Data::MoreInterference() const
 {
   return (iInterf <= myNbPoints + 2 * myNbSegments);
 }
 
-//=======================================================================
-// function : Interference
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline HLRAlgo_Interference& HLRBRep_Data::Interference()
 {
   return myIntf;
 }
 
-//=======================================================================
-// function :EdgeOfTheHidingFace
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean HLRBRep_Data::EdgeOfTheHidingFace(const Standard_Integer,
                                                           const HLRBRep_EdgeData& ED) const
index 065e2fbac9c79908a83f27648c6c343973ffde59..3793b698bd10aa3af4fc43344025c8fef1f4b65c 100644 (file)
 // Alternatively, this file may be used under the terms of Open CASCADE
 // commercial license or contractual agreement.
 
-//=======================================================================
-// function : Selected
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean HLRBRep_EdgeData::Selected() const
 {
   return (myFlags & EMaskSelected) != 0;
 }
 
-//=======================================================================
-// function : Selected
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void HLRBRep_EdgeData::Selected(const Standard_Boolean B)
 {
@@ -37,20 +31,14 @@ inline void HLRBRep_EdgeData::Selected(const Standard_Boolean B)
     myFlags &= ~EMaskSelected;
 }
 
-//=======================================================================
-// function : Rg1Line
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean HLRBRep_EdgeData::Rg1Line() const
 {
   return (myFlags & EMaskRg1Line) != 0;
 }
 
-//=======================================================================
-// function : Rg1Line
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void HLRBRep_EdgeData::Rg1Line(const Standard_Boolean B)
 {
@@ -60,20 +48,14 @@ inline void HLRBRep_EdgeData::Rg1Line(const Standard_Boolean B)
     myFlags &= ~EMaskRg1Line;
 }
 
-//=======================================================================
-// function : RgNLine
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean HLRBRep_EdgeData::RgNLine() const
 {
   return (myFlags & EMaskRgNLine) != 0;
 }
 
-//=======================================================================
-// function : RgNLine
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void HLRBRep_EdgeData::RgNLine(const Standard_Boolean B)
 {
@@ -83,20 +65,14 @@ inline void HLRBRep_EdgeData::RgNLine(const Standard_Boolean B)
     myFlags &= ~EMaskRgNLine;
 }
 
-//=======================================================================
-// function : Vertical
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean HLRBRep_EdgeData::Vertical() const
 {
   return (myFlags & EMaskVertical) != 0;
 }
 
-//=======================================================================
-// function : Vertical
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void HLRBRep_EdgeData::Vertical(const Standard_Boolean B)
 {
@@ -106,20 +82,14 @@ inline void HLRBRep_EdgeData::Vertical(const Standard_Boolean B)
     myFlags &= ~EMaskVertical;
 }
 
-//=======================================================================
-// function : Simple
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean HLRBRep_EdgeData::Simple() const
 {
   return (myFlags & EMaskSimple) != 0;
 }
 
-//=======================================================================
-// function : Simple
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void HLRBRep_EdgeData::Simple(const Standard_Boolean B)
 {
@@ -129,20 +99,14 @@ inline void HLRBRep_EdgeData::Simple(const Standard_Boolean B)
     myFlags &= ~EMaskSimple;
 }
 
-//=======================================================================
-// function : OutLVSta
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean HLRBRep_EdgeData::OutLVSta() const
 {
   return (myFlags & EMaskOutLVSta) != 0;
 }
 
-//=======================================================================
-// function : OutLVSta
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void HLRBRep_EdgeData::OutLVSta(const Standard_Boolean B)
 {
@@ -152,20 +116,14 @@ inline void HLRBRep_EdgeData::OutLVSta(const Standard_Boolean B)
     myFlags &= ~EMaskOutLVSta;
 }
 
-//=======================================================================
-// function : OutLVEnd
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean HLRBRep_EdgeData::OutLVEnd() const
 {
   return (myFlags & EMaskOutLVEnd) != 0;
 }
 
-//=======================================================================
-// function : OutLVEnd
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void HLRBRep_EdgeData::OutLVEnd(const Standard_Boolean B)
 {
@@ -175,20 +133,14 @@ inline void HLRBRep_EdgeData::OutLVEnd(const Standard_Boolean B)
     myFlags &= ~EMaskOutLVEnd;
 }
 
-//=======================================================================
-// function : CutAtSta
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean HLRBRep_EdgeData::CutAtSta() const
 {
   return (myFlags & EMaskCutAtSta) != 0;
 }
 
-//=======================================================================
-// function : CutAtSta
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void HLRBRep_EdgeData::CutAtSta(const Standard_Boolean B)
 {
@@ -198,20 +150,14 @@ inline void HLRBRep_EdgeData::CutAtSta(const Standard_Boolean B)
     myFlags &= ~EMaskCutAtSta;
 }
 
-//=======================================================================
-// function : CutAtEnd
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean HLRBRep_EdgeData::CutAtEnd() const
 {
   return (myFlags & EMaskCutAtEnd) != 0;
 }
 
-//=======================================================================
-// function : CutAtEnd
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void HLRBRep_EdgeData::CutAtEnd(const Standard_Boolean B)
 {
@@ -221,20 +167,14 @@ inline void HLRBRep_EdgeData::CutAtEnd(const Standard_Boolean B)
     myFlags &= ~EMaskCutAtEnd;
 }
 
-//=======================================================================
-// function : VerAtSta
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean HLRBRep_EdgeData::VerAtSta() const
 {
   return (myFlags & EMaskVerAtSta) != 0;
 }
 
-//=======================================================================
-// function : VerAtSta
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void HLRBRep_EdgeData::VerAtSta(const Standard_Boolean B)
 {
@@ -244,20 +184,14 @@ inline void HLRBRep_EdgeData::VerAtSta(const Standard_Boolean B)
     myFlags &= ~EMaskVerAtSta;
 }
 
-//=======================================================================
-// function : VerAtEnd
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean HLRBRep_EdgeData::VerAtEnd() const
 {
   return (myFlags & EMaskVerAtEnd) != 0;
 }
 
-//=======================================================================
-// function : VerAtEnd
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void HLRBRep_EdgeData::VerAtEnd(const Standard_Boolean B)
 {
@@ -267,20 +201,14 @@ inline void HLRBRep_EdgeData::VerAtEnd(const Standard_Boolean B)
     myFlags &= ~EMaskVerAtEnd;
 }
 
-//=======================================================================
-// function : AutoIntersectionDone
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean HLRBRep_EdgeData::AutoIntersectionDone() const
 {
   return (myFlags & EMaskIntDone) != 0;
 }
 
-//=======================================================================
-// function : AutoIntersectionDone
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void HLRBRep_EdgeData::AutoIntersectionDone(const Standard_Boolean B)
 {
@@ -290,20 +218,14 @@ inline void HLRBRep_EdgeData::AutoIntersectionDone(const Standard_Boolean B)
     myFlags &= ~EMaskIntDone;
 }
 
-//=======================================================================
-// function : Used
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean HLRBRep_EdgeData::Used() const
 {
   return (myFlags & EMaskUsed) != 0;
 }
 
-//=======================================================================
-// function : Used
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void HLRBRep_EdgeData::Used(const Standard_Boolean B)
 {
@@ -313,100 +235,70 @@ inline void HLRBRep_EdgeData::Used(const Standard_Boolean B)
     myFlags &= ~EMaskUsed;
 }
 
-//=======================================================================
-// function : HideCount
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer HLRBRep_EdgeData::HideCount() const
 {
   return myHideCount;
 }
 
-//=======================================================================
-// function : HideCount
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void HLRBRep_EdgeData::HideCount(const Standard_Integer I)
 {
   myHideCount = I;
 }
 
-//=======================================================================
-// function : VSta
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer HLRBRep_EdgeData::VSta() const
 {
   return myVSta;
 }
 
-//=======================================================================
-// function : VSta
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void HLRBRep_EdgeData::VSta(const Standard_Integer I)
 {
   myVSta = I;
 }
 
-//=======================================================================
-// function : VEnd
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer HLRBRep_EdgeData::VEnd() const
 {
   return myVEnd;
 }
 
-//=======================================================================
-// function : VEnd
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void HLRBRep_EdgeData::VEnd(const Standard_Integer I)
 {
   myVEnd = I;
 }
 
-//=======================================================================
-// function : Status
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline HLRAlgo_EdgeStatus& HLRBRep_EdgeData::Status()
 {
   return myStatus;
 }
 
-//=======================================================================
-// function : ChangeGeometry
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline HLRBRep_Curve& HLRBRep_EdgeData::ChangeGeometry()
 {
   return myGeometry;
 }
 
-//=======================================================================
-// function : Geometry
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline const HLRBRep_Curve& HLRBRep_EdgeData::Geometry() const
 {
   return myGeometry;
 }
 
-//=======================================================================
-// function : Tolerance
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_ShortReal HLRBRep_EdgeData::Tolerance() const
 {
index fd42fe94d1fa6a3268b9d2231fba95a62240b2d7..ecec262cb7aa5608084c239be2d605918d8b7e43 100644 (file)
 
 #include <HLRAlgo_Interference.hxx>
 
-//=======================================================================
-// function : InitVertices
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void HLRBRep_EdgeInterferenceTool::InitVertices()
 {
   cur = 0;
 }
 
-//=======================================================================
-// function : MoreVertices
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean HLRBRep_EdgeInterferenceTool::MoreVertices() const
 {
   return cur < 2;
 }
 
-//=======================================================================
-// function : NextVertex
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void HLRBRep_EdgeInterferenceTool::NextVertex()
 {
   cur++;
 }
 
-//=======================================================================
-// function : CurrentVertex
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline const HLRAlgo_Intersection& HLRBRep_EdgeInterferenceTool::CurrentVertex() const
 {
   return inter[cur];
 }
 
-//=======================================================================
-// function : CurrentOrientation
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline TopAbs_Orientation HLRBRep_EdgeInterferenceTool::CurrentOrientation() const
 {
@@ -69,30 +54,21 @@ inline TopAbs_Orientation HLRBRep_EdgeInterferenceTool::CurrentOrientation() con
     return TopAbs_REVERSED;
 }
 
-//=======================================================================
-// function : CurrentParameter
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Real HLRBRep_EdgeInterferenceTool::CurrentParameter() const
 {
   return inter[cur].Parameter();
 }
 
-//=======================================================================
-// function : IsPeriodic
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean HLRBRep_EdgeInterferenceTool::IsPeriodic() const
 {
   return Standard_False;
 }
 
-//=======================================================================
-// function : ParameterOfInterference
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Real HLRBRep_EdgeInterferenceTool::ParameterOfInterference(
   const HLRAlgo_Interference& I) const
index c804c7ca89a4658b4d94c73fe1f299724468dc75..f65cfb82b2653b50f0c0ea33762ee1bbc7905fb3 100644 (file)
 // Alternatively, this file may be used under the terms of Open CASCADE
 // commercial license or contractual agreement.
 
-//=======================================================================
-// function : Selected
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean HLRBRep_FaceData::Selected() const
 {
   return (myFlags & (Standard_Integer)FMaskSelected) != 0;
 }
 
-//=======================================================================
-// function : Selected
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void HLRBRep_FaceData::Selected(const Standard_Boolean B)
 {
@@ -37,20 +31,14 @@ inline void HLRBRep_FaceData::Selected(const Standard_Boolean B)
     myFlags &= ~((Standard_Integer)FMaskSelected);
 }
 
-//=======================================================================
-// function : Back
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean HLRBRep_FaceData::Back() const
 {
   return (myFlags & (Standard_Integer)FMaskBack) != 0;
 }
 
-//=======================================================================
-// function : Back
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void HLRBRep_FaceData::Back(const Standard_Boolean B)
 {
@@ -60,20 +48,14 @@ inline void HLRBRep_FaceData::Back(const Standard_Boolean B)
     myFlags &= ~((Standard_Integer)FMaskBack);
 }
 
-//=======================================================================
-// function : Side
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean HLRBRep_FaceData::Side() const
 {
   return (myFlags & (Standard_Integer)FMaskSide) != 0;
 }
 
-//=======================================================================
-// function : Side
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void HLRBRep_FaceData::Side(const Standard_Boolean B)
 {
@@ -83,20 +65,14 @@ inline void HLRBRep_FaceData::Side(const Standard_Boolean B)
     myFlags &= ~((Standard_Integer)FMaskSide);
 }
 
-//=======================================================================
-// function : Closed
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean HLRBRep_FaceData::Closed() const
 {
   return (myFlags & (Standard_Integer)FMaskClosed) != 0;
 }
 
-//=======================================================================
-// function : Closed
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void HLRBRep_FaceData::Closed(const Standard_Boolean B)
 {
@@ -106,20 +82,14 @@ inline void HLRBRep_FaceData::Closed(const Standard_Boolean B)
     myFlags &= ~((Standard_Integer)FMaskClosed);
 }
 
-//=======================================================================
-// function : Hiding
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean HLRBRep_FaceData::Hiding() const
 {
   return (myFlags & (Standard_Integer)FMaskHiding) != 0;
 }
 
-//=======================================================================
-// function : Hiding
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void HLRBRep_FaceData::Hiding(const Standard_Boolean B)
 {
@@ -129,20 +99,14 @@ inline void HLRBRep_FaceData::Hiding(const Standard_Boolean B)
     myFlags &= ~((Standard_Integer)FMaskHiding);
 }
 
-//=======================================================================
-// function : Simple
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean HLRBRep_FaceData::Simple() const
 {
   return (myFlags & (Standard_Integer)FMaskSimple) != 0;
 }
 
-//=======================================================================
-// function : Simple
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void HLRBRep_FaceData::Simple(const Standard_Boolean B)
 {
@@ -152,20 +116,14 @@ inline void HLRBRep_FaceData::Simple(const Standard_Boolean B)
     myFlags &= ~((Standard_Integer)FMaskSimple);
 }
 
-//=======================================================================
-// function : Cut
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean HLRBRep_FaceData::Cut() const
 {
   return (myFlags & (Standard_Integer)FMaskCut) != 0;
 }
 
-//=======================================================================
-// function : Cut
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void HLRBRep_FaceData::Cut(const Standard_Boolean B)
 {
@@ -175,20 +133,14 @@ inline void HLRBRep_FaceData::Cut(const Standard_Boolean B)
     myFlags &= ~((Standard_Integer)FMaskCut);
 }
 
-//=======================================================================
-// function : WithOutL
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean HLRBRep_FaceData::WithOutL() const
 {
   return (myFlags & (Standard_Integer)FMaskWithOutL) != 0;
 }
 
-//=======================================================================
-// function : WithOutL
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void HLRBRep_FaceData::WithOutL(const Standard_Boolean B)
 {
@@ -198,20 +150,14 @@ inline void HLRBRep_FaceData::WithOutL(const Standard_Boolean B)
     myFlags &= ~((Standard_Integer)FMaskWithOutL);
 }
 
-//=======================================================================
-// function : Plane
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean HLRBRep_FaceData::Plane() const
 {
   return (myFlags & (Standard_Integer)FMaskPlane) != 0;
 }
 
-//=======================================================================
-// function : Plane
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void HLRBRep_FaceData::Plane(const Standard_Boolean B)
 {
@@ -221,20 +167,14 @@ inline void HLRBRep_FaceData::Plane(const Standard_Boolean B)
     myFlags &= ~((Standard_Integer)FMaskPlane);
 }
 
-//=======================================================================
-// function : Cylinder
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean HLRBRep_FaceData::Cylinder() const
 {
   return (myFlags & (Standard_Integer)FMaskCylinder) != 0;
 }
 
-//=======================================================================
-// function : Cylinder
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void HLRBRep_FaceData::Cylinder(const Standard_Boolean B)
 {
@@ -244,20 +184,14 @@ inline void HLRBRep_FaceData::Cylinder(const Standard_Boolean B)
     myFlags &= ~((Standard_Integer)FMaskCylinder);
 }
 
-//=======================================================================
-// function : Cone
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean HLRBRep_FaceData::Cone() const
 {
   return (myFlags & (Standard_Integer)FMaskCone) != 0;
 }
 
-//=======================================================================
-// function : Cone
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void HLRBRep_FaceData::Cone(const Standard_Boolean B)
 {
@@ -267,20 +201,14 @@ inline void HLRBRep_FaceData::Cone(const Standard_Boolean B)
     myFlags &= ~((Standard_Integer)FMaskCone);
 }
 
-//=======================================================================
-// function : Sphere
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean HLRBRep_FaceData::Sphere() const
 {
   return (myFlags & (Standard_Integer)FMaskSphere) != 0;
 }
 
-//=======================================================================
-// function : Sphere
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void HLRBRep_FaceData::Sphere(const Standard_Boolean B)
 {
@@ -290,20 +218,14 @@ inline void HLRBRep_FaceData::Sphere(const Standard_Boolean B)
     myFlags &= ~((Standard_Integer)FMaskSphere);
 }
 
-//=======================================================================
-// function : Torus
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean HLRBRep_FaceData::Torus() const
 {
   return (myFlags & (Standard_Integer)FMaskTorus) != 0;
 }
 
-//=======================================================================
-// function : Torus
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void HLRBRep_FaceData::Torus(const Standard_Boolean B)
 {
@@ -313,40 +235,28 @@ inline void HLRBRep_FaceData::Torus(const Standard_Boolean B)
     myFlags &= ~((Standard_Integer)FMaskTorus);
 }
 
-//=======================================================================
-// function : Size
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Real HLRBRep_FaceData::Size() const
 {
   return mySize;
 }
 
-//=======================================================================
-// function : Size
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void HLRBRep_FaceData::Size(const Standard_Real S)
 {
   mySize = S;
 }
 
-//=======================================================================
-// function : Orientation
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline TopAbs_Orientation HLRBRep_FaceData::Orientation() const
 {
   return ((TopAbs_Orientation)(myFlags & (Standard_Integer)EMaskOrient));
 }
 
-//=======================================================================
-// function : Orientation
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void HLRBRep_FaceData::Orientation(const TopAbs_Orientation O)
 {
@@ -354,30 +264,21 @@ inline void HLRBRep_FaceData::Orientation(const TopAbs_Orientation O)
   myFlags |= ((Standard_Integer)O & (Standard_Integer)EMaskOrient);
 }
 
-//=======================================================================
-// function : Wires
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Handle(HLRAlgo_WiresBlock)& HLRBRep_FaceData::Wires()
 {
   return myWires;
 }
 
-//=======================================================================
-// function : Geometry
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline HLRBRep_Surface& HLRBRep_FaceData::Geometry()
 {
   return myGeometry;
 }
 
-//=======================================================================
-// function : Tolerance
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_ShortReal HLRBRep_FaceData::Tolerance() const
 {
index ca967f84ded7c24637bb536f2da69bda44848e2d..31deaa814d5507c667a1c3674e24aa9fe423455f 100644 (file)
 #include <HLRAlgo_WiresBlock.hxx>
 #include <HLRAlgo_EdgesBlock.hxx>
 
-//=======================================================================
-// function : MoreEdge
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean HLRBRep_FaceIterator::MoreEdge() const
 {
   return iWire <= nbWires;
 }
 
-//=======================================================================
-// function : BeginningOfWire
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean HLRBRep_FaceIterator::BeginningOfWire() const
 {
   return iEdge == 1;
 }
 
-//=======================================================================
-// function : EndOfWire
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean HLRBRep_FaceIterator::EndOfWire() const
 {
   return iEdge == nbEdges;
 }
 
-//=======================================================================
-// function : SkipWire
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void HLRBRep_FaceIterator::SkipWire()
 {
@@ -58,70 +46,49 @@ inline void HLRBRep_FaceIterator::SkipWire()
   NextEdge();
 }
 
-//=======================================================================
-// function : Wire
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Handle(HLRAlgo_EdgesBlock) HLRBRep_FaceIterator::Wire() const
 {
   return myWires->Wire(iWire);
 }
 
-//=======================================================================
-// function : Edge
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer HLRBRep_FaceIterator::Edge() const
 {
   return myEdges->Edge(iEdge);
 }
 
-//=======================================================================
-// function : Orientation
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline TopAbs_Orientation HLRBRep_FaceIterator::Orientation() const
 {
   return myEdges->Orientation(iEdge);
 }
 
-//=======================================================================
-// function : OutLine
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean HLRBRep_FaceIterator::OutLine() const
 {
   return myEdges->OutLine(iEdge);
 }
 
-//=======================================================================
-// function : Internal
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean HLRBRep_FaceIterator::Internal() const
 {
   return myEdges->Internal(iEdge);
 }
 
-//=======================================================================
-// function : Double
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean HLRBRep_FaceIterator::Double() const
 {
   return myEdges->Double(iEdge);
 }
 
-//=======================================================================
-// function : IsoLine
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean HLRBRep_FaceIterator::IsoLine() const
 {
index 5c94899500a833694d828288e43eaa9eb872c905..8a4318cb27b7ad295e2fa0d4780efd3b782f346b 100644 (file)
 
 #include <TopoDS_Shape.hxx>
 
-//=======================================================================
-// function : VCompound
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline TopoDS_Shape HLRBRep_HLRToShape::VCompound()
 {
   return InternalCompound(5, Standard_True, TopoDS_Shape());
 }
 
-//=======================================================================
-// function : VCompound
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline TopoDS_Shape HLRBRep_HLRToShape::VCompound(const TopoDS_Shape& S)
 {
   return InternalCompound(5, Standard_True, S);
 }
 
-//=======================================================================
-// function : Rg1LineVCompound
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline TopoDS_Shape HLRBRep_HLRToShape::Rg1LineVCompound()
 {
   return InternalCompound(3, Standard_True, TopoDS_Shape());
 }
 
-//=======================================================================
-// function : Rg1LineVCompound
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline TopoDS_Shape HLRBRep_HLRToShape::Rg1LineVCompound(const TopoDS_Shape& S)
 {
   return InternalCompound(3, Standard_True, S);
 }
 
-//=======================================================================
-// function : RgNLineVCompound
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline TopoDS_Shape HLRBRep_HLRToShape::RgNLineVCompound()
 {
   return InternalCompound(4, Standard_True, TopoDS_Shape());
 }
 
-//=======================================================================
-// function : RgNLineVCompound
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline TopoDS_Shape HLRBRep_HLRToShape::RgNLineVCompound(const TopoDS_Shape& S)
 {
   return InternalCompound(4, Standard_True, S);
 }
 
-//=======================================================================
-// function : OutLineVCompound
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline TopoDS_Shape HLRBRep_HLRToShape::OutLineVCompound()
 {
   return InternalCompound(2, Standard_True, TopoDS_Shape());
 }
 
-//=======================================================================
-// function : OutLineVCompound3d
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline TopoDS_Shape HLRBRep_HLRToShape::OutLineVCompound3d()
 {
   return InternalCompound(2, Standard_True, TopoDS_Shape(), Standard_True);
 }
 
-//=======================================================================
-// function : OutLineVCompound
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline TopoDS_Shape HLRBRep_HLRToShape::OutLineVCompound(const TopoDS_Shape& S)
 {
   return InternalCompound(2, Standard_True, S);
 }
 
-//=======================================================================
-// function : IsoLineVCompound
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline TopoDS_Shape HLRBRep_HLRToShape::IsoLineVCompound()
 {
   return InternalCompound(1, Standard_True, TopoDS_Shape());
 }
 
-//=======================================================================
-// function : IsoLineVCompound
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline TopoDS_Shape HLRBRep_HLRToShape::IsoLineVCompound(const TopoDS_Shape& S)
 {
   return InternalCompound(1, Standard_True, S);
 }
 
-//=======================================================================
-// function : HCompound
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline TopoDS_Shape HLRBRep_HLRToShape::HCompound()
 {
   return InternalCompound(5, Standard_False, TopoDS_Shape());
 }
 
-//=======================================================================
-// function : HCompound
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline TopoDS_Shape HLRBRep_HLRToShape::HCompound(const TopoDS_Shape& S)
 {
   return InternalCompound(5, Standard_False, S);
 }
 
-//=======================================================================
-// function : Rg1LineHCompound
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline TopoDS_Shape HLRBRep_HLRToShape::Rg1LineHCompound()
 {
   return InternalCompound(3, Standard_False, TopoDS_Shape());
 }
 
-//=======================================================================
-// function : Rg1LineHCompound
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline TopoDS_Shape HLRBRep_HLRToShape::Rg1LineHCompound(const TopoDS_Shape& S)
 {
   return InternalCompound(3, Standard_False, S);
 }
 
-//=======================================================================
-// function : RgNLineHCompound
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline TopoDS_Shape HLRBRep_HLRToShape::RgNLineHCompound()
 {
   return InternalCompound(4, Standard_False, TopoDS_Shape());
 }
 
-//=======================================================================
-// function : RgNLineHCompound
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline TopoDS_Shape HLRBRep_HLRToShape::RgNLineHCompound(const TopoDS_Shape& S)
 {
   return InternalCompound(4, Standard_False, S);
 }
 
-//=======================================================================
-// function : OutLineHCompound
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline TopoDS_Shape HLRBRep_HLRToShape::OutLineHCompound()
 {
   return InternalCompound(2, Standard_False, TopoDS_Shape());
 }
 
-//=======================================================================
-// function : OutLineHCompound
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline TopoDS_Shape HLRBRep_HLRToShape::OutLineHCompound(const TopoDS_Shape& S)
 {
   return InternalCompound(2, Standard_False, S);
 }
 
-//=======================================================================
-// function : IsoLineHCompound
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline TopoDS_Shape HLRBRep_HLRToShape::IsoLineHCompound()
 {
   return InternalCompound(1, Standard_False, TopoDS_Shape());
 }
 
-//=======================================================================
-// function : IsoLineHCompound
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline TopoDS_Shape HLRBRep_HLRToShape::IsoLineHCompound(const TopoDS_Shape& S)
 {
   return InternalCompound(1, Standard_False, S);
 }
 
-//=======================================================================
-// function : CompoundOfEdges
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline TopoDS_Shape HLRBRep_HLRToShape::CompoundOfEdges(const HLRBRep_TypeOfResultingEdge type,
                                                         const Standard_Boolean            visible,
@@ -238,10 +172,7 @@ inline TopoDS_Shape HLRBRep_HLRToShape::CompoundOfEdges(const HLRBRep_TypeOfResu
   return InternalCompound(type, visible, TopoDS_Shape(), In3d);
 }
 
-//=======================================================================
-// function : CompoundOfEdges
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline TopoDS_Shape HLRBRep_HLRToShape::CompoundOfEdges(const TopoDS_Shape&               S,
                                                         const HLRBRep_TypeOfResultingEdge type,
index 9d9dcd7ac6d6d94828865caf7f0dc163d99a4920..9db3227907c42bca014caf5fb3f1c952618e000f 100644 (file)
 
 #include <TopoDS_Shape.hxx>
 
-//=======================================================================
-// function : Show
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void HLRBRep_PolyHLRToShape::Show()
 {
   myHideMode = Standard_False;
 }
 
-//=======================================================================
-// function : Hide
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void HLRBRep_PolyHLRToShape::Hide()
 {
   myHideMode = Standard_True;
 }
 
-//=======================================================================
-// function : VCompound
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline TopoDS_Shape HLRBRep_PolyHLRToShape::VCompound()
 {
   return InternalCompound(4, Standard_True, TopoDS_Shape());
 }
 
-//=======================================================================
-// function : VCompound
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline TopoDS_Shape HLRBRep_PolyHLRToShape::VCompound(const TopoDS_Shape& S)
 {
   return InternalCompound(4, Standard_True, S);
 }
 
-//=======================================================================
-// function : Rg1LineVCompound
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline TopoDS_Shape HLRBRep_PolyHLRToShape::Rg1LineVCompound()
 {
   return InternalCompound(2, Standard_True, TopoDS_Shape());
 }
 
-//=======================================================================
-// function : Rg1LineVCompound
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline TopoDS_Shape HLRBRep_PolyHLRToShape::Rg1LineVCompound(const TopoDS_Shape& S)
 {
   return InternalCompound(2, Standard_True, S);
 }
 
-//=======================================================================
-// function : RgNLineVCompound
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline TopoDS_Shape HLRBRep_PolyHLRToShape::RgNLineVCompound()
 {
   return InternalCompound(3, Standard_True, TopoDS_Shape());
 }
 
-//=======================================================================
-// function : RgNLineVCompound
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline TopoDS_Shape HLRBRep_PolyHLRToShape::RgNLineVCompound(const TopoDS_Shape& S)
 {
   return InternalCompound(3, Standard_True, S);
 }
 
-//=======================================================================
-// function : OutLineVCompound
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline TopoDS_Shape HLRBRep_PolyHLRToShape::OutLineVCompound()
 {
   return InternalCompound(1, Standard_True, TopoDS_Shape());
 }
 
-//=======================================================================
-// function : OutLineVCompound
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline TopoDS_Shape HLRBRep_PolyHLRToShape::OutLineVCompound(const TopoDS_Shape& S)
 {
   return InternalCompound(1, Standard_True, S);
 }
 
-//=======================================================================
-// function : HCompound
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline TopoDS_Shape HLRBRep_PolyHLRToShape::HCompound()
 {
   return InternalCompound(4, Standard_False, TopoDS_Shape());
 }
 
-//=======================================================================
-// function : HCompound
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline TopoDS_Shape HLRBRep_PolyHLRToShape::HCompound(const TopoDS_Shape& S)
 {
   return InternalCompound(4, Standard_False, S);
 }
 
-//=======================================================================
-// function : Rg1LineHCompound
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline TopoDS_Shape HLRBRep_PolyHLRToShape::Rg1LineHCompound()
 {
   return InternalCompound(2, Standard_False, TopoDS_Shape());
 }
 
-//=======================================================================
-// function : Rg1LineHCompound
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline TopoDS_Shape HLRBRep_PolyHLRToShape::Rg1LineHCompound(const TopoDS_Shape& S)
 {
   return InternalCompound(2, Standard_False, S);
 }
 
-//=======================================================================
-// function : RgNLineHCompound
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline TopoDS_Shape HLRBRep_PolyHLRToShape::RgNLineHCompound()
 {
   return InternalCompound(3, Standard_False, TopoDS_Shape());
 }
 
-//=======================================================================
-// function : RgNLineHCompound
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline TopoDS_Shape HLRBRep_PolyHLRToShape::RgNLineHCompound(const TopoDS_Shape& S)
 {
   return InternalCompound(3, Standard_False, S);
 }
 
-//=======================================================================
-// function : OutLineHCompound
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline TopoDS_Shape HLRBRep_PolyHLRToShape::OutLineHCompound()
 {
   return InternalCompound(1, Standard_False, TopoDS_Shape());
 }
 
-//=======================================================================
-// function : OutLineHCompound
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline TopoDS_Shape HLRBRep_PolyHLRToShape::OutLineHCompound(const TopoDS_Shape& S)
 {
index d080d019f0fa533ff1741502cd11493e75304dc0..4ad6d55402729179346795336f7cb6c5c52e7bef 100644 (file)
 #include <GeomAbs_Shape.hxx>
 #include <gp_Pnt.hxx>
 
-//=======================================================================
-// function : Value
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void HLRBRep_SLPropsATool::Value(const Standard_Address A,
                                         const Standard_Real    U,
@@ -31,10 +28,7 @@ inline void HLRBRep_SLPropsATool::Value(const Standard_Address A,
   P = ((HLRBRep_Surface*)A)->Value(U, V);
 }
 
-//=======================================================================
-// function : D1
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void HLRBRep_SLPropsATool::D1(const Standard_Address A,
                                      const Standard_Real    U,
@@ -46,10 +40,7 @@ inline void HLRBRep_SLPropsATool::D1(const Standard_Address A,
   ((HLRBRep_Surface*)A)->D1(U, V, P, D1U, D1V);
 }
 
-//=======================================================================
-// function : D2
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void HLRBRep_SLPropsATool::D2(const Standard_Address A,
                                      const Standard_Real    U,
@@ -64,10 +55,7 @@ inline void HLRBRep_SLPropsATool::D2(const Standard_Address A,
   ((HLRBRep_Surface*)A)->D2(U, V, P, D1U, D1V, D2U, D2V, DUV);
 }
 
-//=======================================================================
-// function : DN
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline gp_Vec HLRBRep_SLPropsATool::DN(const Standard_Address A,
                                        const Standard_Real    U,
@@ -78,20 +66,14 @@ inline gp_Vec HLRBRep_SLPropsATool::DN(const Standard_Address A,
   return ((HLRBRep_Surface*)A)->DN(U, V, Nu, Nv);
 }
 
-//=======================================================================
-// function : Continuity
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer HLRBRep_SLPropsATool::Continuity(const Standard_Address)
 {
   return 2;
 } // et boum ! cky le 27 - 04 - 1993
 
-//=======================================================================
-// function : Bounds
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void HLRBRep_SLPropsATool::Bounds(const Standard_Address,
                                          Standard_Real& U1,
index 1777dffb0c01551f9b3ae0dd81ba504602303a74..ae4819cf792ecbab3cc8ef5fdca86f9308fcb64c 100644 (file)
 // Alternatively, this file may be used under the terms of Open CASCADE
 // commercial license or contractual agreement.
 
-//=======================================================================
-// function : HLRBRep_ShapeBounds
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline HLRBRep_ShapeBounds::HLRBRep_ShapeBounds()
     : myNbIso(0),
@@ -30,60 +27,42 @@ inline HLRBRep_ShapeBounds::HLRBRep_ShapeBounds()
 {
 }
 
-//=======================================================================
-// function : Shape
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void HLRBRep_ShapeBounds::Shape(const Handle(HLRTopoBRep_OutLiner)& S)
 {
   myShape = S;
 }
 
-//=======================================================================
-// function : Shape
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline const Handle(HLRTopoBRep_OutLiner)& HLRBRep_ShapeBounds::Shape() const
 {
   return myShape;
 }
 
-//=======================================================================
-// function : ShapeData
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void HLRBRep_ShapeBounds::ShapeData(const Handle(Standard_Transient)& SD)
 {
   myShapeData = SD;
 }
 
-//=======================================================================
-// function : ShapeData
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline const Handle(Standard_Transient)& HLRBRep_ShapeBounds::ShapeData() const
 {
   return myShapeData;
 }
 
-//=======================================================================
-// function : NbOfIso
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void HLRBRep_ShapeBounds::NbOfIso(const Standard_Integer nbIso)
 {
   myNbIso = nbIso;
 }
 
-//=======================================================================
-// function : NbOfIso
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer HLRBRep_ShapeBounds::NbOfIso() const
 {
index ca96793193eb3c086a3b8c95a6e5059b174f7420..630726ff207e3cc3dd64298d5b6115311a0a80bb 100644 (file)
 #include <BRepAdaptor_Surface.hxx>
 #include <HLRBRep_BSurfaceTool.hxx>
 
-//=======================================================================
-// function : Surface
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline BRepAdaptor_Surface& HLRBRep_Surface::Surface()
 {
   return mySurf;
 }
 
-//=======================================================================
-// function : FirstUParameter
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Real HLRBRep_Surface::FirstUParameter() const
 {
   return HLRBRep_BSurfaceTool::FirstUParameter(mySurf);
 }
 
-//=======================================================================
-// function : LastUParameter
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Real HLRBRep_Surface::LastUParameter() const
 {
   return HLRBRep_BSurfaceTool::LastUParameter(mySurf);
 }
 
-//=======================================================================
-// function : FirstVParameter
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Real HLRBRep_Surface::FirstVParameter() const
 {
   return HLRBRep_BSurfaceTool::FirstVParameter(mySurf);
 }
 
-//=======================================================================
-// function : LastVParameter
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Real HLRBRep_Surface::LastVParameter() const
 {
   return HLRBRep_BSurfaceTool::LastVParameter(mySurf);
 }
 
-//=======================================================================
-// function : UContinuity
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline GeomAbs_Shape HLRBRep_Surface::UContinuity() const
 {
   return HLRBRep_BSurfaceTool::UContinuity(mySurf);
 }
 
-//=======================================================================
-// function : VContinuity
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline GeomAbs_Shape HLRBRep_Surface::VContinuity() const
 {
   return HLRBRep_BSurfaceTool::VContinuity(mySurf);
 }
 
-//=======================================================================
-// function : NbUIntervals
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer HLRBRep_Surface::NbUIntervals(const GeomAbs_Shape S)
 {
   return HLRBRep_BSurfaceTool::NbUIntervals(mySurf, S);
 }
 
-//=======================================================================
-// function : NbVIntervals
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer HLRBRep_Surface::NbVIntervals(const GeomAbs_Shape S)
 {
   return HLRBRep_BSurfaceTool::NbVIntervals(mySurf, S);
 }
 
-//=======================================================================
-// function : IsUClosed
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean HLRBRep_Surface::IsUClosed() const
 {
   return HLRBRep_BSurfaceTool::IsUClosed(mySurf);
 }
 
-//=======================================================================
-// function : IsVClosed
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean HLRBRep_Surface::IsVClosed() const
 {
   return HLRBRep_BSurfaceTool::IsVClosed(mySurf);
 }
 
-//=======================================================================
-// function : IsUPeriodic
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean HLRBRep_Surface::IsUPeriodic() const
 {
   return HLRBRep_BSurfaceTool::IsUPeriodic(mySurf);
 }
 
-//=======================================================================
-// function : UPeriod
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Real HLRBRep_Surface::UPeriod() const
 {
   return HLRBRep_BSurfaceTool::UPeriod(mySurf);
 }
 
-//=======================================================================
-// function : IsVPeriodic
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean HLRBRep_Surface::IsVPeriodic() const
 {
   return HLRBRep_BSurfaceTool::IsVPeriodic(mySurf);
 }
 
-//=======================================================================
-// function : VPeriod
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Real HLRBRep_Surface::VPeriod() const
 {
   return HLRBRep_BSurfaceTool::VPeriod(mySurf);
 }
 
-//=======================================================================
-// function : D0
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void HLRBRep_Surface::D0(const Standard_Real U, const Standard_Real V, gp_Pnt& P) const
 {
   HLRBRep_BSurfaceTool::D0(mySurf, U, V, P);
 }
 
-//=======================================================================
-// function : D1
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void HLRBRep_Surface::D1(const Standard_Real U,
                                 const Standard_Real V,
@@ -191,10 +140,7 @@ inline void HLRBRep_Surface::D1(const Standard_Real U,
   HLRBRep_BSurfaceTool::D1(mySurf, U, V, P, D1U, D1V);
 }
 
-//=======================================================================
-// function : D2
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void HLRBRep_Surface::D2(const Standard_Real U,
                                 const Standard_Real V,
@@ -208,10 +154,7 @@ inline void HLRBRep_Surface::D2(const Standard_Real U,
   HLRBRep_BSurfaceTool::D2(mySurf, U, V, P, D1U, D1V, D2U, D2V, D2UV);
 }
 
-//=======================================================================
-// function : D3
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void HLRBRep_Surface::D3(const Standard_Real U,
                                 const Standard_Real V,
@@ -229,10 +172,7 @@ inline void HLRBRep_Surface::D3(const Standard_Real U,
   HLRBRep_BSurfaceTool::D3(mySurf, U, V, P, D1U, D1V, D2U, D2V, D2UV, D3U, D3V, D3UUV, D3UVV);
 }
 
-//=======================================================================
-// function : DN
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline gp_Vec HLRBRep_Surface::DN(const Standard_Real    U,
                                   const Standard_Real    V,
@@ -242,120 +182,84 @@ inline gp_Vec HLRBRep_Surface::DN(const Standard_Real    U,
   return HLRBRep_BSurfaceTool::DN(mySurf, U, V, Nu, Nv);
 }
 
-//=======================================================================
-// function : GetType
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline GeomAbs_SurfaceType HLRBRep_Surface::GetType() const
 {
   return myType;
 }
 
-//=======================================================================
-// function : Cylinder
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline gp_Cylinder HLRBRep_Surface::Cylinder() const
 {
   return HLRBRep_BSurfaceTool::Cylinder(mySurf);
 }
 
-//=======================================================================
-// function : Cone
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline gp_Cone HLRBRep_Surface::Cone() const
 {
   return HLRBRep_BSurfaceTool::Cone(mySurf);
 }
 
-//=======================================================================
-// function : Sphere
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline gp_Sphere HLRBRep_Surface::Sphere() const
 {
   return HLRBRep_BSurfaceTool::Sphere(mySurf);
 }
 
-//=======================================================================
-// function : Torus
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline gp_Torus HLRBRep_Surface::Torus() const
 {
   return HLRBRep_BSurfaceTool::Torus(mySurf);
 }
 
-//=======================================================================
-// function : UDegree
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer HLRBRep_Surface::UDegree() const
 {
   return HLRBRep_BSurfaceTool::UDegree(mySurf);
 }
 
-//=======================================================================
-// function : NbUPoles
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer HLRBRep_Surface::NbUPoles() const
 {
   return HLRBRep_BSurfaceTool::NbUPoles(mySurf);
 }
 
-//=======================================================================
-// function : VDegree
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer HLRBRep_Surface::VDegree() const
 {
   return HLRBRep_BSurfaceTool::VDegree(mySurf);
 }
 
-//=======================================================================
-// function : NbVPoles
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer HLRBRep_Surface::NbVPoles() const
 {
   return HLRBRep_BSurfaceTool::NbVPoles(mySurf);
 }
 
-//=======================================================================
-// function : NbUKnots
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer HLRBRep_Surface::NbUKnots() const
 {
   return HLRBRep_BSurfaceTool::NbUKnots(mySurf);
 }
 
-//=======================================================================
-// function : NbVKnots
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer HLRBRep_Surface::NbVKnots() const
 {
   return HLRBRep_BSurfaceTool::NbVKnots(mySurf);
 }
 
-//=======================================================================
-// function : Axis
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline gp_Ax1 HLRBRep_Surface::Axis() const
 {
index 4c5a7cf78bd0e0f3008f2ef244b61e47303fe3d5..e693a68a260e8a88c63649affa1ed16e425b9e09 100644 (file)
 #include <TopoDS_Edge.hxx>
 #include <TopoDS_Vertex.hxx>
 
-//=======================================================================
-// function : EdgeSplE
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline const TopTools_ListOfShape& HLRTopoBRep_Data::EdgeSplE(const TopoDS_Edge& E) const
 {
   return mySplE(E);
 }
 
-//=======================================================================
-// function : FaceIntL
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline const TopTools_ListOfShape& HLRTopoBRep_Data::FaceIntL(const TopoDS_Face& F) const
 {
   return myData(F).FaceIntL();
 }
 
-//=======================================================================
-// function : FaceOutL
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline const TopTools_ListOfShape& HLRTopoBRep_Data::FaceOutL(const TopoDS_Face& F) const
 {
   return myData(F).FaceOutL();
 }
 
-//=======================================================================
-// function : FaceIsoL
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline const TopTools_ListOfShape& HLRTopoBRep_Data::FaceIsoL(const TopoDS_Face& F) const
 {
   return myData(F).FaceIsoL();
 }
 
-//=======================================================================
-// function : IsOutV
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean HLRTopoBRep_Data::IsOutV(const TopoDS_Vertex& V) const
 {
   return myOutV.Contains(V);
 }
 
-//=======================================================================
-// function : IsIntV
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean HLRTopoBRep_Data::IsIntV(const TopoDS_Vertex& V) const
 {
   return myIntV.Contains(V);
 }
 
-//=======================================================================
-// function : AddOutV
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void HLRTopoBRep_Data::AddOutV(const TopoDS_Vertex& V)
 {
   myOutV.Add(V);
 }
 
-//=======================================================================
-// function : AddIntV
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void HLRTopoBRep_Data::AddIntV(const TopoDS_Vertex& V)
 {
   myIntV.Add(V);
 }
 
-//=======================================================================
-// function : MoreEdge
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean HLRTopoBRep_Data::MoreEdge() const
 {
   return myEIterator.More();
 }
 
-//=======================================================================
-// function : Edge
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline const TopoDS_Edge& HLRTopoBRep_Data::Edge() const
 {
   return TopoDS::Edge(myEIterator.Key());
 }
 
-//=======================================================================
-// function : MoreVertex
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean HLRTopoBRep_Data::MoreVertex() const
 {
   return myVIterator.More();
 }
 
-//=======================================================================
-// function : NextVertex
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void HLRTopoBRep_Data::NextVertex()
 {
index 889f9ee19409f2ab3ecaaa272295911d7f6f6dc0..03e1f3e03db683e660bd65521133951615a2bf5a 100644 (file)
 // Alternatively, this file may be used under the terms of Open CASCADE
 // commercial license or contractual agreement.
 
-//=======================================================================
-// function : FaceIntL
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline const TopTools_ListOfShape& HLRTopoBRep_FaceData::FaceIntL() const
 {
   return myIntL;
 }
 
-//=======================================================================
-// function : FaceOutL
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline const TopTools_ListOfShape& HLRTopoBRep_FaceData::FaceOutL() const
 {
   return myOutL;
 }
 
-//=======================================================================
-// function : FaceIsoL
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline const TopTools_ListOfShape& HLRTopoBRep_FaceData::FaceIsoL() const
 {
   return myIsoL;
 }
 
-//=======================================================================
-// function : AddIntL
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline TopTools_ListOfShape& HLRTopoBRep_FaceData::AddIntL()
 {
   return myIntL;
 }
 
-//=======================================================================
-// function : AddOutL
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline TopTools_ListOfShape& HLRTopoBRep_FaceData::AddOutL()
 {
   return myOutL;
 }
 
-//=======================================================================
-// function : AddIsoL
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline TopTools_ListOfShape& HLRTopoBRep_FaceData::AddIsoL()
 {
index 9bd391898247da19e795dd0854a169e3c81ff755..a2d91e3b2ba238a26c8199a6f66904ee102ab631 100644 (file)
 // Alternatively, this file may be used under the terms of Open CASCADE
 // commercial license or contractual agreement.
 
-//=======================================================================
-// function : OriginalShape
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void HLRTopoBRep_OutLiner::OriginalShape(const TopoDS_Shape& OriS)
 {
   myOriginalShape = OriS;
 }
 
-//=======================================================================
-// function : OriginalShape
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline TopoDS_Shape& HLRTopoBRep_OutLiner::OriginalShape()
 {
   return myOriginalShape;
 }
 
-//=======================================================================
-// function : OutLinedShape
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void HLRTopoBRep_OutLiner::OutLinedShape(const TopoDS_Shape& OutS)
 {
   myOutLinedShape = OutS;
 }
 
-//=======================================================================
-// function : OutLinedShape
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline TopoDS_Shape& HLRTopoBRep_OutLiner::OutLinedShape()
 {
   return myOutLinedShape;
 }
 
-//=======================================================================
-// function : DataStructure
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline HLRTopoBRep_Data& HLRTopoBRep_OutLiner::DataStructure()
 {
index 02d9186540d08cc9e439aebe1e369d34d0db012e..802c225b3291a4f2f9866d5bb53d74972d0a9203 100644 (file)
 // Alternatively, this file may be used under the terms of Open CASCADE
 // commercial license or contractual agreement.
 
-//=======================================================================
-// function : HLRTopoBRep_VData
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline HLRTopoBRep_VData::HLRTopoBRep_VData()
     : myParameter(0.0)
 {
 }
 
-//=======================================================================
-// function : Parameter
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Real HLRTopoBRep_VData::Parameter() const
 {
   return myParameter;
 }
 
-//=======================================================================
-// function : Vertex
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline const TopoDS_Shape& HLRTopoBRep_VData::Vertex() const
 {
index c14c812d870263959172bceea5cae739965951c3..743c3b4869e002550b67f3aa8b2ffa47530e4a64 100644 (file)
 //                                  ***--------*   IsJustAfter
 //                                       ***---*   IsAfter
 
-//=======================================================================
-// function : Start
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Real Intrv_Interval::Start() const
 {
   return myStart;
 }
 
-//=======================================================================
-// function : End
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Real Intrv_Interval::End() const
 {
   return myEnd;
 }
 
-//=======================================================================
-// function : TolStart
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_ShortReal Intrv_Interval::TolStart() const
 {
   return myTolStart;
 }
 
-//=======================================================================
-// function : TolEnd
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_ShortReal Intrv_Interval::TolEnd() const
 {
   return myTolEnd;
 }
 
-//=======================================================================
-// function : Bounds
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void Intrv_Interval::Bounds(Standard_Real&      Start,
                                    Standard_ShortReal& TolStart,
@@ -85,10 +70,7 @@ inline void Intrv_Interval::Bounds(Standard_Real&      Start,
   TolEnd   = myTolEnd;
 }
 
-//=======================================================================
-// function : SetStart
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void Intrv_Interval::SetStart(const Standard_Real Start, const Standard_ShortReal TolStart)
 {
@@ -139,10 +121,7 @@ inline void Intrv_Interval::CutAtStart(const Standard_Real Start, const Standard
   }
 }
 
-//=======================================================================
-// function : SetEnd
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void Intrv_Interval::SetEnd(const Standard_Real End, const Standard_ShortReal TolEnd)
 {
@@ -192,10 +171,7 @@ inline void Intrv_Interval::CutAtEnd(const Standard_Real End, const Standard_Sho
   }
 }
 
-//=======================================================================
-// function : AreFused
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean AreFused(const Standard_Real      c1,
                                  const Standard_ShortReal t1,
@@ -205,10 +181,7 @@ inline Standard_Boolean AreFused(const Standard_Real      c1,
   return t1 + t2 >= Abs(c1 - c2);
 }
 
-//=======================================================================
-// function : IsProbablyEmpty
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean Intrv_Interval::IsProbablyEmpty() const
 {
index f4812ea2c37b6e97dc0cf406744c3e2b901b92a7..05bc8687d3bfe4bf1d6a7a0abb9f6502ced9ab3d 100644 (file)
 // Alternatively, this file may be used under the terms of Open CASCADE
 // commercial license or contractual agreement.
 
-//=======================================================================
-//function : TopBas_Interference
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 
 TopBas_Interference::TopBas_Interference()
 {
 }
 
-//=======================================================================
-//function : TopBas_Interference
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 
 TopBas_Interference::TopBas_Interference(const TheSubShape& Inters,
                                         const TheShape& Bound,
index f9ebe62f7e249bbe505181f30f5b303d5c55a3d8..1bd8be4e2c335ca20216731c6c1afe57052ab7a0 100644 (file)
 // Alternatively, this file may be used under the terms of Open CASCADE
 // commercial license or contractual agreement.
 
-//=======================================================================
-// function : Intersection
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void TopBas_Interference::Intersection(const TheSubShape& I)
 {
   myIntersection = I;
 }
 
-//=======================================================================
-// function : Boundary
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void TopBas_Interference::Boundary(const TheShape& B)
 {
   myBoundary = B;
 }
 
-//=======================================================================
-// function : Orientation
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void TopBas_Interference::Orientation(const TopAbs_Orientation Or)
 {
   myOrientation = Or;
 }
 
-//=======================================================================
-// function : Transition
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void TopBas_Interference::Transition(const TopAbs_Orientation Or)
 {
   myTransition = Or;
 }
 
-//=======================================================================
-// function : BoundaryTransition
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void TopBas_Interference::BoundaryTransition(const TopAbs_Orientation Or)
 {
   myBTransition = Or;
 }
 
-//=======================================================================
-// function : Intersection
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline const TheSubShape& TopBas_Interference::Intersection() const
 {
   return myIntersection;
 }
 
-//=======================================================================
-// function : ChangeIntersection
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline TheSubShape& TopBas_Interference::ChangeIntersection()
 {
   return myIntersection;
 }
 
-//=======================================================================
-// function : Boundary
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline const TheShape& TopBas_Interference::Boundary() const
 {
   return myBoundary;
 }
 
-//=======================================================================
-// function : ChangeBoundary
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline TheShape& TopBas_Interference::ChangeBoundary()
 {
   return myBoundary;
 }
 
-//=======================================================================
-// function : Orientation
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline TopAbs_Orientation TopBas_Interference::Orientation() const
 {
   return myOrientation;
 }
 
-//=======================================================================
-// function : Transition
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline TopAbs_Orientation TopBas_Interference::Transition() const
 {
   return myTransition;
 }
 
-//=======================================================================
-// function : BoundaryTransition
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline TopAbs_Orientation TopBas_Interference::BoundaryTransition() const
 {
index 772d5e3fc0d576a82630e7df9169cef1a81afbe9..531c94c22181fe1de770ba74518955c8a9c60285 100644 (file)
@@ -541,28 +541,22 @@ void HelixBRep_BuilderHelix::SmoothingEdges(TopoDS_Edge& thePrev, TopoDS_Edge& t
   }
 }
 
-//=======================================================================
-// function : ErrorStatus
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 Standard_Integer HelixBRep_BuilderHelix::ErrorStatus() const
 {
   return myErrorStatus;
 }
 
-//=======================================================================
-// function : WarningStatus
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 Standard_Integer HelixBRep_BuilderHelix::WarningStatus() const
 {
   return myWarningStatus;
 }
 
-//=======================================================================
-// function : Shape
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 const TopoDS_Shape& HelixBRep_BuilderHelix::Shape() const
 {
   return myShape;
index 16371015beefbddfa194d854855907b8889ef361..2b47cca9f9d696a709cf385281407a02443f43cd 100644 (file)
@@ -274,10 +274,8 @@ void BRepMesh_Delaun::perform(IMeshData::VectorOfInteger& theVertexIndices,
   compute(theVertexIndices);
 }
 
-//=======================================================================
-// function : superMesh
-// purpose  : Build the super mesh
-//=======================================================================
+//=================================================================================================
+
 void BRepMesh_Delaun::superMesh(const Bnd_Box2d& theBox)
 {
   Standard_Real aMinX, aMinY, aMaxX, aMaxY;
index c212065150dbd346063707a89ab1fc009812dc35..28b7db7f0cedcc37cb1e41701dab2a56271baaf0 100644 (file)
 // Alternatively, this file may be used under the terms of Open CASCADE
 // commercial license or contractual agreement.
 
-//=======================================================================
-// function : First
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void BRepOffset_Interval::First(const Standard_Real U)
 {
   f = U;
 }
 
-//=======================================================================
-// function : Last
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void BRepOffset_Interval::Last(const Standard_Real U)
 {
   l = U;
 }
 
-//=======================================================================
-// function : Type
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void BRepOffset_Interval::Type(const ChFiDS_TypeOfConcavity T)
 {
   type = T;
 }
 
-//=======================================================================
-// function : First
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Real BRepOffset_Interval::First() const
 {
   return f;
 }
 
-//=======================================================================
-// function : Last
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Real BRepOffset_Interval::Last() const
 {
   return l;
 }
 
-//=======================================================================
-// function : Type
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline ChFiDS_TypeOfConcavity BRepOffset_Interval::Type() const
 {
index 0ae8f87c89a838b70b80169eb49e9b9591ffabe8..1307d4ba47980783ca8d73b6529db7d5b0b6fe90 100644 (file)
@@ -83,10 +83,7 @@ void BRepPrim_Builder::MakeEdge(TopoDS_Edge& E, const gp_Lin& L) const
   myBuilder.MakeEdge(E, new Geom_Line(L), Precision::Confusion());
 }
 
-//=======================================================================
-// function : MakeEdge
-// purpose  : Make a Circular Edge
-//=======================================================================
+//=================================================================================================
 
 void BRepPrim_Builder::MakeEdge(TopoDS_Edge& E, const gp_Circ& C) const
 {
@@ -201,10 +198,7 @@ void BRepPrim_Builder::AddWireEdge(TopoDS_Wire&           W,
   myBuilder.Add(W, EE);
 }
 
-//=======================================================================
-// function : AddFaceWire
-// purpose  : Add a Wire to a Face
-//=======================================================================
+//=================================================================================================
 
 void BRepPrim_Builder::AddFaceWire(TopoDS_Face& F, const TopoDS_Wire& W) const
 {
index 0fd67d590f5ab5f411a101f1ac33907a0b999b20..f6b5380b570ac9de061c952e29f18fb5b4018b98 100644 (file)
 // Alternatively, this file may be used under the terms of Open CASCADE
 // commercial license or contractual agreement.
 
-//=======================================================================
-// function : Builder
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline const BRep_Builder& BRepPrim_Builder::Builder() const
 {
index 93e92d8c929175ec590edced76d82bc10a823960..38168383894b27f668ce98b39653afcca3ae3ae7 100644 (file)
 // Alternatively, this file may be used under the terms of Open CASCADE
 // commercial license or contractual agreement.
 
-//=======================================================================
-// function : Builder
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline const BRep_Builder& BRepSweep_Builder::Builder() const
 {
index 52fbf9d3997e755e72bbc4e18f65163d2325e892..4abc7965636f214f392b13829ed9654bc51cd605 100644 (file)
 // Alternatively, this file may be used under the terms of Open CASCADE
 // commercial license or contractual agreement.
 
-//=======================================================================
-// function : More
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean BRepSweep_Iterator::More() const
 {
   return myIterator.More();
 }
 
-//=======================================================================
-// function : Value
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline const TopoDS_Shape& BRepSweep_Iterator::Value() const
 {
   return myIterator.Value();
 }
 
-//=======================================================================
-// function : Orientation
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline TopAbs_Orientation BRepSweep_Iterator::Orientation() const
 {
index ec6691d548b526eec5642f326bbdd6dce21e2099..6963d421d637b9c34faa80a6749618f5c83f477c 100644 (file)
 // Alternatively, this file may be used under the terms of Open CASCADE
 // commercial license or contractual agreement.
 
-//=======================================================================
-// function : Index
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer Sweep_NumShape::Index() const
 {
   return myIndex;
 }
 
-//=======================================================================
-// function : Type
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline TopAbs_ShapeEnum Sweep_NumShape::Type() const
 {
   return myType;
 }
 
-//=======================================================================
-// function : Closed
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean Sweep_NumShape::Closed() const
 {
   return myClosed;
 }
 
-//=======================================================================
-// function : BegInfinite
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean Sweep_NumShape::BegInfinite() const
 {
   return myBegInf;
 }
 
-//=======================================================================
-// function : EndInfinite
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean Sweep_NumShape::EndInfinite() const
 {
index d2e579652e201a271d3fedd3c9b2918aad14a8a9..452ac59a9aafe351aa55dbf74699293967bca813 100644 (file)
 // Alternatively, this file may be used under the terms of Open CASCADE
 // commercial license or contractual agreement.
 
-//=======================================================================
-// function : More
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean Sweep_NumShapeIterator::More() const
 {
   return myMore;
 }
 
-//=======================================================================
-// function : Value
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline const Sweep_NumShape& Sweep_NumShapeIterator::Value() const
 {
   return myCurrentNumShape;
 }
 
-//=======================================================================
-// function : Orientation
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline TopAbs_Orientation Sweep_NumShapeIterator::Orientation() const
 {
index 9bfdaa5c13a8e6ece7c425c03bb9536bb09d7b9f..f5f6bae2b4d0ac07ccdcb0d61b132646441cf3b3 100644 (file)
 
 #include <ShapeAlgo_AlgoContainer.hxx>
 
-//=======================================================================
-// function : SetToolContainer
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void ShapeAlgo_AlgoContainer::SetToolContainer(const Handle(ShapeAlgo_ToolContainer)& TC)
 {
   myTC = TC;
 }
 
-//=======================================================================
-// function : ToolContainer
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Handle(ShapeAlgo_ToolContainer) ShapeAlgo_AlgoContainer::ToolContainer() const
 {
index 290169d9bec3931c3f7ff0c8972ec19d093d1784..92395e3bf3cdb6c30acbe0cbf9e6683ced423490 100644 (file)
 #include <TopoDS.hxx>
 #include <TopTools_HSequenceOfShape.hxx>
 
-//=======================================================================
-// function : SetFreeBound
-// purpose  : Sets contour
-//=======================================================================
+//=================================================================================================
 
 inline void ShapeAnalysis_FreeBoundData::SetFreeBound(const TopoDS_Wire& freebound)
 {
@@ -72,10 +69,7 @@ inline void ShapeAnalysis_FreeBoundData::SetWidth(const Standard_Real width)
 // purpose  : Adds notch on free bound with its maximum width
 //=======================================================================
 
-//=======================================================================
-// function : FreeBound
-// purpose  : Returns contour
-//=======================================================================
+//=================================================================================================
 
 inline TopoDS_Wire ShapeAnalysis_FreeBoundData::FreeBound() const
 {
index a9f9a0830714dd607cf1b596b1bf0a19635c81b7..ee3b2ee56bb3ca27050767e648477d9c5708856e 100644 (file)
 // 25.12.98 pdn renaming methods GetWires and GetEdges to GetClosedWires and GetOpenWires
 // respectively
 
-//=======================================================================
-// function : GetClosedWires
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline const TopoDS_Compound& ShapeAnalysis_FreeBounds::GetClosedWires() const
 {
   return myWires;
 }
 
-//=======================================================================
-// function : GetOpenWires
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline const TopoDS_Compound& ShapeAnalysis_FreeBounds::GetOpenWires() const
 {
index 5eb2b8ea974393c3e5ac891eedf1f9506eb9a987..6fa4c2310e857ca0917189274f5e26c70890da59 100644 (file)
 
 #include <ShapeAnalysis_HSequenceOfFreeBounds.hxx>
 
-//=======================================================================
-// function : Shape
-// purpose  : Returns shape
-//=======================================================================
+//=================================================================================================
 
 inline TopoDS_Shape ShapeAnalysis_FreeBoundsProperties::Shape() const
 {
@@ -36,10 +33,7 @@ inline Standard_Boolean ShapeAnalysis_FreeBoundsProperties::IsLoaded() const
   return !(myShape.IsNull());
 }
 
-//=======================================================================
-// function : Tolerance
-// purpose  : Returns tolerance
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Real ShapeAnalysis_FreeBoundsProperties::Tolerance() const
 {
index 72b993395938ca1cead7116180f32d9705f07705..1abb1c86a3bb53469c7a0773237d492ee6ddd4ab 100644 (file)
@@ -520,10 +520,7 @@ Standard_Boolean ShapeAnalysis_Surface::IsDegenerated(const gp_Pnt2d&     p2d1,
   return du * du + dv * dv > max3d * max3d;
 }
 
-//=======================================================================
-// static : ComputeIso
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 static Handle(Geom_Curve) ComputeIso(const Handle(Geom_Surface)& surf,
                                      const Standard_Boolean      utype,
index fd0cd2e76bfbb72a003bd4154b6898444a7ae8ae..13999f2395fed49a2350d327f2dfbd3ce0a97f90 100644 (file)
 #include <Geom_Surface.hxx>
 #include <GeomAdaptor_Surface.hxx>
 
-//=======================================================================
-// function : Surface
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline const Handle(Geom_Surface)& ShapeAnalysis_Surface::Surface() const
 {
   return mySurf;
 }
 
-//=======================================================================
-// function : TrueAdaptor3d
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline const Handle(GeomAdaptor_Surface)& ShapeAnalysis_Surface::TrueAdaptor3d() const
 {
   return myAdSur;
 }
 
-//=======================================================================
-// function : Gap
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Real ShapeAnalysis_Surface::Gap() const
 {
   return myGap;
 }
 
-//=======================================================================
-// function : Value
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline gp_Pnt ShapeAnalysis_Surface::Value(const Standard_Real u, const Standard_Real v)
 {
   return myAdSur->Value(u, v);
 }
 
-//=======================================================================
-// function : Value
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline gp_Pnt ShapeAnalysis_Surface::Value(const gp_Pnt2d& p2d)
 {
   return myAdSur->Value(p2d.X(), p2d.Y());
 }
 
-//=======================================================================
-// function : Bounds
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void ShapeAnalysis_Surface::Bounds(Standard_Real& ufirst,
                                           Standard_Real& ulast,
@@ -80,20 +62,14 @@ inline void ShapeAnalysis_Surface::Bounds(Standard_Real& ufirst,
   vlast  = myVL;
 }
 
-//=======================================================================
-// function : UCloseVal
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Real ShapeAnalysis_Surface::UCloseVal() const
 {
   return myUCloseVal;
 }
 
-//=======================================================================
-// function : VCloseVal
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Real ShapeAnalysis_Surface::VCloseVal() const
 {
index b0582912d703d80cca517a60953b9759814a3e68..774845cd4935ca6d5513710e5c2f7ef322351274 100644 (file)
 #include <ShapeExtend.hxx>
 #include <ShapeExtend_WireData.hxx>
 
-//=======================================================================
-// function : IsLoaded
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean ShapeAnalysis_Wire::IsLoaded() const
 {
   return !myWire.IsNull() && myWire->NbEdges() > 0;
 }
 
-//=======================================================================
-// function : IsReady
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean ShapeAnalysis_Wire::IsReady() const
 {
   return IsLoaded() && !myFace.IsNull();
 }
 
-//=======================================================================
-// function : Precision
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Real ShapeAnalysis_Wire::Precision() const
 {
   return myPrecision;
 }
 
-//=======================================================================
-// function : WireData
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline const Handle(ShapeExtend_WireData)& ShapeAnalysis_Wire::WireData() const
 {
   return myWire;
 }
 
-//=======================================================================
-// function : NbEdges
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer ShapeAnalysis_Wire::NbEdges() const
 {
   return myWire.IsNull() ? 0 : myWire->NbEdges();
 }
 
-//=======================================================================
-// function : Face
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline const TopoDS_Face& ShapeAnalysis_Wire::Face() const
 {
   return myFace;
 }
 
-//=======================================================================
-// function : Surface
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline const Handle(ShapeAnalysis_Surface)& ShapeAnalysis_Wire::Surface() const
 {
   return mySurf;
 }
 
-//=======================================================================
-// function : StatusOrder
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean ShapeAnalysis_Wire::StatusOrder(const ShapeExtend_Status Status) const
 {
   return ShapeExtend::DecodeStatus(myStatusOrder, Status);
 }
 
-//=======================================================================
-// function : StatusConnected
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean ShapeAnalysis_Wire::StatusConnected(const ShapeExtend_Status Status) const
 {
   return ShapeExtend::DecodeStatus(myStatusConnected, Status);
 }
 
-//=======================================================================
-// function : StatusEdgeCurves
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean ShapeAnalysis_Wire::StatusEdgeCurves(const ShapeExtend_Status Status) const
 {
   return ShapeExtend::DecodeStatus(myStatusEdgeCurves, Status);
 }
 
-//=======================================================================
-// function : StatusDegenerated
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean ShapeAnalysis_Wire::StatusDegenerated(const ShapeExtend_Status Status) const
 {
   return ShapeExtend::DecodeStatus(myStatusDegenerated, Status);
 }
 
-//=======================================================================
-// function : StatusClosed
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean ShapeAnalysis_Wire::StatusClosed(const ShapeExtend_Status Status) const
 {
   return ShapeExtend::DecodeStatus(myStatusClosed, Status);
 }
 
-//=======================================================================
-// function : StatusSmall
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean ShapeAnalysis_Wire::StatusSmall(const ShapeExtend_Status Status) const
 {
   return ShapeExtend::DecodeStatus(myStatusSmall, Status);
 }
 
-//=======================================================================
-// function : StatusSelfIntersection
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean ShapeAnalysis_Wire::StatusSelfIntersection(
   const ShapeExtend_Status Status) const
@@ -156,100 +114,70 @@ inline Standard_Boolean ShapeAnalysis_Wire::StatusSelfIntersection(
   return ShapeExtend::DecodeStatus(myStatusSelfIntersection, Status);
 }
 
-//=======================================================================
-// function : StatusLacking
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean ShapeAnalysis_Wire::StatusLacking(const ShapeExtend_Status Status) const
 {
   return ShapeExtend::DecodeStatus(myStatusLacking, Status);
 }
 
-//=======================================================================
-// function : StatusGaps3d
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean ShapeAnalysis_Wire::StatusGaps3d(const ShapeExtend_Status Status) const
 {
   return ShapeExtend::DecodeStatus(myStatusGaps3d, Status);
 }
 
-//=======================================================================
-// function : StatusGaps2d
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean ShapeAnalysis_Wire::StatusGaps2d(const ShapeExtend_Status Status) const
 {
   return ShapeExtend::DecodeStatus(myStatusGaps2d, Status);
 }
 
-//=======================================================================
-// function : StatusCurveGaps
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean ShapeAnalysis_Wire::StatusCurveGaps(const ShapeExtend_Status Status) const
 {
   return ShapeExtend::DecodeStatus(myStatusCurveGaps, Status);
 }
 
-//=======================================================================
-// function : StatusLoop
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean ShapeAnalysis_Wire::StatusLoop(const ShapeExtend_Status Status) const
 {
   return ShapeExtend::DecodeStatus(myStatusLoop, Status);
 }
 
-//=======================================================================
-// function : Status
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean ShapeAnalysis_Wire::LastCheckStatus(const ShapeExtend_Status Status) const
 {
   return ShapeExtend::DecodeStatus(myStatus, Status);
 }
 
-//=======================================================================
-// function : MinDistance3d
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Real ShapeAnalysis_Wire::MinDistance3d() const
 {
   return myMin3d;
 }
 
-//=======================================================================
-// function : MinDistance2d
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Real ShapeAnalysis_Wire::MinDistance2d() const
 {
   return myMin2d;
 }
 
-//=======================================================================
-// function : MaxDistance3d
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Real ShapeAnalysis_Wire::MaxDistance3d() const
 {
   return myMax3d;
 }
 
-//=======================================================================
-// function : MaxDistance2d
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Real ShapeAnalysis_Wire::MaxDistance2d() const
 {
index 208c0644cd2859bc02a3a1bd15e51e697bab0a2c..bd8c87b9f90449d93a0560d1f954007b2c4f8e86 100644 (file)
@@ -347,10 +347,8 @@ Handle(Geom2d_BSplineCurve) ShapeConstruct_Curve::ConvertToBSpline(const Handle(
   return bspl;
 }
 
-//=======================================================================
-// function : FixKnots
-// purpose  : Fix coincided knots
-//=======================================================================
+//=================================================================================================
+
 Standard_Boolean ShapeConstruct_Curve::FixKnots(Handle(TColStd_HArray1OfReal)& knots)
 {
   Standard_Boolean Fixed   = Standard_False;
@@ -370,10 +368,8 @@ Standard_Boolean ShapeConstruct_Curve::FixKnots(Handle(TColStd_HArray1OfReal)& k
   return Fixed;
 }
 
-//=======================================================================
-// function : FixKnots
-// purpose  : Fix coincided knots
-//=======================================================================
+//=================================================================================================
+
 Standard_Boolean ShapeConstruct_Curve::FixKnots(TColStd_Array1OfReal& knots)
 {
   Standard_Boolean Fixed   = Standard_False;
index 9820068c3e776f4b3a63322594e40013ae06b75d..6b3761fb79a4bfb3ad92ea44357a703efc6c3e29 100644 (file)
 // Alternatively, this file may be used under the terms of Open CASCADE
 // commercial license or contractual agreement.
 
-//=======================================================================
-// function : SetTol3d
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void ShapeCustom_BSplineRestriction::SetTol3d(const Standard_Real Tol3d)
 {
   myTol3d = Tol3d;
 }
 
-//=======================================================================
-// function : SetTol2d
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void ShapeCustom_BSplineRestriction::SetTol2d(const Standard_Real Tol2d)
 {
   myTol2d = Tol2d;
 }
 
-//=======================================================================
-// function : ModifyApproxSurfaceFlag
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean& ShapeCustom_BSplineRestriction::ModifyApproxSurfaceFlag()
 {
@@ -42,120 +33,84 @@ inline Standard_Boolean& ShapeCustom_BSplineRestriction::ModifyApproxSurfaceFlag
   return myApproxSurfaceFlag;
 }
 
-//=======================================================================
-// function : ModifyApproxCurve3dFlag
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean& ShapeCustom_BSplineRestriction::ModifyApproxCurve3dFlag()
 {
   return myApproxCurve3dFlag;
 }
 
-//=======================================================================
-// function : ModifyApproxCurve2dFlag
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean& ShapeCustom_BSplineRestriction::ModifyApproxCurve2dFlag()
 {
   return myApproxCurve2dFlag;
 }
 
-//=======================================================================
-// function : SetContinuity3d
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void ShapeCustom_BSplineRestriction::SetContinuity3d(const GeomAbs_Shape Continuity3d)
 {
   myContinuity3d = Continuity3d;
 }
 
-//=======================================================================
-// function : SetContinuity2d
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void ShapeCustom_BSplineRestriction::SetContinuity2d(const GeomAbs_Shape Continuity2d)
 {
   myContinuity2d = Continuity2d;
 }
 
-//=======================================================================
-// function : SetMaxDegree
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void ShapeCustom_BSplineRestriction::SetMaxDegree(const Standard_Integer MaxDegree)
 {
   myMaxDegree = MaxDegree;
 }
 
-//=======================================================================
-// function : SetMaxNbSegments
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void ShapeCustom_BSplineRestriction::SetMaxNbSegments(const Standard_Integer MaxNbSegments)
 {
   myNbMaxSeg = MaxNbSegments;
 }
 
-//=======================================================================
-// function : Curve3dError
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Real ShapeCustom_BSplineRestriction::Curve3dError() const
 {
   return myCurve3dError;
 }
 
-//=======================================================================
-// function : Curve2dError
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Real ShapeCustom_BSplineRestriction::Curve2dError() const
 {
   return myCurve2dError;
 }
 
-//=======================================================================
-// function : SurfaceError
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Real ShapeCustom_BSplineRestriction::SurfaceError() const
 {
   return mySurfaceError;
 }
 
-//=======================================================================
-// function : SetPriority
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void ShapeCustom_BSplineRestriction::SetPriority(const Standard_Boolean Degree)
 {
   myDeg = Degree;
 }
 
-//=======================================================================
-// function : SetConvRational
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void ShapeCustom_BSplineRestriction::SetConvRational(const Standard_Boolean Rational)
 {
   myRational = Rational;
 }
 
-//=======================================================================
-// function : GetRestrictionParameters
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Handle(ShapeCustom_RestrictionParameters) ShapeCustom_BSplineRestriction::
   GetRestrictionParameters() const
@@ -163,10 +118,7 @@ inline Handle(ShapeCustom_RestrictionParameters) ShapeCustom_BSplineRestriction:
   return myParameters;
 }
 
-//=======================================================================
-// function : SetRestrictionParameters
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void ShapeCustom_BSplineRestriction::SetRestrictionParameters(
   const Handle(ShapeCustom_RestrictionParameters)& aModes)
index 97ddc35d9b0c5c567b2b5c07a212dcf79646d53f..cef41dae8b3861edd7d7a7a619c911c97157df0e 100644 (file)
 // Alternatively, this file may be used under the terms of Open CASCADE
 // commercial license or contractual agreement.
 
-//=======================================================================
-// function : GMaxDegree
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer& ShapeCustom_RestrictionParameters::GMaxDegree()
 {
   return myGMaxDegree;
 }
 
-//=======================================================================
-// function : GMaxSeg
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer& ShapeCustom_RestrictionParameters::GMaxSeg()
 {
   return myGMaxSeg;
 }
 
-//=======================================================================
-// function : ConvertPlane
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean& ShapeCustom_RestrictionParameters::ConvertPlane()
 {
   return myConvPlane;
 }
 
-//=======================================================================
-// function : ConvertBezierSurf
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean& ShapeCustom_RestrictionParameters::ConvertBezierSurf()
 {
   return myConvBezierSurf;
 }
 
-//=======================================================================
-// function : ConvertRevolutionSurf
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean& ShapeCustom_RestrictionParameters::ConvertRevolutionSurf()
 {
   return myConvRevolSurf;
 }
 
-//=======================================================================
-// function : ConvertExtrusionSurf
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean& ShapeCustom_RestrictionParameters::ConvertExtrusionSurf()
 {
   return myConvExtrSurf;
 }
 
-//=======================================================================
-// function : ConvertOffsetSurf
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean& ShapeCustom_RestrictionParameters::ConvertOffsetSurf()
 {
   return myConvOffsetSurf;
 }
 
-//=======================================================================
-// function : SegmentSurfaceMode
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean& ShapeCustom_RestrictionParameters::SegmentSurfaceMode()
 {
   return mySegmentSurfaceMode;
 }
 
-//=======================================================================
-// function : ConvertCurve3d
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean& ShapeCustom_RestrictionParameters::ConvertCurve3d()
 {
   return myConvCurve3d;
 }
 
-//=======================================================================
-// function : ConvertOffsetCurv3d
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean& ShapeCustom_RestrictionParameters::ConvertOffsetCurv3d()
 {
   return myConvOffsetCurv3d;
 }
 
-//=======================================================================
-// function : ConvertCurve2d
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean& ShapeCustom_RestrictionParameters::ConvertCurve2d()
 {
   return myConvCurve2d;
 }
 
-//=======================================================================
-// function : ConvertOffsetCurv2d
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean& ShapeCustom_RestrictionParameters::ConvertOffsetCurv2d()
 {
   return myConvOffsetCurv2d;
 }
 
-//=======================================================================
-// function : ConvertConicalSurface
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline Standard_Boolean& ShapeCustom_RestrictionParameters::ConvertConicalSurf()
 {
   return myConvConicalSurf;
 }
 
-//=======================================================================
-// function : ConvertSphericalSurf
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline Standard_Boolean& ShapeCustom_RestrictionParameters::ConvertSphericalSurf()
 {
   return myConvSphericalSurf;
 }
 
-//=======================================================================
-// function : ConvertToroidalSurf
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline Standard_Boolean& ShapeCustom_RestrictionParameters::ConvertToroidalSurf()
 {
   return myConvCylindricalSurf;
 }
 
-//=======================================================================
-// function : ConvertCylindricalSurf
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline Standard_Boolean& ShapeCustom_RestrictionParameters::ConvertCylindricalSurf()
 {
   return myConvToroidalSurf;
index 1f20b5c0d8176971eb3cb85556a5ae4127a22b2c..4b7f264766aba195897f8cd7071996dd6b35ec36 100644 (file)
 // Alternatively, this file may be used under the terms of Open CASCADE
 // commercial license or contractual agreement.
 
-//=======================================================================
-// function : ReversedParameter
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Real ShapeExtend_ComplexCurve::ReversedParameter(const Standard_Real U) const
 {
   return (1 - U);
 }
 
-//=======================================================================
-// function : FirstParameter
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Real ShapeExtend_ComplexCurve::FirstParameter() const
 {
   return 0;
 }
 
-//=======================================================================
-// function : LastParameter
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Real ShapeExtend_ComplexCurve::LastParameter() const
 {
   return 1;
 }
 
-//=======================================================================
-// function : IsClosed
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean ShapeExtend_ComplexCurve::IsClosed() const
 {
   return myClosed;
 }
 
-//=======================================================================
-// function : IsPeriodic
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean ShapeExtend_ComplexCurve::IsPeriodic() const
 {
   return Standard_False;
 }
 
-//=======================================================================
-// function : Continuity
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline GeomAbs_Shape ShapeExtend_ComplexCurve::Continuity() const
 {
   return GeomAbs_C0;
 }
 
-//=======================================================================
-// function : IsCN
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean ShapeExtend_ComplexCurve::IsCN(const Standard_Integer N) const
 {
index ad10c4d61144be510602a11f757775852493e3d2..80426d8ba02acb754d1591b468d33ec72018f9ee 100644 (file)
 
 #include <ShapeExtend_MsgRegistrator.hxx>
 
-//=======================================================================
-// function : MapTransient
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline const ShapeExtend_DataMapOfTransientListOfMsg& ShapeExtend_MsgRegistrator::MapTransient()
   const
@@ -26,10 +23,7 @@ inline const ShapeExtend_DataMapOfTransientListOfMsg& ShapeExtend_MsgRegistrator
   return myMapTransient;
 }
 
-//=======================================================================
-// function : MapShape
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline const ShapeExtend_DataMapOfShapeListOfMsg& ShapeExtend_MsgRegistrator::MapShape() const
 {
index eb4cc7ad123d21aa196a25489dcbbcc3662acc0a..14f53a632437e7db8f848f1d1d2287752a158742 100644 (file)
 
 #include <ShapeExtend.hxx>
 
-//=======================================================================
-// function : FixWireMode
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer& ShapeFix_Face::FixWireMode()
 {
   return myFixWireMode;
 }
 
-//=======================================================================
-// function : FixOrientationMode
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer& ShapeFix_Face::FixOrientationMode()
 {
   return myFixOrientationMode;
 }
 
-//=======================================================================
-// function : FixAddNaturalBoundMode
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer& ShapeFix_Face::FixAddNaturalBoundMode()
 {
   return myFixAddNaturalBoundMode;
 }
 
-//=======================================================================
-// function : FixMissingSeamMode
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer& ShapeFix_Face::FixMissingSeamMode()
 {
   return myFixMissingSeamMode;
 }
 
-//=======================================================================
-// function : FixSmallAreaWireMode
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer& ShapeFix_Face::FixSmallAreaWireMode()
 {
   return myFixSmallAreaWireMode;
 }
 
-//=======================================================================
-// function : RemoveSmallAreaFaceMode
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer& ShapeFix_Face::RemoveSmallAreaFaceMode()
 {
   return myRemoveSmallAreaFaceMode;
 }
 
-//=======================================================================
-// function : FixIntersectingWiresMode
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer& ShapeFix_Face::FixIntersectingWiresMode()
 {
   return myFixIntersectingWiresMode;
 }
 
-//=======================================================================
-// function : FixLoopWiresMode
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer& ShapeFix_Face::FixLoopWiresMode()
 {
   return myFixLoopWiresMode;
 }
 
-//=======================================================================
-// function : FixSplitFaceMode
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer& ShapeFix_Face::FixSplitFaceMode()
 {
   return myFixSplitFaceMode;
 }
 
-//=======================================================================
-// function : AutoCorrectPrecisionMode
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer& ShapeFix_Face::AutoCorrectPrecisionMode()
 {
   return myAutoCorrectPrecisionMode;
 }
 
-//=======================================================================
-// function : FixPeriodicDegeneratedMode
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer& ShapeFix_Face::FixPeriodicDegeneratedMode()
 {
   return myFixPeriodicDegenerated;
 }
 
-//=======================================================================
-// function : Face
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline TopoDS_Face ShapeFix_Face::Face() const
 {
   return myFace;
 }
 
-//=======================================================================
-// function : Result
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline TopoDS_Shape ShapeFix_Face::Result() const
 {
   return myResult;
 }
 
-//=======================================================================
-// function : Status
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean ShapeFix_Face::Status(const ShapeExtend_Status status) const
 {
   return ShapeExtend::DecodeStatus(myStatus, status);
 }
 
-//=======================================================================
-// function : FixWireTool
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Handle(ShapeFix_Wire) ShapeFix_Face::FixWireTool()
 {
index 1d9f59a69dd526612107aeee1f331c8b09777820..d1d77461daaf05e13354ba4ea2f071cd16570278 100644 (file)
 // Alternatively, this file may be used under the terms of Open CASCADE
 // commercial license or contractual agreement.
 
-//=======================================================================
-// function : GetClosedWires
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline const TopoDS_Compound& ShapeFix_FreeBounds::GetClosedWires() const
 {
   return myWires;
 }
 
-//=======================================================================
-// function : GetOpenWires
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline const TopoDS_Compound& ShapeFix_FreeBounds::GetOpenWires() const
 {
   return myEdges;
 }
 
-//=======================================================================
-// function : GetShape
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline const TopoDS_Shape& ShapeFix_FreeBounds::GetShape() const
 {
index b95d11643e291c9d9913f6ce8916f641d8747979..992c2486f103c8036318eb634056304733e75a81 100644 (file)
 // Alternatively, this file may be used under the terms of Open CASCADE
 // commercial license or contractual agreement.
 
-//=======================================================================
-// function : Context
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Handle(ShapeBuild_ReShape) ShapeFix_IntersectionTool::Context() const
 {
index 96d4dddbbc54e5f3a5697a90b9c4cfd513c7c934..d149db1239e12bb69ac690c0ba8d0c99a64b1256 100644 (file)
 
 #include <Precision.hxx>
 
-//=======================================================================
-// function : Context
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Handle(ShapeBuild_ReShape) ShapeFix_Root::Context() const
 {
   return myContext;
 }
 
-//=======================================================================
-// function : MsgRegistrator
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Handle(ShapeExtend_BasicMsgRegistrator) ShapeFix_Root::MsgRegistrator() const
 {
   return myMsgReg;
 }
 
-//=======================================================================
-// function : Precision
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Real ShapeFix_Root::Precision() const
 {
   return myPrecision;
 }
 
-//=======================================================================
-// function : MinTolerance
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Real ShapeFix_Root::MinTolerance() const
 {
   return myMinTol;
 }
 
-//=======================================================================
-// function : MaxTolerance
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Real ShapeFix_Root::MaxTolerance() const
 {
   return myMaxTol;
 }
 
-//=======================================================================
-// function : LimitTolerance
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Real ShapeFix_Root::LimitTolerance(const Standard_Real toler) const
 {
@@ -74,50 +56,35 @@ inline Standard_Real ShapeFix_Root::LimitTolerance(const Standard_Real toler) co
   return Min(myMaxTol, toler);
 }
 
-//=======================================================================
-// function : SendMsg
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void ShapeFix_Root::SendMsg(const Message_Msg& message, const Message_Gravity gravity) const
 {
   SendMsg(myShape, message, gravity);
 }
 
-//=======================================================================
-// function : SendWarning
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void ShapeFix_Root::SendWarning(const TopoDS_Shape& shape, const Message_Msg& message) const
 {
   SendMsg(shape, message, Message_Warning);
 }
 
-//=======================================================================
-// function : SendWarning
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void ShapeFix_Root::SendWarning(const Message_Msg& message) const
 {
   SendWarning(myShape, message);
 }
 
-//=======================================================================
-// function : SendFail
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void ShapeFix_Root::SendFail(const TopoDS_Shape& shape, const Message_Msg& message) const
 {
   SendMsg(shape, message, Message_Fail);
 }
 
-//=======================================================================
-// function : SendFail
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void ShapeFix_Root::SendFail(const Message_Msg& message) const
 {
index 90370f437b7a306262f0f7c1f436cd672f4d729f..5c3f3b39bf81aefc5314e687fefa44d88a2907a4 100644 (file)
 #include <ShapeFix_Face.hxx>
 #include <ShapeFix_Wire.hxx>
 
-//=======================================================================
-// function : FixSolidTool
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Handle(ShapeFix_Solid) ShapeFix_Shape::FixSolidTool() const
 {
   return myFixSolid;
 }
 
-//=======================================================================
-// function : FixShellTool
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Handle(ShapeFix_Shell) ShapeFix_Shape::FixShellTool() const
 {
   return myFixSolid->FixShellTool();
 }
 
-//=======================================================================
-// function : FixFaceTool
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Handle(ShapeFix_Face) ShapeFix_Shape::FixFaceTool() const
 {
   return myFixSolid->FixShellTool()->FixFaceTool();
 }
 
-//=======================================================================
-// function : FixWireTool
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Handle(ShapeFix_Wire) ShapeFix_Shape::FixWireTool() const
 {
   return myFixSolid->FixShellTool()->FixFaceTool()->FixWireTool();
 }
 
-//=======================================================================
-// function : FixEdgeTool
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Handle(ShapeFix_Edge) ShapeFix_Shape::FixEdgeTool() const
 {
   return myFixSolid->FixShellTool()->FixFaceTool()->FixWireTool()->FixEdgeTool();
 }
 
-//=======================================================================
-// function : FixSolidMode
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer& ShapeFix_Shape::FixSolidMode()
 {
   return myFixSolidMode;
 }
 
-//=======================================================================
-// function : FixFreeShellMode
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer& ShapeFix_Shape::FixFreeShellMode()
 {
   return myFixShellMode;
 }
 
-//=======================================================================
-// function : FixFreeFaceMode
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer& ShapeFix_Shape::FixFreeFaceMode()
 {
   return myFixFaceMode;
 }
 
-//=======================================================================
-// function : FixFreeWireMode
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer& ShapeFix_Shape::FixFreeWireMode()
 {
   return myFixWireMode;
 }
 
-//=======================================================================
-// function : FixSameParameterMode
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer& ShapeFix_Shape::FixSameParameterMode()
 {
   return myFixSameParameterMode;
 }
 
-//=======================================================================
-// function : FixVertexPositionMode
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer& ShapeFix_Shape::FixVertexPositionMode()
 {
   return myFixVertexPositionMode;
 }
 
-//=======================================================================
-// function : FixVertexTolMode
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer& ShapeFix_Shape::FixVertexTolMode()
 {
index b963d04422ca3330e8155fced6203c45596297ba..40ac088b0668109dc2fb9b491a6858323cd84be9 100644 (file)
 // Alternatively, this file may be used under the terms of Open CASCADE
 // commercial license or contractual agreement.
 
-//=======================================================================
-// function : FixFaceTool
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Handle(ShapeFix_Face) ShapeFix_Shell::FixFaceTool()
 {
   return myFixFace;
 }
 
-//=======================================================================
-// function : FixFaceMode
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer& ShapeFix_Shell::FixFaceMode()
 {
   return myFixFaceMode;
 }
 
-//=======================================================================
-// function : FixOrientationMode
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer& ShapeFix_Shell::FixOrientationMode()
 {
index 186f6378793659be873297cb927b585df42d0311..760550c3777d4b760d62062f0fcc2897e0deee61 100644 (file)
 #include <ShapeExtend_WireData.hxx>
 #include <ShapeAnalysis_Wire.hxx>
 
-//=======================================================================
-// function : SetFace
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void ShapeFix_Wire::SetFace(const TopoDS_Face& face)
 {
   myAnalyzer->SetFace(face);
 }
 
-//=======================================================================
-// function : SetSurface
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void ShapeFix_Wire::SetSurface(const Handle(Geom_Surface)& surf)
 {
@@ -54,140 +48,98 @@ inline void ShapeFix_Wire::SetSurface(const Handle(ShapeAnalysis_Surface)& theSu
   myAnalyzer->SetSurface(theSurfaceAnalysis);
 }
 
-//=======================================================================
-// function : SetSurface
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void ShapeFix_Wire::SetSurface(const Handle(Geom_Surface)& surf, const TopLoc_Location& loc)
 {
   myAnalyzer->SetSurface(surf, loc);
 }
 
-//=======================================================================
-// function : IsLoaded
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean ShapeFix_Wire::IsLoaded() const
 {
   return myAnalyzer->IsLoaded();
 }
 
-//=======================================================================
-// function : IsReady
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean ShapeFix_Wire::IsReady() const
 {
   return myAnalyzer->IsReady();
 }
 
-//=======================================================================
-// function : Wire
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline TopoDS_Wire ShapeFix_Wire::Wire() const
 {
   return myAnalyzer->WireData()->Wire();
 }
 
-//=======================================================================
-// function : WireAPIMake
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline TopoDS_Wire ShapeFix_Wire::WireAPIMake() const
 {
   return myAnalyzer->WireData()->WireAPIMake();
 }
 
-//=======================================================================
-// function : Analyzer
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Handle(ShapeAnalysis_Wire) ShapeFix_Wire::Analyzer() const
 {
   return myAnalyzer;
 }
 
-//=======================================================================
-// function : WireData
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline const Handle(ShapeExtend_WireData)& ShapeFix_Wire::WireData() const
 {
   return myAnalyzer->WireData();
 }
 
-//=======================================================================
-// function : Face
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline const TopoDS_Face& ShapeFix_Wire::Face() const
 {
   return myAnalyzer->Face();
 }
 
-//=======================================================================
-// function : ModifyTopologyMode
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean& ShapeFix_Wire::ModifyTopologyMode()
 {
   return myTopoMode;
 }
 
-//=======================================================================
-// function : ModifyGeometryMode
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean& ShapeFix_Wire::ModifyGeometryMode()
 {
   return myGeomMode;
 }
 
-//=======================================================================
-// function : ModifyRemoveLoopMode
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer& ShapeFix_Wire::ModifyRemoveLoopMode()
 {
   return myRemoveLoopMode;
 }
 
-//=======================================================================
-// function : ClosedWireMode
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean& ShapeFix_Wire::ClosedWireMode()
 {
   return myClosedMode;
 }
 
-//=======================================================================
-// function : PreferencePCurveMode
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean& ShapeFix_Wire::PreferencePCurveMode()
 {
   return myPreference2d;
 }
 
-//=======================================================================
-// function : FixGapsByRangesMode
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean& ShapeFix_Wire::FixGapsByRangesMode()
 {
@@ -197,50 +149,35 @@ inline Standard_Boolean& ShapeFix_Wire::FixGapsByRangesMode()
 //=======================================================================
 // function : Fix..Mode for high-level fixes
 
-//=======================================================================
-// function : FixReorderMode
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer& ShapeFix_Wire::FixReorderMode()
 {
   return myFixReorderMode;
 }
 
-//=======================================================================
-// function : FixSmallMode
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer& ShapeFix_Wire::FixSmallMode()
 {
   return myFixSmallMode;
 }
 
-//=======================================================================
-// function : FixConnectedMode
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer& ShapeFix_Wire::FixConnectedMode()
 {
   return myFixConnectedMode;
 }
 
-//=======================================================================
-// function : FixEdgeCurvesMode
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer& ShapeFix_Wire::FixEdgeCurvesMode()
 {
   return myFixEdgeCurvesMode;
 }
 
-//=======================================================================
-// function : FixDegeneratedMode
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer& ShapeFix_Wire::FixDegeneratedMode()
 {
@@ -250,180 +187,127 @@ inline Standard_Integer& ShapeFix_Wire::FixDegeneratedMode()
 //=======================================================================
 // function : Fix..Mode for low-level fixes
 
-//=======================================================================
-// function : FixReversed2dMode
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer& ShapeFix_Wire::FixReversed2dMode()
 {
   return myFixReversed2dMode;
 }
 
-//=======================================================================
-// function : FixRemovePCurveMode
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer& ShapeFix_Wire::FixRemovePCurveMode()
 {
   return myFixRemovePCurveMode;
 }
 
-//=======================================================================
-// function : FixRemoveCurve3dMode
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer& ShapeFix_Wire::FixRemoveCurve3dMode()
 {
   return myFixRemoveCurve3dMode;
 }
 
-//=======================================================================
-// function : FixAddPCurveMode
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer& ShapeFix_Wire::FixAddPCurveMode()
 {
   return myFixAddPCurveMode;
 }
 
-//=======================================================================
-// function : FixAddCurve3dMode
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer& ShapeFix_Wire::FixAddCurve3dMode()
 {
   return myFixAddCurve3dMode;
 }
 
-//=======================================================================
-// function : FixSeamMode
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer& ShapeFix_Wire::FixSeamMode()
 {
   return myFixSeamMode;
 }
 
-//=======================================================================
-// function : FixShiftedMode
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer& ShapeFix_Wire::FixShiftedMode()
 {
   return myFixShiftedMode;
 }
 
-//=======================================================================
-// function : FixSameParameterMode
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer& ShapeFix_Wire::FixSameParameterMode()
 {
   return myFixSameParameterMode;
 }
 
-//=======================================================================
-// function : FixVertexToleranceMode
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer& ShapeFix_Wire::FixVertexToleranceMode()
 {
   return myFixVertexToleranceMode;
 }
 
-//=======================================================================
-// function : FixLackingMode
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer& ShapeFix_Wire::FixLackingMode()
 {
   return myFixLackingMode;
 }
 
-//=======================================================================
-// function : FixSelfIntersectionMode
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer& ShapeFix_Wire::FixSelfIntersectionMode()
 {
   return myFixSelfIntersectionMode;
 }
 
-//=======================================================================
-// function : FixGaps3dMode
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer& ShapeFix_Wire::FixGaps3dMode()
 {
   return myFixGaps3dMode;
 }
 
-//=======================================================================
-// function : FixGaps2dMode
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer& ShapeFix_Wire::FixGaps2dMode()
 {
   return myFixGaps2dMode;
 }
 
-//=======================================================================
-// function : FixNotchedEdgesMode
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer& ShapeFix_Wire::FixNotchedEdgesMode()
 {
   return myFixNotchedEdgesMode;
 }
 
-//=======================================================================
-// function : FixSelfIntersectingEdgeMode
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer& ShapeFix_Wire::FixSelfIntersectingEdgeMode()
 {
   return myFixSelfIntersectingEdgeMode;
 }
 
-//=======================================================================
-// function : FixIntersectingEdgesMode
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer& ShapeFix_Wire::FixIntersectingEdgesMode()
 {
   return myFixIntersectingEdgesMode;
 }
 
-//=======================================================================
-// function : FixNonAdjacentIntersectingEdgesMode
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer& ShapeFix_Wire::FixNonAdjacentIntersectingEdgesMode()
 {
   return myFixNonAdjacentIntersectingEdgesMode;
 }
 
-//=======================================================================
-// function : FixTailMode
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline Standard_Integer& ShapeFix_Wire::FixTailMode()
 {
   return myFixTailMode;
@@ -432,120 +316,85 @@ inline Standard_Integer& ShapeFix_Wire::FixTailMode()
 //=======================================================================
 // function : Status.. for high-level methods
 
-//=======================================================================
-// function : StatusReorder
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean ShapeFix_Wire::StatusReorder(const ShapeExtend_Status status) const
 {
   return ShapeExtend::DecodeStatus(myStatusReorder, status);
 }
 
-//=======================================================================
-// function : StatusSmall
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean ShapeFix_Wire::StatusSmall(const ShapeExtend_Status status) const
 {
   return ShapeExtend::DecodeStatus(myStatusSmall, status);
 }
 
-//=======================================================================
-// function : StatusConnected
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean ShapeFix_Wire::StatusConnected(const ShapeExtend_Status status) const
 {
   return ShapeExtend::DecodeStatus(myStatusConnected, status);
 }
 
-//=======================================================================
-// function : StatusEdgeCurves
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean ShapeFix_Wire::StatusEdgeCurves(const ShapeExtend_Status status) const
 {
   return ShapeExtend::DecodeStatus(myStatusEdgeCurves, status);
 }
 
-//=======================================================================
-// function : StatusDegenerated
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean ShapeFix_Wire::StatusDegenerated(const ShapeExtend_Status status) const
 {
   return ShapeExtend::DecodeStatus(myStatusDegenerated, status);
 }
 
-//=======================================================================
-// function : StatusLacking
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean ShapeFix_Wire::StatusLacking(const ShapeExtend_Status status) const
 {
   return ShapeExtend::DecodeStatus(myStatusLacking, status);
 }
 
-//=======================================================================
-// function : StatusSelfIntersection
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean ShapeFix_Wire::StatusSelfIntersection(const ShapeExtend_Status status) const
 {
   return ShapeExtend::DecodeStatus(myStatusSelfIntersection, status);
 }
 
-//=======================================================================
-// function : StatusGaps3d
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean ShapeFix_Wire::StatusGaps3d(const ShapeExtend_Status status) const
 {
   return ShapeExtend::DecodeStatus(myStatusGaps3d, status);
 }
 
-//=======================================================================
-// function : StatusGaps2d
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean ShapeFix_Wire::StatusGaps2d(const ShapeExtend_Status status) const
 {
   return ShapeExtend::DecodeStatus(myStatusGaps2d, status);
 }
 
-//=======================================================================
-// function : StatusClosed
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean ShapeFix_Wire::StatusClosed(const ShapeExtend_Status status) const
 {
   return ShapeExtend::DecodeStatus(myStatusClosed, status);
 }
 
-//=======================================================================
-// function : StatusNotches
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean ShapeFix_Wire::StatusNotches(const ShapeExtend_Status status) const
 {
   return ShapeExtend::DecodeStatus(myStatusNotches, status);
 }
 
-//=======================================================================
-// function : StatusFixTails
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline Standard_Boolean ShapeFix_Wire::StatusFixTails(const ShapeExtend_Status status) const
 {
   return ShapeExtend::DecodeStatus(myStatusFixTails, status);
@@ -561,20 +410,14 @@ inline Standard_Boolean ShapeFix_Wire::LastFixStatus(const ShapeExtend_Status st
   return ShapeExtend::DecodeStatus(myLastFixStatus, status);
 }
 
-//=======================================================================
-// function : FixEdgeTool
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Handle(ShapeFix_Edge) ShapeFix_Wire::FixEdgeTool() const
 {
   return myFixEdge;
 }
 
-//=======================================================================
-// function : StatusRemovedSegment
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean ShapeFix_Wire::StatusRemovedSegment() const
 {
index 05b090edbfb94b1554834fb0accab873dce8fa30..248de86fa06ba430f5bc8380f3cb17cbe359bbcb 100644 (file)
 
 #include <ShapeExtend.hxx>
 
-//=======================================================================
-// function : StatusWireGaps
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean ShapeFix_Wireframe::StatusWireGaps(const ShapeExtend_Status status) const
 {
   return ShapeExtend::DecodeStatus(myStatusWireGaps, status);
 }
 
-//=======================================================================
-// function : StatusSmallEdges
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean ShapeFix_Wireframe::StatusSmallEdges(const ShapeExtend_Status status) const
 {
   return ShapeExtend::DecodeStatus(myStatusSmallEdges, status);
 }
 
-//=======================================================================
-// function : Shape
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline TopoDS_Shape ShapeFix_Wireframe::Shape()
 {
   return myShape;
 }
 
-//=======================================================================
-// function : ModeDropSmallEdges
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean& ShapeFix_Wireframe::ModeDropSmallEdges()
 {
   return myModeDrop;
 }
 
-//=======================================================================
-// function : SetLimitAngle
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void ShapeFix_Wireframe::SetLimitAngle(const Standard_Real theLimitAngle)
 {
   myLimitAngle = theLimitAngle;
 }
 
-//=======================================================================
-// function : LimitAngle
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Real ShapeFix_Wireframe::LimitAngle() const
 {
index f3963b8b095900c6c4bd88f6443cebe329fb7b3c..d12d3965400e637516789520ba92de4c3ddf1158 100644 (file)
@@ -438,10 +438,7 @@ static Standard_Boolean converttobspline(const Handle(ShapeProcess_Context)& con
   return Standard_True;
 }
 
-//=======================================================================
-// function : splitcontinuity
-// purpose  : Split by Continuity
-//=======================================================================
+//=================================================================================================
 
 static Standard_Boolean splitcontinuity(const Handle(ShapeProcess_Context)& context,
                                         const Message_ProgressRange&)
index c24eef5e9204a6c55c93c384314981238150011f..360d6f09735c6e1b57d2ae66ecc6262c51980f61 100644 (file)
 // Alternatively, this file may be used under the terms of Open CASCADE
 // commercial license or contractual agreement.
 
-//=======================================================================
-// function : SetLineMode
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void ShapeUpgrade_ConvertCurve3dToBezier::SetLineMode(const Standard_Boolean mode)
 {
   myLineMode = mode;
 }
 
-//=======================================================================
-// function : GetLineMode
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean ShapeUpgrade_ConvertCurve3dToBezier::GetLineMode() const
 {
   return myLineMode;
 }
 
-//=======================================================================
-// function : SetCircleMode
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void ShapeUpgrade_ConvertCurve3dToBezier::SetCircleMode(const Standard_Boolean mode)
 {
   myCircleMode = mode;
 }
 
-//=======================================================================
-// function : GetCircleMode
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean ShapeUpgrade_ConvertCurve3dToBezier::GetCircleMode() const
 {
   return myCircleMode;
 }
 
-//=======================================================================
-// function : SetConicMode
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void ShapeUpgrade_ConvertCurve3dToBezier::SetConicMode(const Standard_Boolean mode)
 {
   myConicMode = mode;
 }
 
-//=======================================================================
-// function : GetConicMode
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean ShapeUpgrade_ConvertCurve3dToBezier::GetConicMode() const
 {
index f46c608be6f3abd384599923c572b5f33d619f89..8f79e2e1e9c52b92af13965a17d54240510cfab4 100644 (file)
 // Alternatively, this file may be used under the terms of Open CASCADE
 // commercial license or contractual agreement.
 
-//=======================================================================
-// function : SetPlaneMode
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void ShapeUpgrade_ConvertSurfaceToBezierBasis::SetPlaneMode(const Standard_Boolean mode)
 {
   myPlaneMode = mode;
 }
 
-//=======================================================================
-// function : GetPlaneMode
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean ShapeUpgrade_ConvertSurfaceToBezierBasis::GetPlaneMode() const
 {
   return myPlaneMode;
 }
 
-//=======================================================================
-// function : SetRevolutionMode
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void ShapeUpgrade_ConvertSurfaceToBezierBasis::SetRevolutionMode(const Standard_Boolean mode)
 {
   myRevolutionMode = mode;
 }
 
-//=======================================================================
-// function : GetRevolutionMode
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean ShapeUpgrade_ConvertSurfaceToBezierBasis::GetRevolutionMode() const
 {
   return myRevolutionMode;
 }
 
-//=======================================================================
-// function : SetExtrusionMode
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void ShapeUpgrade_ConvertSurfaceToBezierBasis::SetExtrusionMode(const Standard_Boolean mode)
 {
   myExtrusionMode = mode;
 }
 
-//=======================================================================
-// function : GetExtrusionMode
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean ShapeUpgrade_ConvertSurfaceToBezierBasis::GetExtrusionMode() const
 {
   return myExtrusionMode;
 }
 
-//=======================================================================
-// function : SetBSplineMode
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void ShapeUpgrade_ConvertSurfaceToBezierBasis::SetBSplineMode(const Standard_Boolean mode)
 {
   myBSplineMode = mode;
 }
 
-//=======================================================================
-// function : GetBSplineMode
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean ShapeUpgrade_ConvertSurfaceToBezierBasis::GetBSplineMode() const
 {
index 4f52f3397e0e3cb721319ad0a9ac0aa751d43cb3..105bdcf05952c999f78dd8422b1992293c616601 100644 (file)
 // Alternatively, this file may be used under the terms of Open CASCADE
 // commercial license or contractual agreement.
 
-//=======================================================================
-// function : SetFace
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void ShapeUpgrade_EdgeDivide::SetFace(const TopoDS_Face& F)
 {
   myFace = F;
 }
 
-//=======================================================================
-// function : HasCurve2d
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean ShapeUpgrade_EdgeDivide::HasCurve2d() const
 {
   return myHasCurve2d;
 }
 
-//=======================================================================
-// function : HasCurve3d
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean ShapeUpgrade_EdgeDivide::HasCurve3d() const
 {
   return myHasCurve3d;
 }
 
-//=======================================================================
-// function : Knots2d
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Handle(TColStd_HSequenceOfReal) ShapeUpgrade_EdgeDivide::Knots2d() const
 {
   return myKnots2d;
 }
 
-//=======================================================================
-// function : Knots3d
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Handle(TColStd_HSequenceOfReal) ShapeUpgrade_EdgeDivide::Knots3d() const
 {
index a2fc77870707b9b67eb6b21c11eeb7255d50356a..3f696c90b8f9f03ff84cf573269c69edb3c17d2d 100644 (file)
 
 #include <ShapeExtend.hxx>
 
-//=======================================================================
-// function : MinArea
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Real& ShapeUpgrade_RemoveInternalWires::MinArea()
 {
   return myMinArea;
 }
 
-//=======================================================================
-// function : RemoveFaceMode
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean& ShapeUpgrade_RemoveInternalWires::RemoveFaceMode()
 {
   return myRemoveFacesMode;
 }
 
-//=======================================================================
-// function : RemovedFaces
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline const TopTools_SequenceOfShape& ShapeUpgrade_RemoveInternalWires::RemovedFaces() const
 {
   return myRemovedFaces;
 }
 
-//=======================================================================
-// function : RemovedWires
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline const TopTools_SequenceOfShape& ShapeUpgrade_RemoveInternalWires::RemovedWires() const
 {
   return myRemoveWires;
 }
 
-//=======================================================================
-// function : GetResult
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline TopoDS_Shape ShapeUpgrade_RemoveInternalWires::GetResult() const
 {
   return myResult;
 }
 
-//=======================================================================
-// function : Status
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean ShapeUpgrade_RemoveInternalWires::Status(
   const ShapeExtend_Status theStatus) const
index 24aa99af74c4b7bfb4f764b916a9127a42b3074d..57ea7cbc4a7f550766a6a37bb68b6fdd03a09c77 100644 (file)
 // Alternatively, this file may be used under the terms of Open CASCADE
 // commercial license or contractual agreement.
 
-//=======================================================================
-// function : GetResult
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline TopoDS_Shape ShapeUpgrade_RemoveLocations::GetResult() const
 {
   return myShape;
 }
 
-//=======================================================================
-// function : SetRemoveLevel
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void ShapeUpgrade_RemoveLocations::SetRemoveLevel(const TopAbs_ShapeEnum theLevel)
 {
@@ -35,20 +29,14 @@ inline void ShapeUpgrade_RemoveLocations::SetRemoveLevel(const TopAbs_ShapeEnum
     myLevelRemoving = theLevel;
 }
 
-//=======================================================================
-// function : RemoveLevel
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline TopAbs_ShapeEnum ShapeUpgrade_RemoveLocations::RemoveLevel() const
 {
   return myLevelRemoving;
 }
 
-//=======================================================================
-// function : ModifiedShape
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline TopoDS_Shape ShapeUpgrade_RemoveLocations::ModifiedShape(
   const TopoDS_Shape& theInitShape) const
index b9b759b9d352a2c715599e7fed7c162eb027077d..52df5406ce9aa160f16cdce2f2f67f1b05dd4b07 100644 (file)
 // Alternatively, this file may be used under the terms of Open CASCADE
 // commercial license or contractual agreement.
 
-//=======================================================================
-// function : Set2dConversion
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void ShapeUpgrade_ShapeConvertToBezier::Set2dConversion(const Standard_Boolean mode)
 {
   my2dMode = mode;
 }
 
-//=======================================================================
-// function : Get2dConversion
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean ShapeUpgrade_ShapeConvertToBezier::Get2dConversion() const
 {
   return my2dMode;
 }
 
-//=======================================================================
-// function : Set3dConversion
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void ShapeUpgrade_ShapeConvertToBezier::Set3dConversion(const Standard_Boolean mode)
 {
   my3dMode = mode;
 }
 
-//=======================================================================
-// function : Get3dConversion
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean ShapeUpgrade_ShapeConvertToBezier::Get3dConversion() const
 {
   return my3dMode;
 }
 
-//=======================================================================
-// function : SetSurfaceConversion
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void ShapeUpgrade_ShapeConvertToBezier::SetSurfaceConversion(const Standard_Boolean mode)
 {
   mySurfaceMode = mode;
 }
 
-//=======================================================================
-// function : GetSurfaceConversion
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean ShapeUpgrade_ShapeConvertToBezier::GetSurfaceConversion() const
 {
   return mySurfaceMode;
 }
 
-//=======================================================================
-// function : Set3dLineConversion
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void ShapeUpgrade_ShapeConvertToBezier::Set3dLineConversion(const Standard_Boolean mode)
 {
   my3dLineMode = mode;
 }
 
-//=======================================================================
-// function : Get3dLineConversion
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean ShapeUpgrade_ShapeConvertToBezier::Get3dLineConversion() const
 {
   return my3dLineMode;
 }
 
-//=======================================================================
-// function : Set3dCircleConversion
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void ShapeUpgrade_ShapeConvertToBezier::Set3dCircleConversion(const Standard_Boolean mode)
 {
   my3dCircleMode = mode;
 }
 
-//=======================================================================
-// function : Get3dCircleConversion
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean ShapeUpgrade_ShapeConvertToBezier::Get3dCircleConversion() const
 {
   return my3dCircleMode;
 }
 
-//=======================================================================
-// function : Set3dConicConversion
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void ShapeUpgrade_ShapeConvertToBezier::Set3dConicConversion(const Standard_Boolean mode)
 {
   my3dConicMode = mode;
 }
 
-//=======================================================================
-// function : Get3dConicConversion
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean ShapeUpgrade_ShapeConvertToBezier::Get3dConicConversion() const
 {
   return my3dConicMode;
 }
 
-//=======================================================================
-// function : SetPlaneMode
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void ShapeUpgrade_ShapeConvertToBezier::SetPlaneMode(const Standard_Boolean mode)
 {
   myPlaneMode = mode;
 }
 
-//=======================================================================
-// function : GetPlaneMode
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean ShapeUpgrade_ShapeConvertToBezier::GetPlaneMode() const
 {
   return myPlaneMode;
 }
 
-//=======================================================================
-// function : SetRevolutionMode
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void ShapeUpgrade_ShapeConvertToBezier::SetRevolutionMode(const Standard_Boolean mode)
 {
   myRevolutionMode = mode;
 }
 
-//=======================================================================
-// function : GetRevolutionMode
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean ShapeUpgrade_ShapeConvertToBezier::GetRevolutionMode() const
 {
   return myRevolutionMode;
 }
 
-//=======================================================================
-// function : SetExtrusionMode
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void ShapeUpgrade_ShapeConvertToBezier::SetExtrusionMode(const Standard_Boolean mode)
 {
   myExtrusionMode = mode;
 }
 
-//=======================================================================
-// function : GetExtrusionMode
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean ShapeUpgrade_ShapeConvertToBezier::GetExtrusionMode() const
 {
   return myExtrusionMode;
 }
 
-//=======================================================================
-// function : SetBSplineMode
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void ShapeUpgrade_ShapeConvertToBezier::SetBSplineMode(const Standard_Boolean mode)
 {
   myBSplineMode = mode;
 }
 
-//=======================================================================
-// function : GetBSplineMode
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean ShapeUpgrade_ShapeConvertToBezier::GetBSplineMode() const
 {
index 312f6b670df2589f7d5f132e191c12c944f08b15..6d94bef273ba063d6c0f49e94893e0880e41120f 100644 (file)
 // Alternatively, this file may be used under the terms of Open CASCADE
 // commercial license or contractual agreement.
 
-//=======================================================================
-// function : SetContext
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void ShapeUpgrade_Tool::SetContext(const Handle(ShapeBuild_ReShape)& context)
 {
   myContext = context;
 }
 
-//=======================================================================
-// function : Context
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Handle(ShapeBuild_ReShape) ShapeUpgrade_Tool::Context() const
 {
   return myContext;
 }
 
-//=======================================================================
-// function : SetPrecision
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void ShapeUpgrade_Tool::SetPrecision(const Standard_Real preci)
 {
@@ -48,60 +39,42 @@ inline void ShapeUpgrade_Tool::SetPrecision(const Standard_Real preci)
     myMinTol = myPrecision;
 }
 
-//=======================================================================
-// function : Precision
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Real ShapeUpgrade_Tool::Precision() const
 {
   return myPrecision;
 }
 
-//=======================================================================
-// function : SetMinTolerance
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void ShapeUpgrade_Tool::SetMinTolerance(const Standard_Real mintol)
 {
   myMinTol = mintol;
 }
 
-//=======================================================================
-// function : MinTolerance
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Real ShapeUpgrade_Tool::MinTolerance() const
 {
   return myMinTol;
 }
 
-//=======================================================================
-// function : SetMaxTolerance
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void ShapeUpgrade_Tool::SetMaxTolerance(const Standard_Real maxtol)
 {
   myMaxTol = maxtol;
 }
 
-//=======================================================================
-// function : MaxTolerance
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Real ShapeUpgrade_Tool::MaxTolerance() const
 {
   return myMaxTol;
 }
 
-//=======================================================================
-// function : LimitTolerance
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Real ShapeUpgrade_Tool::LimitTolerance(const Standard_Real toler) const
 {
index be5adef96bc1b742f1ce9a0158404f28ceb2b9d5..a7136cdf4961bfc97a0939736644226d0208b149 100644 (file)
 // Alternatively, this file may be used under the terms of Open CASCADE
 // commercial license or contractual agreement.
 
-//=======================================================================
-// function : SetMaxTolerance
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void BRepBuilderAPI_Sewing::SetMaxTolerance(const Standard_Real theMaxToler)
 {
   myMaxTolerance = theMaxToler;
 }
 
-//=======================================================================
-// function : MaxTolerance
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Real BRepBuilderAPI_Sewing::MaxTolerance() const
 {
   return myMaxTolerance;
 }
 
-//=======================================================================
-// function : Tolerance
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Real BRepBuilderAPI_Sewing::Tolerance() const
 {
   return myTolerance;
 }
 
-//=======================================================================
-// function : SetTolerance
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void BRepBuilderAPI_Sewing::SetTolerance(const Standard_Real theToler)
 {
   myTolerance = theToler;
 }
 
-//=======================================================================
-// function : SetMinTolerance
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void BRepBuilderAPI_Sewing::SetMinTolerance(const Standard_Real theMinToler)
 {
   myMinTolerance = theMinToler;
 }
 
-//=======================================================================
-// function : MinTolerance
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Real BRepBuilderAPI_Sewing::MinTolerance() const
 {
   return myMinTolerance;
 }
 
-//=======================================================================
-// function : SetFaceMode
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void BRepBuilderAPI_Sewing::SetFaceMode(const Standard_Boolean theFaceMode)
 {
   myFaceMode = theFaceMode;
 }
 
-//=======================================================================
-// function : FaceMode
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean BRepBuilderAPI_Sewing::FaceMode() const
 {
   return myFaceMode;
 }
 
-//=======================================================================
-// function : SetFloatingEdgesMode
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void BRepBuilderAPI_Sewing::SetFloatingEdgesMode(const Standard_Boolean theFloatingEdgesMode)
 {
   myFloatingEdgesMode = theFloatingEdgesMode;
 }
 
-//=======================================================================
-// function : FloatingEdgesMode
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean BRepBuilderAPI_Sewing::FloatingEdgesMode() const
 {
@@ -114,10 +84,8 @@ inline Standard_Boolean BRepBuilderAPI_Sewing::FloatingEdgesMode() const
 }
 
 /*
-//=======================================================================
-//function : SetCuttingFloatingEdgesMode
-//purpose  :
-//=======================================================================
+//=================================================================================================
+
 
 inline  void BRepBuilderAPI_Sewing::SetCuttingFloatingEdgesMode(const Standard_Boolean
 theCuttingFloatingEdgesMode)
@@ -125,10 +93,8 @@ theCuttingFloatingEdgesMode)
   myCuttingFloatingEdgesMode = theCuttingFloatingEdgesMode;
 }
 
-//=======================================================================
-//function : CuttingFloatingEdgesMode
-//purpose  :
-//=======================================================================
+//=================================================================================================
+
 
 inline  Standard_Boolean BRepBuilderAPI_Sewing::CuttingFloatingEdgesMode() const
 {
@@ -136,30 +102,21 @@ inline  Standard_Boolean BRepBuilderAPI_Sewing::CuttingFloatingEdgesMode() const
 }
 */
 
-//=======================================================================
-// function : SameParameterMode
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean BRepBuilderAPI_Sewing::SameParameterMode() const
 {
   return mySameParameterMode;
 }
 
-//=======================================================================
-// function : SetSameParameterMode
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void BRepBuilderAPI_Sewing::SetSameParameterMode(const Standard_Boolean SameParameterMode)
 {
   mySameParameterMode = SameParameterMode;
 }
 
-//=======================================================================
-// function : SetLocalTolerancesMode
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void BRepBuilderAPI_Sewing::SetLocalTolerancesMode(
   const Standard_Boolean theLocalTolerancesMode)
@@ -167,30 +124,21 @@ inline void BRepBuilderAPI_Sewing::SetLocalTolerancesMode(
   myLocalToleranceMode = theLocalTolerancesMode;
 }
 
-//=======================================================================
-// function : LocalTolerancesMode
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean BRepBuilderAPI_Sewing::LocalTolerancesMode() const
 {
   return myLocalToleranceMode;
 }
 
-//=======================================================================
-// function : SetNonManifoldMode
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void BRepBuilderAPI_Sewing::SetNonManifoldMode(const Standard_Boolean theNonManifoldMode)
 {
   myNonmanifold = theNonManifoldMode;
 }
 
-//=======================================================================
-// function : NonManifoldMode
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean BRepBuilderAPI_Sewing::NonManifoldMode() const
 {
index f4a97568042a95062ad9a6a27a4f2cbd75e11b30..2cdc58504fb9dde3515ab0fa2dda6c8a5e48c2ed 100644 (file)
 // Alternatively, this file may be used under the terms of Open CASCADE
 // commercial license or contractual agreement.
 
-//=======================================================================
-// function : Edge
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline TopoDS_Edge& BRepClass_Edge::Edge()
 {
   return myEdge;
 }
 
-//=======================================================================
-// function : Edge
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline const TopoDS_Edge& BRepClass_Edge::Edge() const
 {
   return myEdge;
 }
 
-//=======================================================================
-// function : Face
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline TopoDS_Face& BRepClass_Edge::Face()
 {
   return myFace;
 }
 
-//=======================================================================
-// function : Face
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline const TopoDS_Face& BRepClass_Edge::Face() const
 {
index d47873b8dad0de5abf13444c30271029756e991a..824b7907426585ec4b69f63b3fe6627635b8a097 100644 (file)
 // Alternatively, this file may be used under the terms of Open CASCADE
 // commercial license or contractual agreement.
 
-//=======================================================================
-// function : MoreWires
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean BRepClass_FaceExplorer::MoreWires() const
 {
   return myWExplorer.More();
 }
 
-//=======================================================================
-// function : NextWire
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void BRepClass_FaceExplorer::NextWire()
 {
   myWExplorer.Next();
 }
 
-//=======================================================================
-// function : MoreEdges
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean BRepClass_FaceExplorer::MoreEdges() const
 {
   return myEExplorer.More();
 }
 
-//=======================================================================
-// function : NextEdge
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void BRepClass_FaceExplorer::NextEdge()
 {
index 6256c44f60610a0123851d3cc604382881190fb7..4e6b8188c975012b3cad3d807be96438ea1e7199 100644 (file)
@@ -104,10 +104,8 @@ static Standard_Boolean BRepExtrema_CheckPair_Comparator(const BRepExtrema_Check
 }
 } // namespace
 
-//=======================================================================
-// struct   : IndexBand
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 struct IndexBand
 {
   IndexBand()
@@ -126,10 +124,8 @@ struct IndexBand
   Standard_Integer Last;
 };
 
-//=======================================================================
-// struct   : ThreadSolution
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 struct ThreadSolution
 {
   ThreadSolution(Standard_Integer theTaskNum)
@@ -145,10 +141,8 @@ struct ThreadSolution
   NCollection_Array1<Standard_Real>             Dist;
 };
 
-//=======================================================================
-// struct   : VertexFunctor
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 struct VertexFunctor
 {
   VertexFunctor(NCollection_Array1<IndexBand>* theBandArray, const Message_ProgressRange& theRange)
@@ -296,10 +290,8 @@ Standard_Boolean BRepExtrema_DistShapeShape::DistanceVertVert(
   return Standard_True;
 }
 
-//=======================================================================
-// struct   : DistanceFunctor
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 struct DistanceFunctor
 {
   DistanceFunctor(NCollection_Array1<NCollection_Array1<BRepExtrema_CheckPair>>* theArrayOfArrays,
@@ -391,10 +383,8 @@ struct DistanceFunctor
   Standard_Real                                                  StartDist;
 };
 
-//=======================================================================
-// struct   : DistancePairFunctor
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 struct DistancePairFunctor
 {
   DistancePairFunctor(NCollection_Array1<IndexBand>* theBandArray,
@@ -692,10 +682,8 @@ void BRepExtrema_DistShapeShape::LoadS2(const TopoDS_Shape& Shape2)
   Decomposition(Shape2, myMapV2, myMapE2, myMapF2);
 }
 
-//=======================================================================
-// struct   : TreatmentFunctor
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 struct TreatmentFunctor
 {
   TreatmentFunctor(NCollection_Array1<NCollection_Array1<TopoDS_Shape>>* theArrayOfArrays,
index 19ec83d07e1b9b03eb825c05f050a0ef590b6b2f..2b339c0fb6abaeb519acf00f8a1708467cd7b84f 100644 (file)
 #include <TopoDS.hxx>
 #include <TopoDS_Face.hxx>
 
-//=======================================================================
-// function : BRepGProp_Domain
-// purpose  : Empty constructor.
-//=======================================================================
+//=================================================================================================
 
 inline BRepGProp_Domain::BRepGProp_Domain() {}
 
index fc14d4733863c274ee9d0a470a1f8bc00064570d..b8f85a19363017350d2645d96a6b7dd6d3dc139f 100644 (file)
@@ -49,10 +49,8 @@ inline Standard_Boolean BRepGProp_Face::NaturalRestriction() const
 }
 
 //
-//=======================================================================
-// function : GetFace
-// purpose  : Returns TopoDS Face.
-//=======================================================================
+
+//=================================================================================================
 
 inline const TopoDS_Face& BRepGProp_Face::GetFace() const
 {
index 93c7021e8fee7f9a1ff121b139a1a7a7c06f74ec..9f63881dc919af874481b9a03e821ec4884c3af2 100644 (file)
 // Alternatively, this file may be used under the terms of Open CASCADE
 // commercial license or contractual agreement.
 
-//=======================================================================
-// function : SetNbKronrodPoints
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void BRepGProp_TFunction::SetNbKronrodPoints(const Standard_Integer theNbPoints)
 {
   myNbPntOuter = (theNbPoints % 2 == 0) ? theNbPoints + 1 : theNbPoints;
 }
 
-//=======================================================================
-// function : SetValueType
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void BRepGProp_TFunction::SetValueType(const GProp_ValueType theType)
 {
@@ -34,30 +28,21 @@ inline void BRepGProp_TFunction::SetValueType(const GProp_ValueType theType)
   myUFunction.SetValueType(myValueType);
 }
 
-//=======================================================================
-// function : SetTolerance
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void BRepGProp_TFunction::SetTolerance(const Standard_Real theTolerance)
 {
   myTolerance = theTolerance;
 }
 
-//=======================================================================
-// function : TolReached
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Real BRepGProp_TFunction::ErrorReached() const
 {
   return myErrReached;
 }
 
-//=======================================================================
-// function : ErrorReached
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Real BRepGProp_TFunction::AbsolutError() const
 {
index 15d1f03d3f83acd169cbcb6ff16c770b90b8761d..8a34dc02f5941439b988caf183409f25f0206eff 100644 (file)
 // Alternatively, this file may be used under the terms of Open CASCADE
 // commercial license or contractual agreement.
 
-//=======================================================================
-//function : MAT_TList
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 
 MAT_TList::MAT_TList()
 {
@@ -25,10 +23,8 @@ MAT_TList::MAT_TList()
   thenumberofitems = 0;
 }
 
-//=======================================================================
-//function : First
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 
 void MAT_TList::First()
 {
@@ -36,10 +32,8 @@ void MAT_TList::First()
   thecurrentindex = 1;
 }
 
-//=======================================================================
-//function : Last
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 
 void MAT_TList::Last()
 {
@@ -47,10 +41,8 @@ void MAT_TList::Last()
   thecurrentindex = thenumberofitems;
 }
 
-//=======================================================================
-//function : Init
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 
 void MAT_TList::Init(const Item& anitem)
 {
@@ -62,10 +54,8 @@ void MAT_TList::Init(const Item& anitem)
     }
 }
 
-//=======================================================================
-//function : Next
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 
 void MAT_TList::Next()
 {
@@ -76,10 +66,8 @@ void MAT_TList::Next()
     }
 }
 
-//=======================================================================
-//function : Previous
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 
 void MAT_TList::Previous()
 {
@@ -90,80 +78,64 @@ void MAT_TList::Previous()
     }
 }
 
-//=======================================================================
-//function : More
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 
 Standard_Boolean MAT_TList::More() const
 {
   return (!thecurrentnode.IsNull());
 }
 
-//=======================================================================
-//function : Current
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 
 Item MAT_TList::Current() const
 {
   return thecurrentnode->GetItem();
 }
 
-//=======================================================================
-//function : Current
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 
 void MAT_TList::Current(const Item& anitem) const
 {
   thecurrentnode->SetItem(anitem);
 }
 
-//=======================================================================
-//function : FirstItem
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 
 Item MAT_TList::FirstItem() const
 {
   return thefirstnode->GetItem();
 }
 
-//=======================================================================
-//function : LastItem
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 
 Item MAT_TList::LastItem() const
 {
   return thelastnode->GetItem();
 }
 
-//=======================================================================
-//function : PreviousItem
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 
 Item MAT_TList::PreviousItem() const
 {
   return thecurrentnode->Previous()->GetItem();
 }
 
-//=======================================================================
-//function : NextItem
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 
 Item MAT_TList::NextItem() const
 {
   return thecurrentnode->Next()->GetItem();
 }
 
-//=======================================================================
-//function : Brackets
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 
 Item MAT_TList::Brackets (const Standard_Integer anindex)
 {
@@ -186,10 +158,8 @@ Item MAT_TList::Brackets (const Standard_Integer anindex)
   return thecurrentnode->GetItem();
 }
 
-//=======================================================================
-//function : Unlink
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 
 void MAT_TList::Unlink()
 {
@@ -220,10 +190,8 @@ void MAT_TList::Unlink()
   thecurrentindex--;
 }
 
-//=======================================================================
-//function : LinkBefore
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 
 void MAT_TList::LinkBefore(const Item& anitem)
 {
@@ -250,10 +218,8 @@ void MAT_TList::LinkBefore(const Item& anitem)
   node->Next(thecurrentnode);
 }
 
-//=======================================================================
-//function : LinkAfter
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 
 void MAT_TList::LinkAfter(const Item& anitem)
 {
@@ -278,10 +244,8 @@ void MAT_TList::LinkAfter(const Item& anitem)
   node->Previous(thecurrentnode);
 }
 
-//=======================================================================
-//function : FrontAdd
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 
 void MAT_TList::FrontAdd(const Item& anitem)
 {
@@ -303,10 +267,8 @@ void MAT_TList::FrontAdd(const Item& anitem)
   thefirstnode = node;
 }
 
-//=======================================================================
-//function : BackAdd
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 
 void MAT_TList::BackAdd(const Item& anitem)
 {
@@ -326,10 +288,8 @@ void MAT_TList::BackAdd(const Item& anitem)
   thelastnode = node;
 }
 
-//=======================================================================
-//function : Permute
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 
 void MAT_TList::Permute()
 {
@@ -364,10 +324,8 @@ void MAT_TList::Permute()
   thecurrentindex++;
 }
 
-//=======================================================================
-//function : Loop
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 
 void MAT_TList::Loop() const
 {
@@ -375,10 +333,8 @@ void MAT_TList::Loop() const
   thefirstnode->Previous(thelastnode);
 }
 
-//=======================================================================
-//function : Dump
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 
 void MAT_TList::Dump(const Standard_Integer ashift,
                     const Standard_Integer alevel)
index 470d4202162e59115898ace84ce85c68259ba298..bdae1bac0ee1f7b43b5b3b466de402d2be9aa13a 100644 (file)
 // Alternatively, this file may be used under the terms of Open CASCADE
 // commercial license or contractual agreement.
 
-//=======================================================================
-// function : Number
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer MAT_TList::Number() const
 {
   return thenumberofitems;
 }
 
-//=======================================================================
-// function : Index
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer MAT_TList::Index() const
 {
   return thecurrentindex;
 }
 
-//=======================================================================
-// function : IsEmpty
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean MAT_TList::IsEmpty() const
 {
index 7227b11c2865423c4fc6277bcdfe2b08eba0e645..1d349aeb95e3666403f608df5c0acf343948e8fb 100644 (file)
@@ -14,9 +14,7 @@
 // Alternatively, this file may be used under the terms of Open CASCADE
 // commercial license or contractual agreement.
 
-//=======================================================================
-//function : Dummy
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 
 void MAT_TListNode::Dummy()const {}
index 6c3cc4ad0ff1501b406577b7fe0bf50aa3d0671f..13d6d406c8d1c2bccf6665fe1c6d53ff50c828d7 100644 (file)
 // Alternatively, this file may be used under the terms of Open CASCADE
 // commercial license or contractual agreement.
 
-//=======================================================================
-// function : MAT_TListNode
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline MAT_TListNode::MAT_TListNode() {}
 
-//=======================================================================
-// function : MAT_TListNode
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline MAT_TListNode::MAT_TListNode(const Item& anitem)
 {
   theitem = anitem;
 }
 
-//=======================================================================
-// function : GetItem
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Item MAT_TListNode::GetItem() const
 {
   return theitem;
 }
 
-//=======================================================================
-// function : Next
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Handle(MAT_TListNode) MAT_TListNode::Next() const
 {
   return thenext;
 }
 
-//=======================================================================
-// function : Previous
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Handle(MAT_TListNode) MAT_TListNode::Previous() const
 {
   return theprevious;
 }
 
-//=======================================================================
-// function : SetItem
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void MAT_TListNode::SetItem(const Item& anitem)
 {
   theitem = anitem;
 }
 
-//=======================================================================
-// function : Next
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void MAT_TListNode::Next(const Handle(MAT_TListNode)& atlistnode)
 {
   thenext = atlistnode;
 }
 
-//=======================================================================
-// function : Previous
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void MAT_TListNode::Previous(const Handle(MAT_TListNode)& atlistnode)
 {
index d0f90bb65a7d5976e2d80c6d74dc058444f1068c..4d7fc433094d05993c6b407cfb5fc826cfb16902 100644 (file)
@@ -600,10 +600,7 @@ void BRep_Builder::NaturalRestriction(const TopoDS_Face& F, const Standard_Boole
   F.TShape()->Modified(Standard_True);
 }
 
-//=======================================================================
-// function : MakeEdge
-// purpose  : make undefined edge
-//=======================================================================
+//=================================================================================================
 
 void BRep_Builder::MakeEdge(TopoDS_Edge& E) const
 {
index de722bfefdf87e0256081426188b3c365a5dd643..fc12e69959e257754c6cf1feb49ddbcd7c13a99d 100644 (file)
 #include <BRep_TVertex.hxx>
 #include <BRep_Tool.hxx>
 
-//=======================================================================
-// function : MakeFace
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void BRep_Builder::MakeFace(TopoDS_Face& F) const
 {
@@ -31,10 +28,7 @@ inline void BRep_Builder::MakeFace(TopoDS_Face& F) const
   MakeShape(F, TF);
 }
 
-//=======================================================================
-// function : MakeEdge
-// purpose  : make edge from curve
-//=======================================================================
+//=================================================================================================
 
 inline void BRep_Builder::MakeEdge(TopoDS_Edge&              E,
                                    const Handle(Geom_Curve)& C,
@@ -44,10 +38,7 @@ inline void BRep_Builder::MakeEdge(TopoDS_Edge&              E,
   UpdateEdge(E, C, TopLoc_Location(), Tol);
 }
 
-//=======================================================================
-// function : MakeEdge
-// purpose  : make edge from curve
-//=======================================================================
+//=================================================================================================
 
 inline void BRep_Builder::MakeEdge(TopoDS_Edge& E, const Handle(Poly_Polygon3D)& P) const
 {
@@ -82,10 +73,7 @@ inline void BRep_Builder::MakeEdge(TopoDS_Edge&                               E,
   UpdateEdge(E, P, T, L);
 }
 
-//=======================================================================
-// function : MakeEdge
-// purpose  : make edge from curve
-//=======================================================================
+//=================================================================================================
 
 inline void BRep_Builder::MakeEdge(TopoDS_Edge&              E,
                                    const Handle(Geom_Curve)& C,
@@ -96,10 +84,7 @@ inline void BRep_Builder::MakeEdge(TopoDS_Edge&              E,
   UpdateEdge(E, C, L, Tol);
 }
 
-//=======================================================================
-// function : UpdateEdge
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void BRep_Builder::UpdateEdge(const TopoDS_Edge&        E,
                                      const Handle(Geom_Curve)& C,
@@ -108,10 +93,7 @@ inline void BRep_Builder::UpdateEdge(const TopoDS_Edge&        E,
   UpdateEdge(E, C, TopLoc_Location(), Tol);
 }
 
-//=======================================================================
-// function : UpdateEdge
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void BRep_Builder::UpdateEdge(const TopoDS_Edge&          E,
                                      const Handle(Geom2d_Curve)& C,
@@ -122,10 +104,7 @@ inline void BRep_Builder::UpdateEdge(const TopoDS_Edge&          E,
   UpdateEdge(E, C, BRep_Tool::Surface(F, l), l, Tol);
 }
 
-//=======================================================================
-// function : UpdateEdge
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void BRep_Builder::UpdateEdge(const TopoDS_Edge&          E,
                                      const Handle(Geom2d_Curve)& C1,
@@ -137,20 +116,14 @@ inline void BRep_Builder::UpdateEdge(const TopoDS_Edge&          E,
   UpdateEdge(E, C1, C2, BRep_Tool::Surface(F, l), l, Tol);
 }
 
-//=======================================================================
-// function : UpdateEdge
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void BRep_Builder::UpdateEdge(const TopoDS_Edge& E, const Handle(Poly_Polygon3D)& P) const
 {
   UpdateEdge(E, P, TopLoc_Location());
 }
 
-//=======================================================================
-// function : UpdateEdge
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void BRep_Builder::UpdateEdge(const TopoDS_Edge&                         E,
                                      const Handle(Poly_PolygonOnTriangulation)& P,
@@ -159,10 +132,7 @@ inline void BRep_Builder::UpdateEdge(const TopoDS_Edge&
   UpdateEdge(E, P, T, TopLoc_Location());
 }
 
-//=======================================================================
-// function : UpdateEdge
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void BRep_Builder::UpdateEdge(const TopoDS_Edge&                         E,
                                      const Handle(Poly_PolygonOnTriangulation)& P1,
@@ -172,10 +142,7 @@ inline void BRep_Builder::UpdateEdge(const TopoDS_Edge&
   UpdateEdge(E, P1, P2, T, TopLoc_Location());
 }
 
-//=======================================================================
-// function : Range
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void BRep_Builder::Range(const TopoDS_Edge&  E,
                                 const TopoDS_Face&  F,
@@ -186,10 +153,7 @@ inline void BRep_Builder::Range(const TopoDS_Edge&  E,
   Range(E, BRep_Tool::Surface(F, l), l, First, Last);
 }
 
-//=======================================================================
-// function : MakeVertex
-// purpose  : undefined vertex
-//=======================================================================
+//=================================================================================================
 
 inline void BRep_Builder::MakeVertex(TopoDS_Vertex& V) const
 {
@@ -197,10 +161,7 @@ inline void BRep_Builder::MakeVertex(TopoDS_Vertex& V) const
   MakeShape(V, TV);
 }
 
-//=======================================================================
-// function : MakeVertex
-// purpose  : vertex from 3d point
-//=======================================================================
+//=================================================================================================
 
 inline void BRep_Builder::MakeVertex(TopoDS_Vertex&      V,
                                      const gp_Pnt&       P,
index f9ca65394df393e25dbefa357ead4a74630d52d8..831ca14d9880b6555174e37ef2025a9934c27565 100644 (file)
 // Alternatively, this file may be used under the terms of Open CASCADE
 // commercial license or contractual agreement.
 
-//=======================================================================
-// function : SetUVPoints2
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void BRep_CurveOnClosedSurface::SetUVPoints2(const gp_Pnt2d& P1, const gp_Pnt2d& P2)
 {
@@ -25,10 +22,7 @@ inline void BRep_CurveOnClosedSurface::SetUVPoints2(const gp_Pnt2d& P1, const gp
   myUV22 = P2;
 }
 
-//=======================================================================
-// function : UVPoints2
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void BRep_CurveOnClosedSurface::UVPoints2(gp_Pnt2d& P1, gp_Pnt2d& P2) const
 {
index 6c36b0d61b77ad16df7687cc018f5d962cbcaed9..15f327d807872a559b82a3468bf8d68cc9727d22 100644 (file)
 // Alternatively, this file may be used under the terms of Open CASCADE
 // commercial license or contractual agreement.
 
-//=======================================================================
-// function : SetUVPoints
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void BRep_CurveOnSurface::SetUVPoints(const gp_Pnt2d& P1, const gp_Pnt2d& P2)
 {
@@ -25,10 +22,7 @@ inline void BRep_CurveOnSurface::SetUVPoints(const gp_Pnt2d& P1, const gp_Pnt2d&
   myUV2 = P2;
 }
 
-//=======================================================================
-// function : UVPoints
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void BRep_CurveOnSurface::UVPoints(gp_Pnt2d& P1, gp_Pnt2d& P2) const
 {
index abad60a733d8f169c00751f6d14b5f180a8a9435..e5b97bbee5da66b4f2e4d52c241ad9bb766ea565 100644 (file)
 // Alternatively, this file may be used under the terms of Open CASCADE
 // commercial license or contractual agreement.
 
-//=======================================================================
-// function : Location
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline const TopLoc_Location& BRep_CurveRepresentation::Location() const
 {
   return myLocation;
 }
 
-//=======================================================================
-// function : Location
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void BRep_CurveRepresentation::Location(const TopLoc_Location& L)
 {
index 714e895cd57095218a6e7633ef2b4ba85a8d7cbb..f8b34cacb1d0147847099e95cf78bfc22f23fc0a 100644 (file)
 // Alternatively, this file may be used under the terms of Open CASCADE
 // commercial license or contractual agreement.
 
-//=======================================================================
-// function : SetRange
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void BRep_GCurve::SetRange(const Standard_Real First, const Standard_Real Last)
 {
@@ -26,10 +23,7 @@ inline void BRep_GCurve::SetRange(const Standard_Real First, const Standard_Real
   Update();
 }
 
-//=======================================================================
-// function : Range
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void BRep_GCurve::Range(Standard_Real& First, Standard_Real& Last) const
 {
@@ -37,30 +31,21 @@ inline void BRep_GCurve::Range(Standard_Real& First, Standard_Real& Last) const
   Last  = myLast;
 }
 
-//=======================================================================
-// function : First
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Real BRep_GCurve::First() const
 {
   return myFirst;
 }
 
-//=======================================================================
-// function : Last
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Real BRep_GCurve::Last() const
 {
   return myLast;
 }
 
-//=======================================================================
-// function : First
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void BRep_GCurve::First(const Standard_Real F)
 {
@@ -68,10 +53,7 @@ inline void BRep_GCurve::First(const Standard_Real F)
   Update();
 }
 
-//=======================================================================
-// function : Last
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void BRep_GCurve::Last(const Standard_Real L)
 {
index 33c89276e391eb195153cb1b0cad65b93c69cf9f..1aa1fc80078d4de1d19bd6914b6261ae4726ddfd 100644 (file)
 // Alternatively, this file may be used under the terms of Open CASCADE
 // commercial license or contractual agreement.
 
-//=======================================================================
-// function : Location
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline const TopLoc_Location& BRep_PointRepresentation::Location() const
 {
   return myLocation;
 }
 
-//=======================================================================
-// function : Location
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void BRep_PointRepresentation::Location(const TopLoc_Location& L)
 {
   myLocation = L;
 }
 
-//=======================================================================
-// function : Parameter
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Real BRep_PointRepresentation::Parameter() const
 {
   return myParameter;
 }
 
-//=======================================================================
-// function : Parameter
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void BRep_PointRepresentation::Parameter(const Standard_Real P)
 {
index 8bb37665400acb24ba4091323f9c058bcb4d1f60..3d1462fa897ea3b223ae54725840274c2b4e927c 100644 (file)
 // Alternatively, this file may be used under the terms of Open CASCADE
 // commercial license or contractual agreement.
 
-//=======================================================================
-// function : Tolerance
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Real BRep_TEdge::Tolerance() const
 {
   return myTolerance;
 }
 
-//=======================================================================
-// function : Tolerance
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void BRep_TEdge::Tolerance(const Standard_Real T)
 {
   myTolerance = T;
 }
 
-//=======================================================================
-// function : UpdateTolerance
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void BRep_TEdge::UpdateTolerance(const Standard_Real T)
 {
@@ -45,20 +36,14 @@ inline void BRep_TEdge::UpdateTolerance(const Standard_Real T)
     myTolerance = T;
 }
 
-//=======================================================================
-// function : Curves
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline const BRep_ListOfCurveRepresentation& BRep_TEdge::Curves() const
 {
   return myCurves;
 }
 
-//=======================================================================
-// function : ChangeCurves
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline BRep_ListOfCurveRepresentation& BRep_TEdge::ChangeCurves()
 {
index 88509aad2b4fc40c262524683bcc8db0a4cea89d..2a95b056998f4ff06b2d1f91591019e1f8bfa054 100644 (file)
 // Alternatively, this file may be used under the terms of Open CASCADE
 // commercial license or contractual agreement.
 
-//=======================================================================
-// function : Tolerance
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Real BRep_TVertex::Tolerance() const
 {
   return myTolerance;
 }
 
-//=======================================================================
-// function : Tolerance
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void BRep_TVertex::Tolerance(const Standard_Real T)
 {
   myTolerance = T;
 }
 
-//=======================================================================
-// function : UpdateTolerance
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void BRep_TVertex::UpdateTolerance(const Standard_Real T)
 {
@@ -45,40 +36,28 @@ inline void BRep_TVertex::UpdateTolerance(const Standard_Real T)
     myTolerance = T;
 }
 
-//=======================================================================
-// function : Pnt
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline const gp_Pnt& BRep_TVertex::Pnt() const
 {
   return myPnt;
 }
 
-//=======================================================================
-// function : Pnt
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void BRep_TVertex::Pnt(const gp_Pnt& P)
 {
   myPnt = P;
 }
 
-//=======================================================================
-// function : Points
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline const BRep_ListOfPointRepresentation& BRep_TVertex::Points() const
 {
   return myPoints;
 }
 
-//=======================================================================
-// function : ChangePoints
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline BRep_ListOfPointRepresentation& BRep_TVertex::ChangePoints()
 {
index 099520d95cbaf7b094b717dde4972009b5c40746..95ed8e7a6792bde7da47d35d7908466f00ee9783 100644 (file)
@@ -340,10 +340,8 @@ Standard_Boolean BRepTools_History::prepareModified(const TopoDS_Shape& theIniti
   return Standard_True;
 }
 
-//==============================================================================
-// data : myEmptyList
-// purpose  :
-//==============================================================================
+//=================================================================================================
+
 const TopTools_ListOfShape BRepTools_History::myEmptyList;
 
 //=================================================================================================
@@ -353,30 +351,22 @@ const TopTools_ListOfShape& BRepTools_History::emptyList()
   return myEmptyList;
 }
 
-//==============================================================================
-// data : myMsgUnsupportedType
-// purpose  :
-//==============================================================================
+//=================================================================================================
+
 const char* BRepTools_History::myMsgUnsupportedType = "Error: unsupported shape type.";
 
-//==============================================================================
-// data : myMsgGeneratedAndRemoved
-// purpose  :
-//==============================================================================
+//=================================================================================================
+
 const char* BRepTools_History::myMsgGeneratedAndRemoved =
   "Error: a shape is generated and removed simultaneously.";
 
-//==============================================================================
-// data : myMsgModifiedAndRemoved
-// purpose  :
-//==============================================================================
+//=================================================================================================
+
 const char* BRepTools_History::myMsgModifiedAndRemoved =
   "Error: a shape is modified and removed simultaneously.";
 
-//==============================================================================
-// data : myMsgGeneratedAndModified
-// purpose  :
-//==============================================================================
+//=================================================================================================
+
 const char* BRepTools_History::myMsgGeneratedAndModified =
   "Error: a shape is generated and modified "
   "from the same shape simultaneously.";
index 99eb705c557b2934b8c06a80e4d2e2d8c3a712d6..f170cc6aa15b07ee279ae6e4ddcff05bf8e38b1a 100644 (file)
 
 #include <Standard_NoSuchObject.hxx>
 
-//=======================================================================
-// function : ModifiedShape
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline const TopoDS_Shape& BRepTools_Modifier::ModifiedShape(const TopoDS_Shape& S) const
 {
@@ -30,10 +27,8 @@ inline const TopoDS_Shape& BRepTools_Modifier::ModifiedShape(const TopoDS_Shape&
   return myMap(S);
 }
 
-//=======================================================================
-// function : IsDone
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline Standard_Boolean BRepTools_Modifier::IsDone() const
 {
   return myDone;
index 62a67c49683847ca3ecbec86c64e431e5c27939d..b82c5537f1253901704d0a67705a69de4b5c8ff0 100644 (file)
 #include <TopoDS_CompSolid.hxx>
 #include <TopoDS_Compound.hxx>
 
-//=======================================================================
-// function : MakeWire
-// purpose  : Make an empty wire
-//=======================================================================
+//=================================================================================================
 
 inline void TopoDS_Builder::MakeWire(TopoDS_Wire& W) const
 {
@@ -36,10 +33,7 @@ inline void TopoDS_Builder::MakeWire(TopoDS_Wire& W) const
   MakeShape(W, TW);
 }
 
-//=======================================================================
-// function : MakeShell
-// purpose  : Make an empty Shell
-//=======================================================================
+//=================================================================================================
 
 inline void TopoDS_Builder::MakeShell(TopoDS_Shell& S) const
 {
@@ -47,10 +41,7 @@ inline void TopoDS_Builder::MakeShell(TopoDS_Shell& S) const
   MakeShape(S, TS);
 }
 
-//=======================================================================
-// function : MakeSolid
-// purpose  : Make an empty Solid
-//=======================================================================
+//=================================================================================================
 
 inline void TopoDS_Builder::MakeSolid(TopoDS_Solid& S) const
 {
index 6922445544bef842cbb84d347442c0003a061a87..4f52d630951eb3805ef00f9217571131539f44ff 100644 (file)
 // Alternatively, this file may be used under the terms of Open CASCADE
 // commercial license or contractual agreement.
 
-//=======================================================================
-// function : TopoDS_HShape
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline TopoDS_HShape::TopoDS_HShape() {}
 
-//=======================================================================
-// function : TopoDS_HShape
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline TopoDS_HShape::TopoDS_HShape(const TopoDS_Shape& aShape)
     : myShape(aShape)
 {
 }
 
-//=======================================================================
-// function : Shape
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void TopoDS_HShape::Shape(const TopoDS_Shape& aShape)
 {
   myShape = aShape;
 }
 
-//=======================================================================
-// function : Shape
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline const TopoDS_Shape& TopoDS_HShape::Shape() const
 {
   return myShape;
 }
 
-//=======================================================================
-// function : ChangeShape
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline TopoDS_Shape& TopoDS_HShape::ChangeShape()
 {
index 75309b5a265dfcbaa357eb9d0c4b28262ba5436e..023d7c63d8a2bd525a8ac46f4cd7752cb50f14e5 100644 (file)
@@ -273,10 +273,7 @@ static void FindBounds(const TColStd_Array1OfReal& Arr,
   }
 }
 
-//=======================================================================
-// function :Locate1Coord
-// purpose  : along BSpline curve
-//=======================================================================
+//=================================================================================================
 
 static void Locate1Coord(const Standard_Integer           Index,
                          const gp_Pnt2d&                  UV,
index cc62233452aad0bb8aeccac910c6195fa115ab95..352434c447402d2b7aa98161d10f10d3b35fd3cc 100644 (file)
 #include <TColStd_HArray1OfReal.hxx>
 #include <TColStd_HArray1OfInteger.hxx>
 
-//=======================================================================
-// function : IsDone
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean AdvApprox_ApproxAFunction::HasResult() const
 {
   return myHasResult;
 }
 
-//=======================================================================
-// function : IsDone
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean AdvApprox_ApproxAFunction::IsDone() const
 {
   return myDone;
 }
 
-//=======================================================================
-// function : Poles1d
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline Handle(TColStd_HArray2OfReal) AdvApprox_ApproxAFunction::Poles1d() const
 {
   return my1DPoles;
 }
 
-//=======================================================================
-// function : Poles2d
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline Handle(TColgp_HArray2OfPnt2d) AdvApprox_ApproxAFunction::Poles2d() const
 {
   return my2DPoles;
 }
 
-//=======================================================================
-// function : Poles
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline Handle(TColgp_HArray2OfPnt) AdvApprox_ApproxAFunction::Poles() const
 {
   return my3DPoles;
 }
 
-//=======================================================================
-// function : Degree
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer AdvApprox_ApproxAFunction::Degree() const
 {
   return myDegree;
 }
 
-//=======================================================================
-// function : NbKnots
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer AdvApprox_ApproxAFunction::NbKnots() const
 {
   return myKnots->Length();
 }
 
-//=======================================================================
-// function : Knots
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Handle(TColStd_HArray1OfReal) AdvApprox_ApproxAFunction::Knots() const
 
@@ -96,10 +75,7 @@ inline Handle(TColStd_HArray1OfReal) AdvApprox_ApproxAFunction::Knots() const
   return myKnots;
 }
 
-//=======================================================================
-// function : Multiplicities
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Handle(TColStd_HArray1OfInteger) AdvApprox_ApproxAFunction::Multiplicities() const
 
@@ -107,10 +83,7 @@ inline Handle(TColStd_HArray1OfInteger) AdvApprox_ApproxAFunction::Multiplicitie
   return myMults;
 }
 
-//=======================================================================
-// function : NumSubSpaces
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer AdvApprox_ApproxAFunction::NumSubSpaces(
   const Standard_Integer Dimension) const
index 36930088eabbf2fdb7c9232a49d661eece1929ad..7740c9d87142ca8fca9e324ef36e72d96530d457 100644 (file)
@@ -184,10 +184,8 @@ static void DUMP(const AppParCurves_MultiBSpCurve& C)
 
 
 
-//=======================================================================
-//function : FirstTangencyVector
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 void Approx_BSplComputeLine::FirstTangencyVector(const MultiLine&  Line,
   const Standard_Integer index,
   math_Vector&           V)
@@ -265,10 +263,8 @@ void Approx_BSplComputeLine::FirstTangencyVector(const MultiLine&  Line,
 }
 
 
-//=======================================================================
-//function : LastTangencyVector
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 void Approx_BSplComputeLine::LastTangencyVector(const MultiLine&       Line,
   const Standard_Integer index,
   math_Vector&           V)
@@ -347,10 +343,8 @@ void Approx_BSplComputeLine::LastTangencyVector(const MultiLine&       Line,
 
 
 
-//=======================================================================
-//function : SearchFirstLambda
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 Standard_Real Approx_BSplComputeLine::
 SearchFirstLambda(const MultiLine&            Line,
   const math_Vector&          aPar,
@@ -407,10 +401,8 @@ SearchFirstLambda(const MultiLine&            Line,
 }
 
 
-//=======================================================================
-//function : SearchLastLambda
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 Standard_Real Approx_BSplComputeLine::
 SearchLastLambda(const MultiLine&            Line,
   const math_Vector&          aPar,
@@ -468,10 +460,8 @@ SearchLastLambda(const MultiLine&            Line,
 
 
 
-//=======================================================================
-//function : Approx_BSplComputeLine
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 Approx_BSplComputeLine::Approx_BSplComputeLine
 (const MultiLine& Line,
   const math_Vector& Parameters,
@@ -510,10 +500,8 @@ Approx_BSplComputeLine::Approx_BSplComputeLine
 }
 
 
-//=======================================================================
-//function : Approx_BSplComputeLine
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 Approx_BSplComputeLine::Approx_BSplComputeLine
 (const math_Vector& Parameters,
   const Standard_Integer degreemin,
@@ -549,10 +537,8 @@ Approx_BSplComputeLine::Approx_BSplComputeLine
   tolreached = Standard_False;
 }
 
-//=======================================================================
-//function : Approx_BSplComputeLine
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 Approx_BSplComputeLine::Approx_BSplComputeLine
 (const Standard_Integer degreemin,
   const Standard_Integer degreemax,
@@ -584,10 +570,8 @@ Approx_BSplComputeLine::Approx_BSplComputeLine
 }
 
 
-//=======================================================================
-//function : Approx_BSplComputeLine
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 Approx_BSplComputeLine::Approx_BSplComputeLine
 (const MultiLine& Line,
   const Standard_Integer degreemin,
@@ -622,10 +606,8 @@ Approx_BSplComputeLine::Approx_BSplComputeLine
 
 
 
-//=======================================================================
-//function : Perform
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 void Approx_BSplComputeLine::Perform(const MultiLine& Line)
 {
 
@@ -764,10 +746,8 @@ void Approx_BSplComputeLine::Perform(const MultiLine& Line)
 
 
 
-//=======================================================================
-//function : Parameters
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 const TColStd_Array1OfReal& Approx_BSplComputeLine::Parameters() const
 {
   return myParameters->Array1();
@@ -775,28 +755,22 @@ const TColStd_Array1OfReal& Approx_BSplComputeLine::Parameters() const
 
 
 
-//=======================================================================
-//function : Value
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 const AppParCurves_MultiBSpCurve& Approx_BSplComputeLine::Value() const
 {
   return TheMultiBSpCurve;
 }
 
-//=======================================================================
-//function : ChangeValue
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 AppParCurves_MultiBSpCurve& Approx_BSplComputeLine::ChangeValue()
 {
   return TheMultiBSpCurve;
 }
 
-//=======================================================================
-//function : Parameters
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 
 void Approx_BSplComputeLine::Parameters(const MultiLine& Line,
   const Standard_Integer firstP,
@@ -874,10 +848,8 @@ void Approx_BSplComputeLine::Parameters(const MultiLine& Line,
 }
 
 
-//=======================================================================
-//function : Compute
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 Standard_Boolean Approx_BSplComputeLine::Compute(const MultiLine& Line,
   const Standard_Integer fpt,
   const Standard_Integer lpt,
@@ -1023,10 +995,8 @@ Standard_Boolean Approx_BSplComputeLine::Compute(const MultiLine& Line,
 
 
 
-//=======================================================================
-//function : SetParameters
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 void Approx_BSplComputeLine::SetParameters(const math_Vector& ThePar)
 {
   myfirstParam = new TColStd_HArray1OfReal(ThePar.Lower(),
@@ -1037,10 +1007,8 @@ void Approx_BSplComputeLine::SetParameters(const math_Vector& ThePar)
 }
 
 
-//=======================================================================
-//function : SetKnots
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 void Approx_BSplComputeLine::SetKnots(const TColStd_Array1OfReal& Knots)
 {
   myhasknots = Standard_True;
@@ -1051,10 +1019,8 @@ void Approx_BSplComputeLine::SetKnots(const TColStd_Array1OfReal& Knots)
 }
 
 
-//=======================================================================
-//function : SetKnotsAndMultiplicities
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 void Approx_BSplComputeLine::SetKnotsAndMultiplicities
 (const TColStd_Array1OfReal&    Knots,
   const TColStd_Array1OfInteger& Mults)
@@ -1072,10 +1038,8 @@ void Approx_BSplComputeLine::SetKnotsAndMultiplicities
   }
 }
 
-//=======================================================================
-//function : Init
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 void Approx_BSplComputeLine::Init(const Standard_Integer degreemin,
   const Standard_Integer degreemax,
   const Standard_Real Tolerance3d,
@@ -1097,10 +1061,8 @@ void Approx_BSplComputeLine::Init(const Standard_Integer degreemin,
 
 
 
-//=======================================================================
-//function : SetDegrees
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 void Approx_BSplComputeLine::SetDegrees(const Standard_Integer degreemin,
   const Standard_Integer degreemax)
 {
@@ -1109,10 +1071,8 @@ void Approx_BSplComputeLine::SetDegrees(const Standard_Integer degreemin,
 }
 
 
-//=======================================================================
-//function : SetTolerances
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 void Approx_BSplComputeLine::SetTolerances(const Standard_Real Tolerance3d,
   const Standard_Real Tolerance2d)
 {
@@ -1121,10 +1081,8 @@ void Approx_BSplComputeLine::SetTolerances(const Standard_Real Tolerance3d,
 }
 
 
-//=======================================================================
-//function : SetConstraints
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 void Approx_BSplComputeLine::SetConstraints(const AppParCurves_Constraint FirstC,
   const AppParCurves_Constraint LastC)
 {
@@ -1132,38 +1090,30 @@ void Approx_BSplComputeLine::SetConstraints(const AppParCurves_Constraint FirstC
   mylastC = LastC;
 }
 
-//=======================================================================
-//function : SetPeriodic
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 void Approx_BSplComputeLine::SetPeriodic(const Standard_Boolean thePeriodic)
 {
   myPeriodic = thePeriodic;
 }
 
 
-//=======================================================================
-//function : IsAllApproximated
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 Standard_Boolean Approx_BSplComputeLine::IsAllApproximated() const
 {
   return alldone;
 }
 
-//=======================================================================
-//function : IsToleranceReached
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 Standard_Boolean Approx_BSplComputeLine::IsToleranceReached() const
 {
   return tolreached;
 }
 
-//=======================================================================
-//function : Error
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 void Approx_BSplComputeLine::Error(Standard_Real& tol3d,
   Standard_Real& tol2d) const
 {
@@ -1173,10 +1123,8 @@ void Approx_BSplComputeLine::Error(Standard_Real& tol3d,
 
 
 
-//=======================================================================
-//function : SetContinuity
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 void Approx_BSplComputeLine::SetContinuity(const Standard_Integer C)
 {
   mycont = C;
@@ -1184,10 +1132,8 @@ void Approx_BSplComputeLine::SetContinuity(const Standard_Integer C)
 
 
 
-//=======================================================================
-//function : FindRealConstraints
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 void Approx_BSplComputeLine::FindRealConstraints(const MultiLine& Line)
 {
   realfirstC = myfirstC;
@@ -1259,10 +1205,8 @@ void Approx_BSplComputeLine::FindRealConstraints(const MultiLine& Line)
 
 
 
-//=======================================================================
-//function : Interpol
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 void Approx_BSplComputeLine::Interpol(const MultiLine& Line)
 {
   Standard_Integer i, Thefirstpt, Thelastpt, deg = 3;
@@ -1400,10 +1344,8 @@ void Approx_BSplComputeLine::Interpol(const MultiLine& Line)
 }
 
 
-//=======================================================================
-//function : TangencyVector
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 void Approx_BSplComputeLine::TangencyVector(
   const MultiLine&               Line,
   const AppParCurves_MultiCurve& C,
index a788375de030e5693daf01cf1d2675df2f49e572..fe884bbe0f40d786ecd1ebc7633f9bfd9736cfde 100644 (file)
@@ -441,19 +441,15 @@ void Approx_ComputeCLine::SetMaxSegments(const Standard_Integer theMaxSegments)
   myMaxSegments = theMaxSegments;
 }
 
-//=======================================================================
-//function : SetInvOrder
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 void Approx_ComputeCLine::SetInvOrder(const Standard_Boolean theInvOrder)
 {
   myInvOrder = theInvOrder;
 }
 
-//=======================================================================
-//function : SetHangChecking
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 void Approx_ComputeCLine::SetHangChecking(const Standard_Boolean theHangChecking)
 {
   myHangChecking = theHangChecking;
index 9cf4ae0a36c0b823bd90a328324498d6f6e8287a..6bb69b06f35b7fb2775b6c0672e0c508e9f7bd25 100644 (file)
 
 #include <StdFail_NotDone.hxx>
 
-//=======================================================================
-// function : IsDone
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean CPnts_AbscissaPoint::IsDone() const
 {
   return myDone;
 }
 
-//=======================================================================
-// function : Parameter
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Real CPnts_AbscissaPoint::Parameter() const
 {
@@ -35,10 +29,7 @@ inline Standard_Real CPnts_AbscissaPoint::Parameter() const
   return myParam;
 }
 
-//=======================================================================
-// function : SetParameter
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void CPnts_AbscissaPoint::SetParameter(const Standard_Real P)
 {
index 191a5d44ab8fe4230e9a43055a30151281ed2890..d62da3eadd7163809dac5087a52e8032c99043d5 100644 (file)
 #include <StdFail_NotDone.hxx>
 #include <Standard_OutOfRange.hxx>
 
-//=======================================================================
-// function : IsAllDone
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean CPnts_UniformDeflection::IsAllDone() const
 {
   return myDone;
 }
 
-//=======================================================================
-// function : Next
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void CPnts_UniformDeflection::Next()
 {
@@ -37,10 +31,7 @@ inline void CPnts_UniformDeflection::Next()
   myIPoint++;
 }
 
-//=======================================================================
-// function : Value
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Real CPnts_UniformDeflection::Value() const
 {
@@ -48,10 +39,7 @@ inline Standard_Real CPnts_UniformDeflection::Value() const
   return myParams[myIPoint + 1];
 }
 
-//=======================================================================
-// function : Point
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline gp_Pnt CPnts_UniformDeflection::Point() const
 {
index 0f68d18f5988837c66046531d9fe223bdb4793ac..2229b9c06748d066f6bebbaff06f5bb7f200f425 100644 (file)
 #include <Geom2d_BSplineCurve.hxx>
 #include <Adaptor2d_Curve2d.hxx>
 
-//=======================================================================
-// function : FirstParameter
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Real Extrema_Curve2dTool::FirstParameter(const Adaptor2d_Curve2d& C)
 {
   return C.FirstParameter();
 }
 
-//=======================================================================
-// function : LastParameter
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Real Extrema_Curve2dTool::LastParameter(const Adaptor2d_Curve2d& C)
 {
   return C.LastParameter();
 }
 
-//=======================================================================
-// function : Continuity
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline GeomAbs_Shape Extrema_Curve2dTool::Continuity(const Adaptor2d_Curve2d& C)
 {
   return C.Continuity();
 }
 
-//=======================================================================
-// function : NbIntervals
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer Extrema_Curve2dTool::NbIntervals(const Adaptor2d_Curve2d& C,
                                                          const GeomAbs_Shape      S)
@@ -64,10 +52,7 @@ inline Standard_Integer Extrema_Curve2dTool::NbIntervals(const Adaptor2d_Curve2d
   return C.NbIntervals(S);
 }
 
-//=======================================================================
-// function : Intervals
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void Extrema_Curve2dTool::Intervals(const Adaptor2d_Curve2d& C,
                                            TColStd_Array1OfReal&    T,
@@ -76,60 +61,42 @@ inline void Extrema_Curve2dTool::Intervals(const Adaptor2d_Curve2d& C,
   C.Intervals(T, S);
 }
 
-//=======================================================================
-// function : IsClosed
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean Extrema_Curve2dTool::IsClosed(const Adaptor2d_Curve2d& C)
 {
   return C.IsClosed();
 }
 
-//=======================================================================
-// function : IsPeriodic
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean Extrema_Curve2dTool::IsPeriodic(const Adaptor2d_Curve2d& C)
 {
   return C.IsPeriodic();
 }
 
-//=======================================================================
-// function : Period
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Real Extrema_Curve2dTool::Period(const Adaptor2d_Curve2d& C)
 {
   return C.Period();
 }
 
-//=======================================================================
-// function : Value
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline gp_Pnt2d Extrema_Curve2dTool::Value(const Adaptor2d_Curve2d& C, const Standard_Real U)
 {
   return C.Value(U);
 }
 
-//=======================================================================
-// function : D0
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void Extrema_Curve2dTool::D0(const Adaptor2d_Curve2d& C, const Standard_Real U, gp_Pnt2d& P)
 {
   C.D0(U, P);
 }
 
-//=======================================================================
-// function : D1
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void Extrema_Curve2dTool::D1(const Adaptor2d_Curve2d& C,
                                     const Standard_Real      U,
@@ -139,10 +106,7 @@ inline void Extrema_Curve2dTool::D1(const Adaptor2d_Curve2d& C,
   C.D1(U, P, V);
 }
 
-//=======================================================================
-// function : D2
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void Extrema_Curve2dTool::D2(const Adaptor2d_Curve2d& C,
                                     const Standard_Real      U,
@@ -153,10 +117,7 @@ inline void Extrema_Curve2dTool::D2(const Adaptor2d_Curve2d& C,
   C.D2(U, P, V1, V2);
 }
 
-//=======================================================================
-// function : D3
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void Extrema_Curve2dTool::D3(const Adaptor2d_Curve2d& C,
                                     const Standard_Real      U,
@@ -168,10 +129,7 @@ inline void Extrema_Curve2dTool::D3(const Adaptor2d_Curve2d& C,
   C.D3(U, P, V1, V2, V3);
 }
 
-//=======================================================================
-// function : DN
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline gp_Vec2d Extrema_Curve2dTool::DN(const Adaptor2d_Curve2d& C,
                                         const Standard_Real      U,
@@ -180,10 +138,7 @@ inline gp_Vec2d Extrema_Curve2dTool::DN(const Adaptor2d_Curve2d& C,
   return C.DN(U, N);
 }
 
-//=======================================================================
-// function : Resolution
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Real Extrema_Curve2dTool::Resolution(const Adaptor2d_Curve2d& C,
                                                      const Standard_Real      R3d)
@@ -191,120 +146,84 @@ inline Standard_Real Extrema_Curve2dTool::Resolution(const Adaptor2d_Curve2d& C,
   return C.Resolution(R3d);
 }
 
-//=======================================================================
-// function : GetType
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline GeomAbs_CurveType Extrema_Curve2dTool::GetType(const Adaptor2d_Curve2d& C)
 {
   return C.GetType();
 }
 
-//=======================================================================
-// function : Line
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline gp_Lin2d Extrema_Curve2dTool::Line(const Adaptor2d_Curve2d& C)
 {
   return C.Line();
 }
 
-//=======================================================================
-// function : Circle
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline gp_Circ2d Extrema_Curve2dTool::Circle(const Adaptor2d_Curve2d& C)
 {
   return C.Circle();
 }
 
-//=======================================================================
-// function : Ellipse
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline gp_Elips2d Extrema_Curve2dTool::Ellipse(const Adaptor2d_Curve2d& C)
 {
   return C.Ellipse();
 }
 
-//=======================================================================
-// function : Hyperbola
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline gp_Hypr2d Extrema_Curve2dTool::Hyperbola(const Adaptor2d_Curve2d& C)
 {
   return C.Hyperbola();
 }
 
-//=======================================================================
-// function : Parabola
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline gp_Parab2d Extrema_Curve2dTool::Parabola(const Adaptor2d_Curve2d& C)
 {
   return C.Parabola();
 }
 
-//=======================================================================
-// function : NbPoles
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer Extrema_Curve2dTool::NbPoles(const Adaptor2d_Curve2d& C)
 {
   return C.NbPoles();
 }
 
-//=======================================================================
-// function : Degree
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer Extrema_Curve2dTool::Degree(const Adaptor2d_Curve2d& C)
 {
   return C.Degree();
 }
 
-//=======================================================================
-// function : IsRational
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean Extrema_Curve2dTool::IsRational(const Adaptor2d_Curve2d& C)
 {
   return C.Degree() != 0;
 }
 
-//=======================================================================
-// function : NbKnots
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer Extrema_Curve2dTool::NbKnots(const Adaptor2d_Curve2d& C)
 {
   return C.NbKnots();
 }
 
-//=======================================================================
-// function : Bezier
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Handle(Geom2d_BezierCurve) Extrema_Curve2dTool::Bezier(const Adaptor2d_Curve2d& C)
 {
   return C.Bezier();
 }
 
-//=======================================================================
-// function : BSpline
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Handle(Geom2d_BSplineCurve) Extrema_Curve2dTool::BSpline(const Adaptor2d_Curve2d& C)
 {
index 3113e030ee9121d76232051123ede3b99bd47f86..8165ad763639f93c034968b84de551f2e5c083a2 100644 (file)
 #include <Geom_BSplineCurve.hxx>
 #include <Adaptor3d_Curve.hxx>
 
-//=======================================================================
-// function : FirstParameter
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Real Extrema_CurveTool::FirstParameter(const Adaptor3d_Curve& C)
 {
   return C.FirstParameter();
 }
 
-//=======================================================================
-// function : LastParameter
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Real Extrema_CurveTool::LastParameter(const Adaptor3d_Curve& C)
 {
   return C.LastParameter();
 }
 
-//=======================================================================
-// function : Value
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline gp_Pnt Extrema_CurveTool::Value(const Adaptor3d_Curve& C, const Standard_Real U)
 {
   return C.Value(U);
 }
 
-//=======================================================================
-// function : D0
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void Extrema_CurveTool::D0(const Adaptor3d_Curve& C, const Standard_Real U, gp_Pnt& P)
 {
   C.D0(U, P);
 }
 
-//=======================================================================
-// function : D1
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void Extrema_CurveTool::D1(const Adaptor3d_Curve& C,
                                   const Standard_Real    U,
@@ -78,10 +63,7 @@ inline void Extrema_CurveTool::D1(const Adaptor3d_Curve& C,
   C.D1(U, P, V);
 }
 
-//=======================================================================
-// function : D2
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void Extrema_CurveTool::D2(const Adaptor3d_Curve& C,
                                   const Standard_Real    U,
@@ -92,10 +74,7 @@ inline void Extrema_CurveTool::D2(const Adaptor3d_Curve& C,
   C.D2(U, P, V1, V2);
 }
 
-//=======================================================================
-// function : D3
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void Extrema_CurveTool::D3(const Adaptor3d_Curve& C,
                                   const Standard_Real    U,
@@ -107,10 +86,8 @@ inline void Extrema_CurveTool::D3(const Adaptor3d_Curve& C,
   C.D3(U, P, V1, V2, V3);
 }
 
-//=======================================================================
-// function : DN
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 inline gp_Vec Extrema_CurveTool::DN(const Adaptor3d_Curve& C,
                                     const Standard_Real    U,
                                     const Standard_Integer N)
@@ -118,30 +95,21 @@ inline gp_Vec Extrema_CurveTool::DN(const Adaptor3d_Curve& C,
   return C.DN(U, N);
 }
 
-//=======================================================================
-// function : Continuity
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline GeomAbs_Shape Extrema_CurveTool::Continuity(const Adaptor3d_Curve& C)
 {
   return C.Continuity();
 }
 
-//=======================================================================
-// function : NbIntervals
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer Extrema_CurveTool::NbIntervals(Adaptor3d_Curve& C, const GeomAbs_Shape S)
 {
   return C.NbIntervals(S);
 }
 
-//=======================================================================
-// function : Intervals
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline void Extrema_CurveTool::Intervals(Adaptor3d_Curve&      C,
                                          TColStd_Array1OfReal& T,
@@ -150,140 +118,98 @@ inline void Extrema_CurveTool::Intervals(Adaptor3d_Curve&      C,
   C.Intervals(T, S);
 }
 
-//=======================================================================
-// function : Period
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Real Extrema_CurveTool::Period(const Adaptor3d_Curve& C)
 {
   return C.Period();
 }
 
-//=======================================================================
-// function : GetType
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline GeomAbs_CurveType Extrema_CurveTool::GetType(const Adaptor3d_Curve& C)
 {
   return C.GetType();
 }
 
-//=======================================================================
-// function : Line
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline gp_Lin Extrema_CurveTool::Line(const Adaptor3d_Curve& C)
 {
   return C.Line();
 }
 
-//=======================================================================
-// function : Circle
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline gp_Circ Extrema_CurveTool::Circle(const Adaptor3d_Curve& C)
 {
   return C.Circle();
 }
 
-//=======================================================================
-// function : Ellipse
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline gp_Elips Extrema_CurveTool::Ellipse(const Adaptor3d_Curve& C)
 {
   return C.Ellipse();
 }
 
-//=======================================================================
-// function : Hyperbola
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline gp_Hypr Extrema_CurveTool::Hyperbola(const Adaptor3d_Curve& C)
 {
   return C.Hyperbola();
 }
 
-//=======================================================================
-// function : Parabola
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline gp_Parab Extrema_CurveTool::Parabola(const Adaptor3d_Curve& C)
 {
   return C.Parabola();
 }
 
-//=======================================================================
-// function : NbPoles
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer Extrema_CurveTool::NbPoles(const Adaptor3d_Curve& C)
 {
   return C.NbPoles();
 }
 
-//=======================================================================
-// function : Degree
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer Extrema_CurveTool::Degree(const Adaptor3d_Curve& C)
 {
   return C.Degree();
 }
 
-//=======================================================================
-// function : IsRational
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean Extrema_CurveTool::IsRational(const Adaptor3d_Curve& C)
 {
   return C.IsRational();
 }
 
-//=======================================================================
-// function : NbKnots
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Integer Extrema_CurveTool::NbKnots(const Adaptor3d_Curve& C)
 {
   return C.NbKnots();
 }
 
-//=======================================================================
-// function : Bezier
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Handle(Geom_BezierCurve) Extrema_CurveTool::Bezier(const Adaptor3d_Curve& C)
 {
   return C.Bezier();
 }
 
-//=======================================================================
-// function : BSpline
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Handle(Geom_BSplineCurve) Extrema_CurveTool::BSpline(const Adaptor3d_Curve& C)
 {
   return C.BSpline();
 }
 
-//=======================================================================
-// function : Resolution
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Real Extrema_CurveTool::Resolution(const Adaptor3d_Curve& C,
                                                    const Standard_Real    R3d)
index 54d293e5edf8ed3f9f6f2e64ffb1e902630d0c7b..c2657f8e734846f3957399189abda97a088809b6 100644 (file)
 #include <NCollection_Array1.hxx>
 
 
-//=======================================================================
-//function : Perform
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 void Extrema_GExtPC::Perform(const ThePoint& P)
 {
   mySqDist.Clear();
@@ -484,10 +482,8 @@ void Extrema_GExtPC::Perform(const ThePoint& P)
 }
 
 
-//=======================================================================
-//function : Initialize
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 
 void Extrema_GExtPC::Initialize(const TheCurve&     C,
                                const Standard_Real Uinf,
@@ -507,10 +503,8 @@ void Extrema_GExtPC::Initialize(const TheCurve&     C,
 }
 
 
-//=======================================================================
-//function : IntervalPerform
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 
 void Extrema_GExtPC::IntervalPerform(const ThePoint& P)
 {
@@ -542,10 +536,8 @@ void Extrema_GExtPC::IntervalPerform(const ThePoint& P)
 }
 
 
-//=======================================================================
-//function : AddSol
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 
 void Extrema_GExtPC::AddSol(const Standard_Real theU, const ThePoint& theP,
                             const Standard_Real theSqDist, 
@@ -568,10 +560,8 @@ void Extrema_GExtPC::AddSol(const Standard_Real theU, const ThePoint& theP,
  }
 
 
-//=======================================================================
-//function : Extrema_GExtPC
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 
 Extrema_GExtPC::Extrema_GExtPC()
 {
@@ -586,10 +576,8 @@ Extrema_GExtPC::Extrema_GExtPC()
   type = GeomAbs_OtherCurve;
 }
 
-//=======================================================================
-//function : Extrema_GExtPC
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 
 Extrema_GExtPC::Extrema_GExtPC(const ThePoint&           P, 
                               const TheCurve&           C,
@@ -601,10 +589,8 @@ Extrema_GExtPC::Extrema_GExtPC(const ThePoint&           P,
   Perform(P);
 }
 
-//=======================================================================
-//function : Extrema_GExtPC
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 
 Extrema_GExtPC::Extrema_GExtPC(const ThePoint&     P, 
                               const TheCurve&     C,
@@ -616,10 +602,8 @@ Extrema_GExtPC::Extrema_GExtPC(const ThePoint&     P,
 }
 
 
-//=======================================================================
-//function : IsDone
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 
 Standard_Boolean Extrema_GExtPC::IsDone() const
 {
@@ -627,10 +611,8 @@ Standard_Boolean Extrema_GExtPC::IsDone() const
 }
 
 
-//=======================================================================
-//function : Value
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 
 Standard_Real Extrema_GExtPC::SquareDistance(const Standard_Integer N) const 
 {
@@ -639,10 +621,8 @@ Standard_Real Extrema_GExtPC::SquareDistance(const Standard_Integer N) const
 }
 
 
-//=======================================================================
-//function : NbExt
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 
 Standard_Integer Extrema_GExtPC::NbExt() const
 {
@@ -651,10 +631,8 @@ Standard_Integer Extrema_GExtPC::NbExt() const
 }
 
 
-//=======================================================================
-//function : IsMin
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 
 Standard_Boolean Extrema_GExtPC::IsMin(const Standard_Integer N) const
 {
@@ -664,10 +642,8 @@ Standard_Boolean Extrema_GExtPC::IsMin(const Standard_Integer N) const
 
 
 
-//=======================================================================
-//function : Point
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 
 const ThePOnC & Extrema_GExtPC::Point(const Standard_Integer N) const
 {
@@ -676,10 +652,8 @@ const ThePOnC & Extrema_GExtPC::Point(const Standard_Integer N) const
 }
 
 
-//=======================================================================
-//function : TrimmedDistances
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 
 void Extrema_GExtPC::TrimmedSquareDistances(Standard_Real& dist1, 
                                      Standard_Real& dist2,
index 2ff7748895ebfe41a2ddc7eba05f6949381e4604..bc0f3bba17b160497ffb704250885f49b5e21d92 100644 (file)
 #include <TColStd_Array1OfReal.hxx>
 
 
-//=======================================================================
-//function : Extrema_GLocateExtPC
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 
 Extrema_GLocateExtPC::Extrema_GLocateExtPC()
 : myC(NULL),
@@ -50,10 +48,8 @@ Extrema_GLocateExtPC::Extrema_GLocateExtPC()
 }
 
 
-//=======================================================================
-//function : Extrema_GLocateExtPC
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 
 Extrema_GLocateExtPC::Extrema_GLocateExtPC (const ThePoint&     P,
   const TheCurve&     C,
@@ -64,10 +60,8 @@ Extrema_GLocateExtPC::Extrema_GLocateExtPC (const ThePoint&     P,
   Perform(P, U0);
 }
 
-//=======================================================================
-//function : Extrema_GLocateExtPC
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 
 Extrema_GLocateExtPC::Extrema_GLocateExtPC (const ThePoint&     P,
   const TheCurve&     C,
@@ -82,10 +76,8 @@ Extrema_GLocateExtPC::Extrema_GLocateExtPC (const ThePoint&     P,
 
 
 
-//=======================================================================
-//function : Initialize
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 
 void Extrema_GLocateExtPC::Initialize(const TheCurve&     C, 
   const Standard_Real Umin,
@@ -113,10 +105,8 @@ void Extrema_GLocateExtPC::Initialize(const TheCurve&     C,
 
 
 
-//=======================================================================
-//function : Perform
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 
 void Extrema_GLocateExtPC::Perform(const ThePoint&     P,
   const Standard_Real U0)
@@ -310,10 +300,8 @@ void Extrema_GLocateExtPC::Perform(const ThePoint&     P,
 
 
 
-//=======================================================================
-//function : IsDone
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 
 Standard_Boolean Extrema_GLocateExtPC::IsDone () const 
 {
@@ -321,10 +309,8 @@ Standard_Boolean Extrema_GLocateExtPC::IsDone () const
 }
 
 
-//=======================================================================
-//function : Value
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 
 Standard_Real Extrema_GLocateExtPC::SquareDistance () const 
 {
@@ -350,10 +336,8 @@ Standard_Real Extrema_GLocateExtPC::SquareDistance () const
 }
 
 
-//=======================================================================
-//function : IsMin
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 
 Standard_Boolean Extrema_GLocateExtPC::IsMin () const 
 {
@@ -379,10 +363,8 @@ Standard_Boolean Extrema_GLocateExtPC::IsMin () const
 }
 
 
-//=======================================================================
-//function : Point
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 
 const ThePOnC & Extrema_GLocateExtPC::Point () const 
 {
index 8c48e74fe3636475fb1a61ec47dc39b26bc6ca13..08f04077e76ff87844ddee7246fb7964d1109b3b 100644 (file)
@@ -167,10 +167,8 @@ static Standard_Real ProjPOnC(const Pnt& theP,
   return aDist;
 }
 
-//=======================================================================
-//function : Extrema_GenExtCC
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 Extrema_GenExtCC::Extrema_GenExtCC()
 : myIsFindSingleSolution(Standard_False),
   myParallel(Standard_False),
@@ -182,10 +180,8 @@ Extrema_GenExtCC::Extrema_GenExtCC()
   myC[0] = myC[1] = 0;
 }
 
-//=======================================================================
-//function : Extrema_GenExtCC
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 Extrema_GenExtCC::Extrema_GenExtCC(const Curve1& C1,
                                    const Curve2& C2)
 : myIsFindSingleSolution(Standard_False),
@@ -203,10 +199,8 @@ Extrema_GenExtCC::Extrema_GenExtCC(const Curve1& C1,
   myUppBorder(2) = C2.LastParameter();
 }
 
-//=======================================================================
-//function : Extrema_GenExtCC
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 Extrema_GenExtCC::Extrema_GenExtCC(const Curve1& C1,
                                    const Curve2& C2,
                                    const Standard_Real Uinf,
@@ -228,10 +222,8 @@ Extrema_GenExtCC::Extrema_GenExtCC(const Curve1& C1,
   myUppBorder(2) = Vsup;
 }
 
-//=======================================================================
-//function : SetParams
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 void Extrema_GenExtCC::SetParams(const Curve1& C1,
                                  const Curve2& C2,
                                  const Standard_Real Uinf,
@@ -247,19 +239,15 @@ void Extrema_GenExtCC::SetParams(const Curve1& C1,
   myUppBorder(2) = Vsup;
 }
 
-//=======================================================================
-//function : SetTolerance
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 void Extrema_GenExtCC::SetTolerance(Standard_Real theTol)
 {
   myCurveMinTol = theTol;
 }
 
-//=======================================================================
-//function : Perform
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 void Extrema_GenExtCC::Perform()
 {
   myDone = Standard_False;
@@ -652,39 +640,31 @@ void Extrema_GenExtCC::Perform()
   }
 }
 
-//=======================================================================
-//function : IsDone
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 Standard_Boolean Extrema_GenExtCC::IsDone() const 
 {
   return myDone; 
 }
 
-//=======================================================================
-//function : IsParallel
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 Standard_Boolean Extrema_GenExtCC::IsParallel() const 
 {
   if (!IsDone()) throw StdFail_NotDone();
   return myParallel;
 }
 
-//=======================================================================
-//function : NbExt
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 Standard_Integer Extrema_GenExtCC::NbExt() const
 {
   if (!IsDone()) throw StdFail_NotDone();
   return myPoints1.Length();
 }
 
-//=======================================================================
-//function : SquareDistance
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 Standard_Real Extrema_GenExtCC::SquareDistance(const Standard_Integer N) const
 {
   if (N < 1 || N > NbExt())
@@ -695,10 +675,8 @@ Standard_Real Extrema_GenExtCC::SquareDistance(const Standard_Integer N) const
   return Tool1::Value(*((Curve1*)myC[0]), myPoints1(N)).SquareDistance(Tool2::Value(*((Curve2*)myC[1]), myPoints2(N)));
 }
 
-//=======================================================================
-//function : Points
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 void Extrema_GenExtCC::Points(const Standard_Integer N,
                               POnC& P1,
                               POnC& P2) const
@@ -712,19 +690,15 @@ void Extrema_GenExtCC::Points(const Standard_Integer N,
   P2.SetValues(myPoints2(N), Tool2::Value(*((Curve2*)myC[1]), myPoints2(N)));
 }
 
-//=======================================================================
-//function : SetSingleSolutionFlag
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 void Extrema_GenExtCC::SetSingleSolutionFlag(const Standard_Boolean theFlag)
 {
   myIsFindSingleSolution = theFlag;
 }
 
-//=======================================================================
-//function : GetSingleSolutionFlag
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 Standard_Boolean Extrema_GenExtCC::GetSingleSolutionFlag() const
 {
   return myIsFindSingleSolution;
index 8dbb6d4a6f4148029420b3421194abbff392b256..6cdd99bfbe46f88ad56341085bde901b10ee2948 100644 (file)
 #include <Standard_NotImplemented.hxx>
 
 
-//=======================================================================
-//function : Extrema_GenExtPC
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 
 Extrema_GenExtPC::Extrema_GenExtPC ()
 : myDone(Standard_False),
@@ -39,10 +37,8 @@ Extrema_GenExtPC::Extrema_GenExtPC ()
 
 
 
-//=======================================================================
-//function : Extrema_GenExtPC
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 
 Extrema_GenExtPC::Extrema_GenExtPC (const Pnt&             P, 
                                    const Curve&           C,
@@ -55,10 +51,8 @@ Extrema_GenExtPC::Extrema_GenExtPC (const Pnt&             P,
 }
 
 
-//=======================================================================
-//function : Extrema_GenExtPC
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 
 Extrema_GenExtPC::Extrema_GenExtPC (const Pnt&             P, 
                                    const Curve&           C,
@@ -73,10 +67,8 @@ Extrema_GenExtPC::Extrema_GenExtPC (const Pnt&             P,
 }
 
 
-//=======================================================================
-//function : Initialize
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 
 void Extrema_GenExtPC::Initialize(const Curve&           C,
                                  const Standard_Integer NbU,
@@ -92,10 +84,8 @@ void Extrema_GenExtPC::Initialize(const Curve&           C,
   myusup = Tool::LastParameter(C);
 }
 
-//=======================================================================
-//function : Initialize
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 
 void Extrema_GenExtPC::Initialize(const Curve&           C,
                                  const Standard_Integer NbU,
@@ -114,10 +104,8 @@ void Extrema_GenExtPC::Initialize(const Curve&           C,
 }
 
 
-//=======================================================================
-//function : Initialize
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 
 void Extrema_GenExtPC::Initialize(const Standard_Integer NbU,
                                  const Standard_Real    Umin,
@@ -132,10 +120,8 @@ void Extrema_GenExtPC::Initialize(const Standard_Integer NbU,
   myusup = Usup;
 }
 
-//=======================================================================
-//function : Initialize
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 
 void Extrema_GenExtPC::Initialize(const Curve& C)
 {
@@ -144,10 +130,8 @@ void Extrema_GenExtPC::Initialize(const Curve& C)
 
 
 
-//=======================================================================
-//function : Perform
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 
 void Extrema_GenExtPC::Perform(const Pnt& P)
 /*-----------------------------------------------------------------------------
@@ -183,10 +167,8 @@ Methode:
 
 
 
-//=======================================================================
-//function : IsDone
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 
 Standard_Boolean Extrema_GenExtPC::IsDone () const {
 
@@ -194,10 +176,8 @@ Standard_Boolean Extrema_GenExtPC::IsDone () const {
 }
 
 
-//=======================================================================
-//function : NbExt
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 
 Standard_Integer Extrema_GenExtPC::NbExt () const {
 
@@ -206,10 +186,8 @@ Standard_Integer Extrema_GenExtPC::NbExt () const {
 }
 
 
-//=======================================================================
-//function : Value
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 
 Standard_Real Extrema_GenExtPC::SquareDistance (const Standard_Integer N) const
 {
@@ -222,10 +200,8 @@ Standard_Real Extrema_GenExtPC::SquareDistance (const Standard_Integer N) const
 }
 
 
-//=======================================================================
-//function : IsMin
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 
 Standard_Boolean Extrema_GenExtPC::IsMin (const Standard_Integer N) const {
 
@@ -238,10 +214,8 @@ Standard_Boolean Extrema_GenExtPC::IsMin (const Standard_Integer N) const {
 }
 
 
-//=======================================================================
-//function : Point
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 
 const POnC & Extrema_GenExtPC::Point (const Standard_Integer N) const 
 {
index 98b6cc6a49eb7874b41e992b4a1532ff84a51498..cb38dfaa7e51e3ad38faab656d3cca383db3a57e 100644 (file)
 #include <Standard_DomainError.hxx>
 #include <math_FunctionRoot.hxx>
 
-//=======================================================================
-//function : Extrema_GenLocateExtPC
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 
 Extrema_GenLocateExtPC::Extrema_GenLocateExtPC()
 : myDone(Standard_False),
@@ -32,10 +30,8 @@ Extrema_GenLocateExtPC::Extrema_GenLocateExtPC()
 }
 
 
-//=======================================================================
-//function : Extrema_GenLocateExtPC
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 
 Extrema_GenLocateExtPC::Extrema_GenLocateExtPC (const Pnt&          P,
                                                const Curve&        C,
@@ -47,10 +43,8 @@ Extrema_GenLocateExtPC::Extrema_GenLocateExtPC (const Pnt&          P,
 }
 
 
-//=======================================================================
-//function : Extrema_GenLocateExtPC
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 
 Extrema_GenLocateExtPC::Extrema_GenLocateExtPC (const Pnt&          P,
                                                const Curve&        C,
@@ -64,10 +58,8 @@ Extrema_GenLocateExtPC::Extrema_GenLocateExtPC (const Pnt&          P,
 }
 
 
-//=======================================================================
-//function : Initialize
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 
 void Extrema_GenLocateExtPC::Initialize(const Curve&        C,
                                        const Standard_Real Umin,
@@ -82,10 +74,8 @@ void Extrema_GenLocateExtPC::Initialize(const Curve&        C,
 }
 
 
-//=======================================================================
-//function : Perform
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 
 void Extrema_GenLocateExtPC::Perform(const Pnt&          P,
                                     const Standard_Real U0)
@@ -124,10 +114,8 @@ Methode:
   }
 }
 
-//=======================================================================
-//function : IsDone
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 
 Standard_Boolean Extrema_GenLocateExtPC::IsDone () const 
 {
@@ -135,10 +123,8 @@ Standard_Boolean Extrema_GenLocateExtPC::IsDone () const
 }
 
 
-//=======================================================================
-//function : Value
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 
 Standard_Real Extrema_GenLocateExtPC::SquareDistance() const 
 {
@@ -150,10 +136,8 @@ Standard_Real Extrema_GenLocateExtPC::SquareDistance() const
 }
 
 
-//=======================================================================
-//function : IsMin
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 
 Standard_Boolean Extrema_GenLocateExtPC::IsMin () const 
 {
@@ -165,10 +149,8 @@ Standard_Boolean Extrema_GenLocateExtPC::IsMin () const
 }
 
 
-//=======================================================================
-//function : Point
-//purpose  : 
-//=======================================================================
+//=================================================================================================
+
 
 const POnC & Extrema_GenLocateExtPC::Point () const 
 {
index 231e58053b812303ac5962b4cd644bfbebbbbccc..0d4b9f9857183a82473202e740a956d934ae63fa 100644 (file)
 // Alternatively, this file may be used under the terms of Open CASCADE
 // commercial license or contractual agreement.
 
-//=======================================================================
-// function : IsDone
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean GeomLib_Interpolate::IsDone() const
 {
   return myIsDone;
 }
 
-//=======================================================================
-// function : Error
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline GeomLib_InterpolationErrors GeomLib_Interpolate::Error() const
 {
index 0ae5d234937b8d5f0fab7607c9ac7c69ab213076..024b8295f0c1afa8f89feb4aa9a3e0f89352148d 100644 (file)
 // Alternatively, this file may be used under the terms of Open CASCADE
 // commercial license or contractual agreement.
 
-//=======================================================================
-// function : IsDone
-// purpose  :
-//=======================================================================
+//=================================================================================================
 
 inline Standard_Boolean GeomLib_MakeCurvefromApprox::IsDone() const
 {
index 0cb45ca6679340d2903e3af6c71d3d29ef20d325..fbb6ba76c46fa891645104b206bf3354494ee44a 100644 (file)
@@ -2844,10 +2844,8 @@ gp_Parab IntAna_QuadQuadGeo::Parabola(const Standard_Integer n) const
   return (gp_Parab(gp_Ax2(pt1, dir1, dir2), param1));
 }
 
-//=======================================================================
-// function : Hyperbola
-// purpose  : Returns a Hyperbola
-//=======================================================================
+//=================================================================================================
+
 gp_Hypr IntAna_QuadQuadGeo::Hyperbola(const Standard_Integer n) const
 {
   if (!done)
index 2b9fe9ca646bd96b214867bf29d63e227c032735..2603413402dc51ee8fc168befc330a602791e35a 100644 (file)
@@ -942,10 +942,9 @@ static void Function_SetUVBounds(Standard_Real&                   myU1,
 
 //
 //
-//=======================================================================
-// classn : ProjLib_Function
-// purpose  :
-//=======================================================================
+
+//=================================================================================================
+
 class ProjLib_Function : public AppCont_Function
 {
   Handle(Adaptor3d_Curve)   myCurve;
index 511ac40377960fef054c7c023c4001a81ca90e09..c50dc60eb76f60d0b49e5a6f2ce1e7164de2427d 100644 (file)
@@ -114,10 +114,8 @@ void IVtkOCC_ViewerSelector::Pick(const Standard_Integer    theXPix,
   TraverseSensitives(-1);
 }
 
-//============================================================================
-// Method:  Pick
-// Purpose: Picking by rectangle
-//============================================================================
+//=================================================================================================
+
 void IVtkOCC_ViewerSelector::Pick(const Standard_Integer    theXMin,
                                   const Standard_Integer    theYMin,
                                   const Standard_Integer    theXMax,
index e4e04d30d37681541f1a0e248d3a54d74058af5c..907f0e56b6017ca83e0c7aa28ee8a82758fb5b32 100644 (file)
 
 IMPLEMENT_STANDARD_RTTIEXT(MeshVS_SensitiveFace, Select3D_SensitiveFace)
 
-//=======================================================================
-// name    : MeshVS_SensitiveFace::MeshVS_SensitiveFace
-// Purpose :
-//=======================================================================
+//=================================================================================================
+
 MeshVS_SensitiveFace::MeshVS_SensitiveFace(const Handle(SelectMgr_EntityOwner)& theOwnerId,
                                            const TColgp_Array1OfPnt&            thePnts,
                                            const Select3D_TypeOfSensitivity     theSensitivity)
index aff50cdd379612f8c7c3e58d5c24780a587b7a83..748faede77dc29cfa14822f431362b79433c2a4c 100644 (file)
 
 IMPLEMENT_STANDARD_RTTIEXT(MeshVS_SensitiveMesh, Select3D_SensitiveEntity)
 
-//=======================================================================
-// name    : MeshVS_SensitiveMesh::MeshVS_SensitiveMesh
-// Purpose :
-//=======================================================================
+//=================================================================================================
+
 MeshVS_SensitiveMesh::MeshVS_SensitiveMesh(const Handle(SelectMgr_EntityOwner)& theOwnerId,
                                            const Standard_Integer               theMode)
     : Select3D_SensitiveEntity(theOwnerId)
@@ -55,10 +53,8 @@ Standard_Integer MeshVS_SensitiveMesh::GetMode() const
   return myMode;
 }
 
-//=======================================================================
-// name    : GetConnected
-// Purpose :
-//=======================================================================
+//=================================================================================================
+
 Handle(Select3D_SensitiveEntity) MeshVS_SensitiveMesh::GetConnected()
 {
   Handle(MeshVS_SensitiveMesh) aMeshEnt = new MeshVS_SensitiveMesh(myOwnerId);
index c2f18d38cc646c3cce0b52e831dd48b25048d914..45a83666bc20c24c6554c7cebdecabcaa2273e8a 100644 (file)
 
 IMPLEMENT_STANDARD_RTTIEXT(MeshVS_SensitiveSegment, Select3D_SensitiveSegment)
 
-//=======================================================================
-// name    : MeshVS_SensitiveSegment::MeshVS_SensitiveSegment
-// Purpose :
-//=======================================================================
+//=================================================================================================
+
 MeshVS_SensitiveSegment::MeshVS_SensitiveSegment(const Handle(SelectMgr_EntityOwner)& theOwnerId,
                                                  const gp_Pnt&                        theFirstPnt,
                                                  const gp_Pnt&                        theLastPnt)
index 090015ee83ca450d7a4193da63df6216498e7743..a386108947bc427928e41945c0a305e5de10c8ab 100644 (file)
@@ -414,19 +414,15 @@ Standard_Real MeshVS_VectorPrsBuilder::calculateArrow(TColgp_Array1OfPnt& Points
   return h;
 }
 
-//=======================================================================
-// name    : SetSimplePrsMode
-// Purpose :
-//=======================================================================
+//=================================================================================================
+
 void MeshVS_VectorPrsBuilder::SetSimplePrsMode(const Standard_Boolean IsSimpleArrow)
 {
   myIsSimplePrs = IsSimpleArrow;
 }
 
-//=======================================================================
-// name    : SetSimplePrsParams
-// Purpose :
-//=======================================================================
+//=================================================================================================
+
 void MeshVS_VectorPrsBuilder::SetSimplePrsParams(const Standard_Real theLineWidthParam,
                                                  const Standard_Real theStartParam,
                                                  const Standard_Real theEndParam)
index 65939a7065541bd28e89dd5e287f286c53315cf2..2a526456a51af5b4b4c79ab5da86bfb9085b8f1e 100644 (file)
@@ -104,10 +104,8 @@ protected:
   Handle(NCollection_Buffer) myData; //!< buffer data
 };
 
-// =======================================================================
-// function : Create
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 template <class BaseBufferT>
 bool OpenGl_BufferCompatT<BaseBufferT>::Create(const Handle(OpenGl_Context)&)
 {
@@ -119,10 +117,8 @@ bool OpenGl_BufferCompatT<BaseBufferT>::Create(const Handle(OpenGl_Context)&)
   return BaseBufferT::myBufferId != OpenGl_Buffer::NO_BUFFER;
 }
 
-// =======================================================================
-// function : Release
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 template <class BaseBufferT>
 void OpenGl_BufferCompatT<BaseBufferT>::Release(OpenGl_Context*)
 {
@@ -136,10 +132,8 @@ void OpenGl_BufferCompatT<BaseBufferT>::Release(OpenGl_Context*)
   myData.Nullify();
 }
 
-// =======================================================================
-// function : initLink
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 template <class BaseBufferT>
 bool OpenGl_BufferCompatT<BaseBufferT>::initLink(const Handle(NCollection_Buffer)& theData,
                                                  const unsigned int                theComponentsNb,
@@ -164,10 +158,8 @@ bool OpenGl_BufferCompatT<BaseBufferT>::initLink(const Handle(NCollection_Buffer
   return true;
 }
 
-// =======================================================================
-// function : init
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 template <class BaseBufferT>
 bool OpenGl_BufferCompatT<BaseBufferT>::init(const Handle(OpenGl_Context)& theCtx,
                                              const unsigned int            theComponentsNb,
@@ -201,10 +193,8 @@ bool OpenGl_BufferCompatT<BaseBufferT>::init(const Handle(OpenGl_Context)& theCt
   return true;
 }
 
-// =======================================================================
-// function : subData
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 template <class BaseBufferT>
 bool OpenGl_BufferCompatT<BaseBufferT>::subData(const Handle(OpenGl_Context)&,
                                                 const Standard_Integer theElemFrom,
@@ -229,10 +219,8 @@ bool OpenGl_BufferCompatT<BaseBufferT>::subData(const Handle(OpenGl_Context)&,
   return true;
 }
 
-// =======================================================================
-// function : getSubData
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 template <class BaseBufferT>
 bool OpenGl_BufferCompatT<BaseBufferT>::getSubData(const Handle(OpenGl_Context)&,
                                                    const Standard_Integer theElemFrom,
index f55953d700ecd9ee075272092729fd3ef78ae61c..8d5a606f50b8ade3e1280253012c061eb4c992ea 100644 (file)
 
 #include <Standard_ProgramError.hxx>
 
-// =======================================================================
-// function : IsCurrent
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 Standard_Boolean OpenGl_Context::IsCurrent() const
 {
 #if defined(TARGET_OS_IPHONE) && TARGET_OS_IPHONE
@@ -51,10 +49,8 @@ Standard_Boolean OpenGl_Context::IsCurrent() const
 #endif
 }
 
-// =======================================================================
-// function : MakeCurrent
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 Standard_Boolean OpenGl_Context::MakeCurrent()
 {
   if (myGContext == NULL)
@@ -71,10 +67,8 @@ Standard_Boolean OpenGl_Context::MakeCurrent()
 #endif
 }
 
-// =======================================================================
-// function : SwapBuffers
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 void OpenGl_Context::SwapBuffers()
 {
   if (myGContext == NULL)
@@ -99,10 +93,8 @@ void OpenGl_Context::SwapBuffers()
 #endif
 }
 
-// =======================================================================
-// function : Init
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 Standard_Boolean OpenGl_Context::Init (const Standard_Boolean theIsCoreProfile)
 {
   if (myIsInitialized)
index 361b660dca421f07929e0bb14167be2d7b57a326..14950d3086c55651050a7cc5d8fdcf6dd23a3d62 100644 (file)
@@ -302,10 +302,8 @@ struct OpenGl_TextureFormatSelector<GLint>
   }
 };
 
-// =======================================================================
-// function : Create
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 template <class theCompType, int theNbComps>
 inline OpenGl_TextureFormat OpenGl_TextureFormat::Create()
 {
index 8e61ad112abb7e5be518da291e73d1f16328961c..154e8e5d6d36185746ed93cbec9527c2553be7d8 100644 (file)
   #include <OpenGL/CGLRenderers.h>
 #endif
 
-// =======================================================================
-// function : OpenGl_Window
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 OpenGl_Window::OpenGl_Window()
 : myOwnGContext (false),
   mySwapInterval (0)
@@ -63,10 +61,8 @@ OpenGl_Window::OpenGl_Window()
   //
 }
 
-// =======================================================================
-// function : Init
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 void OpenGl_Window::Init (const Handle(OpenGl_GraphicDriver)& theDriver,
                           const Handle(Aspect_Window)&  thePlatformWindow,
                           const Handle(Aspect_Window)&  theSizeWindow,
@@ -267,10 +263,8 @@ OpenGl_Window::~OpenGl_Window()
 #endif
 }
 
-// =======================================================================
-// function : Resize
-// purpose  : call_subr_resize
-// =======================================================================
+//=================================================================================================
+
 void OpenGl_Window::Resize()
 {
   // If the size is not changed - do nothing
@@ -315,10 +309,8 @@ void OpenGl_Window::Resize()
   init();
 }
 
-// =======================================================================
-// function : init
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 void OpenGl_Window::init()
 {
   if (!Activate())
@@ -411,10 +403,8 @@ void OpenGl_Window::init()
   }
 }
 
-// =======================================================================
-// function : SetSwapInterval
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 void OpenGl_Window::SetSwapInterval (Standard_Boolean theToForceNoSync)
 {
   const Standard_Integer aSwapInterval = theToForceNoSync ? 0 : myGlContext->caps->swapInterval;
index aa61be949a04e774475b8037976fc97680b98362..be17902d9be0c474e2ff3269cd6b6bcfb1213b28 100644 (file)
 
 #ifndef HAVE_OBJC_ARC
 
-// =======================================================================
-// function : Cocoa_LocalPool
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 Cocoa_LocalPool::Cocoa_LocalPool()
 : myPoolObj ([[NSAutoreleasePool alloc] init])
 {
index cd42e414eb535eb099e274ee1e1b02ce14c9ac39..13e008b6bc2331b1fd601e4d49ac36ee8ad262a8 100644 (file)
@@ -90,10 +90,8 @@ static Standard_Integer getScreenBottom()
   @end
 #endif
 
-// =======================================================================
-// function : Cocoa_Window
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 Cocoa_Window::Cocoa_Window (const Standard_CString theTitle,
                             const Standard_Integer thePxLeft,
                             const Standard_Integer thePxTop,
@@ -150,10 +148,8 @@ Cocoa_Window::Cocoa_Window (const Standard_CString theTitle,
 #endif
 }
 
-// =======================================================================
-// function : Cocoa_Window
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 #if defined(TARGET_OS_IPHONE) && TARGET_OS_IPHONE
 Cocoa_Window::Cocoa_Window (UIView* theViewNS)
 : Aspect_Window(),
@@ -204,10 +200,8 @@ Cocoa_Window::~Cocoa_Window()
   }
 }
 
-// =======================================================================
-// function : SetHView
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 #if defined(TARGET_OS_IPHONE) && TARGET_OS_IPHONE
 void Cocoa_Window::SetHView (UIView* theView)
 {
@@ -232,10 +226,8 @@ void Cocoa_Window::SetHView (NSView* theView)
 #endif
 }
 
-// =======================================================================
-// function : IsMapped
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 Standard_Boolean Cocoa_Window::IsMapped() const
 {
   if (IsVirtual())
@@ -251,10 +243,8 @@ Standard_Boolean Cocoa_Window::IsMapped() const
 #endif
 }
 
-// =======================================================================
-// function : Map
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 void Cocoa_Window::Map() const
 {
   if (IsVirtual())
@@ -272,10 +262,8 @@ void Cocoa_Window::Map() const
   }
 }
 
-// =======================================================================
-// function : Unmap
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 void Cocoa_Window::Unmap() const
 {
   if (myHView != NULL)
@@ -288,10 +276,8 @@ void Cocoa_Window::Unmap() const
   }
 }
 
-// =======================================================================
-// function : DoResize
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 Aspect_TypeOfResize Cocoa_Window::DoResize()
 {
   if (myHView == NULL)
@@ -332,19 +318,15 @@ Aspect_TypeOfResize Cocoa_Window::DoResize()
   return aMode;
 }
 
-// =======================================================================
-// function : DoMapping
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 Standard_Boolean Cocoa_Window::DoMapping() const
 {
   return Standard_True;
 }
 
-// =======================================================================
-// function : Ratio
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 Standard_Real Cocoa_Window::Ratio() const
 {
   if (myHView == NULL)
@@ -360,10 +342,8 @@ Standard_Real Cocoa_Window::Ratio() const
   return Standard_Real (aBounds.size.width / aBounds.size.height);
 }
 
-// =======================================================================
-// function : Position
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 void Cocoa_Window::Position (Standard_Integer& X1, Standard_Integer& Y1,
                              Standard_Integer& X2, Standard_Integer& Y2) const
 {
@@ -383,10 +363,8 @@ void Cocoa_Window::Position (Standard_Integer& X1, Standard_Integer& Y1,
 #endif
 }
 
-// =======================================================================
-// function : Size
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 void Cocoa_Window::Size (Standard_Integer& theWidth,
                          Standard_Integer& theHeight) const
 {
@@ -404,10 +382,8 @@ void Cocoa_Window::Size (Standard_Integer& theWidth,
   theHeight = (Standard_Integer )aBounds.size.height;
 }
 
-// =======================================================================
-// function : SetTitle
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 void Cocoa_Window::SetTitle (const TCollection_AsciiString& theTitle)
 {
   if (myHView == NULL)
@@ -425,10 +401,8 @@ void Cocoa_Window::SetTitle (const TCollection_AsciiString& theTitle)
 #endif
 }
 
-// =======================================================================
-// function : InvalidateContent
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 void Cocoa_Window::InvalidateContent (const Handle(Aspect_DisplayConnection)& )
 {
   if (myHView == NULL)
@@ -443,10 +417,8 @@ void Cocoa_Window::InvalidateContent (const Handle(Aspect_DisplayConnection)& )
   }
 }
 
-// =======================================================================
-// function : VirtualKeyFromNative
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 Aspect_VKey Cocoa_Window::VirtualKeyFromNative (Standard_Integer theKey)
 {
   switch (theKey)
index ff2483e5fbfb2ec9ae2d37dc2f0893915a693686..7f06f64faa046378b0eb4045027234e2023c1745 100644 (file)
@@ -131,10 +131,8 @@ static Standard_Real ScaleFactor(const NCollection_Mat4<T>& theMatrix)
 }
 } // namespace Graphic3d_TransformUtils
 
-// =======================================================================
-// function : Convert
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 template <class T>
 void Graphic3d_TransformUtils::Convert(const gp_Trsf&                theTransformation,
                                        typename MatrixType<T>::Mat4& theOut)
index e839f744a19a12bb8f9b7dd239e8babcb3ea931d..65da48b6e0c79927d8696df0b2261c32aac24d43 100644 (file)
@@ -1578,11 +1578,8 @@ void AIS_Manipulator::ComputeSelection(const Handle(SelectMgr_Selection)& theSel
   }
 }
 
-//=======================================================================
-// class    : Disk
-// function : Init
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 void AIS_Manipulator::Disk::Init(const Standard_ShortReal theInnerRadius,
                                  const Standard_ShortReal theOuterRadius,
                                  const gp_Ax1&            thePosition,
@@ -1603,11 +1600,8 @@ void AIS_Manipulator::Disk::Init(const Standard_ShortReal theInnerRadius,
   myTriangulation = aTool.CreatePolyTriangulation(aTrsf);
 }
 
-//=======================================================================
-// class    : Sphere
-// function : Init
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 void AIS_Manipulator::Sphere::Init(const Standard_ShortReal theRadius,
                                    const gp_Pnt&            thePosition,
                                    const ManipulatorSkin    theSkinMode,
@@ -1626,11 +1620,8 @@ void AIS_Manipulator::Sphere::Init(const Standard_ShortReal theRadius,
   myTriangulation = aTool.CreatePolyTriangulation(aTrsf);
 }
 
-//=======================================================================
-// class    : Cube
-// function : Init
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 void AIS_Manipulator::Cube::Init(const gp_Ax1&            thePosition,
                                  const Standard_ShortReal theSize,
                                  const ManipulatorSkin    theSkinMode)
@@ -1729,11 +1720,8 @@ void AIS_Manipulator::Cube::addTriangle(const Standard_Integer theIndex,
   myArray->AddVertex(theP3, theNormal);
 }
 
-//=======================================================================
-// class    : Sector
-// function : Init
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 void AIS_Manipulator::Sector::Init(const Standard_ShortReal theRadius,
                                    const gp_Ax1&            thePosition,
                                    const gp_Dir&            theXDirection,
index edb33ab8e89cde9efeb689070e5de049359f9c86..d2b2935e5c560582fe794248013450134c447e70 100644 (file)
@@ -118,10 +118,7 @@ void DsgPrs_EllipseRadiusPresentation::Add(const Handle(Prs3d_Presentation)& aPr
                                         ArrowPrs);
 }
 
-//=======================================================================
-// function : Add
-// purpose  : // for offset curve
-//=======================================================================
+//=================================================================================================
 
 void DsgPrs_EllipseRadiusPresentation::Add(const Handle(Prs3d_Presentation)& aPresentation,
                                            const Handle(Prs3d_Drawer)&       aDrawer,
index c09391b171b1895b3bb13b012e8b81eca28c9eb5..0081b356297d28083d8ff0fd0ea2bf114b6082b8 100644 (file)
@@ -66,10 +66,7 @@ static Standard_Boolean InDomain(const Standard_Real fpar,
   return Standard_False;
 }
 
-//=======================================================================
-// function : Constructor
-// purpose  : vertex Fix Relation
-//=======================================================================
+//=================================================================================================
 
 PrsDim_FixRelation::PrsDim_FixRelation(const TopoDS_Shape&       aShape,
                                        const Handle(Geom_Plane)& aPlane,
@@ -83,10 +80,7 @@ PrsDim_FixRelation::PrsDim_FixRelation(const TopoDS_Shape&       aShape,
   myArrowSize         = 5.;
 }
 
-//=======================================================================
-// function : Constructor
-// purpose  : vertex Fix Relation
-//=======================================================================
+//=================================================================================================
 
 PrsDim_FixRelation::PrsDim_FixRelation(const TopoDS_Shape&       aShape,
                                        const Handle(Geom_Plane)& aPlane,
index 04a04e479c3a8e7f3ab1d2a2d560a6eee1399a6c..389924131cfe49639442ab4dd4d4b10a38dcbcb5 100644 (file)
@@ -460,10 +460,8 @@ Standard_Boolean SelectMgr_Frustum<N>::hasTriangleOverlap(const gp_Pnt& thePnt1,
   return Standard_True;
 }
 
-// =======================================================================
-// function : hasSphereOverlap
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 template <int N>
 Standard_Boolean SelectMgr_Frustum<N>::hasSphereOverlap(const gp_Pnt&       thePnt,
                                                         const Standard_Real theRadius,
@@ -512,10 +510,8 @@ Standard_Boolean SelectMgr_Frustum<N>::hasSphereOverlap(const gp_Pnt&       theP
   return IsBoundaryIntersectSphere(aCenterProj, theRadius, aNorm, aBoundaries, isBoundaryInside);
 }
 
-// =======================================================================
-// function : IsDotInside
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 template <int N>
 Standard_Boolean SelectMgr_Frustum<N>::isDotInside(const gp_Pnt&             thePnt,
                                                    const TColgp_Array1OfPnt& theVertices) const
@@ -537,10 +533,8 @@ Standard_Boolean SelectMgr_Frustum<N>::isDotInside(const gp_Pnt&             the
   return false;
 }
 
-// =======================================================================
-// function : isSegmentsIntersect
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 template <int N>
 Standard_Boolean SelectMgr_Frustum<N>::isSegmentsIntersect(const gp_Pnt& thePnt1Seg1,
                                                            const gp_Pnt& thePnt2Seg1,
@@ -599,10 +593,8 @@ Standard_Boolean SelectMgr_Frustum<N>::isSegmentsIntersect(const gp_Pnt& thePnt1
   return false;
 }
 
-// =======================================================================
-// function : isIntersectCircle
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 template <int N>
 Standard_Boolean SelectMgr_Frustum<N>::isIntersectCircle(
   const Standard_Real       theRadius,
@@ -652,10 +644,8 @@ Standard_Boolean SelectMgr_Frustum<N>::isIntersectCircle(
   return false;
 }
 
-// =======================================================================
-// function : isInsideCylinderEndFace
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 template <int N>
 Standard_Boolean SelectMgr_Frustum<N>::isInsideCylinderEndFace(
   const Standard_Real       theBottomRad,
@@ -694,10 +684,8 @@ Standard_Boolean SelectMgr_Frustum<N>::isInsideCylinderEndFace(
   return true;
 }
 
-// =======================================================================
-// function : hasCylinderOverlap
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 template <int N>
 Standard_Boolean SelectMgr_Frustum<N>::hasCylinderOverlap(const Standard_Real    theBottomRad,
                                                           const Standard_Real    theTopRad,
@@ -828,10 +816,8 @@ Standard_Boolean SelectMgr_Frustum<N>::hasCylinderOverlap(const Standard_Real
   return isCylInsideRec;
 }
 
-// =======================================================================
-// function : hasCircleOverlap
-// purpose  :
-// =======================================================================
+//=================================================================================================
+
 template <int N>
 Standard_Boolean SelectMgr_Frustum<N>::hasCircleOverlap(const Standard_Real    theRadius,
                                                         const gp_Trsf&         theTrsf,
@@ -895,10 +881,8 @@ Standard_Boolean SelectMgr_Frustum<N>::hasCircleOverlap(const Standard_Real    t
   return theIsFilled ? !isInside || (isCenterInside && isInside) : isInside && isCenterInside;
 }
 
-//=======================================================================
-// function : DumpJson
-// purpose  :
-//=======================================================================
+//=================================================================================================
+
 template <int N>
 void SelectMgr_Frustum<N>::DumpJson(Standard_OStream& theOStream, Standard_Integer theDepth) const
 {