From f9f94b6e3643887c3daf1fcd96b4fe80a12efe59 Mon Sep 17 00:00:00 2001 From: luzpaz Date: Mon, 10 Nov 2025 12:42:08 -0500 Subject: [PATCH] Documentation - Fix whitespaces (#816) - Standardized spacing in comment formatting (removing extra spaces after colons, between words) - Fixed one typo in a parameter name within a comment - Translated one French comment to English --- .../TKCDF/CDF/CDF_Application.hxx | 2 +- .../IGESAppli/IGESAppli_DrilledHole.hxx | 4 +- .../VrmlConverter/VrmlConverter_Curve.hxx | 2 +- .../VrmlConverter/VrmlConverter_HLRShape.hxx | 2 +- .../VrmlConverter_LineAspect.hxx | 2 +- .../Interface/Interface_FileReaderTool.hxx | 2 +- .../TKXSBase/Interface/Interface_GTool.hxx | 2 +- .../TKXSBase/Interface/Interface_MSG.hxx | 16 ++-- .../TKXSBase/MoniTool/MoniTool_TypedValue.hxx | 9 +- .../TKDraw/DrawTrSurf/DrawTrSurf_Drawable.hxx | 2 +- src/Draw/TKXSDRAW/XSDRAW/XSDRAW.hxx | 12 +-- src/FoundationClasses/TKMath/gp/gp_Ax2.hxx | 4 +- .../TKernel/Units/Units_Quantity.hxx | 2 +- .../TKernel/Units/Units_Token.hxx | 2 +- .../BRepBlend/BRepBlend_HCurveTool.hxx | 12 +-- .../TKFillet/BRepBlend/BRepBlend_Line.hxx | 4 +- .../BRepBlend/BRepBlend_RstRstConstRad.hxx | 18 ++-- .../BRepBlend/BRepBlend_RstRstEvolRad.hxx | 22 ++--- .../BRepBlend/BRepBlend_RstRstLineBuilder.hxx | 26 +++--- .../BRepBlend_SurfCurvConstRadInv.hxx | 10 +- .../BRepBlend_SurfCurvEvolRadInv.hxx | 10 +- .../BRepBlend_SurfPointConstRadInv.hxx | 12 +-- .../BRepBlend_SurfPointEvolRadInv.hxx | 12 +-- .../BRepBlend/BRepBlend_SurfRstEvolRad.hxx | 16 ++-- .../BRepBlend_SurfRstLineBuilder.hxx | 24 ++--- .../BRepFilletAPI_LocalOperation.hxx | 14 +-- .../BRepFilletAPI_MakeChamfer.hxx | 8 +- .../BRepFilletAPI_MakeFillet.hxx | 46 +++++----- .../BRepFilletAPI_MakeFillet2d.hxx | 4 +- .../TKFillet/ChFi2d/ChFi2d_Builder.hxx | 92 +++++++++---------- .../ChFi2d/ChFi2d_ConstructionError.hxx | 2 +- .../TKFillet/ChFi3d/ChFi3d.hxx | 32 +++---- .../TKFillet/ChFi3d/ChFi3d_Builder.hxx | 58 ++++++------ .../TKFillet/ChFi3d/ChFi3d_ChBuilder.hxx | 22 ++--- .../TKFillet/ChFi3d/ChFi3d_FilBuilder.hxx | 40 ++++---- .../TKFillet/ChFi3d/ChFi3d_SearchSing.hxx | 2 +- .../TKFillet/ChFiDS/ChFiDS_ChamfSpine.hxx | 4 +- .../TKFillet/ChFiDS/ChFiDS_CommonPoint.hxx | 12 +-- .../TKFillet/ChFiDS/ChFiDS_ElSpine.hxx | 6 +- .../TKFillet/ChFiDS/ChFiDS_FilSpine.hxx | 8 +- .../TKFillet/ChFiDS/ChFiDS_Map.hxx | 2 +- .../TKFillet/ChFiDS/ChFiDS_Regul.hxx | 2 +- .../TKFillet/ChFiDS/ChFiDS_Spine.hxx | 14 +-- .../TKFillet/ChFiDS/ChFiDS_State.hxx | 12 +-- .../TKFillet/ChFiDS/ChFiDS_SurfData.hxx | 6 +- .../ChFiKPart/ChFiKPart_ComputeData.hxx | 4 +- .../FilletSurf/FilletSurf_Builder.hxx | 40 ++++---- .../FilletSurf/FilletSurf_InternalBuilder.hxx | 30 +++--- .../TKGeomAlgo/FairCurve/FairCurve_Batten.hxx | 12 +-- .../FairCurve/FairCurve_BattenLaw.hxx | 8 +- .../TKGeomAlgo/FairCurve/FairCurve_Energy.hxx | 10 +- .../FairCurve/FairCurve_EnergyOfBatten.hxx | 6 +- .../FairCurve/FairCurve_EnergyOfMVC.hxx | 4 +- .../FairCurve/FairCurve_MinimalVariation.hxx | 4 +- .../GccAna/GccAna_Circ2d2TanRad.hxx | 2 +- .../TKGeomAlgo/GccAna/GccAna_Circ2dBisec.hxx | 2 +- .../GccAna/GccAna_Circ2dTanOnRad.hxx | 6 +- .../TKGeomAlgo/GccAna/GccAna_Lin2dBisec.hxx | 2 +- .../TKGeomAlgo/GccAna/GccAna_Lin2dTanObl.hxx | 8 +- .../TKGeomAlgo/GccAna/GccAna_Lin2dTanPar.hxx | 2 +- .../GccEnt/GccEnt_QualifiedCirc.hxx | 2 +- .../Geom2dAPI/Geom2dAPI_InterCurveCurve.hxx | 6 +- .../Geom2dAPI/Geom2dAPI_Interpolate.hxx | 8 +- .../Geom2dAPI/Geom2dAPI_PointsToBSpline.hxx | 68 +++++++------- .../Geom2dAPI_ProjectPointOnCurve.hxx | 8 +- .../Geom2dGcc/Geom2dGcc_Circ2d2TanRad.hxx | 2 +- .../Geom2dGcc/Geom2dGcc_Lin2d2Tan.hxx | 2 +- .../Geom2dHatch_FClass2dOfClassifier.hxx | 16 ++-- .../Geom2dHatch/Geom2dHatch_Intersector.hxx | 14 +-- .../Geom2dInt_TheIntPCurvePCurveOfGInter.hxx | 2 +- ...ePolygon2dOfTheIntPCurvePCurveOfGInter.hxx | 4 +- .../TKGeomAlgo/GeomAPI/GeomAPI.hxx | 18 ++-- .../GeomAPI/GeomAPI_ExtremaCurveCurve.hxx | 14 +-- .../GeomAPI/GeomAPI_ExtremaCurveSurface.hxx | 20 ++-- .../GeomAPI/GeomAPI_ExtremaSurfaceSurface.hxx | 12 +-- .../TKGeomAlgo/GeomAPI/GeomAPI_IntCS.hxx | 2 +- .../TKGeomAlgo/GeomAPI/GeomAPI_IntSS.hxx | 8 +- .../GeomAPI/GeomAPI_Interpolate.hxx | 8 +- .../GeomAPI/GeomAPI_PointsToBSpline.hxx | 48 +++++----- .../GeomAPI/GeomAPI_ProjectPointOnCurve.hxx | 14 +-- .../GeomAPI/GeomAPI_ProjectPointOnSurf.hxx | 14 +-- .../TKGeomAlgo/GeomFill/GeomFill.hxx | 2 +- .../TKGeomAlgo/GeomFill/GeomFill_AppSurf.hxx | 10 +- .../TKGeomAlgo/GeomFill/GeomFill_AppSweep.hxx | 10 +- .../GeomFill/GeomFill_BoundWithSurf.hxx | 8 +- .../TKGeomAlgo/GeomFill/GeomFill_Boundary.hxx | 4 +- .../GeomFill/GeomFill_CircularBlendFunc.hxx | 8 +- .../GeomFill/GeomFill_ConstrainedFilling.hxx | 50 +++++----- .../GeomFill/GeomFill_CoonsAlgPatch.hxx | 16 ++-- .../GeomFill/GeomFill_CornerState.hxx | 6 +- .../GeomFill/GeomFill_CorrectedFrenet.hxx | 16 ++-- .../GeomFill/GeomFill_CurveAndTrihedron.hxx | 35 ++++--- .../TKGeomAlgo/GeomFill/GeomFill_Darboux.hxx | 14 +-- .../GeomFill/GeomFill_DegeneratedBound.hxx | 6 +- .../GeomFill/GeomFill_DiscreteTrihedron.hxx | 14 +-- .../GeomFill/GeomFill_DraftTrihedron.hxx | 15 ++- .../GeomFill/GeomFill_EvolvedSection.hxx | 42 ++++----- .../TKGeomAlgo/GeomFill/GeomFill_Fixed.hxx | 15 ++- .../TKGeomAlgo/GeomFill/GeomFill_Frenet.hxx | 27 +++--- .../GeomFill/GeomFill_FunctionDraft.hxx | 12 +-- .../GeomFill/GeomFill_FunctionGuide.hxx | 8 +- .../GeomFill/GeomFill_Generator.hxx | 6 +- .../GeomFill/GeomFill_GuideTrihedronAC.hxx | 12 +-- .../GeomFill/GeomFill_GuideTrihedronPlan.hxx | 12 +-- .../GeomFill/GeomFill_LocFunction.hxx | 8 +- .../GeomFill/GeomFill_LocationDraft.hxx | 29 +++--- .../GeomFill/GeomFill_LocationGuide.hxx | 29 +++--- .../GeomFill/GeomFill_LocationLaw.hxx | 39 ++++---- .../GeomFill/GeomFill_NSections.hxx | 48 +++++----- .../TKGeomAlgo/GeomFill/GeomFill_Pipe.hxx | 62 ++++++------- .../TKGeomAlgo/GeomFill/GeomFill_Profiler.hxx | 12 +-- .../GeomFill/GeomFill_SectionGenerator.hxx | 6 +- .../GeomFill/GeomFill_SectionLaw.hxx | 52 +++++------ .../GeomFill/GeomFill_SectionPlacement.hxx | 2 +- .../GeomFill/GeomFill_SnglrFunc.hxx | 14 +-- .../GeomFill/GeomFill_SweepFunction.hxx | 12 +-- .../GeomFill_SweepSectionGenerator.hxx | 6 +- .../TKGeomAlgo/GeomFill/GeomFill_TgtField.hxx | 6 +- .../GeomFill/GeomFill_TgtOnCoons.hxx | 8 +- .../GeomFill/GeomFill_TrihedronLaw.hxx | 14 +-- .../GeomFill/GeomFill_UniformSection.hxx | 40 ++++---- .../TKGeomAlgo/GeomInt/GeomInt.hxx | 2 +- ...GeomInt_TheComputeLineBezierOfWLApprox.hxx | 2 +- .../GeomInt_TheComputeLineOfWLApprox.hxx | 2 +- .../GeomInt_TheMultiLineOfWLApprox.hxx | 4 +- .../GeomPlate/GeomPlate_BuildAveragePlane.hxx | 4 +- .../GeomPlate/GeomPlate_BuildPlateSurface.hxx | 12 +-- .../GeomPlate/GeomPlate_CurveConstraint.hxx | 10 +- .../GeomPlate/GeomPlate_PointConstraint.hxx | 12 +-- .../GeomPlate/GeomPlate_Surface.hxx | 28 +++--- .../TKGeomAlgo/Hatch/Hatch_Hatcher.hxx | 72 +++++++-------- .../TKGeomAlgo/Hatch/Hatch_Line.hxx | 4 +- .../HatchGen/HatchGen_PointOnHatching.hxx | 4 +- .../IntCurve/IntCurve_IConicTool.hxx | 6 +- .../IntCurve/IntCurve_IntConicConic.hxx | 10 +- .../IntCurveSurface_TheHCurveTool.hxx | 12 +-- ...CurveSurface_ThePolyhedronToolOfHInter.hxx | 12 +-- ...heQuadCurvFuncOfTheQuadCurvExactHInter.hxx | 4 +- .../IntCurveSurface_TransitionOnCurve.hxx | 2 +- .../TKGeomAlgo/IntImpParGen/IntImpParGen.hxx | 2 +- .../IntPatch/IntPatch_CSFunction.hxx | 2 +- .../TKGeomAlgo/IntPatch/IntPatch_GLine.hxx | 2 +- .../IntPatch/IntPatch_SpecPntType.hxx | 2 +- .../TKGeomAlgo/IntPatch/IntPatch_WLine.hxx | 2 +- .../IntRes2d/IntRes2d_Intersection.hxx | 4 +- .../TKGeomAlgo/Intf/Intf_Array1OfLin.hxx | 2 +- .../Intf/Intf_InterferencePolygon2d.hxx | 6 +- .../TKGeomAlgo/Intf/Intf_PIType.hxx | 2 +- .../TKGeomAlgo/Intf/Intf_SectionLine.hxx | 10 +- .../TKGeomAlgo/Law/Law_Function.hxx | 8 +- .../TKGeomAlgo/Law/Law_Linear.hxx | 6 +- .../LocalAnalysis/LocalAnalysis.hxx | 4 +- .../NLPlate/NLPlate_HPG0Constraint.hxx | 2 +- .../NLPlate/NLPlate_HPG0G1Constraint.hxx | 2 +- .../NLPlate/NLPlate_HPG0G2Constraint.hxx | 2 +- .../NLPlate/NLPlate_HPG0G3Constraint.hxx | 2 +- .../NLPlate/NLPlate_HPG1Constraint.hxx | 2 +- .../NLPlate/NLPlate_HPG2Constraint.hxx | 2 +- .../NLPlate/NLPlate_HPG3Constraint.hxx | 2 +- .../TKGeomAlgo/Plate/Plate_GtoCConstraint.hxx | 2 +- .../TKHLR/Contap/Contap_Contour.hxx | 5 +- .../TKHLR/Contap/Contap_Line.hxx | 2 +- .../TKHLR/Contap/Contap_Point.hxx | 4 +- .../TKHLR/Contap/Contap_SurfProps.hxx | 6 +- .../TKHLR/HLRAlgo/HLRAlgo_EdgeIterator.hxx | 3 +- .../TKHLR/HLRAlgo/HLRAlgo_EdgesBlock.hxx | 15 +-- .../HelixBRep/HelixBRep_BuilderHelix.hxx | 10 +- .../HelixGeom/HelixGeom_BuilderHelixGen.hxx | 6 +- .../AdvApp2Var/AdvApp2Var_MathBase.cxx | 2 +- 169 files changed, 1047 insertions(+), 1056 deletions(-) diff --git a/src/ApplicationFramework/TKCDF/CDF/CDF_Application.hxx b/src/ApplicationFramework/TKCDF/CDF/CDF_Application.hxx index 965a35f821..b907288339 100644 --- a/src/ApplicationFramework/TKCDF/CDF/CDF_Application.hxx +++ b/src/ApplicationFramework/TKCDF/CDF/CDF_Application.hxx @@ -203,7 +203,7 @@ private: //! retrieved but had no changes since the previous retrieval. //! - CDF_TOA_Modified if the document was already //! retrieved and modified since the previous retrieval. - //! You do not need to call , but you should redefine + //! You do not need to call , but you should redefine //! this method to implement application specific behavior. Standard_EXPORT virtual void Activate(const Handle(CDM_Document)& aDocument, const CDF_TypeOfActivation aTypeOfActivation); diff --git a/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_DrilledHole.hxx b/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_DrilledHole.hxx index b243b21c7c..8b4243fe1f 100644 --- a/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_DrilledHole.hxx +++ b/src/DataExchange/TKDEIGES/IGESAppli/IGESAppli_DrilledHole.hxx @@ -62,8 +62,8 @@ public: //! returns the finish diameter size Standard_EXPORT Standard_Real FinishDiaSize() const; - //! Returns Plating Status : - //! False = not plating / True = is plating + //! Returns Plating Status: + //! False = not plating / True = is plating Standard_EXPORT Standard_Boolean IsPlating() const; //! returns the lower numbered layer diff --git a/src/DataExchange/TKDEVRML/VrmlConverter/VrmlConverter_Curve.hxx b/src/DataExchange/TKDEVRML/VrmlConverter/VrmlConverter_Curve.hxx index f75d528ddc..530ab98b6f 100644 --- a/src/DataExchange/TKDEVRML/VrmlConverter/VrmlConverter_Curve.hxx +++ b/src/DataExchange/TKDEVRML/VrmlConverter/VrmlConverter_Curve.hxx @@ -59,7 +59,7 @@ public: //! adds to the OStream the drawing of the curve aCurve. //! The aspect is the current aspect. //! The drawing will be limited between the points of parameter - //! U1 and U2. aNbPoints defines number of points on one interval. + //! U1 and U2. aNbPoints defines number of points on one interval. Standard_EXPORT static void Add(const Adaptor3d_Curve& aCurve, const Standard_Real U1, const Standard_Real U2, diff --git a/src/DataExchange/TKDEVRML/VrmlConverter/VrmlConverter_HLRShape.hxx b/src/DataExchange/TKDEVRML/VrmlConverter/VrmlConverter_HLRShape.hxx index 8bbd04203a..47da1ac969 100644 --- a/src/DataExchange/TKDEVRML/VrmlConverter/VrmlConverter_HLRShape.hxx +++ b/src/DataExchange/TKDEVRML/VrmlConverter/VrmlConverter_HLRShape.hxx @@ -27,7 +27,7 @@ class VrmlConverter_Drawer; class VrmlConverter_Projector; //! HLRShape - computes the presentation of objects -//! with removal of their hidden lines for a specific +//! with removal of their hidden lines for a specific //! projector, converts them into VRML objects and //! writes (adds) them into anOStream. All requested //! properties of the representation are specify in diff --git a/src/DataExchange/TKDEVRML/VrmlConverter/VrmlConverter_LineAspect.hxx b/src/DataExchange/TKDEVRML/VrmlConverter/VrmlConverter_LineAspect.hxx index 083ae50987..7198f6b122 100644 --- a/src/DataExchange/TKDEVRML/VrmlConverter/VrmlConverter_LineAspect.hxx +++ b/src/DataExchange/TKDEVRML/VrmlConverter/VrmlConverter_LineAspect.hxx @@ -33,7 +33,7 @@ class VrmlConverter_LineAspect : public Standard_Transient public: //! create a default LineAspect. - //! Default value: HasMaterial = False - a line hasn't own material (color) + //! Default value: HasMaterial = False - a line hasn't own material (color) Standard_EXPORT VrmlConverter_LineAspect(); Standard_EXPORT VrmlConverter_LineAspect(const Handle(Vrml_Material)& aMaterial, diff --git a/src/DataExchange/TKXSBase/Interface/Interface_FileReaderTool.hxx b/src/DataExchange/TKXSBase/Interface/Interface_FileReaderTool.hxx index c73b6ce8f0..3f9e75e636 100644 --- a/src/DataExchange/TKXSBase/Interface/Interface_FileReaderTool.hxx +++ b/src/DataExchange/TKXSBase/Interface/Interface_FileReaderTool.hxx @@ -167,7 +167,7 @@ public: //! calling arguments) //! To work, each Interface can define a method in its proper //! Transient class, like this (given as an example) : - //! AnalyseRecord (me : mutable; FR : in out FileReaderTool; + //! AnalyseRecord (me : mutable; FR : in out FileReaderTool; //! num : Integer; acheck : in out Check) //! returns Boolean; //! and call it from AnalyseRecord diff --git a/src/DataExchange/TKXSBase/Interface/Interface_GTool.hxx b/src/DataExchange/TKXSBase/Interface/Interface_GTool.hxx index e8833ec1a3..d26d2b4285 100644 --- a/src/DataExchange/TKXSBase/Interface/Interface_GTool.hxx +++ b/src/DataExchange/TKXSBase/Interface/Interface_GTool.hxx @@ -72,7 +72,7 @@ public: Standard_EXPORT void SetProtocol(const Handle(Interface_Protocol)& proto, const Standard_Boolean enforce = Standard_False); - //! Returns the Protocol. Warning : it can be Null + //! Returns the Protocol. Warning: it can be Null Standard_EXPORT Handle(Interface_Protocol) Protocol() const; //! Returns the GeneralLib itself diff --git a/src/DataExchange/TKXSBase/Interface/Interface_MSG.hxx b/src/DataExchange/TKXSBase/Interface/Interface_MSG.hxx index 9fa16414ab..650eedb8ea 100644 --- a/src/DataExchange/TKXSBase/Interface/Interface_MSG.hxx +++ b/src/DataExchange/TKXSBase/Interface/Interface_MSG.hxx @@ -215,26 +215,26 @@ public: const Standard_CString text2); //! Returns a blank string, of length between 0 and , to fill - //! the printing of a numeric value , i.e. : + //! the printing of a numeric value , i.e. //! If val < 10 , max-1 blanks - //! If val between 10 and 99, max-2 blanks ... etc... + //! If val between 10 and 99, max-2 blanks ... etc... Standard_EXPORT static Standard_CString Blanks(const Standard_Integer val, const Standard_Integer max); //! Returns a blank string, to complete a given string up to - //! characters : + //! characters: //! If strlen(val) is 0, max blanks - //! If strlen(val) is 5, max-5 blanks etc... + //! If strlen(val) is 5, max-5 blanks etc... Standard_EXPORT static Standard_CString Blanks(const Standard_CString val, const Standard_Integer max); //! Returns a blank string of blanks (mini 0, maxi 76) Standard_EXPORT static Standard_CString Blanks(const Standard_Integer count); - //! Prints a String on an Output Stream, as follows : - //! Accompanied with blanks, to give up to charis at all, - //! justified according just : - //! -1 (D) : left 0 : center 1 : right + //! Prints a String on an Output Stream, as follows: + //! Accompanied with blanks, to give up to chars at all, + //! justified accordingly: + //! -1 (D) : left 0 : center 1 : right //! Maximum 76 characters Standard_EXPORT static void Print(Standard_OStream& S, const Standard_CString val, diff --git a/src/DataExchange/TKXSBase/MoniTool/MoniTool_TypedValue.hxx b/src/DataExchange/TKXSBase/MoniTool/MoniTool_TypedValue.hxx index 6311ee3800..5d7bc2642c 100644 --- a/src/DataExchange/TKXSBase/MoniTool/MoniTool_TypedValue.hxx +++ b/src/DataExchange/TKXSBase/MoniTool/MoniTool_TypedValue.hxx @@ -274,7 +274,7 @@ public: //! Changes the value as an integer, only for Integer or Enum Standard_EXPORT virtual Standard_Boolean SetIntegerValue(const Standard_Integer ival); - //! Returns the value as real, for a Real type TypedValue + //! Returns the value as real, for a Real type TypedValue //! Else, returns 0. Standard_EXPORT Standard_Real RealValue() const; @@ -314,7 +314,7 @@ public: //! Returns the TypedValue bound with a given Name //! Null Handle if none recorded - //! Warning : it is the original, not duplicated + //! Warning: it is the original, not duplicated Standard_EXPORT static Handle(MoniTool_TypedValue) Lib(const Standard_CString def); //! Returns a COPY of the TypedValue bound with a given Name @@ -322,9 +322,8 @@ public: Standard_EXPORT static Handle(MoniTool_TypedValue) FromLib(const Standard_CString def); //! Returns the list of names of items of the Library of Types - //! -- Library of TypedValue as Valued Parameters, -- -- - //! accessed by parameter name - //! for use by management of Static Parameters + //! Library of TypedValue as Valued Parameters, accessed by + //! parameter name for use by management of Static Parameters Standard_EXPORT static Handle(TColStd_HSequenceOfAsciiString) LibList(); //! Returns a static value from its name, null if unknown diff --git a/src/Draw/TKDraw/DrawTrSurf/DrawTrSurf_Drawable.hxx b/src/Draw/TKDraw/DrawTrSurf/DrawTrSurf_Drawable.hxx index 42f5bb0dad..57ba43a297 100644 --- a/src/Draw/TKDraw/DrawTrSurf/DrawTrSurf_Drawable.hxx +++ b/src/Draw/TKDraw/DrawTrSurf/DrawTrSurf_Drawable.hxx @@ -41,7 +41,7 @@ public: //! Draw a polygon of the curve on the Display Standard_EXPORT void DrawCurveOn(Adaptor3d_Curve& C, Draw_Display& D) const; - //! Load C with the specified iso and Draw a polygon + //! Load C with the specified iso and Draw a polygon //! of the curve on the Display Standard_EXPORT void DrawIsoCurveOn(Adaptor3d_IsoCurve& C, const GeomAbs_IsoType T, diff --git a/src/Draw/TKXSDRAW/XSDRAW/XSDRAW.hxx b/src/Draw/TKXSDRAW/XSDRAW/XSDRAW.hxx index 29c8fbd13a..7d696880e7 100644 --- a/src/Draw/TKXSDRAW/XSDRAW/XSDRAW.hxx +++ b/src/Draw/TKXSDRAW/XSDRAW/XSDRAW.hxx @@ -72,11 +72,11 @@ public: //! "Set" commands are accessed under command xset //! SDS>xset name command ... //! Other commands can be accessed directly or under command xstep - //! SDS>command ... and SDS>xstep command ... are equivalent + //! SDS>command ... and SDS>xstep command ... are equivalent //! - //! Only the command xinit is accessed directly only : - //! SDS>xinit (from the already defined Controller) - //! SDS>xinit iges (first defines the Controller as for "iges") + //! Only the command xinit is accessed directly only: + //! SDS>xinit (from the already defined Controller) + //! SDS>xinit iges (first defines the Controller as for "iges") //! //! It also records the function to be called by DRAW (not //! declared because specific). @@ -89,9 +89,9 @@ public: Standard_EXPORT static void LoadDraw(Draw_Interpretor& theCommands); //! Allows to execute a xstep-draw command from C++ program - //! Fixed form : Execute("command args..."); + //! Fixed form: Execute("command args..."); //! Form with a variable text part : add %s for the variable : - //! Execute ("command args %s args..",var) [var is a CString] + //! Execute ("command args %s args..",var) [var is a CString] //! Returns the same value as returned by call from DRAW Standard_EXPORT static Standard_Integer Execute(const Standard_CString command, const Standard_CString var = ""); diff --git a/src/FoundationClasses/TKMath/gp/gp_Ax2.hxx b/src/FoundationClasses/TKMath/gp/gp_Ax2.hxx index 802f0dd7e7..aba0e55ea6 100644 --- a/src/FoundationClasses/TKMath/gp/gp_Ax2.hxx +++ b/src/FoundationClasses/TKMath/gp/gp_Ax2.hxx @@ -230,7 +230,7 @@ public: //! Performs a symmetrical transformation of this coordinate //! system with respect to: - //! - the axis A1, and assigns the result to this coordinate systeme. + //! - the axis A1, and assigns the result to this coordinate system. //! Warning //! This transformation is always performed on the origin. //! In case of a reflection with respect to a point: @@ -265,7 +265,7 @@ public: //! Performs a symmetrical transformation of this coordinate //! system with respect to: //! - the plane defined by the origin, "X Direction" and "Y - //! Direction" of coordinate system A2 and assigns the result to this coordinate systeme. + //! Direction" of coordinate system A2 and assigns the result to this coordinate system. //! Warning //! This transformation is always performed on the origin. //! In case of a reflection with respect to a point: diff --git a/src/FoundationClasses/TKernel/Units/Units_Quantity.hxx b/src/FoundationClasses/TKernel/Units/Units_Quantity.hxx index e6b89a3eb2..af94ed20cc 100644 --- a/src/FoundationClasses/TKernel/Units/Units_Quantity.hxx +++ b/src/FoundationClasses/TKernel/Units/Units_Quantity.hxx @@ -38,7 +38,7 @@ class Units_Quantity : public Standard_Transient { public: - //! Creates a new Quantity object with which is + //! Creates a new Quantity object with which is //! the name of the physical quantity, which //! is the physical dimensions, and which //! describes all the units known for this quantity. diff --git a/src/FoundationClasses/TKernel/Units/Units_Token.hxx b/src/FoundationClasses/TKernel/Units/Units_Token.hxx index 38c64abde7..157c4c0a6a 100644 --- a/src/FoundationClasses/TKernel/Units/Units_Token.hxx +++ b/src/FoundationClasses/TKernel/Units/Units_Token.hxx @@ -113,7 +113,7 @@ public: //! and only if the dimensions are the same. Standard_EXPORT Handle(Units_Token) Add(const Handle(Units_Token)& atoken) const; - //! Returns a token which is the subtraction of and + //! Returns a token which is the subtraction of and //! another token . The subtraction is possible if //! and only if the dimensions are the same. Standard_EXPORT Handle(Units_Token) Subtract(const Handle(Units_Token)& atoken) const; diff --git a/src/ModelingAlgorithms/TKFillet/BRepBlend/BRepBlend_HCurveTool.hxx b/src/ModelingAlgorithms/TKFillet/BRepBlend/BRepBlend_HCurveTool.hxx index 1eaeacf5b5..3c230c9014 100644 --- a/src/ModelingAlgorithms/TKFillet/BRepBlend/BRepBlend_HCurveTool.hxx +++ b/src/ModelingAlgorithms/TKFillet/BRepBlend/BRepBlend_HCurveTool.hxx @@ -40,14 +40,14 @@ public: static GeomAbs_Shape Continuity(const Handle(Adaptor3d_Curve)& C); - //! Returns the number of intervals for continuity + //! Returns the number of intervals for continuity //! . May be one if Continuity(myclass) >= static Standard_Integer NbIntervals(const Handle(Adaptor3d_Curve)& C, const GeomAbs_Shape S); - //! Stores in the parameters bounding the intervals + //! Stores in the parameters bounding the intervals //! of continuity . //! - //! The array must provide enough room to accommodate + //! The array must provide enough room to accommodate //! for the parameters. i.e. T.Length() > NbIntervals() static void Intervals(const Handle(Adaptor3d_Curve)& C, TColStd_Array1OfReal& T, @@ -101,12 +101,12 @@ public: const Standard_Real U, const Standard_Integer N); - //! Returns the parametric resolution corresponding + //! Returns the parametric resolution corresponding //! to the real space resolution . static Standard_Real Resolution(const Handle(Adaptor3d_Curve)& C, const Standard_Real R3d); - //! Returns the type of the curve in the current - //! interval : Line, Circle, Ellipse, Hyperbola, + //! Returns the type of the curve in the current + //! interval: Line, Circle, Ellipse, Hyperbola, //! Parabola, BezierCurve, BSplineCurve, OtherCurve. static GeomAbs_CurveType GetType(const Handle(Adaptor3d_Curve)& C); diff --git a/src/ModelingAlgorithms/TKFillet/BRepBlend/BRepBlend_Line.hxx b/src/ModelingAlgorithms/TKFillet/BRepBlend/BRepBlend_Line.hxx index 37a678f59a..304fc98087 100644 --- a/src/ModelingAlgorithms/TKFillet/BRepBlend/BRepBlend_Line.hxx +++ b/src/ModelingAlgorithms/TKFillet/BRepBlend/BRepBlend_Line.hxx @@ -45,7 +45,7 @@ public: //! Adds a point in the line at the first place. void InsertBefore(const Standard_Integer Index, const Blend_Point& P); - //! Removes from all the items of + //! Removes from all the items of //! positions between and . //! Raises an exception if the indices are out of bounds. void Remove(const Standard_Integer FromIndex, const Standard_Integer ToIndex); @@ -78,7 +78,7 @@ public: //! N is the normal to the first surface at a point P, //! DRac is a vector tangent to the blending patch, //! oriented towards the valid part of this patch, - //! T is the tangent to the line on S1 at P. + //! T is the tangent to the line on S1 at P. //! The transitioon is OUT when the system of vectors is //! left-handed. IntSurf_TypeTrans TransitionOnS1() const; diff --git a/src/ModelingAlgorithms/TKFillet/BRepBlend/BRepBlend_RstRstConstRad.hxx b/src/ModelingAlgorithms/TKFillet/BRepBlend/BRepBlend_RstRstConstRad.hxx index f423b679bc..e4e913065f 100644 --- a/src/ModelingAlgorithms/TKFillet/BRepBlend/BRepBlend_RstRstConstRad.hxx +++ b/src/ModelingAlgorithms/TKFillet/BRepBlend/BRepBlend_RstRstConstRad.hxx @@ -102,7 +102,7 @@ public: Standard_EXPORT Standard_Boolean IsSolution(const math_Vector& Sol, const Standard_Real Tol) Standard_OVERRIDE; - //! Returns the minimal Distance between two + //! Returns the minimal Distance between two //! extremities of calculated sections. Standard_EXPORT virtual Standard_Real GetMinimalDistance() const Standard_OVERRIDE; @@ -113,7 +113,7 @@ public: //! Returns U,V coordinates of the point on the surface. Standard_EXPORT const gp_Pnt2d& Pnt2dOnRst1() const Standard_OVERRIDE; - //! Returns U,V coordinates of the point on the curve on + //! Returns U,V coordinates of the point on the curve on //! surface. Standard_EXPORT const gp_Pnt2d& Pnt2dOnRst2() const Standard_OVERRIDE; @@ -133,8 +133,8 @@ public: Standard_EXPORT const gp_Vec2d& Tangent2dOnRst2() const Standard_OVERRIDE; - //! Permet d ' implementer un critere de decrochage - //! specifique a la fonction. + //! Allows implementing a specific termination criterion + //! for the function. Standard_EXPORT Blend_DecrochStatus Decroch(const math_Vector& Sol, gp_Vec& NRst1, gp_Vec& TgRst1, @@ -143,7 +143,7 @@ public: Standard_EXPORT void Set(const Standard_Real Radius, const Standard_Integer Choix); - //! Sets the type of section generation for the + //! Sets the type of section generation for the //! approximations. Standard_EXPORT void Set(const BlendFunc_SectionShape TypeSection); @@ -162,7 +162,7 @@ public: Standard_Real& Pfin, gp_Circ& C); - //! Returns if the section is rational + //! Returns if the section is rational Standard_EXPORT Standard_Boolean IsRational() const Standard_OVERRIDE; //! Returns the length of the maximum section @@ -172,13 +172,13 @@ public: //! of all sections. Standard_EXPORT void GetMinimalWeight(TColStd_Array1OfReal& Weigths) const Standard_OVERRIDE; - //! Returns the number of intervals for continuity + //! Returns the number of intervals for continuity //! . May be one if Continuity(me) >= Standard_EXPORT Standard_Integer NbIntervals(const GeomAbs_Shape S) const Standard_OVERRIDE; - //! Stores in the parameters bounding the intervals + //! Stores in the parameters bounding the intervals //! of continuity . - //! The array must provide enough room to accommodate + //! The array must provide enough room to accommodate //! for the parameters. i.e. T.Length() > NbIntervals() Standard_EXPORT void Intervals(TColStd_Array1OfReal& T, const GeomAbs_Shape S) const Standard_OVERRIDE; diff --git a/src/ModelingAlgorithms/TKFillet/BRepBlend/BRepBlend_RstRstEvolRad.hxx b/src/ModelingAlgorithms/TKFillet/BRepBlend/BRepBlend_RstRstEvolRad.hxx index 283bcd35a8..1475326b8a 100644 --- a/src/ModelingAlgorithms/TKFillet/BRepBlend/BRepBlend_RstRstEvolRad.hxx +++ b/src/ModelingAlgorithms/TKFillet/BRepBlend/BRepBlend_RstRstEvolRad.hxx @@ -41,8 +41,8 @@ class math_Matrix; class gp_Circ; class Blend_Point; -//! Function to approximate by AppSurface for -//! Edge/Edge and evolutif radius +//! Function to approximate by AppSurface for +//! Edge/Edge and evolutif radius class BRepBlend_RstRstEvolRad : public Blend_RstRstFunction { public: @@ -104,7 +104,7 @@ public: Standard_EXPORT Standard_Boolean IsSolution(const math_Vector& Sol, const Standard_Real Tol) Standard_OVERRIDE; - //! Returns the minimal Distance between two + //! Returns the minimal Distance between two //! extremities of calculated sections. Standard_EXPORT virtual Standard_Real GetMinimalDistance() const Standard_OVERRIDE; @@ -115,7 +115,7 @@ public: //! Returns U,V coordinates of the point on the surface. Standard_EXPORT const gp_Pnt2d& Pnt2dOnRst1() const Standard_OVERRIDE; - //! Returns U,V coordinates of the point on the curve on + //! Returns U,V coordinates of the point on the curve on //! surface. Standard_EXPORT const gp_Pnt2d& Pnt2dOnRst2() const Standard_OVERRIDE; @@ -135,7 +135,7 @@ public: Standard_EXPORT const gp_Vec2d& Tangent2dOnRst2() const Standard_OVERRIDE; - //! Enables implementation of a criterion of decrochage + //! Enables implementation of a criterion of decrochage //! specific to the function. Standard_EXPORT Blend_DecrochStatus Decroch(const math_Vector& Sol, gp_Vec& NRst1, @@ -145,11 +145,11 @@ public: Standard_EXPORT void Set(const Standard_Integer Choix); - //! Sets the type of section generation for the + //! Sets the type of section generation for the //! approximations. Standard_EXPORT void Set(const BlendFunc_SectionShape TypeSection); - //! Gives the center of circle defined by PtRst1, PtRst2 and + //! Gives the center of circle defined by PtRst1, PtRst2 and //! radius ray. Standard_EXPORT Standard_Boolean CenterCircleRst1Rst2(const gp_Pnt& PtRst1, const gp_Pnt& PtRst2, @@ -164,7 +164,7 @@ public: Standard_Real& Pfin, gp_Circ& C); - //! Returns if the section is rational + //! Returns if the section is rational Standard_EXPORT Standard_Boolean IsRational() const Standard_OVERRIDE; //! Returns the length of the maximum section @@ -174,13 +174,13 @@ public: //! of all sections. Standard_EXPORT void GetMinimalWeight(TColStd_Array1OfReal& Weigths) const Standard_OVERRIDE; - //! Returns the number of intervals for continuity + //! Returns the number of intervals for continuity //! . May be one if Continuity(me) >= Standard_EXPORT Standard_Integer NbIntervals(const GeomAbs_Shape S) const Standard_OVERRIDE; - //! Stores in the parameters bounding the intervals + //! Stores in the parameters bounding the intervals //! of continuity . - //! The array must provide enough room to accommodate + //! The array must provide enough room to accommodate //! for the parameters. i.e. T.Length() > NbIntervals() Standard_EXPORT void Intervals(TColStd_Array1OfReal& T, const GeomAbs_Shape S) const Standard_OVERRIDE; diff --git a/src/ModelingAlgorithms/TKFillet/BRepBlend/BRepBlend_RstRstLineBuilder.hxx b/src/ModelingAlgorithms/TKFillet/BRepBlend/BRepBlend_RstRstLineBuilder.hxx index 437184477b..9aeed40638 100644 --- a/src/ModelingAlgorithms/TKFillet/BRepBlend/BRepBlend_RstRstLineBuilder.hxx +++ b/src/ModelingAlgorithms/TKFillet/BRepBlend/BRepBlend_RstRstLineBuilder.hxx @@ -33,25 +33,25 @@ class Adaptor3d_HVertex; class IntSurf_Transition; class BRepBlend_Extremity; -//! This class processes the data resulting from -//! Blend_CSWalking but it takes in consideration the Surface -//! supporting the curve to detect the breakpoint. +//! This class processes the data resulting from +//! Blend_CSWalking but it takes in consideration the Surface +//! supporting the curve to detect the breakpoint. //! -//! As a result, the criteria of distribution of -//! points on the line become more flexible because it -//! should calculate values approached -//! by an approximation of continued functions based on the +//! As a result, the criteria of distribution of +//! points on the line become more flexible because it +//! should calculate values approached +//! by an approximation of continued functions based on the //! Blend_RstRstFunction. //! -//! Thus this pseudo path necessitates 3 criteria of -//! regrouping : +//! Thus this pseudo path necessitates 3 criteria of +//! regrouping: //! -//! 1) exit of the domain of the curve +//! 1) exit of the domain of the curve //! -//! 2) exit of the domain of the surface +//! 2) exit of the domain of the surface //! -//! 3) stall as there is a solution of problem -//! surf/surf within the domain of the surface +//! 3) stall as there is a solution of problem +//! surf/surf within the domain of the surface //! of support of the restriction. //! //! Construction of a BRepBlend_Line between two pcurves diff --git a/src/ModelingAlgorithms/TKFillet/BRepBlend/BRepBlend_SurfCurvConstRadInv.hxx b/src/ModelingAlgorithms/TKFillet/BRepBlend/BRepBlend_SurfCurvConstRadInv.hxx index e94dccf1af..2304c513b8 100644 --- a/src/ModelingAlgorithms/TKFillet/BRepBlend/BRepBlend_SurfCurvConstRadInv.hxx +++ b/src/ModelingAlgorithms/TKFillet/BRepBlend/BRepBlend_SurfCurvConstRadInv.hxx @@ -25,12 +25,12 @@ class math_Matrix; //! Function of reframing between a restriction surface of the //! surface and a curve. -//! Class used to compute a solution of the -//! surfRstConstRad problem on a done restriction of the +//! Class used to compute a solution of the +//! surfRstConstRad problem on a done restriction of the //! surface. -//! The vector used in Value, Values and Derivatives -//! methods has to be the vector of the parametric -//! coordinates wguide, wcurv, wrst where wguide is the +//! The vector used in Value, Values and Derivatives +//! methods has to be the vector of the parametric +//! coordinates wguide, wcurv, wrst where wguide is the //! parameter on the guide line, wcurv is the parameter on //! the curve, wrst is the parameter on the restriction on //! the surface. diff --git a/src/ModelingAlgorithms/TKFillet/BRepBlend/BRepBlend_SurfCurvEvolRadInv.hxx b/src/ModelingAlgorithms/TKFillet/BRepBlend/BRepBlend_SurfCurvEvolRadInv.hxx index 950d145ffb..b400e06162 100644 --- a/src/ModelingAlgorithms/TKFillet/BRepBlend/BRepBlend_SurfCurvEvolRadInv.hxx +++ b/src/ModelingAlgorithms/TKFillet/BRepBlend/BRepBlend_SurfCurvEvolRadInv.hxx @@ -26,12 +26,12 @@ class math_Matrix; //! Function of reframing between a surface restriction //! of the surface and a curve. -//! Class used to compute a solution of the -//! surfRstConstRad problem on a done restriction of the +//! Class used to compute a solution of the +//! surfRstConstRad problem on a done restriction of the //! surface. -//! The vector used in Value, Values and Derivatives -//! methods has to be the vector of the parametric -//! coordinates wguide, wcurv, wrst where wguide is the +//! The vector used in Value, Values and Derivatives +//! methods has to be the vector of the parametric +//! coordinates wguide, wcurv, wrst where wguide is the //! parameter on the guide line, wcurv is the parameter on //! the curve, wrst is the parameter on the restriction on //! the surface. diff --git a/src/ModelingAlgorithms/TKFillet/BRepBlend/BRepBlend_SurfPointConstRadInv.hxx b/src/ModelingAlgorithms/TKFillet/BRepBlend/BRepBlend_SurfPointConstRadInv.hxx index 6a5d7e4fc7..5d580efbce 100644 --- a/src/ModelingAlgorithms/TKFillet/BRepBlend/BRepBlend_SurfPointConstRadInv.hxx +++ b/src/ModelingAlgorithms/TKFillet/BRepBlend/BRepBlend_SurfPointConstRadInv.hxx @@ -25,13 +25,13 @@ class math_Matrix; //! Function of reframing between a point and a surface. -//! This function is used to find a solution on a done -//! point of the curve when using SurfRstConsRad or +//! This function is used to find a solution on a done +//! point of the curve when using SurfRstConsRad or //! CSConstRad... -//! The vector used in Value, Values and Derivatives -//! methods has to be the vector of the parametric -//! coordinates w, U, V where w is the parameter on the -//! guide line, U,V are the parametric coordinates of a +//! The vector used in Value, Values and Derivatives +//! methods has to be the vector of the parametric +//! coordinates w, U, V where w is the parameter on the +//! guide line, U,V are the parametric coordinates of a //! point on the partner surface. class BRepBlend_SurfPointConstRadInv : public Blend_SurfPointFuncInv { diff --git a/src/ModelingAlgorithms/TKFillet/BRepBlend/BRepBlend_SurfPointEvolRadInv.hxx b/src/ModelingAlgorithms/TKFillet/BRepBlend/BRepBlend_SurfPointEvolRadInv.hxx index 93f41899ed..c5abd7cbe2 100644 --- a/src/ModelingAlgorithms/TKFillet/BRepBlend/BRepBlend_SurfPointEvolRadInv.hxx +++ b/src/ModelingAlgorithms/TKFillet/BRepBlend/BRepBlend_SurfPointEvolRadInv.hxx @@ -26,13 +26,13 @@ class Law_Function; class math_Matrix; //! Function of reframing between a point and a surface. -//! This function is used to find a solution on a done -//! point of the curve when using SurfRstConsRad or +//! This function is used to find a solution on a done +//! point of the curve when using SurfRstConsRad or //! CSConstRad... -//! The vector used in Value, Values and Derivatives -//! methods has to be the vector of the parametric -//! coordinates w, U, V where w is the parameter on the -//! guide line, U,V are the parametric coordinates of a +//! The vector used in Value, Values and Derivatives +//! methods has to be the vector of the parametric +//! coordinates w, U, V where w is the parameter on the +//! guide line, U,V are the parametric coordinates of a //! point on the partner surface. class BRepBlend_SurfPointEvolRadInv : public Blend_SurfPointFuncInv { diff --git a/src/ModelingAlgorithms/TKFillet/BRepBlend/BRepBlend_SurfRstEvolRad.hxx b/src/ModelingAlgorithms/TKFillet/BRepBlend/BRepBlend_SurfRstEvolRad.hxx index 2ea1333c1a..73c8b7214d 100644 --- a/src/ModelingAlgorithms/TKFillet/BRepBlend/BRepBlend_SurfRstEvolRad.hxx +++ b/src/ModelingAlgorithms/TKFillet/BRepBlend/BRepBlend_SurfRstEvolRad.hxx @@ -40,8 +40,8 @@ class math_Matrix; class gp_Circ; class Blend_Point; -//! Function to approximate by AppSurface for -//! Edge/Face and evolutif radius +//! Function to approximate by AppSurface for +//! Edge/Face and evolutif radius class BRepBlend_SurfRstEvolRad : public Blend_SurfRstFunction { public: @@ -100,7 +100,7 @@ public: Standard_EXPORT Standard_Boolean IsSolution(const math_Vector& Sol, const Standard_Real Tol) Standard_OVERRIDE; - //! Returns the minimal Distance between two + //! Returns the minimal Distance between two //! extremities of calculated sections. Standard_EXPORT virtual Standard_Real GetMinimalDistance() const Standard_OVERRIDE; @@ -111,7 +111,7 @@ public: //! Returns U,V coordinates of the point on the surface. Standard_EXPORT const gp_Pnt2d& Pnt2dOnS() const Standard_OVERRIDE; - //! Returns U,V coordinates of the point on the curve on + //! Returns U,V coordinates of the point on the curve on //! surface. Standard_EXPORT const gp_Pnt2d& Pnt2dOnRst() const Standard_OVERRIDE; @@ -128,7 +128,7 @@ public: Standard_EXPORT const gp_Vec2d& Tangent2dOnRst() const Standard_OVERRIDE; - //! Permet d ' implementer un critere de decrochage + //! Permet d'implementer un critere de decrochage //! specifique a la fonction. Standard_EXPORT Standard_Boolean Decroch(const math_Vector& Sol, gp_Vec& NS, @@ -136,7 +136,7 @@ public: Standard_EXPORT void Set(const Standard_Integer Choix); - //! Sets the type of section generation for the + //! Sets the type of section generation for the //! approximations. Standard_EXPORT void Set(const BlendFunc_SectionShape TypeSection); @@ -148,7 +148,7 @@ public: Standard_Real& Pfin, gp_Circ& C); - //! Returns if the section is rational + //! Returns if the section is rational Standard_EXPORT Standard_Boolean IsRational() const Standard_OVERRIDE; //! Returns the length of the maximum section @@ -158,7 +158,7 @@ public: //! of all sections. Standard_EXPORT void GetMinimalWeight(TColStd_Array1OfReal& Weigths) const Standard_OVERRIDE; - //! Returns the number of intervals for continuity + //! Returns the number of intervals for continuity //! . May be one if Continuity(me) >= Standard_EXPORT Standard_Integer NbIntervals(const GeomAbs_Shape S) const Standard_OVERRIDE; diff --git a/src/ModelingAlgorithms/TKFillet/BRepBlend/BRepBlend_SurfRstLineBuilder.hxx b/src/ModelingAlgorithms/TKFillet/BRepBlend/BRepBlend_SurfRstLineBuilder.hxx index f5d526e1b1..d62668b230 100644 --- a/src/ModelingAlgorithms/TKFillet/BRepBlend/BRepBlend_SurfRstLineBuilder.hxx +++ b/src/ModelingAlgorithms/TKFillet/BRepBlend/BRepBlend_SurfRstLineBuilder.hxx @@ -34,24 +34,24 @@ class Adaptor3d_HVertex; class IntSurf_Transition; class BRepBlend_Extremity; -//! This class processes data resulting from -//! Blend_CSWalking taking in consideration the Surface -//! supporting the curve to detect the breakpoint. +//! This class processes data resulting from +//! Blend_CSWalking taking in consideration the Surface +//! supporting the curve to detect the breakpoint. //! -//! The criteria of distribution of points on the line are detailed -//! because it is to be used in the calculatuon of values approached -//! by an approximation of functions continued basing on +//! The criteria of distribution of points on the line are detailed +//! because it is to be used in the calculatuon of values approached +//! by an approximation of functions continued basing on //! Blend_SurfRstFunction. //! -//! Thus this pseudo path necessitates 3 criteria of regrouping : +//! Thus this pseudo path necessitates 3 criteria of regrouping: //! -//! 1) exit of the domain of the curve +//! 1) exit of the domain of the curve //! -//! 2) exit of the domain of the surface +//! 2) exit of the domain of the surface //! -//! 3) stall as there is a solution to the problem -//! surf/surf within the domain of the surface -//! of support of the restriction. +//! 3) stall as there is a solution to the problem +//! surf/surf within the domain of the surface +//! of support of the restriction. //! //! Construction of a BRepBlend_Line between a surface and //! a pcurve on surface from an approached diff --git a/src/ModelingAlgorithms/TKFillet/BRepFilletAPI/BRepFilletAPI_LocalOperation.hxx b/src/ModelingAlgorithms/TKFillet/BRepFilletAPI/BRepFilletAPI_LocalOperation.hxx index 64425ea173..36c1fd49df 100644 --- a/src/ModelingAlgorithms/TKFillet/BRepFilletAPI/BRepFilletAPI_LocalOperation.hxx +++ b/src/ModelingAlgorithms/TKFillet/BRepFilletAPI/BRepFilletAPI_LocalOperation.hxx @@ -33,8 +33,8 @@ class BRepFilletAPI_LocalOperation : public BRepBuilderAPI_MakeShape public: DEFINE_STANDARD_ALLOC - //! Adds a contour in the builder (builds a - //! contour of tangent edges). + //! Adds a contour in the builder (builds a + //! contour of tangent edges). Standard_EXPORT virtual void Add(const TopoDS_Edge& E) = 0; //! Reset the contour of index IC, there is nomore @@ -44,7 +44,7 @@ public: //! Number of contours. Standard_EXPORT virtual Standard_Integer NbContours() const = 0; - //! Returns the index of the contour containing the edge + //! Returns the index of the contour containing the edge //! E, returns 0 if E doesn't belong to any contour. Standard_EXPORT virtual Standard_Integer Contour(const TopoDS_Edge& E) const = 0; @@ -84,10 +84,10 @@ public: //! returns true if the contour of index IC is closed Standard_EXPORT virtual Standard_Boolean Closed(const Standard_Integer IC) const = 0; - //! Reset all the fields updated by Build operation and - //! leave the algorithm in the same state than before - //! build call. It allows contours and radius - //! modifications to build the result another time. + //! Reset all the fields updated by Build operation and + //! leave the algorithm in the same state than before + //! build call. It allows contours and radius + //! modifications to build the result another time. Standard_EXPORT virtual void Reset() = 0; Standard_EXPORT virtual void Simulate(const Standard_Integer IC) = 0; diff --git a/src/ModelingAlgorithms/TKFillet/BRepFilletAPI/BRepFilletAPI_MakeChamfer.hxx b/src/ModelingAlgorithms/TKFillet/BRepFilletAPI/BRepFilletAPI_MakeChamfer.hxx index 25b465e3cf..6c833261cd 100644 --- a/src/ModelingAlgorithms/TKFillet/BRepFilletAPI/BRepFilletAPI_MakeChamfer.hxx +++ b/src/ModelingAlgorithms/TKFillet/BRepFilletAPI/BRepFilletAPI_MakeChamfer.hxx @@ -123,8 +123,8 @@ public: Standard_Real& Dis1, Standard_Real& Dis2) const; - //! Adds a fillet contour in the builder (builds a - //! contour of tangent edges to and sets the + //! Adds a fillet contour in the builder (builds a + //! contour of tangent edges to and sets the //! distance and angle ( parameters of the chamfer ) ). Standard_EXPORT void AddDA(const Standard_Real Dis, const Standard_Real Angle, @@ -278,12 +278,12 @@ public: //! Returns the internal filleting algorithm. Standard_EXPORT Handle(TopOpeBRepBuild_HBuilder) Builder() const; - //! Returns the list of shapes generated from the + //! Returns the list of shapes generated from the //! shape . Standard_EXPORT virtual const TopTools_ListOfShape& Generated(const TopoDS_Shape& EorV) Standard_OVERRIDE; - //! Returns the list of shapes modified from the shape + //! Returns the list of shapes modified from the shape //! . Standard_EXPORT virtual const TopTools_ListOfShape& Modified(const TopoDS_Shape& F) Standard_OVERRIDE; diff --git a/src/ModelingAlgorithms/TKFillet/BRepFilletAPI/BRepFilletAPI_MakeFillet.hxx b/src/ModelingAlgorithms/TKFillet/BRepFilletAPI/BRepFilletAPI_MakeFillet.hxx index 20239473f4..b16a2b065b 100644 --- a/src/ModelingAlgorithms/TKFillet/BRepFilletAPI/BRepFilletAPI_MakeFillet.hxx +++ b/src/ModelingAlgorithms/TKFillet/BRepFilletAPI/BRepFilletAPI_MakeFillet.hxx @@ -50,13 +50,13 @@ class BRepFilletAPI_MakeFillet : public BRepFilletAPI_LocalOperation public: DEFINE_STANDARD_ALLOC - //! Initializes the computation of the fillets. - //! sets the type of fillet surface. The - //! default value is ChFi3d_Rational (classical nurbs - //! representation of circles). ChFi3d_QuasiAngular - //! corresponds to a nurbs representation of circles - //! which parameterisation matches the circle one. - //! ChFi3d_Polynomial corresponds to a polynomial + //! Initializes the computation of the fillets. + //! sets the type of fillet surface. The + //! default value is ChFi3d_Rational (classical nurbs + //! representation of circles). ChFi3d_QuasiAngular + //! corresponds to a nurbs representation of circles + //! which parameterisation matches the circle one. + //! ChFi3d_Polynomial corresponds to a polynomial //! representation of circles. Standard_EXPORT BRepFilletAPI_MakeFillet(const TopoDS_Shape& S, const ChFi3d_FilletShape FShape = ChFi3d_Rational); @@ -68,38 +68,38 @@ public: const Standard_Real TolApp2d, const Standard_Real Fleche); - //! Changes the parameters of continiuity + //! Changes the parameters of continiuity //! InternalContinuity to produce fillet'surfaces with - //! an continuity Ci (i=0,1 or 2). + //! an continuity Ci (i=0,1 or 2). //! By defaultInternalContinuity = GeomAbs_C1. //! AngularTolerance is the G1 tolerance between fillet //! and support'faces. Standard_EXPORT void SetContinuity(const GeomAbs_Shape InternalContinuity, const Standard_Real AngularTolerance); - //! Adds a fillet contour in the builder (builds a - //! contour of tangent edges). + //! Adds a fillet contour in the builder (builds a + //! contour of tangent edges). //! The Radius must be set after. Standard_EXPORT void Add(const TopoDS_Edge& E) Standard_OVERRIDE; - //! Adds a fillet description in the builder - //! - builds a contour of tangent edges, + //! Adds a fillet description in the builder + //! - builds a contour of tangent edges, //! - sets the radius. Standard_EXPORT void Add(const Standard_Real Radius, const TopoDS_Edge& E); - //! Adds a fillet description in the builder - //! - builds a contour of tangent edges, + //! Adds a fillet description in the builder + //! - builds a contour of tangent edges, //! - sets a linear radius evolution law between //! the first and last vertex of the spine. Standard_EXPORT void Add(const Standard_Real R1, const Standard_Real R2, const TopoDS_Edge& E); - //! Adds a fillet description in the builder - //! - builds a contour of tangent edges, + //! Adds a fillet description in the builder + //! - builds a contour of tangent edges, //! - sest the radius evolution law. Standard_EXPORT void Add(const Handle(Law_Function)& L, const TopoDS_Edge& E); - //! Adds a fillet description in the builder - //! - builds a contour of tangent edges, + //! Adds a fillet description in the builder + //! - builds a contour of tangent edges, //! - sets the radius evolution law interpolating the values //! given in the array UandR : //! @@ -259,7 +259,7 @@ public: //! Returns a null shape if IC is outside the bounds of the table of contours. Standard_EXPORT TopoDS_Vertex FirstVertex(const Standard_Integer IC) const Standard_OVERRIDE; - //! Returns the last vertex of the contour of index IC + //! Returns the last vertex of the contour of index IC //! in the internal data structure of this algorithm. //! Warning //! Returns a null shape if IC is outside the bounds of the table of contours. @@ -327,12 +327,12 @@ public: //! Returns the internal topology building algorithm. Standard_EXPORT Handle(TopOpeBRepBuild_HBuilder) Builder() const; - //! Returns the list of shapes generated from the + //! Returns the list of shapes generated from the //! shape . Standard_EXPORT virtual const TopTools_ListOfShape& Generated(const TopoDS_Shape& EorV) Standard_OVERRIDE; - //! Returns the list of shapes modified from the shape + //! Returns the list of shapes modified from the shape //! . Standard_EXPORT virtual const TopTools_ListOfShape& Modified(const TopoDS_Shape& F) Standard_OVERRIDE; @@ -391,7 +391,7 @@ public: //! ChFiDS_TwistedSurface : the computation failed because of a twisted //! surface //! ChFiDS_WalkingFailure : there is a problem in the walking - //! ChFiDS_Error: other error different from above + //! ChFiDS_Error: other error different from above Standard_EXPORT ChFiDS_ErrorStatus StripeStatus(const Standard_Integer IC) const; protected: diff --git a/src/ModelingAlgorithms/TKFillet/BRepFilletAPI/BRepFilletAPI_MakeFillet2d.hxx b/src/ModelingAlgorithms/TKFillet/BRepFilletAPI/BRepFilletAPI_MakeFillet2d.hxx index 132cfbf94b..57c70470e9 100644 --- a/src/ModelingAlgorithms/TKFillet/BRepFilletAPI/BRepFilletAPI_MakeFillet2d.hxx +++ b/src/ModelingAlgorithms/TKFillet/BRepFilletAPI/BRepFilletAPI_MakeFillet2d.hxx @@ -89,7 +89,7 @@ public: //! This initialize method allow to init the builder //! from a face RefFace and another face ModFace which derive from RefFace. - //! This is useful to modify a fillet or a chamfer already created on ModFace. + //! This is useful to modify a fillet or a chamfer already created on ModFace. Standard_EXPORT void Init(const TopoDS_Face& RefFace, const TopoDS_Face& ModFace); //! Adds a fillet of radius Radius between the two edges @@ -259,7 +259,7 @@ public: //! Returns the number of chamfers on the face modified by this algorithm. Standard_Integer NbChamfer() const; - //! Returns the list of shapes modified from the shape + //! Returns the list of shapes modified from the shape //! . Standard_EXPORT virtual const TopTools_ListOfShape& Modified(const TopoDS_Shape& S) Standard_OVERRIDE; diff --git a/src/ModelingAlgorithms/TKFillet/ChFi2d/ChFi2d_Builder.hxx b/src/ModelingAlgorithms/TKFillet/ChFi2d/ChFi2d_Builder.hxx index 7da6036435..af241f2bc8 100644 --- a/src/ModelingAlgorithms/TKFillet/ChFi2d/ChFi2d_Builder.hxx +++ b/src/ModelingAlgorithms/TKFillet/ChFi2d/ChFi2d_Builder.hxx @@ -34,7 +34,7 @@ class TopoDS_Vertex; #undef Status #endif -//! This class contains the algorithm used to build +//! This class contains the algorithm used to build //! fillet on planar wire. class ChFi2d_Builder { @@ -43,7 +43,7 @@ public: Standard_EXPORT ChFi2d_Builder(); - //! The face can be build on a closed or an open + //! The face can be build on a closed or an open //! wire. Standard_EXPORT ChFi2d_Builder(const TopoDS_Face& F); @@ -51,36 +51,36 @@ public: Standard_EXPORT void Init(const TopoDS_Face& RefFace, const TopoDS_Face& ModFace); - //! Add a fillet of radius on the wire + //! Add a fillet of radius on the wire //! between the two edges connected to the vertex . - //! returns the fillet edge. The returned - //! edge has sense only if the status is + //! returns the fillet edge. The returned + //! edge has sense only if the status is //! Standard_EXPORT TopoDS_Edge AddFillet(const TopoDS_Vertex& V, const Standard_Real Radius); //! modify the fillet radius and return the new fillet - //! edge. this edge has sense only if the status + //! edge. this edge has sense only if the status //! is . Standard_EXPORT TopoDS_Edge ModifyFillet(const TopoDS_Edge& Fillet, const Standard_Real Radius); //! removes the fillet and returns the vertex - //! connecting the two adjacent edges to this fillet. + //! connecting the two adjacent edges to this fillet. Standard_EXPORT TopoDS_Vertex RemoveFillet(const TopoDS_Edge& Fillet); - //! Add a chamfer on the wire between the two edges - //! connected and . returns the - //! chamfer edge. This edge has sense only if the + //! Add a chamfer on the wire between the two edges + //! connected and . returns the + //! chamfer edge. This edge has sense only if the //! status is . Standard_EXPORT TopoDS_Edge AddChamfer(const TopoDS_Edge& E1, const TopoDS_Edge& E2, const Standard_Real D1, const Standard_Real D2); - //! Add a chamfer on the wire between the two edges + //! Add a chamfer on the wire between the two edges //! connected to the vertex . The chamfer will make - //! an angle with the edge , and one of its - //! extremities will be on at distance . The - //! returned edge has sense only if the status + //! an angle with the edge , and one of its + //! extremities will be on at distance . The + //! returned edge has sense only if the status //! is . //! Warning: The value of must be expressed in Radian. Standard_EXPORT TopoDS_Edge AddChamfer(const TopoDS_Edge& E, @@ -88,9 +88,9 @@ public: const Standard_Real D, const Standard_Real Ang); - //! modify the chamfer and returns the new + //! modify the chamfer and returns the new //! chamfer edge. - //! This edge as sense only if the status is + //! This edge as sense only if the status is //! . Standard_EXPORT TopoDS_Edge ModifyChamfer(const TopoDS_Edge& Chamfer, const TopoDS_Edge& E1, @@ -98,17 +98,17 @@ public: const Standard_Real D1, const Standard_Real D2); - //! modify the chamfer and returns the new - //! chamfer edge. This edge as sense only if the - //! status is . + //! modify the chamfer and returns the new + //! chamfer edge. This edge as sense only if the + //! status is . //! Warning: The value of must be expressed in Radian. Standard_EXPORT TopoDS_Edge ModifyChamfer(const TopoDS_Edge& Chamfer, const TopoDS_Edge& E, const Standard_Real D, const Standard_Real Ang); - //! removes the chamfer and returns the - //! vertex connecting the two adjacent edges to this + //! removes the chamfer and returns the + //! vertex connecting the two adjacent edges to this //! chamfer. Standard_EXPORT TopoDS_Vertex RemoveChamfer(const TopoDS_Edge& Chamfer); @@ -133,8 +133,8 @@ public: //! in the other case. const TopoDS_Edge& DescendantEdge(const TopoDS_Edge& E) const; - //! Returns the parent edge of - //! Warning: If is a basis edge, the returned edge would be + //! Returns the parent edge of + //! Warning: If is a basis edge, the returned edge would be //! equal to Standard_EXPORT const TopoDS_Edge& BasisEdge(const TopoDS_Edge& E) const; @@ -153,8 +153,8 @@ private: TopoDS_Edge& TrimE2, TopoDS_Edge& Fillet); - //! Is internally used by . The chamfer is - //! computed from a vertex, two edges and two + //! Is internally used by . The chamfer is + //! computed from a vertex, two edges and two //! distances //! Warning: , and has sense only if //! if the status is equal to @@ -167,11 +167,11 @@ private: TopoDS_Edge& TrimE2, TopoDS_Edge& Chamfer); - //! Is internally used by . The chamfer is - //! computed from an edge, a vertex, a distance + //! Is internally used by . The chamfer is + //! computed from an edge, a vertex, a distance //! and an angle - //! Warning: , , and has - //! sense only if the status is equal to + //! Warning: , , and has + //! sense only if the status is equal to //! Standard_EXPORT void ComputeChamfer(const TopoDS_Vertex& V, const TopoDS_Edge& E1, @@ -182,12 +182,12 @@ private: TopoDS_Edge& TrimE2, TopoDS_Edge& Chamfer); - //! Is internally used by . - //! and will contains the new + //! Is internally used by . + //! and will contains the new //! extremities of and - //! Warning: The returned edge has sense only if the status + //! Warning: The returned edge has sense only if the status //! is equal to - //! or to one of those specific cases : + //! or to one of those specific cases: //! //! //! @@ -198,10 +198,10 @@ private: TopoDS_Vertex& NewExtr1, TopoDS_Vertex& NewExtr2); - //! Is internally used by . - //! and will contains the new + //! Is internally used by . + //! and will contains the new //! extremities of and - //! Warning: The returned edge has sense only if the status + //! Warning: The returned edge has sense only if the status //! is equal to Standard_EXPORT TopoDS_Edge BuildChamferEdge(const TopoDS_Vertex& V, const TopoDS_Edge& AdjEdge1, @@ -211,10 +211,10 @@ private: TopoDS_Vertex& NewExtr1, TopoDS_Vertex& NewExtr2); - //! Is internally used by . - //! and will contains the new + //! Is internally used by . + //! and will contains the new //! extremities of and - //! Warning: The returned edge has sense only if the status + //! Warning: The returned edge has sense only if the status //! is equal to Standard_EXPORT TopoDS_Edge BuildChamferEdge(const TopoDS_Vertex& V, const TopoDS_Edge& AdjEdge2, @@ -224,11 +224,11 @@ private: TopoDS_Vertex& NewExtr1, TopoDS_Vertex& NewExtr2); - //! replaces in the new face and - //! by , and + //! replaces in the new face and + //! by , and //! or by and if is degenerated //! or by and if is degenerated - //! or by if and are degenerated . + //! or by if and are degenerated. Standard_EXPORT void BuildNewWire(const TopoDS_Edge& OldE1, const TopoDS_Edge& OldE2, const TopoDS_Edge& E1, @@ -248,9 +248,9 @@ private: const TopoDS_Vertex& NewExtr, Standard_Boolean& IsDegenerated) const; - //! Writes in if is equal to + //! Writes in if is equal to //! 1, or in if is Equal to 2. - //! Writes the modifications in : + //! Writes the modifications in : //! is given by , by //! if and are not degenerated. Standard_EXPORT void UpDateHistory(const TopoDS_Edge& E1, @@ -260,8 +260,8 @@ private: const TopoDS_Edge& NewEdge, const Standard_Integer Id); - //! Writes the modifications in . - //! is given by , by . + //! Writes the modifications in . + //! is given by , by . Standard_EXPORT void UpDateHistory(const TopoDS_Edge& E1, const TopoDS_Edge& E2, const TopoDS_Edge& TrimE1, diff --git a/src/ModelingAlgorithms/TKFillet/ChFi2d/ChFi2d_ConstructionError.hxx b/src/ModelingAlgorithms/TKFillet/ChFi2d/ChFi2d_ConstructionError.hxx index 8fe412fc08..593b5acdaf 100644 --- a/src/ModelingAlgorithms/TKFillet/ChFi2d/ChFi2d_ConstructionError.hxx +++ b/src/ModelingAlgorithms/TKFillet/ChFi2d/ChFi2d_ConstructionError.hxx @@ -22,7 +22,7 @@ enum ChFi2d_ConstructionError { ChFi2d_NotPlanar, //!< the face is not planar ChFi2d_NoFace, //!< the face is null - ChFi2d_InitialisationError, //!< the two faces used for the initialisation are uncompatible + ChFi2d_InitialisationError, //!< the two faces used for the initialisation are uncompatible ChFi2d_ParametersError, //!< the parameters as distances or angle for chamfer are less or equal to //!< zero ChFi2d_Ready, //!< the initialization has been successful diff --git a/src/ModelingAlgorithms/TKFillet/ChFi3d/ChFi3d.hxx b/src/ModelingAlgorithms/TKFillet/ChFi3d/ChFi3d.hxx index 12ec413f7b..b262ed8084 100644 --- a/src/ModelingAlgorithms/TKFillet/ChFi3d/ChFi3d.hxx +++ b/src/ModelingAlgorithms/TKFillet/ChFi3d/ChFi3d.hxx @@ -49,24 +49,24 @@ public: const TopoDS_Face& theFace2, const GeomAbs_Shape Order = GeomAbs_G1); - //! Returns Reversed in Or1 and(or) Or2 if - //! the concave edge defined by the interior of faces F1 and F2, - //! in the neighbourhood of their boundary E is of the edge opposite to the - //! normal of their surface support. The orientation of - //! faces is not taken into consideration in the calculation. The - //! function returns 0 if the calculation fails (tangence), - //! if not, it returns the number of choice of the fillet - //! or chamfer corresponding to the orientations calculated - //! and to the tangent to the guide line read in E. + //! Returns Reversed in Or1 and(or) Or2 if + //! the concave edge defined by the interior of faces F1 and F2, + //! in the neighbourhood of their boundary E is of the edge opposite to the + //! normal of their surface support. The orientation of + //! faces is not taken into consideration in the calculation. The + //! function returns 0 if the calculation fails (tangence), + //! if not, it returns the number of choice of the fillet + //! or chamfer corresponding to the orientations calculated + //! and to the tangent to the guide line read in E. Standard_EXPORT static Standard_Integer ConcaveSide(const BRepAdaptor_Surface& S1, const BRepAdaptor_Surface& S2, const TopoDS_Edge& E, TopAbs_Orientation& Or1, TopAbs_Orientation& Or2); - //! Same as ConcaveSide, but the orientations are - //! logically deduced from the result of the call of - //! ConcaveSide on the first pair of faces of the fillet or + //! Same as ConcaveSide, but the orientations are + //! logically deduced from the result of the call of + //! ConcaveSide on the first pair of faces of the fillet or //! chamnfer. Standard_EXPORT static Standard_Integer NextSide(TopAbs_Orientation& Or1, TopAbs_Orientation& Or2, @@ -74,15 +74,15 @@ public: const TopAbs_Orientation OrSave2, const Standard_Integer ChoixSauv); - //! Same as the other NextSide, but the calculation is done - //! on an edge only. + //! Same as the other NextSide, but the calculation is done + //! on an edge only. Standard_EXPORT static void NextSide(TopAbs_Orientation& Or, const TopAbs_Orientation OrSave, const TopAbs_Orientation OrFace); - //! Enables to determine while processing an angle, if + //! Enables to determine while processing an angle, if //! two fillets or chamfers constituting a face have - //! identic or opposed concave edges. + //! identic or opposed concave edges. Standard_EXPORT static Standard_Boolean SameSide(const TopAbs_Orientation Or, const TopAbs_Orientation OrSave1, const TopAbs_Orientation OrSave2, diff --git a/src/ModelingAlgorithms/TKFillet/ChFi3d/ChFi3d_Builder.hxx b/src/ModelingAlgorithms/TKFillet/ChFi3d/ChFi3d_Builder.hxx index a97429f45b..a72e61bcb1 100644 --- a/src/ModelingAlgorithms/TKFillet/ChFi3d/ChFi3d_Builder.hxx +++ b/src/ModelingAlgorithms/TKFillet/ChFi3d/ChFi3d_Builder.hxx @@ -58,9 +58,9 @@ class TopoDS_Face; class AppBlend_Approx; class Geom2d_Curve; -//! Root class for calculation of surfaces (fillets, -//! chamfers) destined to smooth edges of -//! a gap on a Shape and the reconstruction of the Shape. +//! Root class for calculation of surfaces (fillets, +//! chamfers) destined to smooth edges of +//! a gap on a Shape and the reconstruction of the Shape. class ChFi3d_Builder { public: @@ -78,28 +78,28 @@ public: Standard_EXPORT void SetContinuity(const GeomAbs_Shape InternalContinuity, const Standard_Real AngularTolerance); - //! extracts from the list the contour containing edge E. + //! extracts from the list the contour containing edge E. Standard_EXPORT void Remove(const TopoDS_Edge& E); - //! gives the number of the contour containing E or 0 - //! if E does not belong to any contour. + //! gives the number of the contour containing E or 0 + //! if E does not belong to any contour. Standard_EXPORT Standard_Integer Contains(const TopoDS_Edge& E) const; - //! gives the number of the contour containing E or 0 - //! if E does not belong to any contour. + //! gives the number of the contour containing E or 0 + //! if E does not belong to any contour. //! Sets in IndexInSpine the index of E in the contour if it's found Standard_EXPORT Standard_Integer Contains(const TopoDS_Edge& E, Standard_Integer& IndexInSpine) const; - //! gives the number of disjoint contours on which - //! the fillets are calculated + //! gives the number of disjoint contours on which + //! the fillets are calculated Standard_EXPORT Standard_Integer NbElements() const; - //! gives the n'th set of edges (contour) + //! gives the n'th set of edges (contour) //! if I >NbElements() Standard_EXPORT Handle(ChFiDS_Spine) Value(const Standard_Integer I) const; - //! returns the length of the contour of index IC. + //! returns the length of the contour of index IC. Standard_EXPORT Standard_Real Length(const Standard_Integer IC) const; //! returns the First vertex V of @@ -130,39 +130,39 @@ public: //! topologic reconstruction. Standard_EXPORT void Compute(); - //! returns True if the computation is success + //! returns True if the computation is success Standard_EXPORT Standard_Boolean IsDone() const; //! if (Isdone()) makes the result. //! if (!Isdone()) Standard_EXPORT TopoDS_Shape Shape() const; - //! Advanced function for the history + //! Advanced function for the history Standard_EXPORT const TopTools_ListOfShape& Generated(const TopoDS_Shape& EouV); - //! Returns the number of contours on which the calculation + //! Returns the number of contours on which the calculation //! has failed. Standard_EXPORT Standard_Integer NbFaultyContours() const; - //! Returns the number of I'th contour on which the calculation + //! Returns the number of I'th contour on which the calculation //! has failed. Standard_EXPORT Standard_Integer FaultyContour(const Standard_Integer I) const; - //! Returns the number of surfaces calculated on the contour IC. + //! Returns the number of surfaces calculated on the contour IC. Standard_EXPORT Standard_Integer NbComputedSurfaces(const Standard_Integer IC) const; - //! Returns the IS'th surface calculated on the contour IC. + //! Returns the IS'th surface calculated on the contour IC. Standard_EXPORT Handle(Geom_Surface) ComputedSurface(const Standard_Integer IC, const Standard_Integer IS) const; - //! Returns the number of vertices on which the calculation + //! Returns the number of vertices on which the calculation //! has failed. Standard_EXPORT Standard_Integer NbFaultyVertices() const; - //! Returns the IV'th vertex on which the calculation has failed. + //! Returns the IV'th vertex on which the calculation has failed. Standard_EXPORT TopoDS_Vertex FaultyVertex(const Standard_Integer IV) const; - //! returns True if a partial result has been calculated + //! returns True if a partial result has been calculated Standard_EXPORT Standard_Boolean HasResult() const; //! if (HasResult()) returns partial result @@ -170,14 +170,14 @@ public: Standard_EXPORT TopoDS_Shape BadShape() const; //! for the stripe IC ,indication on the cause - //! of failure WalkingFailure,TwistedSurface,Error, Ok + //! of failure WalkingFailure,TwistedSurface,Error, Ok Standard_EXPORT ChFiDS_ErrorStatus StripeStatus(const Standard_Integer IC) const; //! Reset all results of compute and returns the algorithm //! in the state of the last acquisition to enable modification of contours or areas. Standard_EXPORT void Reset(); - //! Returns the Builder of topologic operations. + //! Returns the Builder of topologic operations. Standard_EXPORT Handle(TopOpeBRepBuild_HBuilder) Builder() const; //! Method, implemented in the inheritants, calculates @@ -468,8 +468,8 @@ protected: Standard_Integer& Intf, Standard_Integer& Intl) = 0; - //! Method, implemented in inheritants, calculates - //! the elements of construction of the surface (fillet + //! Method, implemented in inheritants, calculates + //! the elements of construction of the surface (fillet //! or chamfer) contact edge/face. Standard_EXPORT virtual void PerformSurf(ChFiDS_SequenceOfSurfData& Data, const Handle(ChFiDS_ElSpine)& Guide, @@ -497,8 +497,8 @@ protected: const Standard_Boolean RecRst, const math_Vector& Soldep); - //! Method, implemented in inheritants, calculates - //! the elements of construction of the surface (fillet + //! Method, implemented in inheritants, calculates + //! the elements of construction of the surface (fillet //! or chamfer) contact edge/face. Standard_EXPORT virtual void PerformSurf(ChFiDS_SequenceOfSurfData& Data, const Handle(ChFiDS_ElSpine)& Guide, @@ -527,7 +527,7 @@ protected: const math_Vector& Soldep); //! Method, implemented in inheritants, calculates - //! the elements of construction of the surface (fillet + //! the elements of construction of the surface (fillet //! or chamfer) contact edge/edge. Standard_EXPORT virtual void PerformSurf(ChFiDS_SequenceOfSurfData& Data, const Handle(ChFiDS_ElSpine)& Guide, @@ -600,7 +600,7 @@ protected: TopAbs_Orientation& Or2, Standard_Integer& ChoixConge) const; - //! Calculates a Line of contact face/face. + //! Calculates a Line of contact face/face. Standard_EXPORT Standard_Boolean ComputeData(Handle(ChFiDS_SurfData)& Data, const Handle(ChFiDS_ElSpine)& Guide, const Handle(ChFiDS_Spine)& Spine, diff --git a/src/ModelingAlgorithms/TKFillet/ChFi3d/ChFi3d_ChBuilder.hxx b/src/ModelingAlgorithms/TKFillet/ChFi3d/ChFi3d_ChBuilder.hxx index 85cd6b7fa9..0a5f51b6d1 100644 --- a/src/ModelingAlgorithms/TKFillet/ChFi3d/ChFi3d_ChBuilder.hxx +++ b/src/ModelingAlgorithms/TKFillet/ChFi3d/ChFi3d_ChBuilder.hxx @@ -56,7 +56,7 @@ public: Standard_EXPORT void Add(const TopoDS_Edge& E); //! initializes a new contour with the edge as first - //! (the next are found by propagation ), and the + //! (the next are found by propagation ), and the //! distance //! if the edge has more than 2 adjacent faces Standard_EXPORT void Add(const Standard_Real Dis, const TopoDS_Edge& E); @@ -74,7 +74,7 @@ public: Standard_EXPORT void GetDist(const Standard_Integer IC, Standard_Real& Dis) const; //! initializes a new contour with the edge as first - //! (the next are found by propagation ), and the + //! (the next are found by propagation ), and the //! distance and //! if the edge has more than 2 adjacent faces Standard_EXPORT void Add(const Standard_Real Dis1, @@ -98,7 +98,7 @@ public: Standard_Real& Dis2) const; //! initializes a new contour with the edge as first - //! (the next are found by propagation ), and the + //! (the next are found by propagation ), and the //! distance and //! if the edge has more than 2 adjacent faces Standard_EXPORT void AddDA(const Standard_Real Dis, @@ -222,7 +222,7 @@ public: const math_Vector& Soldep) Standard_OVERRIDE; //! Methode, implemented in inheritants, calculates - //! the elements of construction of the surface (fillet + //! the elements of construction of the surface (fillet //! or chamfer). Standard_EXPORT virtual Standard_Boolean PerformSurf(ChFiDS_SequenceOfSurfData& Data, const Handle(ChFiDS_ElSpine)& Guide, @@ -246,8 +246,8 @@ public: Standard_Integer& Intf, Standard_Integer& Intl) Standard_OVERRIDE; - //! Method, implemented in the inheritants, calculates - //! the elements of construction of the surface (fillet + //! Method, implemented in the inheritants, calculates + //! the elements of construction of the surface (fillet //! or chamfer) contact edge/face. Standard_EXPORT virtual void PerformSurf(ChFiDS_SequenceOfSurfData& Data, const Handle(ChFiDS_ElSpine)& Guide, @@ -276,7 +276,7 @@ public: const math_Vector& Soldep) Standard_OVERRIDE; //! Method, implemented in inheritants, calculates - //! the elements of construction of the surface (fillet + //! the elements of construction of the surface (fillet //! or chamfer) contact edge/face. Standard_EXPORT virtual void PerformSurf(ChFiDS_SequenceOfSurfData& Data, const Handle(ChFiDS_ElSpine)& Guide, @@ -304,8 +304,8 @@ public: const Standard_Boolean RecRst, const math_Vector& Soldep) Standard_OVERRIDE; - //! Method, implemented in inheritants, calculates - //! the elements of construction of the surface (fillet + //! Method, implemented in inheritants, calculates + //! the elements of construction of the surface (fillet //! or chamfer) contact edge/edge. Standard_EXPORT virtual void PerformSurf(ChFiDS_SequenceOfSurfData& Data, const Handle(ChFiDS_ElSpine)& Guide, @@ -374,7 +374,7 @@ protected: TopAbs_State& Pos1, TopAbs_State& Pos2) const Standard_OVERRIDE; - //! computes the intersection of two chamfers on + //! computes the intersection of two chamfers on //! the vertex of index in myVDataMap. Standard_EXPORT void PerformTwoCorner(const Standard_Integer Index) Standard_OVERRIDE; @@ -382,7 +382,7 @@ protected: //! the vertex of index in myVDataMap. Standard_EXPORT void PerformThreeCorner(const Standard_Integer Index) Standard_OVERRIDE; - //! extends the spine of the Stripe at the + //! extends the spine of the Stripe at the //! extremity of the vertex . Standard_EXPORT void ExtentOneCorner(const TopoDS_Vertex& V, const Handle(ChFiDS_Stripe)& S) Standard_OVERRIDE; diff --git a/src/ModelingAlgorithms/TKFillet/ChFi3d/ChFi3d_FilBuilder.hxx b/src/ModelingAlgorithms/TKFillet/ChFi3d/ChFi3d_FilBuilder.hxx index a64799fed5..88c6b45356 100644 --- a/src/ModelingAlgorithms/TKFillet/ChFi3d/ChFi3d_FilBuilder.hxx +++ b/src/ModelingAlgorithms/TKFillet/ChFi3d/ChFi3d_FilBuilder.hxx @@ -40,7 +40,7 @@ class TopoDS_Edge; class TopoDS_Shape; class TopoDS_Vertex; -//! Tool of construction of fillets 3d on edges (on a solid). +//! Tool of construction of fillets 3d on edges (on a solid). class ChFi3d_FilBuilder : public ChFi3d_Builder { public: @@ -56,9 +56,9 @@ public: //! Returns the type of fillet surface. Standard_EXPORT ChFi3d_FilletShape GetFilletShape() const; - //! initialisation of a contour with the first edge - //! (the following are found by propagation). - //! Attention, you need to start with SetRadius. + //! initialisation of a contour with the first edge + //! (the following are found by propagation). + //! Attention, you need to start with SetRadius. Standard_EXPORT void Add(const TopoDS_Edge& E); //! initialisation of the constant vector the corresponding 1st edge. @@ -79,8 +79,8 @@ public: //! Reset all vectors of contour IC. Standard_EXPORT void ResetContour(const Standard_Integer IC); - //! Set a constant on edge E of the contour of - //! index IC. Since then E is flagged as constant. + //! Set a constant on edge E of the contour of + //! index IC. Since then E is flagged as constant. Standard_EXPORT void SetRadius(const Standard_Real Radius, const Standard_Integer IC, const TopoDS_Edge& E); @@ -88,16 +88,16 @@ public: //! Extracts the flag constant and the vector of edge E. Standard_EXPORT void UnSet(const Standard_Integer IC, const TopoDS_Edge& E); - //! Set a vector on vertex V of the contour of index IC. + //! Set a vector on vertex V of the contour of index IC. Standard_EXPORT void SetRadius(const Standard_Real Radius, const Standard_Integer IC, const TopoDS_Vertex& V); - //! Extracts the vector of the vertex V. + //! Extracts the vector of the vertex V. Standard_EXPORT void UnSet(const Standard_Integer IC, const TopoDS_Vertex& V); - //! Set a vertex on the point of parametre U in the edge IinC - //! of the contour of index IC + //! Set a vertex on the point of parameter U in the edge IinC + //! of the contour of index IC Standard_EXPORT void SetRadius(const gp_XY& UandR, const Standard_Integer IC, const Standard_Integer IinC); @@ -108,21 +108,21 @@ public: //! Returns the vector if E is flagged as edge constant. Standard_EXPORT Standard_Real Radius(const Standard_Integer IC, const TopoDS_Edge& E); - //! Returns in First and Last les extremities of the - //! part of variable vector framing E, returns - //! False if E is flagged as edge constant. + //! Returns in First and Last extremities of the + //! part of variable vector framing E, returns + //! False if E is flagged as edge constant. Standard_EXPORT Standard_Boolean GetBounds(const Standard_Integer IC, const TopoDS_Edge& E, Standard_Real& First, Standard_Real& Last); - //! Returns the rule of elementary evolution of the - //! part to variable vector framing E, returns a + //! Returns the rule of elementary evolution of the + //! part to variable vector framing E, returns a //! rule zero if E is flagged as edge constant. Standard_EXPORT Handle(Law_Function) GetLaw(const Standard_Integer IC, const TopoDS_Edge& E); - //! Sets the rule of elementary evolution of the - //! part to variable vector framing E. + //! Sets the rule of elementary evolution of the + //! part to variable vector framing E. Standard_EXPORT void SetLaw(const Standard_Integer IC, const TopoDS_Edge& E, const Handle(Law_Function)& L); @@ -250,7 +250,7 @@ protected: TopAbs_State& Pos1, TopAbs_State& Pos2) const Standard_OVERRIDE; - //! Method calculates the elements of construction of the + //! Method calculates the elements of construction of the //! fillet (constant or evolutive). Standard_EXPORT Standard_Boolean PerformSurf(ChFiDS_SequenceOfSurfData& SeqData, const Handle(ChFiDS_ElSpine)& Guide, @@ -358,8 +358,8 @@ protected: const Standard_Boolean RecRst2, const math_Vector& Soldep) Standard_OVERRIDE; - //! Method to split an singular SurfData in several non - //! singular SurfData.. + //! Method to split an singular SurfData in several non + //! singular SurfData.. Standard_EXPORT void SplitSurf(ChFiDS_SequenceOfSurfData& SeqData, const Handle(BRepBlend_Line)& line); diff --git a/src/ModelingAlgorithms/TKFillet/ChFi3d/ChFi3d_SearchSing.hxx b/src/ModelingAlgorithms/TKFillet/ChFi3d/ChFi3d_SearchSing.hxx index ae55f75f1f..7d866a56a6 100644 --- a/src/ModelingAlgorithms/TKFillet/ChFi3d/ChFi3d_SearchSing.hxx +++ b/src/ModelingAlgorithms/TKFillet/ChFi3d/ChFi3d_SearchSing.hxx @@ -26,7 +26,7 @@ #include class Geom_Curve; -//! Searches singularities on fillet. +//! Searches singularities on fillet. //! F(t) = (C1(t) - C2(t)).(C1'(t) - C2'(t)); class ChFi3d_SearchSing : public math_FunctionWithDerivative { diff --git a/src/ModelingAlgorithms/TKFillet/ChFiDS/ChFiDS_ChamfSpine.hxx b/src/ModelingAlgorithms/TKFillet/ChFiDS/ChFiDS_ChamfSpine.hxx index 1507f739d6..775271a31d 100644 --- a/src/ModelingAlgorithms/TKFillet/ChFiDS/ChFiDS_ChamfSpine.hxx +++ b/src/ModelingAlgorithms/TKFillet/ChFiDS/ChFiDS_ChamfSpine.hxx @@ -26,8 +26,8 @@ class ChFiDS_ChamfSpine; DEFINE_STANDARD_HANDLE(ChFiDS_ChamfSpine, ChFiDS_Spine) -//! Provides data specific to chamfers -//! distances on each of faces. +//! Provides data specific to chamfers +//! distances on each of faces. class ChFiDS_ChamfSpine : public ChFiDS_Spine { diff --git a/src/ModelingAlgorithms/TKFillet/ChFiDS/ChFiDS_CommonPoint.hxx b/src/ModelingAlgorithms/TKFillet/ChFiDS/ChFiDS_CommonPoint.hxx index 74ad438c57..0fc2a85f3e 100644 --- a/src/ModelingAlgorithms/TKFillet/ChFiDS/ChFiDS_CommonPoint.hxx +++ b/src/ModelingAlgorithms/TKFillet/ChFiDS/ChFiDS_CommonPoint.hxx @@ -28,9 +28,9 @@ #include #include -//! point start/end of fillet common to 2 adjacent filets -//! and to an edge on one of 2 faces participating -//! in the construction of the fillet +//! point start/end of fillet common to 2 adjacent filets +//! and to an edge on one of 2 faces participating +//! in the construction of the fillet class ChFiDS_CommonPoint { public: @@ -65,7 +65,7 @@ public: //! a vertex or on an arc. void SetPoint(const gp_Pnt& thePoint) { point = thePoint; } - //! Set the output 3d vector + //! Set the output 3d vector void SetVector(const gp_Vec& theVector) { hasvector = Standard_True; @@ -123,10 +123,10 @@ public: //! Returns the 3d point const gp_Pnt& Point() const { return point; } - //! Returns TRUE if the output vector is stored. + //! Returns TRUE if the output vector is stored. Standard_Boolean HasVector() const { return hasvector; } - //! Returns the output 3d vector + //! Returns the output 3d vector const gp_Vec& Vector() const { if (!hasvector) diff --git a/src/ModelingAlgorithms/TKFillet/ChFiDS/ChFiDS_ElSpine.hxx b/src/ModelingAlgorithms/TKFillet/ChFiDS/ChFiDS_ElSpine.hxx index 7c7d8bd1c0..cf0c651f6a 100644 --- a/src/ModelingAlgorithms/TKFillet/ChFiDS/ChFiDS_ElSpine.hxx +++ b/src/ModelingAlgorithms/TKFillet/ChFiDS/ChFiDS_ElSpine.hxx @@ -43,7 +43,7 @@ class Geom_BSplineCurve; DEFINE_STANDARD_HANDLE(ChFiDS_ElSpine, Adaptor3d_Curve) -//! Elementary Spine for cheminements and approximations. +//! Elementary Spine for cheminements and approximations. class ChFiDS_ElSpine : public Adaptor3d_Curve { DEFINE_STANDARD_RTTIEXT(ChFiDS_ElSpine, Adaptor3d_Curve) @@ -68,8 +68,8 @@ public: Standard_EXPORT void Intervals(TColStd_Array1OfReal& T, const GeomAbs_Shape S) const Standard_OVERRIDE; - //! Returns a curve equivalent of between - //! parameters and . is used to + //! Returns a curve equivalent of between + //! parameters and . is used to //! test for 3d points confusion. Standard_EXPORT virtual Handle(Adaptor3d_Curve) Trim(const Standard_Real First, const Standard_Real Last, diff --git a/src/ModelingAlgorithms/TKFillet/ChFiDS/ChFiDS_FilSpine.hxx b/src/ModelingAlgorithms/TKFillet/ChFiDS/ChFiDS_FilSpine.hxx index 6b89c81fe2..e6a9d70d5b 100644 --- a/src/ModelingAlgorithms/TKFillet/ChFiDS/ChFiDS_FilSpine.hxx +++ b/src/ModelingAlgorithms/TKFillet/ChFiDS/ChFiDS_FilSpine.hxx @@ -31,8 +31,8 @@ class Law_Composite; class ChFiDS_FilSpine; DEFINE_STANDARD_HANDLE(ChFiDS_FilSpine, ChFiDS_Spine) -//! Provides data specific to the fillets - -//! vector or rule of evolution (C2). +//! Provides data specific to the fillets - +//! vector or rule of evolution (C2). class ChFiDS_FilSpine : public ChFiDS_Spine { @@ -47,10 +47,10 @@ public: //! initializes the constant vector on edge E. Standard_EXPORT void SetRadius(const Standard_Real Radius, const TopoDS_Edge& E); - //! resets the constant vector on edge E. + //! resets the constant vector on edge E. Standard_EXPORT void UnSetRadius(const TopoDS_Edge& E); - //! initializes the vector on Vertex V. + //! initializes the vector on Vertex V. Standard_EXPORT void SetRadius(const Standard_Real Radius, const TopoDS_Vertex& V); //! resets the vector on Vertex V. diff --git a/src/ModelingAlgorithms/TKFillet/ChFiDS/ChFiDS_Map.hxx b/src/ModelingAlgorithms/TKFillet/ChFiDS/ChFiDS_Map.hxx index 7de168e11d..2ff35b0edb 100644 --- a/src/ModelingAlgorithms/TKFillet/ChFiDS/ChFiDS_Map.hxx +++ b/src/ModelingAlgorithms/TKFillet/ChFiDS/ChFiDS_Map.hxx @@ -37,7 +37,7 @@ public: Standard_EXPORT ChFiDS_Map(); //! Fills the map with the subshapes of type T1 as keys - //! and the list of ancestors of type T2 as items. + //! and the list of ancestors of type T2 as items. Standard_EXPORT void Fill(const TopoDS_Shape& S, const TopAbs_ShapeEnum T1, const TopAbs_ShapeEnum T2); diff --git a/src/ModelingAlgorithms/TKFillet/ChFiDS/ChFiDS_Regul.hxx b/src/ModelingAlgorithms/TKFillet/ChFiDS/ChFiDS_Regul.hxx index 10ceb11bf8..dcf0f8af58 100644 --- a/src/ModelingAlgorithms/TKFillet/ChFiDS/ChFiDS_Regul.hxx +++ b/src/ModelingAlgorithms/TKFillet/ChFiDS/ChFiDS_Regul.hxx @@ -23,7 +23,7 @@ #include -//! Storage of a curve and its 2 faces or surfaces of support. +//! Storage of a curve and its 2 faces or surfaces of support. class ChFiDS_Regul { public: diff --git a/src/ModelingAlgorithms/TKFillet/ChFiDS/ChFiDS_Spine.hxx b/src/ModelingAlgorithms/TKFillet/ChFiDS/ChFiDS_Spine.hxx index 2d111bd2f2..eb79c8d42e 100644 --- a/src/ModelingAlgorithms/TKFillet/ChFiDS/ChFiDS_Spine.hxx +++ b/src/ModelingAlgorithms/TKFillet/ChFiDS/ChFiDS_Spine.hxx @@ -58,8 +58,8 @@ DEFINE_STANDARD_HANDLE(ChFiDS_Spine, Standard_Transient) //! information about the nature of extremities //! of the fillet ( on free border , on section or closed ). //! -//! IMPORTANT NOTE : the guideline -//! represented in this way is not C2, although the path +//! IMPORTANT NOTE: the guideline represented +//! in this way is not C2, although the path //! claims it. Several palliative workarounds //! (see the methods at the end) are planned, //! but they are not enough. It is necessary to change @@ -93,11 +93,11 @@ public: const TopoDS_Edge& OffsetEdges(const Standard_Integer I) const; //! stores if the start of a set of edges starts on a - //! section of free border or forms a closed contour + //! section of free border or forms a closed contour void SetFirstStatus(const ChFiDS_State S); //! stores if the end of a set of edges starts on a - //! section of free border or forms a closed contour + //! section of free border or forms a closed contour void SetLastStatus(const ChFiDS_State S); Standard_EXPORT virtual void AppendElSpine(const Handle(ChFiDS_ElSpine)& Els); @@ -207,7 +207,7 @@ public: //! sets the type of concavity in the connection void SetTypeOfConcavity(const ChFiDS_TypeOfConcavity theType); - //! returns if the set of edges starts (or end) on + //! returns if the set of edges starts (or end) on //! Tangency point. Standard_Boolean IsTangencyExtremity(const Standard_Boolean IsFirst) const; @@ -230,8 +230,8 @@ public: //! set a parameter reference for the approx. Standard_EXPORT void SetReference(const Standard_Real W); - //! set a parameter reference for the approx, at the - //! middle of edge I. + //! set a parameter reference for the approx, at the + //! middle of edge I. Standard_EXPORT void SetReference(const Standard_Integer I); Standard_EXPORT Standard_Integer Index(const Standard_Real W, diff --git a/src/ModelingAlgorithms/TKFillet/ChFiDS/ChFiDS_State.hxx b/src/ModelingAlgorithms/TKFillet/ChFiDS/ChFiDS_State.hxx index e77e3b6c94..53485bba81 100644 --- a/src/ModelingAlgorithms/TKFillet/ChFiDS/ChFiDS_State.hxx +++ b/src/ModelingAlgorithms/TKFillet/ChFiDS/ChFiDS_State.hxx @@ -17,15 +17,15 @@ #ifndef _ChFiDS_State_HeaderFile #define _ChFiDS_State_HeaderFile -//! This enum describe the different kinds of extremities -//! of a fillet. OnSame, Ondiff and AllSame are -//! particular cases of BreakPoint for a corner with 3 +//! This enum describe the different kinds of extremities +//! of a fillet. OnSame, Ondiff and AllSame are +//! particular cases of BreakPoint for a corner with 3 //! edges and three faces : -//! - AllSame means that the three concavities are on the +//! - AllSame means that the three concavities are on the //! same side of the Shape, -//! - OnDiff means that the edge of the fillet has a +//! - OnDiff means that the edge of the fillet has a //! concave side different than the two other edges, -//! - OnSame means that the edge of the fillet has a +//! - OnSame means that the edge of the fillet has a //! concave side different than one of the two other edges //! and identical to the third edge. enum ChFiDS_State diff --git a/src/ModelingAlgorithms/TKFillet/ChFiDS/ChFiDS_SurfData.hxx b/src/ModelingAlgorithms/TKFillet/ChFiDS/ChFiDS_SurfData.hxx index 8c154b1769..c9dff62c48 100644 --- a/src/ModelingAlgorithms/TKFillet/ChFiDS/ChFiDS_SurfData.hxx +++ b/src/ModelingAlgorithms/TKFillet/ChFiDS/ChFiDS_SurfData.hxx @@ -30,7 +30,7 @@ class ChFiDS_SurfData; DEFINE_STANDARD_HANDLE(ChFiDS_SurfData, Standard_Transient) -//! data structure for all information related to the +//! data structure for all information related to the //! fillet and to 2 faces vis a vis class ChFiDS_SurfData : public Standard_Transient { @@ -98,12 +98,12 @@ public: Standard_EXPORT Standard_Integer Index(const Standard_Integer OfS) const; - //! returns one of the four vertices whether First is true + //! returns one of the four vertices whether First is true //! or wrong and OnS equals 1 or 2. Standard_EXPORT const ChFiDS_CommonPoint& Vertex(const Standard_Boolean First, const Standard_Integer OnS) const; - //! returns one of the four vertices whether First is true + //! returns one of the four vertices whether First is true //! or wrong and OnS equals 1 or 2. Standard_EXPORT ChFiDS_CommonPoint& ChangeVertex(const Standard_Boolean First, const Standard_Integer OnS); diff --git a/src/ModelingAlgorithms/TKFillet/ChFiKPart/ChFiKPart_ComputeData.hxx b/src/ModelingAlgorithms/TKFillet/ChFiKPart/ChFiKPart_ComputeData.hxx index 0ba0cc614e..00a7cc911c 100644 --- a/src/ModelingAlgorithms/TKFillet/ChFiKPart/ChFiKPart_ComputeData.hxx +++ b/src/ModelingAlgorithms/TKFillet/ChFiKPart/ChFiKPart_ComputeData.hxx @@ -25,8 +25,8 @@ class ChFiDS_SurfData; class ChFiDS_Spine; class gp_Pnt2d; -//! Methodes de classe permettant de remplir une -//! SurfData dans les cas particuliers de conges +//! Methodes de classe permettant de remplir une +//! SurfData dans les cas particuliers de conges //! suivants: //! - cylindre entre 2 surfaces planes, //! - tore/sphere entre un plan et un cylindre othogonal, diff --git a/src/ModelingAlgorithms/TKFillet/FilletSurf/FilletSurf_Builder.hxx b/src/ModelingAlgorithms/TKFillet/FilletSurf/FilletSurf_Builder.hxx index e7cf3fd88a..811b966136 100644 --- a/src/ModelingAlgorithms/TKFillet/FilletSurf/FilletSurf_Builder.hxx +++ b/src/ModelingAlgorithms/TKFillet/FilletSurf/FilletSurf_Builder.hxx @@ -35,10 +35,10 @@ class Geom_Curve; class Geom2d_Curve; class Geom_TrimmedCurve; -//! API giving the following geometric information about fillets +//! API giving the following geometric information about fillets //! list of corresponding NUBS surfaces //! for each surface: -//! the 2 support faces +//! the 2 support faces //! on each face: the 3d curve and the corresponding 2d curve //! the 2d curves on the fillet //! status of start and end section of the fillet @@ -48,8 +48,8 @@ class FilletSurf_Builder public: DEFINE_STANDARD_ALLOC - //! initialize of the information necessary for the - //! computation of the fillet on the + //! initialize of the information necessary for the + //! computation of the fillet on the //! Shape S from a list of edges E and a radius R. //! //! Ta is the angular tolerance @@ -62,7 +62,7 @@ public: const Standard_Real Tapp3d = 1.0e-4, const Standard_Real Tapp2d = 1.0e-5); - //! ---Purpose computation of the fillet (list of NUBS) + //! ---Purpose computation of the fillet (list of NUBS) Standard_EXPORT void Perform(); Standard_EXPORT void Simulate(); @@ -74,55 +74,55 @@ public: //! IsPartial: the result is partial Standard_EXPORT FilletSurf_StatusDone IsDone() const; - //! gives information about error status if + //! gives information about error status if //! IsDone=IsNotOk //! returns //! EdgeNotG1: the edges are not G1 //! FacesNotG1 : two connected faces on a same support are - //! not G1 - //! EdgeNotOnShape: the edge is not on shape - //! NotSharpEdge: the edge is not sharp + //! not G1 + //! EdgeNotOnShape: the edge is not on shape + //! NotSharpEdge: the edge is not sharp //! PbFilletCompute: problem during the computation of the fillet Standard_EXPORT FilletSurf_ErrorTypeStatus StatusError() const; - //! gives the number of NUBS surfaces of the Fillet. + //! gives the number of NUBS surfaces of the Fillet. Standard_EXPORT Standard_Integer NbSurface() const; //! gives the NUBS surface of index Index. Standard_EXPORT const Handle(Geom_Surface)& SurfaceFillet(const Standard_Integer Index) const; - //! gives the 3d tolerance reached during approximation + //! gives the 3d tolerance reached during approximation //! of surface of index Index Standard_EXPORT Standard_Real TolApp3d(const Standard_Integer Index) const; - //! gives the first support face relative to SurfaceFillet(Index); + //! gives the first support face relative to SurfaceFillet(Index); Standard_EXPORT const TopoDS_Face& SupportFace1(const Standard_Integer Index) const; - //! gives the second support face relative to SurfaceFillet(Index); + //! gives the second support face relative to SurfaceFillet(Index); Standard_EXPORT const TopoDS_Face& SupportFace2(const Standard_Integer Index) const; - //! gives the 3d curve of SurfaceFillet(Index) on SupportFace1(Index) + //! gives the 3d curve of SurfaceFillet(Index) on SupportFace1(Index) Standard_EXPORT const Handle(Geom_Curve)& CurveOnFace1(const Standard_Integer Index) const; - //! gives the 3d curve of SurfaceFillet(Index) on SupportFace2(Index) + //! gives the 3d curve of SurfaceFillet(Index) on SupportFace2(Index) Standard_EXPORT const Handle(Geom_Curve)& CurveOnFace2(const Standard_Integer Index) const; - //! gives the PCurve associated to CurvOnSup1(Index) on the support face + //! gives the PCurve associated to CurvOnSup1(Index) on the support face Standard_EXPORT const Handle(Geom2d_Curve)& PCurveOnFace1(const Standard_Integer Index) const; //! gives the PCurve associated to CurveOnFace1(Index) on the Fillet Standard_EXPORT const Handle(Geom2d_Curve)& PCurve1OnFillet(const Standard_Integer Index) const; - //! gives the PCurve associated to CurveOnSup2(Index) on the support face + //! gives the PCurve associated to CurveOnSup2(Index) on the support face Standard_EXPORT const Handle(Geom2d_Curve)& PCurveOnFace2(const Standard_Integer Index) const; - //! gives the PCurve associated to CurveOnSup2(Index) on the fillet + //! gives the PCurve associated to CurveOnSup2(Index) on the fillet Standard_EXPORT const Handle(Geom2d_Curve)& PCurve2OnFillet(const Standard_Integer Index) const; - //! gives the parameter of the fillet on the first edge. + //! gives the parameter of the fillet on the first edge. Standard_EXPORT Standard_Real FirstParameter() const; - //! gives the parameter of the fillet on the last edge + //! gives the parameter of the fillet on the last edge Standard_EXPORT Standard_Real LastParameter() const; Standard_EXPORT FilletSurf_StatusType StartSectionStatus() const; diff --git a/src/ModelingAlgorithms/TKFillet/FilletSurf/FilletSurf_InternalBuilder.hxx b/src/ModelingAlgorithms/TKFillet/FilletSurf/FilletSurf_InternalBuilder.hxx index 1e8a41e910..621050bb5d 100644 --- a/src/ModelingAlgorithms/TKFillet/FilletSurf/FilletSurf_InternalBuilder.hxx +++ b/src/ModelingAlgorithms/TKFillet/FilletSurf/FilletSurf_InternalBuilder.hxx @@ -35,7 +35,7 @@ class Geom_TrimmedCurve; class TopoDS_Shape; class TopoDS_Face; -//! This class is private. It is used by the class Builder +//! This class is private. It is used by the class Builder //! from FilletSurf. It computes geometric information about fillets. class FilletSurf_InternalBuilder : public ChFi3d_FilBuilder { @@ -53,52 +53,52 @@ public: //! 1 : empty list //! 2 : the edges are not G1 //! 3 : two connected faces on a same support are not G1 - //! 4 : the edge is not on shape - //! 5 : NotSharpEdge: the edge is not sharp + //! 4 : the edge is not on shape + //! 5 : NotSharpEdge: the edge is not sharp Standard_EXPORT Standard_Integer Add(const TopTools_ListOfShape& E, const Standard_Real R); Standard_EXPORT void Perform(); Standard_EXPORT Standard_Boolean Done() const; - //! gives the number of NUBS surfaces of the Fillet. + //! gives the number of NUBS surfaces of the Fillet. Standard_EXPORT Standard_Integer NbSurface() const; //! gives the NUBS surface of index Index. Standard_EXPORT const Handle(Geom_Surface)& SurfaceFillet(const Standard_Integer Index) const; - //! gives the 3d tolerance reached during approximation + //! gives the 3d tolerance reached during approximation //! of the surface of index Index Standard_EXPORT Standard_Real TolApp3d(const Standard_Integer Index) const; - //! gives the first support face relative to SurfaceFillet(Index); + //! gives the first support face relative to SurfaceFillet(Index); Standard_EXPORT const TopoDS_Face& SupportFace1(const Standard_Integer Index) const; - //! gives the second support face relative to SurfaceFillet(Index); + //! gives the second support face relative to SurfaceFillet(Index); Standard_EXPORT const TopoDS_Face& SupportFace2(const Standard_Integer Index) const; - //! gives the 3d curve of SurfaceFillet(Index) on SupportFace1(Index) + //! gives the 3d curve of SurfaceFillet(Index) on SupportFace1(Index) Standard_EXPORT const Handle(Geom_Curve)& CurveOnFace1(const Standard_Integer Index) const; - //! gives the 3d curve of SurfaceFillet(Index) on SupportFace2(Index) + //! gives the 3d curve of SurfaceFillet(Index) on SupportFace2(Index) Standard_EXPORT const Handle(Geom_Curve)& CurveOnFace2(const Standard_Integer Index) const; - //! gives the PCurve associated to CurvOnSup1(Index) on the support face + //! gives the PCurve associated to CurvOnSup1(Index) on the support face Standard_EXPORT const Handle(Geom2d_Curve)& PCurveOnFace1(const Standard_Integer Index) const; //! gives the PCurve associated to CurveOnFace1(Index) on the Fillet Standard_EXPORT const Handle(Geom2d_Curve)& PCurve1OnFillet(const Standard_Integer Index) const; - //! gives the PCurve associated to CurveOnSup2(Index) on the support face + //! gives the PCurve associated to CurveOnSup2(Index) on the support face Standard_EXPORT const Handle(Geom2d_Curve)& PCurveOnFace2(const Standard_Integer Index) const; - //! gives the PCurve associated to CurveOnSup2(Index) on the fillet + //! gives the PCurve associated to CurveOnSup2(Index) on the fillet Standard_EXPORT const Handle(Geom2d_Curve)& PCurve2OnFillet(const Standard_Integer Index) const; - //! gives the parameter of the fillet on the first edge. + //! gives the parameter of the fillet on the first edge. Standard_EXPORT Standard_Real FirstParameter() const; - //! gives the parameter of the fillet on the last edge + //! gives the parameter of the fillet on the last edge Standard_EXPORT Standard_Real LastParameter() const; Standard_EXPORT FilletSurf_StatusType StartSectionStatus() const; @@ -114,7 +114,7 @@ public: Handle(Geom_TrimmedCurve)& Circ) const; protected: - //! This method calculates the elements of construction of the + //! This method calculates the elements of construction of the //! fillet (constant or evolutive). Standard_EXPORT virtual Standard_Boolean PerformSurf(ChFiDS_SequenceOfSurfData& SeqData, const Handle(ChFiDS_ElSpine)& Guide, diff --git a/src/ModelingAlgorithms/TKGeomAlgo/FairCurve/FairCurve_Batten.hxx b/src/ModelingAlgorithms/TKGeomAlgo/FairCurve/FairCurve_Batten.hxx index 1471c8ec57..ecd71dd639 100644 --- a/src/ModelingAlgorithms/TKGeomAlgo/FairCurve/FairCurve_Batten.hxx +++ b/src/ModelingAlgorithms/TKGeomAlgo/FairCurve/FairCurve_Batten.hxx @@ -40,7 +40,7 @@ class FairCurve_Batten public: DEFINE_STANDARD_ALLOC - //! Constructor with the two points and the geometrical + //! Constructor with the two points and the geometrical //! characteristics of the batten (elastic beam) //! Height is the height of the deformation, and Slope is the //! slope value, initialized at 0. The user can then supply the @@ -132,8 +132,8 @@ public: void SetAngle2(const Standard_Real Angle2); //! Allows you to change the height of the deformation. - //! Raises NegativeValue; -- if Height <= 0 - //! if Height <= 0 + //! Raises NegativeValue; -- if Height <= 0 + //! if Height <= 0 void SetHeight(const Standard_Real Height); //! Allows you to set the slope value, Slope. @@ -213,7 +213,7 @@ public: //! Prints on the stream o information on the current state //! of the object. //! - //! Private methodes -------------------------------------- + //! Private methodes -------------------------------------- Standard_EXPORT virtual void Dump(Standard_OStream& o) const; protected: @@ -225,8 +225,8 @@ protected: const Standard_Real A1, const Standard_Real A2) const; - //! Returns the effective geometrical constraints at the - //! last batten computation. This effectives values may + //! Returns the effective geometrical constraints at the + //! last batten computation. This effectives values may //! be not equal with the wanted values if //! - if the value is "free" //! - in the case of incomplete computation : collapse, diff --git a/src/ModelingAlgorithms/TKGeomAlgo/FairCurve/FairCurve_BattenLaw.hxx b/src/ModelingAlgorithms/TKGeomAlgo/FairCurve/FairCurve_BattenLaw.hxx index 214ce71682..2743f24c71 100644 --- a/src/ModelingAlgorithms/TKGeomAlgo/FairCurve/FairCurve_BattenLaw.hxx +++ b/src/ModelingAlgorithms/TKGeomAlgo/FairCurve/FairCurve_BattenLaw.hxx @@ -32,8 +32,8 @@ public: DEFINE_STANDARD_ALLOC //! Constructor of linear batten with - //! Heigth : the Heigth at the middle point - //! Slope : the geometric slope of the batten + //! Heigth : the Heigth at the middle point + //! Slope : the geometric slope of the batten //! Sliding : Active Length of the batten without extension Standard_EXPORT FairCurve_BattenLaw(const Standard_Real Heigth, const Standard_Real Slope, @@ -48,8 +48,8 @@ public: //! Change the value of the geometric slope. void SetSlope(const Standard_Real Slope); - //! computes the value of the heigth for the parameter T - //! on the neutral fibber + //! computes the value of the heigth for the parameter T + //! on the neutral fibber virtual Standard_Boolean Value(const Standard_Real T, Standard_Real& THeigth) Standard_OVERRIDE; protected: diff --git a/src/ModelingAlgorithms/TKGeomAlgo/FairCurve/FairCurve_Energy.hxx b/src/ModelingAlgorithms/TKGeomAlgo/FairCurve/FairCurve_Energy.hxx index eb5352bac0..26fad7c8db 100644 --- a/src/ModelingAlgorithms/TKGeomAlgo/FairCurve/FairCurve_Energy.hxx +++ b/src/ModelingAlgorithms/TKGeomAlgo/FairCurve/FairCurve_Energy.hxx @@ -60,9 +60,9 @@ public: Standard_Real& E, math_Vector& G) Standard_OVERRIDE; - //! computes the Energy , the gradient and the - //! Hessian of the energy for the variable . - //! Returns True if the computation was done + //! computes the Energy , the gradient and the + //! Hessian of the energy for the variable . + //! Returns True if the computation was done //! successfully, False otherwise. Standard_EXPORT virtual Standard_Boolean Values(const math_Vector& X, Standard_Real& E, @@ -72,7 +72,7 @@ public: //! compute the variables which correspond with the field Standard_EXPORT virtual Standard_Boolean Variable(math_Vector& X) const; - //! return the poles + //! return the poles const Handle(TColgp_HArray1OfPnt2d)& Poles() const; protected: @@ -94,7 +94,7 @@ protected: //! It is use internally to make the Hessian Matrix Standard_EXPORT void Hessian1(const math_Vector& TheVector, math_Matrix& H); - //! compute the poles which correspond with the variable X + //! compute the poles which correspond with the variable X Standard_EXPORT virtual void ComputePoles(const math_Vector& X); Standard_Integer Indice(const Standard_Integer i, const Standard_Integer j) const; diff --git a/src/ModelingAlgorithms/TKGeomAlgo/FairCurve/FairCurve_EnergyOfBatten.hxx b/src/ModelingAlgorithms/TKGeomAlgo/FairCurve/FairCurve_EnergyOfBatten.hxx index 62c900eebd..891e9ae09e 100644 --- a/src/ModelingAlgorithms/TKGeomAlgo/FairCurve/FairCurve_EnergyOfBatten.hxx +++ b/src/ModelingAlgorithms/TKGeomAlgo/FairCurve/FairCurve_EnergyOfBatten.hxx @@ -55,17 +55,17 @@ public: const Standard_Real Angle1 = 0, const Standard_Real Angle2 = 0); - //! return the lengthSliding = P1P2 + Sliding + //! return the lengthSliding = P1P2 + Sliding Standard_Real LengthSliding() const; - //! return the status + //! return the status FairCurve_AnalysisCode Status() const; //! compute the variables which correspond with the field Standard_EXPORT virtual Standard_Boolean Variable(math_Vector& X) const Standard_OVERRIDE; protected: - //! compute the poles which correspond with the variable X + //! compute the poles which correspond with the variable X Standard_EXPORT virtual void ComputePoles(const math_Vector& X) Standard_OVERRIDE; //! compute the energy in intermediate format diff --git a/src/ModelingAlgorithms/TKGeomAlgo/FairCurve/FairCurve_EnergyOfMVC.hxx b/src/ModelingAlgorithms/TKGeomAlgo/FairCurve/FairCurve_EnergyOfMVC.hxx index 6d790e8995..9e023290e8 100644 --- a/src/ModelingAlgorithms/TKGeomAlgo/FairCurve/FairCurve_EnergyOfMVC.hxx +++ b/src/ModelingAlgorithms/TKGeomAlgo/FairCurve/FairCurve_EnergyOfMVC.hxx @@ -58,10 +58,10 @@ public: const Standard_Real Curvature1 = 0, const Standard_Real Curvature2 = 0); - //! return the lengthSliding = P1P2 + Sliding + //! return the lengthSliding = P1P2 + Sliding Standard_Real LengthSliding() const; - //! return the status + //! return the status FairCurve_AnalysisCode Status() const; //! compute the variables which correspond with the field diff --git a/src/ModelingAlgorithms/TKGeomAlgo/FairCurve/FairCurve_MinimalVariation.hxx b/src/ModelingAlgorithms/TKGeomAlgo/FairCurve/FairCurve_MinimalVariation.hxx index f0603a267b..342157856f 100644 --- a/src/ModelingAlgorithms/TKGeomAlgo/FairCurve/FairCurve_MinimalVariation.hxx +++ b/src/ModelingAlgorithms/TKGeomAlgo/FairCurve/FairCurve_MinimalVariation.hxx @@ -38,7 +38,7 @@ class FairCurve_MinimalVariation : public FairCurve_Batten public: DEFINE_STANDARD_ALLOC - //! Constructs the two contact points P1 and P2 and the geometrical + //! Constructs the two contact points P1 and P2 and the geometrical //! characteristics of the batten (elastic beam) //! These include the real number values for height of //! deformation Height, slope value Slope, and kind of @@ -82,7 +82,7 @@ public: //! 0 is only "Jerk" Energy //! 1 is only "Sagging" Energy like batten //! Warning: if Ratio is 1 it is impossible to impose curvature constraints. - //! Raises DomainError if Ratio < 0 or Ratio > 1 + //! Raises DomainError if Ratio < 0 or Ratio > 1 void SetPhysicalRatio(const Standard_Real Ratio); //! Computes the curve with respect to the constraints, diff --git a/src/ModelingAlgorithms/TKGeomAlgo/GccAna/GccAna_Circ2d2TanRad.hxx b/src/ModelingAlgorithms/TKGeomAlgo/GccAna/GccAna_Circ2d2TanRad.hxx index 8ac299b1d6..3b795d2ad3 100644 --- a/src/ModelingAlgorithms/TKGeomAlgo/GccAna/GccAna_Circ2d2TanRad.hxx +++ b/src/ModelingAlgorithms/TKGeomAlgo/GccAna/GccAna_Circ2d2TanRad.hxx @@ -175,7 +175,7 @@ public: //! Returns True if the solution number Index is equal to //! the second argument. Raises OutOfRange if Index is greater than the number //! of solutions. - //! It raises NotDone if the construction algorithm did not succeed. + //! It raises NotDone if the construction algorithm did not succeed. Standard_EXPORT Standard_Boolean IsTheSame2(const Standard_Integer Index) const; protected: diff --git a/src/ModelingAlgorithms/TKGeomAlgo/GccAna/GccAna_Circ2dBisec.hxx b/src/ModelingAlgorithms/TKGeomAlgo/GccAna/GccAna_Circ2dBisec.hxx index 58b5b988d9..4ab46c8f5d 100644 --- a/src/ModelingAlgorithms/TKGeomAlgo/GccAna/GccAna_Circ2dBisec.hxx +++ b/src/ModelingAlgorithms/TKGeomAlgo/GccAna/GccAna_Circ2dBisec.hxx @@ -48,7 +48,7 @@ public: Standard_EXPORT Standard_Boolean IsDone() const; //! This method returns the number of solutions. - //! Raises NotDone if the construction algorithm didn't succeed. + //! Raises NotDone if the construction algorithm didn't succeed. Standard_EXPORT Standard_Integer NbSolutions() const; //! Returns the solution number Index diff --git a/src/ModelingAlgorithms/TKGeomAlgo/GccAna/GccAna_Circ2dTanOnRad.hxx b/src/ModelingAlgorithms/TKGeomAlgo/GccAna/GccAna_Circ2dTanOnRad.hxx index 62ce22ce4e..c58f3cfc09 100644 --- a/src/ModelingAlgorithms/TKGeomAlgo/GccAna/GccAna_Circ2dTanOnRad.hxx +++ b/src/ModelingAlgorithms/TKGeomAlgo/GccAna/GccAna_Circ2dTanOnRad.hxx @@ -138,7 +138,7 @@ public: //! Be careful: the Index is only a way to get all the //! solutions, but is not associated to these outside the //! context of the algorithm-object. - //! Raises NotDone if the construction algorithm didn't succeed. + //! Raises NotDone if the construction algorithm didn't succeed. //! It raises OutOfRange if Index is greater than the //! number of solutions Standard_EXPORT gp_Circ2d ThisSolution(const Standard_Integer Index) const; @@ -180,7 +180,7 @@ public: //! ParArg is the intrinsic parameter of the point on //! the argument curv. //! PntSol is the center point of the solution curv. - //! Raises NotDone if the construction algorithm didn't succeed. + //! Raises NotDone if the construction algorithm didn't succeed. //! It raises OutOfRange if Index is greater than the //! number of solutions. Standard_EXPORT void CenterOn3(const Standard_Integer Index, @@ -189,7 +189,7 @@ public: //! Returns True if the solution number Index is equal to //! the first argument and False in the other cases. - //! Raises NotDone if the construction algorithm didn't succeed. + //! Raises NotDone if the construction algorithm didn't succeed. //! It raises OutOfRange if Index is greater than the //! number of solutions. Standard_EXPORT Standard_Boolean IsTheSame1(const Standard_Integer Index) const; diff --git a/src/ModelingAlgorithms/TKGeomAlgo/GccAna/GccAna_Lin2dBisec.hxx b/src/ModelingAlgorithms/TKGeomAlgo/GccAna/GccAna_Lin2dBisec.hxx index 47bccefcf1..69b1fd062f 100644 --- a/src/ModelingAlgorithms/TKGeomAlgo/GccAna/GccAna_Lin2dBisec.hxx +++ b/src/ModelingAlgorithms/TKGeomAlgo/GccAna/GccAna_Lin2dBisec.hxx @@ -75,7 +75,7 @@ public: //! Returns information about the intersection point between //! the result number Index and the first argument. - //! Raises NotDone if the construction algorithm didn't succeed. + //! Raises NotDone if the construction algorithm didn't succeed. //! It raises OutOfRange if Index is greater than the //! number of solutions. Standard_EXPORT void Intersection1(const Standard_Integer Index, diff --git a/src/ModelingAlgorithms/TKGeomAlgo/GccAna/GccAna_Lin2dTanObl.hxx b/src/ModelingAlgorithms/TKGeomAlgo/GccAna/GccAna_Lin2dTanObl.hxx index 847e922f97..d0a46191e2 100644 --- a/src/ModelingAlgorithms/TKGeomAlgo/GccAna/GccAna_Lin2dTanObl.hxx +++ b/src/ModelingAlgorithms/TKGeomAlgo/GccAna/GccAna_Lin2dTanObl.hxx @@ -66,7 +66,7 @@ public: //! its numeric limits. Standard_EXPORT Standard_Boolean IsDone() const; - //! Returns the number of of lines, representing solutions computed by this algorithm. + //! Returns the number of lines, representing solutions computed by this algorithm. //! Raises NotDone if the construction algorithm didn't succeed. Standard_EXPORT Standard_Integer NbSolutions() const; @@ -75,7 +75,7 @@ public: //! solutions, but is not associated to these outside the //! context of the algorithm-object. //! raises NotDone if the construction algorithm didn't succeed. - //! It raises OutOfRange if Index is greater than the number of solutions. + //! It raises OutOfRange if Index is greater than the number of solutions. Standard_EXPORT gp_Lin2d ThisSolution(const Standard_Integer Index) const; //! Returns the qualifier Qualif1 of the tangency argument @@ -101,7 +101,7 @@ public: //! ParArg is the intrinsic parameter of the point ParArg on //! the argument curv. Raises NotDone if the construction algorithm //! didn't succeed. - //! It raises OutOfRange if Index is greater than the number of solutions. + //! It raises OutOfRange if Index is greater than the number of solutions. Standard_EXPORT void Tangency1(const Standard_Integer Index, Standard_Real& ParSol, Standard_Real& ParArg, @@ -109,7 +109,7 @@ public: //! Returns information about the intersection between the //! result number Index and the third argument. - //! Raises NotDone if the construction algorithm didn't succeed. + //! Raises NotDone if the construction algorithm didn't succeed. //! It raises OutOfRange if Index is greater than the number of solutions. Standard_EXPORT void Intersection2(const Standard_Integer Index, Standard_Real& ParSol, diff --git a/src/ModelingAlgorithms/TKGeomAlgo/GccAna/GccAna_Lin2dTanPar.hxx b/src/ModelingAlgorithms/TKGeomAlgo/GccAna/GccAna_Lin2dTanPar.hxx index 507d33e458..244cfcd7bb 100644 --- a/src/ModelingAlgorithms/TKGeomAlgo/GccAna/GccAna_Lin2dTanPar.hxx +++ b/src/ModelingAlgorithms/TKGeomAlgo/GccAna/GccAna_Lin2dTanPar.hxx @@ -63,7 +63,7 @@ public: Standard_EXPORT Standard_Boolean IsDone() const; //! Returns the number of solutions. - //! Raises NotDone if the construction algorithm didn't succeed. + //! Raises NotDone if the construction algorithm didn't succeed. Standard_EXPORT Standard_Integer NbSolutions() const; //! Returns the solution number Index and raises OutOfRange diff --git a/src/ModelingAlgorithms/TKGeomAlgo/GccEnt/GccEnt_QualifiedCirc.hxx b/src/ModelingAlgorithms/TKGeomAlgo/GccEnt/GccEnt_QualifiedCirc.hxx index c5f13751a0..d8caaa5dc4 100644 --- a/src/ModelingAlgorithms/TKGeomAlgo/GccEnt/GccEnt_QualifiedCirc.hxx +++ b/src/ModelingAlgorithms/TKGeomAlgo/GccEnt/GccEnt_QualifiedCirc.hxx @@ -31,7 +31,7 @@ //! construction algorithm using the qualified circle (as an argument): //! - encloses the circle, or //! - is enclosed by the circle, or -//! - is built so that both the circle and it are external to one another, or +//! - is built so that both the circle and it are external to one another, or //! - is undefined (all solutions apply). class GccEnt_QualifiedCirc { diff --git a/src/ModelingAlgorithms/TKGeomAlgo/Geom2dAPI/Geom2dAPI_InterCurveCurve.hxx b/src/ModelingAlgorithms/TKGeomAlgo/Geom2dAPI/Geom2dAPI_InterCurveCurve.hxx index 7e1a097f46..a5689e5ff1 100644 --- a/src/ModelingAlgorithms/TKGeomAlgo/Geom2dAPI/Geom2dAPI_InterCurveCurve.hxx +++ b/src/ModelingAlgorithms/TKGeomAlgo/Geom2dAPI/Geom2dAPI_InterCurveCurve.hxx @@ -27,10 +27,10 @@ class Geom2d_Curve; class gp_Pnt2d; //! This class implements methods for computing -//! - the intersections between two 2D curves, -//! - the self-intersections of a 2D curve. +//! - the intersections between two 2D curves, +//! - the self-intersections of a 2D curve. //! Using the InterCurveCurve algorithm allows to get the following results: -//! - intersection points in the case of cross intersections, +//! - intersection points in the case of cross intersections, //! - intersection segments in the case of tangential intersections, //! - nothing in the case of no intersections. class Geom2dAPI_InterCurveCurve diff --git a/src/ModelingAlgorithms/TKGeomAlgo/Geom2dAPI/Geom2dAPI_Interpolate.hxx b/src/ModelingAlgorithms/TKGeomAlgo/Geom2dAPI/Geom2dAPI_Interpolate.hxx index 353d99bebb..e2018c6d99 100644 --- a/src/ModelingAlgorithms/TKGeomAlgo/Geom2dAPI/Geom2dAPI_Interpolate.hxx +++ b/src/ModelingAlgorithms/TKGeomAlgo/Geom2dAPI/Geom2dAPI_Interpolate.hxx @@ -29,11 +29,11 @@ class Geom2d_BSplineCurve; class gp_Vec2d; -//! This class is used to interpolate a BsplineCurve -//! passing through an array of points, with a C2 +//! This class is used to interpolate a BsplineCurve +//! passing through an array of points, with a C2 //! Continuity if tangency is not requested at the point. //! If tangency is requested at the point the continuity will -//! be C1. If Perodicity is requested the curve will be closed +//! be C1. If Perodicity is requested the curve will be closed //! and the junction will be the first point given. The curve will than be only C1 //! The curve is defined by a table of points through which it passes, and if required //! by a parallel table of reals which gives the value of the parameter of each point through @@ -98,7 +98,7 @@ public: //! computation is successful, and then the function Curve to obtain the result. Standard_EXPORT void Perform(); - //! Returns the computed BSpline curve. Raises StdFail_NotDone if the interpolation fails. + //! Returns the computed BSpline curve. Raises StdFail_NotDone if the interpolation fails. Standard_EXPORT const Handle(Geom2d_BSplineCurve)& Curve() const; Standard_EXPORT operator Handle(Geom2d_BSplineCurve)() const; diff --git a/src/ModelingAlgorithms/TKGeomAlgo/Geom2dAPI/Geom2dAPI_PointsToBSpline.hxx b/src/ModelingAlgorithms/TKGeomAlgo/Geom2dAPI/Geom2dAPI_PointsToBSpline.hxx index 70c9667aae..fe94f30a90 100644 --- a/src/ModelingAlgorithms/TKGeomAlgo/Geom2dAPI/Geom2dAPI_PointsToBSpline.hxx +++ b/src/ModelingAlgorithms/TKGeomAlgo/Geom2dAPI/Geom2dAPI_PointsToBSpline.hxx @@ -28,8 +28,8 @@ #include class Geom2d_BSplineCurve; -//! This class is used to approximate a BsplineCurve -//! passing through an array of points, with a given +//! This class is used to approximate a BsplineCurve +//! passing through an array of points, with a given //! Continuity. //! Describes functions for building a 2D BSpline //! curve which approximates a set of points. @@ -46,11 +46,11 @@ public: //! Use an Init function to define and build the BSpline curve. Standard_EXPORT Geom2dAPI_PointsToBSpline(); - //! Approximate a BSpline Curve passing through an - //! array of Point. The resulting BSpline will have + //! Approximate a BSpline Curve passing through an + //! array of Point. The resulting BSpline will have //! the following properties: //! 1- his degree will be in the range [Degmin,Degmax] - //! 2- his continuity will be at least + //! 2- his continuity will be at least //! 3- the distance from the point to the //! BSpline will be lower to Tol2D Standard_EXPORT Geom2dAPI_PointsToBSpline(const TColgp_Array1OfPnt2d& Points, @@ -59,23 +59,23 @@ public: const GeomAbs_Shape Continuity = GeomAbs_C2, const Standard_Real Tol2D = 1.0e-6); - //! Approximate a BSpline Curve passing through an - //! array of Point. Of coordinates : + //! Approximate a BSpline Curve passing through an + //! array of Point. Of coordinates : //! //! X = X0 + DX * (i-YValues.Lower()) //! Y = YValues(i) //! //! With i in the range YValues.Lower(), YValues.Upper() //! - //! The BSpline will be parametrized from t = X0 to + //! The BSpline will be parametrized from t = X0 to //! X0 + DX * (YValues.Upper() - YValues.Lower()) //! //! And will satisfy X(t) = t //! - //! The resulting BSpline will have + //! The resulting BSpline will have //! the following properties: //! 1- his degree will be in the range [Degmin,Degmax] - //! 2- his continuity will be at least + //! 2- his continuity will be at least //! 3- the distance from the point to the //! BSpline will be lower to Tol2D Standard_EXPORT Geom2dAPI_PointsToBSpline(const TColStd_Array1OfReal& YValues, @@ -86,11 +86,11 @@ public: const GeomAbs_Shape Continuity = GeomAbs_C2, const Standard_Real Tol2D = 1.0e-6); - //! Approximate a BSpline Curve passing through an - //! array of Point. The resulting BSpline will have + //! Approximate a BSpline Curve passing through an + //! array of Point. The resulting BSpline will have //! the following properties: //! 1- his degree will be in the range [Degmin,Degmax] - //! 2- his continuity will be at least + //! 2- his continuity will be at least //! 3- the distance from the point to the //! BSpline will be lower to Tol2D Standard_EXPORT Geom2dAPI_PointsToBSpline(const TColgp_Array1OfPnt2d& Points, @@ -100,13 +100,13 @@ public: const GeomAbs_Shape Continuity = GeomAbs_C2, const Standard_Real Tol2D = 1.0e-3); - //! Approximate a BSpline Curve passing through an - //! array of Point, which parameters are given by the + //! Approximate a BSpline Curve passing through an + //! array of Point, which parameters are given by the //! array . - //! The resulting BSpline will have the following + //! The resulting BSpline will have the following //! properties: //! 1- his degree will be in the range [Degmin,Degmax] - //! 2- his continuity will be at least + //! 2- his continuity will be at least //! 3- the distance from the point to the //! BSpline will be lower to Tol2D Standard_EXPORT Geom2dAPI_PointsToBSpline(const TColgp_Array1OfPnt2d& Points, @@ -116,7 +116,7 @@ public: const GeomAbs_Shape Continuity = GeomAbs_C2, const Standard_Real Tol2D = 1.0e-3); - //! Approximate a BSpline Curve passing through an + //! Approximate a BSpline Curve passing through an //! array of Point using variational smoothing algorithm, //! which tries to minimize additional criterium: //! Weight1*CurveLength + Weight2*Curvature + Weight3*Torsion @@ -128,11 +128,11 @@ public: const GeomAbs_Shape Continuity = GeomAbs_C2, const Standard_Real Tol3D = 1.0e-3); - //! Approximate a BSpline Curve passing through an - //! array of Point. The resulting BSpline will have + //! Approximate a BSpline Curve passing through an + //! array of Point. The resulting BSpline will have //! the following properties: //! 1- his degree will be in the range [Degmin,Degmax] - //! 2- his continuity will be at least + //! 2- his continuity will be at least //! 3- the distance from the point to the //! BSpline will be lower to Tol2D Standard_EXPORT void Init(const TColgp_Array1OfPnt2d& Points, @@ -141,23 +141,23 @@ public: const GeomAbs_Shape Continuity = GeomAbs_C2, const Standard_Real Tol2D = 1.0e-6); - //! Approximate a BSpline Curve passing through an - //! array of Point. Of coordinates : + //! Approximate a BSpline Curve passing through an + //! array of Point. Of coordinates : //! //! X = X0 + DX * (i-YValues.Lower()) //! Y = YValues(i) //! //! With i in the range YValues.Lower(), YValues.Upper() //! - //! The BSpline will be parametrized from t = X0 to + //! The BSpline will be parametrized from t = X0 to //! X0 + DX * (YValues.Upper() - YValues.Lower()) //! //! And will satisfy X(t) = t //! - //! The resulting BSpline will have + //! The resulting BSpline will have //! the following properties: //! 1- his degree will be in the range [Degmin,Degmax] - //! 2- his continuity will be at least + //! 2- his continuity will be at least //! 3- the distance from the point to the //! BSpline will be lower to Tol2D Standard_EXPORT void Init(const TColStd_Array1OfReal& YValues, @@ -168,11 +168,11 @@ public: const GeomAbs_Shape Continuity = GeomAbs_C2, const Standard_Real Tol2D = 1.0e-6); - //! Approximate a BSpline Curve passing through an - //! array of Point. The resulting BSpline will have + //! Approximate a BSpline Curve passing through an + //! array of Point. The resulting BSpline will have //! the following properties: //! 1- his degree will be in the range [Degmin,Degmax] - //! 2- his continuity will be at least + //! 2- his continuity will be at least //! 3- the distance from the point to the //! BSpline will be lower to Tol2D Standard_EXPORT void Init(const TColgp_Array1OfPnt2d& Points, @@ -182,13 +182,13 @@ public: const GeomAbs_Shape Continuity = GeomAbs_C2, const Standard_Real Tol2D = 1.0e-3); - //! Approximate a BSpline Curve passing through an - //! array of Point, which parameters are given by the + //! Approximate a BSpline Curve passing through an + //! array of Point, which parameters are given by the //! array . - //! The resulting BSpline will have the following + //! The resulting BSpline will have the following //! properties: //! 1- his degree will be in the range [Degmin,Degmax] - //! 2- his continuity will be at least + //! 2- his continuity will be at least //! 3- the distance from the point to the //! BSpline will be lower to Tol2D Standard_EXPORT void Init(const TColgp_Array1OfPnt2d& Points, @@ -198,7 +198,7 @@ public: const GeomAbs_Shape Continuity = GeomAbs_C2, const Standard_Real Tol2D = 1.0e-3); - //! Approximate a BSpline Curve passing through an + //! Approximate a BSpline Curve passing through an //! array of Point using variational smoothing algorithm, //! which tries to minimize additional criterium: //! Weight1*CurveLength + Weight2*Curvature + Weight3*Torsion diff --git a/src/ModelingAlgorithms/TKGeomAlgo/Geom2dAPI/Geom2dAPI_ProjectPointOnCurve.hxx b/src/ModelingAlgorithms/TKGeomAlgo/Geom2dAPI/Geom2dAPI_ProjectPointOnCurve.hxx index c118c0ae08..48b7a3bd47 100644 --- a/src/ModelingAlgorithms/TKGeomAlgo/Geom2dAPI/Geom2dAPI_ProjectPointOnCurve.hxx +++ b/src/ModelingAlgorithms/TKGeomAlgo/Geom2dAPI/Geom2dAPI_ProjectPointOnCurve.hxx @@ -38,13 +38,13 @@ public: //! function to define the point and the curve on which it is going to work. Standard_EXPORT Geom2dAPI_ProjectPointOnCurve(); - //! Create the projection of a point

on a curve + //! Create the projection of a point

on a curve //! Standard_EXPORT Geom2dAPI_ProjectPointOnCurve(const gp_Pnt2d& P, const Handle(Geom2d_Curve)& Curve); - //! Create the projection of a point

on a curve - //! limited by the two points of parameter Umin and Usup. + //! Create the projection of a point

on a curve + //! limited by the two points of parameter Umin and Usup. //! Warning //! Use the function NbPoints to obtain the number of solutions. If //! projection fails, NbPoints returns 0. @@ -54,7 +54,7 @@ public: const Standard_Real Usup); //! Initializes this algorithm with the given arguments, and - //! computes the orthogonal projections of a point

on a curve + //! computes the orthogonal projections of a point

on a curve Standard_EXPORT void Init(const gp_Pnt2d& P, const Handle(Geom2d_Curve)& Curve); //! Initializes this algorithm with the given arguments, and diff --git a/src/ModelingAlgorithms/TKGeomAlgo/Geom2dGcc/Geom2dGcc_Circ2d2TanRad.hxx b/src/ModelingAlgorithms/TKGeomAlgo/Geom2dGcc/Geom2dGcc_Circ2d2TanRad.hxx index eff77012d6..d06e7e2348 100644 --- a/src/ModelingAlgorithms/TKGeomAlgo/Geom2dGcc/Geom2dGcc_Circ2d2TanRad.hxx +++ b/src/ModelingAlgorithms/TKGeomAlgo/Geom2dGcc/Geom2dGcc_Circ2d2TanRad.hxx @@ -72,7 +72,7 @@ public: const Standard_Real Tolerance); //! These constructors create one or more 2D circles of radius Radius either - //! - tangential to the 2 curves Qualified1 and Qualified2, or + //! - tangential to the 2 curves Qualified1 and Qualified2, or //! - tangential to the curve Qualified1 and passing through the point Point, or //! - passing through two points Point1 and Point2. //! Tolerance is a tolerance criterion used by the algorithm diff --git a/src/ModelingAlgorithms/TKGeomAlgo/Geom2dGcc/Geom2dGcc_Lin2d2Tan.hxx b/src/ModelingAlgorithms/TKGeomAlgo/Geom2dGcc/Geom2dGcc_Lin2d2Tan.hxx index 77e0bcaf2f..63148e9da0 100644 --- a/src/ModelingAlgorithms/TKGeomAlgo/Geom2dGcc/Geom2dGcc_Lin2d2Tan.hxx +++ b/src/ModelingAlgorithms/TKGeomAlgo/Geom2dGcc/Geom2dGcc_Lin2d2Tan.hxx @@ -117,7 +117,7 @@ public: //! - those computed during construction (i.e. enclosing or //! outside) when the solutions are defined as unqualified //! with respect to the arguments, or - //! - GccEnt_noqualifier if the tangency argument is a point. + //! - GccEnt_noqualifier if the tangency argument is a point. //! Exceptions //! Standard_OutOfRange if Index is less than zero or //! greater than the number of solutions computed by this algorithm. diff --git a/src/ModelingAlgorithms/TKGeomAlgo/Geom2dHatch/Geom2dHatch_FClass2dOfClassifier.hxx b/src/ModelingAlgorithms/TKGeomAlgo/Geom2dHatch/Geom2dHatch_FClass2dOfClassifier.hxx index d3cc4a0ee2..9b51bc162a 100644 --- a/src/ModelingAlgorithms/TKGeomAlgo/Geom2dHatch/Geom2dHatch_FClass2dOfClassifier.hxx +++ b/src/ModelingAlgorithms/TKGeomAlgo/Geom2dHatch/Geom2dHatch_FClass2dOfClassifier.hxx @@ -39,14 +39,14 @@ public: //! Creates an undefined classifier. Standard_EXPORT Geom2dHatch_FClass2dOfClassifier(); - //! Starts a classification process. The point to - //! classify is the origin of the line .

is - //! the original length of the segment on used to - //! compute intersections. is the tolerance + //! Starts a classification process. The point to + //! classify is the origin of the line .

is + //! the original length of the segment on used to + //! compute intersections. is the tolerance //! attached to the line segment in intersections. Standard_EXPORT void Reset(const gp_Lin2d& L, const Standard_Real P, const Standard_Real Tol); - //! Updates the classification process with the edge + //! Updates the classification process with the edge //! from the boundary. Standard_EXPORT void Compare(const Geom2dAdaptor_Curve& E, const TopAbs_Orientation Or); @@ -56,9 +56,9 @@ public: //! Returns the intersecting algorithm. Geom2dHatch_Intersector& Intersector(); - //! Returns 0 if the last compared edge had no - //! relevant intersection. Else returns the index of - //! this intersection in the last intersection + //! Returns 0 if the last compared edge had no + //! relevant intersection. Else returns the index of + //! this intersection in the last intersection //! algorithm. Standard_Integer ClosestIntersection() const; diff --git a/src/ModelingAlgorithms/TKGeomAlgo/Geom2dHatch/Geom2dHatch_Intersector.hxx b/src/ModelingAlgorithms/TKGeomAlgo/Geom2dHatch/Geom2dHatch_Intersector.hxx index 9eaf22ac5c..d97ccafb25 100644 --- a/src/ModelingAlgorithms/TKGeomAlgo/Geom2dHatch/Geom2dHatch_Intersector.hxx +++ b/src/ModelingAlgorithms/TKGeomAlgo/Geom2dHatch/Geom2dHatch_Intersector.hxx @@ -55,20 +55,20 @@ public: Standard_EXPORT Geom2dHatch_Intersector(); - //! Performs the intersection between the 2d line - //! segment (,

) and the Curve . The line - //! segment is the part of the 2d line of + //! Performs the intersection between the 2d line + //! segment (,

) and the Curve . The line + //! segment is the part of the 2d line of //! parameter range [0,

] (P is positive and can be - //! RealLast()). Tol is the Tolerance on the segment. - //! The order is relevant, the first argument is the + //! RealLast()). Tol is the Tolerance on the segment. + //! The order is relevant, the first argument is the //! segment, the second the Edge. Standard_EXPORT void Perform(const gp_Lin2d& L, const Standard_Real P, const Standard_Real Tol, const Geom2dAdaptor_Curve& E); - //! Returns in , and the tangent, normal - //! and curvature of the edge at parameter value + //! Returns in , and the tangent, normal + //! and curvature of the edge at parameter value //! . Standard_EXPORT void LocalGeometry(const Geom2dAdaptor_Curve& E, const Standard_Real U, diff --git a/src/ModelingAlgorithms/TKGeomAlgo/Geom2dInt/Geom2dInt_TheIntPCurvePCurveOfGInter.hxx b/src/ModelingAlgorithms/TKGeomAlgo/Geom2dInt/Geom2dInt_TheIntPCurvePCurveOfGInter.hxx index 5864c86065..0355a033f1 100644 --- a/src/ModelingAlgorithms/TKGeomAlgo/Geom2dInt/Geom2dInt_TheIntPCurvePCurveOfGInter.hxx +++ b/src/ModelingAlgorithms/TKGeomAlgo/Geom2dInt/Geom2dInt_TheIntPCurvePCurveOfGInter.hxx @@ -75,7 +75,7 @@ protected: private: //! Method to find intersection between two curves - //! : returns false for case when some points of polygon + //! : returns false for case when some points of polygon //! : were replaced on line and exact point of intersection was not found //! : for case when point of intersection was found //! : during prelimanary search for line (case of bad parameterization of Bspline for example). diff --git a/src/ModelingAlgorithms/TKGeomAlgo/Geom2dInt/Geom2dInt_ThePolygon2dOfTheIntPCurvePCurveOfGInter.hxx b/src/ModelingAlgorithms/TKGeomAlgo/Geom2dInt/Geom2dInt_ThePolygon2dOfTheIntPCurvePCurveOfGInter.hxx index 177d83c596..d8202a32d8 100644 --- a/src/ModelingAlgorithms/TKGeomAlgo/Geom2dInt/Geom2dInt_ThePolygon2dOfTheIntPCurvePCurveOfGInter.hxx +++ b/src/ModelingAlgorithms/TKGeomAlgo/Geom2dInt/Geom2dInt_ThePolygon2dOfTheIntPCurvePCurveOfGInter.hxx @@ -45,8 +45,8 @@ public: const Standard_Real Tol); //! The current polygon is modified if most - //! of the points of the polygon are - //! outside the box . In this + //! of the points of the polygon are + //! outside the box . In this //! situation, bounds are computed to build //! a polygon inside or near the OtherBox. Standard_EXPORT void ComputeWithBox(const Adaptor2d_Curve2d& Curve, const Bnd_Box2d& OtherBox); diff --git a/src/ModelingAlgorithms/TKGeomAlgo/GeomAPI/GeomAPI.hxx b/src/ModelingAlgorithms/TKGeomAlgo/GeomAPI/GeomAPI.hxx index aa08a88c8a..d01990640a 100644 --- a/src/ModelingAlgorithms/TKGeomAlgo/GeomAPI/GeomAPI.hxx +++ b/src/ModelingAlgorithms/TKGeomAlgo/GeomAPI/GeomAPI.hxx @@ -26,29 +26,29 @@ class gp_Pln; -//! The GeomAPI package provides an Application +//! The GeomAPI package provides an Application //! Programming Interface for the Geometry. //! -//! The API is a set of classes and methods aiming to +//! The API is a set of classes and methods aiming to //! provide : //! -//! * High level and simple calls for the most common +//! * High level and simple calls for the most common //! operations. //! -//! * Keeping an access on the low-level +//! * Keeping an access on the low-level //! implementation of high-level calls. //! -//! The API provides classes to call the algorithms +//! The API provides classes to call the algorithms //! of the Geometry //! -//! * The constructors of the classes provides the +//! * The constructors of the classes provides the //! different constructions methods. //! -//! * The class keeps as fields the different tools +//! * The class keeps as fields the different tools //! used by the algorithms //! -//! * The class provides a casting method to get -//! automatically the result with a function-like +//! * The class provides a casting method to get +//! automatically the result with a function-like //! call. //! //! For example to evaluate the distance between a diff --git a/src/ModelingAlgorithms/TKGeomAlgo/GeomAPI/GeomAPI_ExtremaCurveCurve.hxx b/src/ModelingAlgorithms/TKGeomAlgo/GeomAPI/GeomAPI_ExtremaCurveCurve.hxx index fc8ecd53c2..445ad580ce 100644 --- a/src/ModelingAlgorithms/TKGeomAlgo/GeomAPI/GeomAPI_ExtremaCurveCurve.hxx +++ b/src/ModelingAlgorithms/TKGeomAlgo/GeomAPI/GeomAPI_ExtremaCurveCurve.hxx @@ -63,7 +63,7 @@ public: Standard_EXPORT GeomAPI_ExtremaCurveCurve(const Handle(Geom_Curve)& C1, const Handle(Geom_Curve)& C2); - //! Computes the portion of the curve C1 limited by the two + //! Computes the portion of the curve C1 limited by the two //! points of parameter (U1min,U1max), and //! - the portion of the curve C2 limited by the two //! points of parameter (U2min,U2max). @@ -154,18 +154,18 @@ public: //! return the algorithmic object from Extrema const Extrema_ExtCC& Extrema() const; - //! set in and the couple solution points - //! such a the distance [P1,P2] is the minimum. taking in account - //! extremity points of curves. + //! set in and the couple solution points + //! such a the distance [P1,P2] is the minimum. taking in account + //! extremity points of curves. Standard_EXPORT Standard_Boolean TotalNearestPoints(gp_Pnt& P1, gp_Pnt& P2); - //! set in and the parameters of the couple - //! solution points which represents the total nearest + //! set in and the parameters of the couple + //! solution points which represents the total nearest //! solution. Standard_EXPORT Standard_Boolean TotalLowerDistanceParameters(Standard_Real& U1, Standard_Real& U2); - //! return the distance of the total nearest couple solution + //! return the distance of the total nearest couple solution //! point. //! if is not done Standard_EXPORT Standard_Real TotalLowerDistance(); diff --git a/src/ModelingAlgorithms/TKGeomAlgo/GeomAPI/GeomAPI_ExtremaCurveSurface.hxx b/src/ModelingAlgorithms/TKGeomAlgo/GeomAPI/GeomAPI_ExtremaCurveSurface.hxx index 184c4e0751..ee7cb75a56 100644 --- a/src/ModelingAlgorithms/TKGeomAlgo/GeomAPI/GeomAPI_ExtremaCurveSurface.hxx +++ b/src/ModelingAlgorithms/TKGeomAlgo/GeomAPI/GeomAPI_ExtremaCurveSurface.hxx @@ -62,15 +62,15 @@ public: //! which it is going to work. Standard_EXPORT GeomAPI_ExtremaCurveSurface(); - //! Computes the extrema distances between the - //! curve and the surface . + //! Computes the extrema distances between the + //! curve and the surface . Standard_EXPORT GeomAPI_ExtremaCurveSurface(const Handle(Geom_Curve)& Curve, const Handle(Geom_Surface)& Surface); - //! Computes the extrema distances between the - //! curve and the surface . The solution + //! Computes the extrema distances between the + //! curve and the surface . The solution //! point are computed in the domain [Wmin,Wmax] of - //! the curve and in the domain [Umin,Umax] + //! the curve and in the domain [Umin,Umax] //! [Vmin,Vmax] of the surface. //! Warning //! Use the function NbExtrema to obtain the number @@ -84,14 +84,14 @@ public: const Standard_Real Vmin, const Standard_Real Vmax); - //! Computes the extrema distances between the - //! curve and the surface . + //! Computes the extrema distances between the + //! curve and the surface . Standard_EXPORT void Init(const Handle(Geom_Curve)& Curve, const Handle(Geom_Surface)& Surface); - //! Computes the extrema distances between the - //! curve and the surface . The solution + //! Computes the extrema distances between the + //! curve and the surface . The solution //! point are computed in the domain [Wmin,Wmax] of - //! the curve and in the domain [Umin,Umax] + //! the curve and in the domain [Umin,Umax] //! [Vmin,Vmax] of the surface. //! Warning //! Use the function NbExtrema to obtain the number diff --git a/src/ModelingAlgorithms/TKGeomAlgo/GeomAPI/GeomAPI_ExtremaSurfaceSurface.hxx b/src/ModelingAlgorithms/TKGeomAlgo/GeomAPI/GeomAPI_ExtremaSurfaceSurface.hxx index 060e82ad8f..efc7bb7505 100644 --- a/src/ModelingAlgorithms/TKGeomAlgo/GeomAPI/GeomAPI_ExtremaSurfaceSurface.hxx +++ b/src/ModelingAlgorithms/TKGeomAlgo/GeomAPI/GeomAPI_ExtremaSurfaceSurface.hxx @@ -56,12 +56,12 @@ public: //! to define the surfaces on which it is going to work. Standard_EXPORT GeomAPI_ExtremaSurfaceSurface(); - //! Computes the extrema distances between the - //! surfaces and + //! Computes the extrema distances between the + //! surfaces and Standard_EXPORT GeomAPI_ExtremaSurfaceSurface(const Handle(Geom_Surface)& S1, const Handle(Geom_Surface)& S2); - //! Computes the extrema distances between + //! Computes the extrema distances between //! the portion of the surface S1 limited by the //! two values of parameter (U1min,U1max) in //! the u parametric direction, and by the two @@ -84,12 +84,12 @@ public: const Standard_Real V2max); //! Initializes this algorithm with the given arguments - //! and computes the extrema distances between the - //! surfaces and + //! and computes the extrema distances between the + //! surfaces and Standard_EXPORT void Init(const Handle(Geom_Surface)& S1, const Handle(Geom_Surface)& S2); //! Initializes this algorithm with the given arguments - //! and computes the extrema distances between - + //! and computes the extrema distances between - //! the portion of the surface S1 limited by the two //! values of parameter (U1min,U1max) in the u //! parametric direction, and by the two values of diff --git a/src/ModelingAlgorithms/TKGeomAlgo/GeomAPI/GeomAPI_IntCS.hxx b/src/ModelingAlgorithms/TKGeomAlgo/GeomAPI/GeomAPI_IntCS.hxx index 991c77684f..41dde79e20 100644 --- a/src/ModelingAlgorithms/TKGeomAlgo/GeomAPI/GeomAPI_IntCS.hxx +++ b/src/ModelingAlgorithms/TKGeomAlgo/GeomAPI/GeomAPI_IntCS.hxx @@ -28,7 +28,7 @@ class Geom_Surface; class gp_Pnt; //! This class implements methods for -//! computing intersection points and segments between a +//! computing intersection points and segments between a class GeomAPI_IntCS { public: diff --git a/src/ModelingAlgorithms/TKGeomAlgo/GeomAPI/GeomAPI_IntSS.hxx b/src/ModelingAlgorithms/TKGeomAlgo/GeomAPI/GeomAPI_IntSS.hxx index a26f718356..6305fe6b38 100644 --- a/src/ModelingAlgorithms/TKGeomAlgo/GeomAPI/GeomAPI_IntSS.hxx +++ b/src/ModelingAlgorithms/TKGeomAlgo/GeomAPI/GeomAPI_IntSS.hxx @@ -29,10 +29,10 @@ class Geom_Surface; class Geom_Curve; //! This class implements methods for -//! computing the intersection curves between two surfaces. -//! The result is curves from Geom. The "domain" used for -//! a surface is the natural parametric domain -//! unless the surface is a RectangularTrimmedSurface +//! computing the intersection curves between two surfaces. +//! The result is curves from Geom. The "domain" used for +//! a surface is the natural parametric domain +//! unless the surface is a RectangularTrimmedSurface //! from Geom. class GeomAPI_IntSS { diff --git a/src/ModelingAlgorithms/TKGeomAlgo/GeomAPI/GeomAPI_Interpolate.hxx b/src/ModelingAlgorithms/TKGeomAlgo/GeomAPI/GeomAPI_Interpolate.hxx index e901a89a9d..89da4fff7d 100644 --- a/src/ModelingAlgorithms/TKGeomAlgo/GeomAPI/GeomAPI_Interpolate.hxx +++ b/src/ModelingAlgorithms/TKGeomAlgo/GeomAPI/GeomAPI_Interpolate.hxx @@ -29,11 +29,11 @@ class gp_Vec; -//! This class is used to interpolate a BsplineCurve -//! passing through an array of points, with a C2 +//! This class is used to interpolate a BsplineCurve +//! passing through an array of points, with a C2 //! Continuity if tangency is not requested at the point. //! If tangency is requested at the point the continuity will -//! be C1. If Perodicity is requested the curve will be closed +//! be C1. If Perodicity is requested the curve will be closed //! and the junction will be the first point given. The curve //! will than be only C1 //! Describes functions for building a constrained 3D BSpline curve. @@ -53,7 +53,7 @@ public: DEFINE_STANDARD_ALLOC //! Initializes an algorithm for constructing a - //! constrained BSpline curve passing through the points of the table Points. + //! constrained BSpline curve passing through the points of the table Points. //! Tangential vectors can then be assigned, using the function Load. //! If PeriodicFlag is true, the constrained BSpline //! curve will be periodic and closed. In this case, diff --git a/src/ModelingAlgorithms/TKGeomAlgo/GeomAPI/GeomAPI_PointsToBSpline.hxx b/src/ModelingAlgorithms/TKGeomAlgo/GeomAPI/GeomAPI_PointsToBSpline.hxx index 4ae4678fa6..63ffbb7397 100644 --- a/src/ModelingAlgorithms/TKGeomAlgo/GeomAPI/GeomAPI_PointsToBSpline.hxx +++ b/src/ModelingAlgorithms/TKGeomAlgo/GeomAPI/GeomAPI_PointsToBSpline.hxx @@ -28,8 +28,8 @@ #include class Geom_BSplineCurve; -//! This class is used to approximate a BsplineCurve -//! passing through an array of points, with a given Continuity. +//! This class is used to approximate a BsplineCurve +//! passing through an array of points, with a given Continuity. //! Describes functions for building a 3D BSpline //! curve which approximates a set of points. //! A PointsToBSpline object provides a framework for: @@ -44,11 +44,11 @@ public: //! Use an Init function to define and build the BSpline curve. Standard_EXPORT GeomAPI_PointsToBSpline(); - //! Approximate a BSpline Curve passing through an - //! array of Point. The resulting BSpline will have + //! Approximate a BSpline Curve passing through an + //! array of Point. The resulting BSpline will have //! the following properties: //! 1- his degree will be in the range [Degmin,Degmax] - //! 2- his continuity will be at least + //! 2- his continuity will be at least //! 3- the distance from the point to the //! BSpline will be lower to Tol3D Standard_EXPORT GeomAPI_PointsToBSpline(const TColgp_Array1OfPnt& Points, @@ -57,11 +57,11 @@ public: const GeomAbs_Shape Continuity = GeomAbs_C2, const Standard_Real Tol3D = 1.0e-3); - //! Approximate a BSpline Curve passing through an - //! array of Point. The resulting BSpline will have + //! Approximate a BSpline Curve passing through an + //! array of Point. The resulting BSpline will have //! the following properties: //! 1- his degree will be in the range [Degmin,Degmax] - //! 2- his continuity will be at least + //! 2- his continuity will be at least //! 3- the distance from the point to the //! BSpline will be lower to Tol3D Standard_EXPORT GeomAPI_PointsToBSpline(const TColgp_Array1OfPnt& Points, @@ -71,13 +71,13 @@ public: const GeomAbs_Shape Continuity = GeomAbs_C2, const Standard_Real Tol3D = 1.0e-3); - //! Approximate a BSpline Curve passing through an - //! array of Point, which parameters are given by the + //! Approximate a BSpline Curve passing through an + //! array of Point, which parameters are given by the //! array . - //! The resulting BSpline will have the following + //! The resulting BSpline will have the following //! properties: //! 1- his degree will be in the range [Degmin,Degmax] - //! 2- his continuity will be at least + //! 2- his continuity will be at least //! 3- the distance from the point to the //! BSpline will be lower to Tol3D Standard_EXPORT GeomAPI_PointsToBSpline(const TColgp_Array1OfPnt& Points, @@ -87,7 +87,7 @@ public: const GeomAbs_Shape Continuity = GeomAbs_C2, const Standard_Real Tol3D = 1.0e-3); - //! Approximate a BSpline Curve passing through an + //! Approximate a BSpline Curve passing through an //! array of Point using variational smoothing algorithm, //! which tries to minimize additional criterium: //! Weight1*CurveLength + Weight2*Curvature + Weight3*Torsion @@ -99,11 +99,11 @@ public: const GeomAbs_Shape Continuity = GeomAbs_C2, const Standard_Real Tol3D = 1.0e-3); - //! Approximate a BSpline Curve passing through an - //! array of Point. The resulting BSpline will have + //! Approximate a BSpline Curve passing through an + //! array of Point. The resulting BSpline will have //! the following properties: //! 1- his degree will be in the range [Degmin,Degmax] - //! 2- his continuity will be at least + //! 2- his continuity will be at least //! 3- the distance from the point to the //! BSpline will be lower to Tol3D Standard_EXPORT void Init(const TColgp_Array1OfPnt& Points, @@ -112,11 +112,11 @@ public: const GeomAbs_Shape Continuity = GeomAbs_C2, const Standard_Real Tol3D = 1.0e-3); - //! Approximate a BSpline Curve passing through an - //! array of Point. The resulting BSpline will have + //! Approximate a BSpline Curve passing through an + //! array of Point. The resulting BSpline will have //! the following properties: //! 1- his degree will be in the range [Degmin,Degmax] - //! 2- his continuity will be at least + //! 2- his continuity will be at least //! 3- the distance from the point to the //! BSpline will be lower to Tol3D Standard_EXPORT void Init(const TColgp_Array1OfPnt& Points, @@ -126,13 +126,13 @@ public: const GeomAbs_Shape Continuity = GeomAbs_C2, const Standard_Real Tol3D = 1.0e-3); - //! Approximate a BSpline Curve passing through an - //! array of Point, which parameters are given by the + //! Approximate a BSpline Curve passing through an + //! array of Point, which parameters are given by the //! array . - //! The resulting BSpline will have the following + //! The resulting BSpline will have the following //! properties: //! 1- his degree will be in the range [Degmin,Degmax] - //! 2- his continuity will be at least + //! 2- his continuity will be at least //! 3- the distance from the point to the //! BSpline will be lower to Tol3D Standard_EXPORT void Init(const TColgp_Array1OfPnt& Points, @@ -142,7 +142,7 @@ public: const GeomAbs_Shape Continuity = GeomAbs_C2, const Standard_Real Tol3D = 1.0e-3); - //! Approximate a BSpline Curve passing through an + //! Approximate a BSpline Curve passing through an //! array of Point using variational smoothing algorithm, //! which tries to minimize additional criterium: //! Weight1*CurveLength + Weight2*Curvature + Weight3*Torsion diff --git a/src/ModelingAlgorithms/TKGeomAlgo/GeomAPI/GeomAPI_ProjectPointOnCurve.hxx b/src/ModelingAlgorithms/TKGeomAlgo/GeomAPI/GeomAPI_ProjectPointOnCurve.hxx index 8be2410c84..8d287ccbd0 100644 --- a/src/ModelingAlgorithms/TKGeomAlgo/GeomAPI/GeomAPI_ProjectPointOnCurve.hxx +++ b/src/ModelingAlgorithms/TKGeomAlgo/GeomAPI/GeomAPI_ProjectPointOnCurve.hxx @@ -27,8 +27,8 @@ class gp_Pnt; class Geom_Curve; -//! This class implements methods for computing all the orthogonal -//! projections of a 3D point onto a 3D curve. +//! This class implements methods for computing all the orthogonal +//! projections of a 3D point onto a 3D curve. class GeomAPI_ProjectPointOnCurve { public: @@ -38,29 +38,29 @@ public: //! Init function for further initialization. Standard_EXPORT GeomAPI_ProjectPointOnCurve(); - //! Create the projection of a point

on a curve + //! Create the projection of a point

on a curve //! Standard_EXPORT GeomAPI_ProjectPointOnCurve(const gp_Pnt& P, const Handle(Geom_Curve)& Curve); - //! Create the projection of a point

on a curve + //! Create the projection of a point

on a curve //! limited by the two points of parameter Umin and Usup. Standard_EXPORT GeomAPI_ProjectPointOnCurve(const gp_Pnt& P, const Handle(Geom_Curve)& Curve, const Standard_Real Umin, const Standard_Real Usup); - //! Init the projection of a point

on a curve + //! Init the projection of a point

on a curve //! Standard_EXPORT void Init(const gp_Pnt& P, const Handle(Geom_Curve)& Curve); - //! Init the projection of a point

on a curve + //! Init the projection of a point

on a curve //! limited by the two points of parameter Umin and Usup. Standard_EXPORT void Init(const gp_Pnt& P, const Handle(Geom_Curve)& Curve, const Standard_Real Umin, const Standard_Real Usup); - //! Init the projection of a point

on a curve + //! Init the projection of a point

on a curve //! limited by the two points of parameter Umin and Usup. Standard_EXPORT void Init(const Handle(Geom_Curve)& Curve, const Standard_Real Umin, diff --git a/src/ModelingAlgorithms/TKGeomAlgo/GeomAPI/GeomAPI_ProjectPointOnSurf.hxx b/src/ModelingAlgorithms/TKGeomAlgo/GeomAPI/GeomAPI_ProjectPointOnSurf.hxx index db407fd7b4..6b0f618abe 100644 --- a/src/ModelingAlgorithms/TKGeomAlgo/GeomAPI/GeomAPI_ProjectPointOnSurf.hxx +++ b/src/ModelingAlgorithms/TKGeomAlgo/GeomAPI/GeomAPI_ProjectPointOnSurf.hxx @@ -29,8 +29,8 @@ class gp_Pnt; class Geom_Surface; -//! This class implements methods for computing all the orthogonal -//! projections of a point onto a surface. +//! This class implements methods for computing all the orthogonal +//! projections of a point onto a surface. class GeomAPI_ProjectPointOnSurf { public: @@ -40,15 +40,15 @@ public: //! Init function for further initialization. Standard_EXPORT GeomAPI_ProjectPointOnSurf(); - //! Create the projection of a point

on a surface + //! Create the projection of a point

on a surface //! Standard_EXPORT GeomAPI_ProjectPointOnSurf(const gp_Pnt& P, const Handle(Geom_Surface)& Surface, const Extrema_ExtAlgo Algo = Extrema_ExtAlgo_Grad); - //! Create the projection of a point

on a surface + //! Create the projection of a point

on a surface //! - //! Create the projection of a point

on a surface + //! Create the projection of a point

on a surface //! . The solution are computed in the domain //! [Umin,Usup] [Vmin,Vsup] of the surface. Standard_EXPORT GeomAPI_ProjectPointOnSurf(const gp_Pnt& P, @@ -65,7 +65,7 @@ public: const Standard_Real Tolerance, const Extrema_ExtAlgo Algo = Extrema_ExtAlgo_Grad); - //! Init the projection of a point

on a surface + //! Init the projection of a point

on a surface //! Standard_EXPORT GeomAPI_ProjectPointOnSurf(const gp_Pnt& P, const Handle(Geom_Surface)& Surface, @@ -80,7 +80,7 @@ public: const Standard_Real Tolerance, const Extrema_ExtAlgo Algo = Extrema_ExtAlgo_Grad); - //! Init the projection of a point

on a surface + //! Init the projection of a point

on a surface //! . The solution are computed in the domain //! [Umin,Usup] [Vmin,Vsup] of the surface. Standard_EXPORT void Init(const gp_Pnt& P, diff --git a/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill.hxx b/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill.hxx index b8b2a25ee5..31dda9acfe 100644 --- a/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill.hxx +++ b/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill.hxx @@ -121,7 +121,7 @@ public: const Standard_Real AngleMax, TColStd_Array1OfReal& Weigths); - //! Used by the generical classes to determine + //! Used by the generical classes to determine //! Tolerance for approximation Standard_EXPORT static Standard_Real GetTolerance(const Convert_ParameterisationType TConv, const Standard_Real AngleMin, diff --git a/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_AppSurf.hxx b/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_AppSurf.hxx index b646fd2f67..5131b1507d 100644 --- a/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_AppSurf.hxx +++ b/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_AppSurf.hxx @@ -41,7 +41,7 @@ class Standard_OutOfRange; class GeomFill_SectionGenerator; class GeomFill_Line; -//! Approximate a BSplineSurface passing by all the +//! Approximate a BSplineSurface passing by all the //! curves described in the SectionGenerator class GeomFill_AppSurf : public AppBlend_Approx @@ -71,8 +71,8 @@ public: //! Define the Continuity used in the approximation Standard_EXPORT void SetContinuity(const GeomAbs_Shape C); - //! define the Weights associed to the criterium used in - //! the optimization. + //! define the Weights associed to the criterium used in + //! the optimization. //! //! if Wi <= 0 Standard_EXPORT void SetCriteriumWeight(const Standard_Real W1, @@ -85,8 +85,8 @@ public: //! returns the Continuity used in the approximation Standard_EXPORT GeomAbs_Shape Continuity() const; - //! returns the Weights (as percent) associed to the criterium used in - //! the optimization. + //! returns the Weights (as percent) associed to the criterium used in + //! the optimization. Standard_EXPORT void CriteriumWeight(Standard_Real& W1, Standard_Real& W2, Standard_Real& W3) const; diff --git a/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_AppSweep.hxx b/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_AppSweep.hxx index 39b8e6d239..c202758c4e 100644 --- a/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_AppSweep.hxx +++ b/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_AppSweep.hxx @@ -41,7 +41,7 @@ class Standard_OutOfRange; class GeomFill_SweepSectionGenerator; class GeomFill_Line; -//! Approximate a sweep surface passing by all the +//! Approximate a sweep surface passing by all the //! curves described in the SweepSectionGenerator. class GeomFill_AppSweep : public AppBlend_Approx @@ -71,8 +71,8 @@ public: //! Define the Continuity used in the approximation Standard_EXPORT void SetContinuity(const GeomAbs_Shape C); - //! define the Weights associed to the criterium used in - //! the optimization. + //! define the Weights associed to the criterium used in + //! the optimization. //! //! if Wi <= 0 Standard_EXPORT void SetCriteriumWeight(const Standard_Real W1, @@ -85,8 +85,8 @@ public: //! returns the Continuity used in the approximation Standard_EXPORT GeomAbs_Shape Continuity() const; - //! returns the Weights (as percent) associed to the criterium used in - //! the optimization. + //! returns the Weights (as percent) associed to the criterium used in + //! the optimization. Standard_EXPORT void CriteriumWeight(Standard_Real& W1, Standard_Real& W2, Standard_Real& W3) const; diff --git a/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_BoundWithSurf.hxx b/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_BoundWithSurf.hxx index 5a0866cb15..503adcfacc 100644 --- a/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_BoundWithSurf.hxx +++ b/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_BoundWithSurf.hxx @@ -32,11 +32,11 @@ DEFINE_STANDARD_HANDLE(GeomFill_BoundWithSurf, GeomFill_Boundary) //! Defines a 3d curve as a boundary for a //! GeomFill_ConstrainedFilling algorithm. //! This curve is attached to an existing surface. -//! Defines a constrained boundary for filling +//! Defines a constrained boundary for filling //! the computations are done with a CurveOnSurf and a -//! normals field defined by the normalized normal to +//! normals field defined by the normalized normal to //! the surface along the PCurve. -//! Contains fields to allow a reparametrization of curve +//! Contains fields to allow a reparametrization of curve //! and normals field. class GeomFill_BoundWithSurf : public GeomFill_Boundary { @@ -70,7 +70,7 @@ public: //! The boundary is then constructed with the CurveOnSurf object: //! Standard_Real Tol = ... ; //! Standard_Real TolAng = ... ; - //! myBoundary = GeomFill_BoundWithSurf ( + //! myBoundary = GeomFill_BoundWithSurf ( //! CurveOnSurf, Tol, TolAng ); Standard_EXPORT GeomFill_BoundWithSurf(const Adaptor3d_CurveOnSurface& CurveOnSurf, const Standard_Real Tol3d, diff --git a/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_Boundary.hxx b/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_Boundary.hxx index 26153b55fb..6a9fcaed27 100644 --- a/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_Boundary.hxx +++ b/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_Boundary.hxx @@ -28,9 +28,9 @@ class gp_Vec; class GeomFill_Boundary; DEFINE_STANDARD_HANDLE(GeomFill_Boundary, Standard_Transient) -//! Root class to define a boundary which will form part of a +//! Root class to define a boundary which will form part of a //! contour around a gap requiring filling. -//! Any new type of constrained boundary must inherit this class. +//! Any new type of constrained boundary must inherit this class. //! The GeomFill package provides two classes to define constrained boundaries: //! - GeomFill_SimpleBound to define an unattached boundary //! - GeomFill_BoundWithSurf to define a boundary attached to a surface. diff --git a/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_CircularBlendFunc.hxx b/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_CircularBlendFunc.hxx index 18cec6367d..e04011b3fa 100644 --- a/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_CircularBlendFunc.hxx +++ b/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_CircularBlendFunc.hxx @@ -35,7 +35,7 @@ class GeomFill_CircularBlendFunc; DEFINE_STANDARD_HANDLE(GeomFill_CircularBlendFunc, Approx_SweepFunction) -//! Circular Blend Function to approximate by +//! Circular Blend Function to approximate by //! SweepApproximation from Approx class GeomFill_CircularBlendFunc : public Approx_SweepFunction { @@ -65,7 +65,7 @@ public: TColStd_Array1OfReal& Weigths) Standard_OVERRIDE; //! compute the first derivative in v direction of the - //! section for v = param + //! section for v = param Standard_EXPORT virtual Standard_Boolean D1(const Standard_Real Param, const Standard_Real First, const Standard_Real Last, @@ -138,12 +138,12 @@ public: const Standard_Real AngleTol, TColStd_Array1OfReal& Tol3d) const Standard_OVERRIDE; - //! Is useful, if (me) have to be run numerical + //! Is useful, if (me) has to be run numerical //! algorithm to perform D0, D1 or D2 Standard_EXPORT virtual void SetTolerance(const Standard_Real Tol3d, const Standard_Real Tol2d) Standard_OVERRIDE; - //! Get the barycentre of Surface. An very poor + //! Get the barycentre of Surface. A very poor //! estimation is sufficient. This information is useful //! to perform well conditioned rational approximation. Standard_EXPORT virtual gp_Pnt BarycentreOfSurf() const Standard_OVERRIDE; diff --git a/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_ConstrainedFilling.hxx b/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_ConstrainedFilling.hxx index 84a56afe2a..63cb68c887 100644 --- a/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_ConstrainedFilling.hxx +++ b/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_ConstrainedFilling.hxx @@ -86,18 +86,18 @@ public: const Standard_Boolean NoCheck = Standard_False); //! Allows to modify domain on witch the blending function - //! associated to the constrained boundary B will propag - //! the influence of the field of tangency. Can be - //! useful to reduce influence of boundaries on which - //! the Coons compatibility conditions are not respected. - //! l is a relative value of the parametric range of B. + //! associated to the constrained boundary B will propag + //! the influence of the field of tangency. Can be + //! useful to reduce influence of boundaries on which + //! the Coons compatibility conditions are not respected. + //! l is a relative value of the parametric range of B. //! Default value for l is 1 (used in Init). - //! Warning: Must be called after Init with a constrained boundary + //! Warning: Must be called after Init with a constrained boundary //! used in the call to Init. Standard_EXPORT void SetDomain(const Standard_Real l, const Handle(GeomFill_BoundWithSurf)& B); - //! Computes the new poles of the surface using the new - //! blending functions set by several calls to SetDomain. + //! Computes the new poles of the surface using the new + //! blending functions set by several calls to SetDomain. Standard_EXPORT void ReBuild(); //! Returns the bound of index i after sort. @@ -112,38 +112,38 @@ public: Standard_Real& Result) const; //! Computes the fields of tangents on 30 points along the - //! bound I, these are not the constraint tangents but + //! bound I, these are not the constraint tangents but //! gives an idea of the coonsAlgPatch regularity. Standard_EXPORT void CheckCoonsAlgPatch(const Standard_Integer I); - //! Computes the fields of tangents and normals on 30 - //! points along the bound I, draw them, and computes the + //! Computes the fields of tangents and normals on 30 + //! points along the bound I, draw them, and computes the //! max dot product that must be near than 0. Standard_EXPORT void CheckTgteField(const Standard_Integer I); - //! Computes values and normals along the bound I and - //! compare them to the approx result curves (bound and - //! tgte field) , draw the normals and tangents. + //! Computes values and normals along the bound I and + //! compare them to the approx result curves (bound and + //! tgte field) , draw the normals and tangents. Standard_EXPORT void CheckApprox(const Standard_Integer I); - //! Computes values and normals along the bound I on both - //! constraint surface and result surface, draw the - //! normals, and computes the max distance between values - //! and the max angle between normals. + //! Computes values and normals along the bound I on both + //! constraint surface and result surface, draw the + //! normals, and computes the max distance between values + //! and the max angle between normals. Standard_EXPORT void CheckResult(const Standard_Integer I); protected: private: - //! Performs the approximation an compute the poles of the + //! Performs the approximation an compute the poles of the //! surface. Standard_EXPORT void Build(); - //! Performs the parallel approximation on two oppsite + //! Performs the parallel approximation on two oppsite //! bounds Standard_EXPORT void PerformApprox(); - //! matches the nodal vectors of the blending functions - //! and the results of the approx to allow the surface + //! matches the nodal vectors of the blending functions + //! and the results of the approx to allow the surface //! computation. Standard_EXPORT void MatchKnots(); @@ -153,7 +153,7 @@ private: //! performs the poles of the partial construction S1. Standard_EXPORT void PerformS1(); - //! performs the poles of the surface using the partial + //! performs the poles of the surface using the partial //! constructions S0 and S1. Standard_EXPORT void PerformSurface(); @@ -161,8 +161,8 @@ private: //! boundary. Standard_EXPORT Standard_Boolean CheckTgte(const Standard_Integer I); - //! Evaluates the min magnitude of the field of tangency - //! along bound I to allow a simple evaluation of the + //! Evaluates the min magnitude of the field of tangency + //! along bound I to allow a simple evaluation of the //! tolerance needed for the approximation of the field of //! tangency. Standard_EXPORT void MinTgte(const Standard_Integer I); diff --git a/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_CoonsAlgPatch.hxx b/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_CoonsAlgPatch.hxx index 06be26d2bf..522eea3078 100644 --- a/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_CoonsAlgPatch.hxx +++ b/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_CoonsAlgPatch.hxx @@ -30,14 +30,14 @@ class gp_Vec; class GeomFill_CoonsAlgPatch; DEFINE_STANDARD_HANDLE(GeomFill_CoonsAlgPatch, Standard_Transient) -//! Provides evaluation methods on an algorithmic -//! patch (based on 4 Curves) defined by its boundaries and blending +//! Provides evaluation methods on an algorithmic +//! patch (based on 4 Curves) defined by its boundaries and blending //! functions. class GeomFill_CoonsAlgPatch : public Standard_Transient { public: - //! Constructs the algorithmic patch. By Default the + //! Constructs the algorithmic patch. By Default the //! constructed blending functions are linear. //! Warning: No control is done on the bounds. //! B1/B3 and B2/B4 must be same range and well oriented. @@ -52,20 +52,20 @@ public: //! Set the blending functions. Standard_EXPORT void SetFunc(const Handle(Law_Function)& f1, const Handle(Law_Function)& f2); - //! Computes the value on the algorithmic patch at + //! Computes the value on the algorithmic patch at //! parameters U and V. Standard_EXPORT gp_Pnt Value(const Standard_Real U, const Standard_Real V) const; - //! Computes the d/dU partial derivative on the + //! Computes the d/dU partial derivative on the //! algorithmic patch at parameters U and V. Standard_EXPORT gp_Vec D1U(const Standard_Real U, const Standard_Real V) const; - //! Computes the d/dV partial derivative on the + //! Computes the d/dV partial derivative on the //! algorithmic patch at parameters U and V. Standard_EXPORT gp_Vec D1V(const Standard_Real U, const Standard_Real V) const; - //! Computes the d2/dUdV partial derivative on the - //! algorithmic patch made with linear blending functions + //! Computes the d2/dUdV partial derivative on the + //! algorithmic patch made with linear blending functions //! at parameter U and V. Standard_EXPORT gp_Vec DUV(const Standard_Real U, const Standard_Real V) const; diff --git a/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_CornerState.hxx b/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_CornerState.hxx index fb3e0a025c..4ccb7ec629 100644 --- a/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_CornerState.hxx +++ b/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_CornerState.hxx @@ -24,9 +24,9 @@ #include #include -//! Class (should be a structure) storing the -//! information about continuity, normals -//! parallelism, coons conditions and bounds tangents +//! Class (should be a structure) storing the +//! information about continuity, normals +//! parallelism, coons conditions and bounds tangents //! angle on the corner of contour to be filled. class GeomFill_CornerState { diff --git a/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_CorrectedFrenet.hxx b/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_CorrectedFrenet.hxx index 4e6cd2e40e..bfa5839546 100644 --- a/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_CorrectedFrenet.hxx +++ b/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_CorrectedFrenet.hxx @@ -35,7 +35,7 @@ class Law_Function; class GeomFill_CorrectedFrenet; DEFINE_STANDARD_HANDLE(GeomFill_CorrectedFrenet, GeomFill_TrihedronLaw) -//! Defined an Corrected Frenet Trihedron Law It is +//! Defined an Corrected Frenet Trihedron Law It is //! like Frenet with an Torsion's minimization class GeomFill_CorrectedFrenet : public GeomFill_TrihedronLaw { @@ -61,7 +61,7 @@ public: gp_Vec& Normal, gp_Vec& BiNormal) Standard_OVERRIDE; - //! compute Triedrhon and derivative Trihedron on curve + //! compute Triedrhon and derivative Trihedron on curve //! at parameter //! Warning : It used only for C1 or C2 approximation Standard_EXPORT virtual Standard_Boolean D1(const Standard_Real Param, @@ -72,8 +72,8 @@ public: gp_Vec& BiNormal, gp_Vec& DBiNormal) Standard_OVERRIDE; - //! compute Trihedron on curve - //! first and seconde derivatives. + //! compute Trihedron on curve + //! first and second derivatives. //! Warning : It used only for C2 approximation Standard_EXPORT virtual Standard_Boolean D2(const Standard_Real Param, gp_Vec& Tangent, @@ -86,16 +86,16 @@ public: gp_Vec& DBiNormal, gp_Vec& D2BiNormal) Standard_OVERRIDE; - //! Returns the number of intervals for continuity + //! Returns the number of intervals for continuity //! . //! May be one if Continuity(me) >= Standard_EXPORT virtual Standard_Integer NbIntervals(const GeomAbs_Shape S) const Standard_OVERRIDE; - //! Stores in the parameters bounding the intervals + //! Stores in the parameters bounding the intervals //! of continuity . //! - //! The array must provide enough room to accommodate + //! The array must provide enough room to accommodate //! for the parameters. i.e. T.Length() > NbIntervals() Standard_EXPORT virtual void Intervals(TColStd_Array1OfReal& T, const GeomAbs_Shape S) const Standard_OVERRIDE; @@ -111,7 +111,7 @@ public: Standard_EXPORT GeomFill_Trihedron EvaluateBestMode(); //! Get average value of Tangent(t) and Normal(t) it is useful to - //! make fast approximation of rational surfaces. + //! make fast approximation of rational surfaces. Standard_EXPORT virtual void GetAverageLaw(gp_Vec& ATangent, gp_Vec& ANormal, gp_Vec& ABiNormal) Standard_OVERRIDE; diff --git a/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_CurveAndTrihedron.hxx b/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_CurveAndTrihedron.hxx index 0a68669f6c..147e5952b1 100644 --- a/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_CurveAndTrihedron.hxx +++ b/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_CurveAndTrihedron.hxx @@ -34,11 +34,11 @@ DEFINE_STANDARD_HANDLE(GeomFill_CurveAndTrihedron, GeomFill_LocationLaw) //! Define location law with an TrihedronLaw and an //! curve -//! Definition Location is : -//! transformed section coordinates in (Curve(v)), -//! (Normal(v), BiNormal(v), Tangente(v))) systeme are -//! the same like section shape coordinates in -//! (O,(OX, OY, OZ)) systeme. +//! Definition Location is: +//! transformed section coordinates in (Curve(v)), +//! (Normal(v), BiNormal(v), Tangente(v))) systems are +//! the same like section shape coordinates in +//! (O,(OX, OY, OZ)) system. class GeomFill_CurveAndTrihedron : public GeomFill_LocationLaw { @@ -52,7 +52,7 @@ public: Standard_EXPORT virtual const Handle(Adaptor3d_Curve)& GetCurve() const Standard_OVERRIDE; - //! Set a transformation Matrix like the law M(t) become + //! Set a transformation Matrix like the law M(t) become //! Mat * M(t) Standard_EXPORT virtual void SetTrsf(const gp_Mat& Transfo) Standard_OVERRIDE; @@ -69,7 +69,7 @@ public: gp_Vec& V, TColgp_Array1OfPnt2d& Poles2d) Standard_OVERRIDE; - //! compute location 2d points and associated + //! compute location 2d points and associated //! first derivatives. //! Warning : It used only for C1 or C2 approximation Standard_EXPORT virtual Standard_Boolean D1(const Standard_Real Param, @@ -80,8 +80,8 @@ public: TColgp_Array1OfPnt2d& Poles2d, TColgp_Array1OfVec2d& DPoles2d) Standard_OVERRIDE; - //! compute location 2d points and associated - //! first and seconde derivatives. + //! compute location 2d points and associated + //! first and second derivatives. //! Warning : It used only for C2 approximation Standard_EXPORT virtual Standard_Boolean D2(const Standard_Real Param, gp_Mat& M, @@ -94,16 +94,15 @@ public: TColgp_Array1OfVec2d& DPoles2d, TColgp_Array1OfVec2d& D2Poles2d) Standard_OVERRIDE; - //! Returns the number of intervals for continuity - //! . + //! Returns the number of intervals for continuity . //! May be one if Continuity(me) >= Standard_EXPORT virtual Standard_Integer NbIntervals(const GeomAbs_Shape S) const Standard_OVERRIDE; - //! Stores in the parameters bounding the intervals + //! Stores in the parameters bounding the intervals //! of continuity . //! - //! The array must provide enough room to accommodate + //! The array must provide enough room to accommodate //! for the parameters. i.e. T.Length() > NbIntervals() Standard_EXPORT virtual void Intervals(TColStd_Array1OfReal& T, const GeomAbs_Shape S) const Standard_OVERRIDE; @@ -121,25 +120,25 @@ public: Standard_Real& Last) const Standard_OVERRIDE; //! Gets the bounds of the function parametric domain. - //! Warning: This domain it is not modified by the + //! Warning: This domain it is not modified by the //! SetValue method Standard_EXPORT virtual void GetDomain(Standard_Real& First, Standard_Real& Last) const Standard_OVERRIDE; - //! Get the maximum Norm of the matrix-location part. It + //! Get the maximum Norm of the matrix-location part. It //! is usful to find a good Tolerance to approx M(t). Standard_EXPORT virtual Standard_Real GetMaximalNorm() Standard_OVERRIDE; //! Get average value of M(t) and V(t) it is useful to - //! make fast approximation of rational surfaces. + //! make fast approximation of rational surfaces. Standard_EXPORT virtual void GetAverageLaw(gp_Mat& AM, gp_Vec& AV) Standard_OVERRIDE; - //! Say if the Location Law, is an translation of Location + //! Say if the Location Law, is an translation of Location //! The default implementation is " returns False ". Standard_EXPORT virtual Standard_Boolean IsTranslation(Standard_Real& Error) const Standard_OVERRIDE; - //! Say if the Location Law, is a rotation of Location + //! Say if the Location Law, is a rotation of Location //! The default implementation is " returns False ". Standard_EXPORT virtual Standard_Boolean IsRotation(Standard_Real& Error) const Standard_OVERRIDE; diff --git a/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_Darboux.hxx b/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_Darboux.hxx index aa71057d48..95955277fb 100644 --- a/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_Darboux.hxx +++ b/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_Darboux.hxx @@ -44,7 +44,7 @@ public: gp_Vec& Normal, gp_Vec& BiNormal) Standard_OVERRIDE; - //! compute Triedrhon and derivative Trihedron on curve + //! compute Triedrhon and derivative Trihedron on curve //! at parameter //! Warning : It used only for C1 or C2 approximation Standard_EXPORT virtual Standard_Boolean D1(const Standard_Real Param, @@ -55,8 +55,8 @@ public: gp_Vec& BiNormal, gp_Vec& DBiNormal) Standard_OVERRIDE; - //! compute Trihedron on curve - //! first and seconde derivatives. + //! compute Trihedron on curve + //! first and second derivatives. //! Warning : It used only for C2 approximation Standard_EXPORT virtual Standard_Boolean D2(const Standard_Real Param, gp_Vec& Tangent, @@ -69,22 +69,22 @@ public: gp_Vec& DBiNormal, gp_Vec& D2BiNormal) Standard_OVERRIDE; - //! Returns the number of intervals for continuity + //! Returns the number of intervals for continuity //! . //! May be one if Continuity(me) >= Standard_EXPORT virtual Standard_Integer NbIntervals(const GeomAbs_Shape S) const Standard_OVERRIDE; - //! Stores in the parameters bounding the intervals + //! Stores in the parameters bounding the intervals //! of continuity . //! - //! The array must provide enough room to accommodate + //! The array must provide enough room to accommodate //! for the parameters. i.e. T.Length() > NbIntervals() Standard_EXPORT virtual void Intervals(TColStd_Array1OfReal& T, const GeomAbs_Shape S) const Standard_OVERRIDE; //! Get average value of Tangent(t) and Normal(t) it is useful to - //! make fast approximation of rational surfaces. + //! make fast approximation of rational surfaces. Standard_EXPORT virtual void GetAverageLaw(gp_Vec& ATangent, gp_Vec& ANormal, gp_Vec& ABiNormal) Standard_OVERRIDE; diff --git a/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_DegeneratedBound.hxx b/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_DegeneratedBound.hxx index f06d250687..aa26b8c076 100644 --- a/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_DegeneratedBound.hxx +++ b/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_DegeneratedBound.hxx @@ -28,9 +28,9 @@ class GeomFill_DegeneratedBound; DEFINE_STANDARD_HANDLE(GeomFill_DegeneratedBound, GeomFill_Boundary) //! Description of a degenerated boundary (a point). -//! Class defining a degenerated boundary for a -//! constrained filling with a point and no other -//! constraint. Only used to simulate an ordinary bound, +//! Class defining a degenerated boundary for a +//! constrained filling with a point and no other +//! constraint. Only used to simulate an ordinary bound, //! may not be useful and desapear soon. class GeomFill_DegeneratedBound : public GeomFill_Boundary { diff --git a/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_DiscreteTrihedron.hxx b/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_DiscreteTrihedron.hxx index 21490d4a5e..39b394955e 100644 --- a/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_DiscreteTrihedron.hxx +++ b/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_DiscreteTrihedron.hxx @@ -56,7 +56,7 @@ public: gp_Vec& Normal, gp_Vec& BiNormal) Standard_OVERRIDE; - //! compute Trihedron and derivative Trihedron on curve + //! compute Trihedron and derivative Trihedron on curve //! at parameter //! Warning : It used only for C1 or C2 approximation //! For the moment it returns null values for DTangent, DNormal @@ -69,8 +69,8 @@ public: gp_Vec& BiNormal, gp_Vec& DBiNormal) Standard_OVERRIDE; - //! compute Trihedron on curve - //! first and seconde derivatives. + //! compute Trihedron on curve + //! first and second derivatives. //! Warning : It used only for C2 approximation //! For the moment it returns null values for DTangent, DNormal //! DBiNormal, D2Tangent, D2Normal, D2BiNormal. @@ -85,22 +85,22 @@ public: gp_Vec& DBiNormal, gp_Vec& D2BiNormal) Standard_OVERRIDE; - //! Returns the number of intervals for continuity + //! Returns the number of intervals for continuity //! . //! May be one if Continuity(me) >= Standard_EXPORT virtual Standard_Integer NbIntervals(const GeomAbs_Shape S) const Standard_OVERRIDE; - //! Stores in the parameters bounding the intervals + //! Stores in the parameters bounding the intervals //! of continuity . //! - //! The array must provide enough room to accommodate + //! The array must provide enough room to accommodate //! for the parameters. i.e. T.Length() > NbIntervals() Standard_EXPORT virtual void Intervals(TColStd_Array1OfReal& T, const GeomAbs_Shape S) const Standard_OVERRIDE; //! Get average value of Tangent(t) and Normal(t) it is usful to - //! make fast approximation of rational surfaces. + //! make fast approximation of rational surfaces. Standard_EXPORT virtual void GetAverageLaw(gp_Vec& ATangent, gp_Vec& ANormal, gp_Vec& ABiNormal) Standard_OVERRIDE; diff --git a/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_DraftTrihedron.hxx b/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_DraftTrihedron.hxx index 54a55b724c..02bbd3cffa 100644 --- a/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_DraftTrihedron.hxx +++ b/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_DraftTrihedron.hxx @@ -40,15 +40,15 @@ public: //! compute Triedrhon and derivative Trihedron on curve at //! parameter - //! Warning : It used only for C1 or C2 approximation + //! Warning: It used only for C1 or C2 approximation Standard_EXPORT virtual Standard_Boolean D0(const Standard_Real Param, gp_Vec& Tangent, gp_Vec& Normal, gp_Vec& BiNormal) Standard_OVERRIDE; //! compute Trihedron on curve - //! first and seconde derivatives. - //! Warning : It used only for C2 approximation + //! first and second derivatives. + //! Warning: It used only for C2 approximation Standard_EXPORT virtual Standard_Boolean D1(const Standard_Real Param, gp_Vec& Tangent, gp_Vec& DTangent, @@ -68,22 +68,21 @@ public: gp_Vec& DBiNormal, gp_Vec& D2BiNormal) Standard_OVERRIDE; - //! Returns the number of intervals for continuity - //! . + //! Returns the number of intervals for continuity . //! May be one if Continuity(me) >= Standard_EXPORT virtual Standard_Integer NbIntervals(const GeomAbs_Shape S) const Standard_OVERRIDE; - //! Stores in the parameters bounding the intervals + //! Stores in the parameters bounding the intervals //! of continuity . //! - //! The array must provide enough room to accommodate + //! The array must provide enough room to accommodate //! for the parameters. i.e. T.Length() > NbIntervals() Standard_EXPORT virtual void Intervals(TColStd_Array1OfReal& T, const GeomAbs_Shape S) const Standard_OVERRIDE; //! Get average value of Tangent(t) and Normal(t) it is useful to - //! make fast approximation of rational surfaces. + //! make fast approximation of rational surfaces. Standard_EXPORT virtual void GetAverageLaw(gp_Vec& ATangent, gp_Vec& ANormal, gp_Vec& ABiNormal) Standard_OVERRIDE; diff --git a/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_EvolvedSection.hxx b/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_EvolvedSection.hxx index 95b686c857..c0cf7e2a83 100644 --- a/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_EvolvedSection.hxx +++ b/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_EvolvedSection.hxx @@ -41,7 +41,7 @@ class GeomFill_EvolvedSection : public GeomFill_SectionLaw { public: - //! Make an SectionLaw with a Curve and a real Law. + //! Make an SectionLaw with a Curve and a real Law. Standard_EXPORT GeomFill_EvolvedSection(const Handle(Geom_Curve)& C, const Handle(Law_Function)& L); @@ -50,8 +50,8 @@ public: TColgp_Array1OfPnt& Poles, TColStd_Array1OfReal& Weigths) Standard_OVERRIDE; - //! compute the first derivative in v direction of the - //! section for v = param + //! compute the first derivative in v direction of the + //! section for v = param //! Warning : It used only for C1 or C2 approximation Standard_EXPORT virtual Standard_Boolean D1(const Standard_Real Param, TColgp_Array1OfPnt& Poles, @@ -59,8 +59,8 @@ public: TColStd_Array1OfReal& Weigths, TColStd_Array1OfReal& DWeigths) Standard_OVERRIDE; - //! compute the second derivative in v direction of the - //! section for v = param + //! compute the second derivative in v direction of the + //! section for v = param //! Warning : It used only for C2 approximation Standard_EXPORT virtual Standard_Boolean D2(const Standard_Real Param, TColgp_Array1OfPnt& Poles, @@ -71,11 +71,11 @@ public: TColStd_Array1OfReal& D2Weigths) Standard_OVERRIDE; //! give if possible an bspline Surface, like iso-v are the - //! section. If it is not possible this methode have to - //! get an Null Surface. Is it the default implementation. + //! section. If it is not possible this methode have to + //! get an Null Surface. Is it the default implementation. Standard_EXPORT virtual Handle(Geom_BSplineSurface) BSplineSurface() const Standard_OVERRIDE; - //! get the format of an section + //! get the format of an section Standard_EXPORT virtual void SectionShape(Standard_Integer& NbPoles, Standard_Integer& NbKnots, Standard_Integer& Degree) const Standard_OVERRIDE; @@ -92,19 +92,19 @@ public: //! Returns if the sections are periodic or not Standard_EXPORT virtual Standard_Boolean IsUPeriodic() const Standard_OVERRIDE; - //! Returns if the law isperiodic or not + //! Returns if the law isperiodic or not Standard_EXPORT virtual Standard_Boolean IsVPeriodic() const Standard_OVERRIDE; - //! Returns the number of intervals for continuity + //! Returns the number of intervals for continuity //! . //! May be one if Continuity(me) >= Standard_EXPORT virtual Standard_Integer NbIntervals(const GeomAbs_Shape S) const Standard_OVERRIDE; - //! Stores in the parameters bounding the intervals + //! Stores in the parameters bounding the intervals //! of continuity . //! - //! The array must provide enough room to accommodate + //! The array must provide enough room to accommodate //! for the parameters. i.e. T.Length() > NbIntervals() Standard_EXPORT virtual void Intervals(TColStd_Array1OfReal& T, const GeomAbs_Shape S) const Standard_OVERRIDE; @@ -122,15 +122,15 @@ public: Standard_Real& Last) const Standard_OVERRIDE; //! Gets the bounds of the function parametric domain. - //! Warning: This domain it is not modified by the + //! Warning: This domain it is not modified by the //! SetValue method Standard_EXPORT virtual void GetDomain(Standard_Real& First, Standard_Real& Last) const Standard_OVERRIDE; //! Returns the tolerances associated at each poles to - //! reach in approximation, to satisfy: BoundTol error - //! at the Boundary AngleTol tangent error at the - //! Boundary (in radian) SurfTol error inside the + //! reach in approximation, to satisfy: BoundTol error + //! at the Boundary AngleTol tangent error at the + //! Boundary (in radian) SurfTol error inside the //! surface. Standard_EXPORT virtual void GetTolerance(const Standard_Real BoundTol, const Standard_Real SurfTol, @@ -138,20 +138,20 @@ public: TColStd_Array1OfReal& Tol3d) const Standard_OVERRIDE; //! Get the barycentre of Surface. - //! An very poor estimation is sufficient. + //! An very poor estimation is sufficient. //! This information is useful to perform well //! conditioned rational approximation. //! Warning: Used only if IsRational Standard_EXPORT virtual gp_Pnt BarycentreOfSurf() const Standard_OVERRIDE; - //! Returns the length of the greater section. This + //! Returns the length of the greater section. This //! information is useful to G1's control. //! Warning: With an little value, approximation can be slower. Standard_EXPORT virtual Standard_Real MaximalSection() const Standard_OVERRIDE; //! Compute the minimal value of weight for each poles - //! in all sections. - //! This information is useful to control error + //! in all sections. + //! This information is useful to control error //! in rational approximation. //! Warning: Used only if IsRational Standard_EXPORT virtual void GetMinimalWeight(TColStd_Array1OfReal& Weigths) const @@ -160,7 +160,7 @@ public: //! return True If the Law isConstant Standard_EXPORT virtual Standard_Boolean IsConstant(Standard_Real& Error) const Standard_OVERRIDE; - //! Return the constant Section if IsConstant. + //! Return the constant Section if IsConstant. Standard_EXPORT virtual Handle(Geom_Curve) ConstantSection() const Standard_OVERRIDE; DEFINE_STANDARD_RTTIEXT(GeomFill_EvolvedSection, GeomFill_SectionLaw) diff --git a/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_Fixed.hxx b/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_Fixed.hxx index 83c555972b..f77b2b130a 100644 --- a/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_Fixed.hxx +++ b/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_Fixed.hxx @@ -43,7 +43,7 @@ public: gp_Vec& Normal, gp_Vec& BiNormal) Standard_OVERRIDE; - //! compute Triedrhon and derivative Trihedron on curve + //! compute Triedrhon and derivative Trihedron on curve //! at parameter //! Warning : It used only for C1 or C2 approximation Standard_EXPORT virtual Standard_Boolean D1(const Standard_Real Param, @@ -54,8 +54,8 @@ public: gp_Vec& BiNormal, gp_Vec& DBiNormal) Standard_OVERRIDE; - //! compute Trihedron on curve - //! first and seconde derivatives. + //! compute Trihedron on curve + //! first and second derivatives. //! Warning : It used only for C2 approximation Standard_EXPORT virtual Standard_Boolean D2(const Standard_Real Param, gp_Vec& Tangent, @@ -68,22 +68,21 @@ public: gp_Vec& DBiNormal, gp_Vec& D2BiNormal) Standard_OVERRIDE; - //! Returns the number of intervals for continuity - //! . + //! Returns the number of intervals for continuity . //! May be one if Continuity(me) >= Standard_EXPORT virtual Standard_Integer NbIntervals(const GeomAbs_Shape S) const Standard_OVERRIDE; - //! Stores in the parameters bounding the intervals + //! Stores in the parameters bounding the intervals //! of continuity . //! - //! The array must provide enough room to accommodate + //! The array must provide enough room to accommodate //! for the parameters. i.e. T.Length() > NbIntervals() Standard_EXPORT virtual void Intervals(TColStd_Array1OfReal& T, const GeomAbs_Shape S) const Standard_OVERRIDE; //! Get average value of Tangent(t) and Normal(t) it is useful to - //! make fast approximation of rational surfaces. + //! make fast approximation of rational surfaces. Standard_EXPORT virtual void GetAverageLaw(gp_Vec& ATangent, gp_Vec& ANormal, gp_Vec& ABiNormal) Standard_OVERRIDE; diff --git a/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_Frenet.hxx b/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_Frenet.hxx index 30d8bf8ca3..7bba886bd0 100644 --- a/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_Frenet.hxx +++ b/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_Frenet.hxx @@ -30,7 +30,7 @@ class gp_Vec; class GeomFill_Frenet; DEFINE_STANDARD_HANDLE(GeomFill_Frenet, GeomFill_TrihedronLaw) -//! Defined Frenet Trihedron Law +//! Defined Frenet Trihedron Law class GeomFill_Frenet : public GeomFill_TrihedronLaw { @@ -52,9 +52,9 @@ public: gp_Vec& Normal, gp_Vec& BiNormal) Standard_OVERRIDE; - //! compute Triedrhon and derivative Trihedron on curve + //! compute Triedrhon and derivative Trihedron on curve //! at parameter - //! Warning : It used only for C1 or C2 approximation + //! Warning: It used only for C1 or C2 approximation Standard_EXPORT virtual Standard_Boolean D1(const Standard_Real Param, gp_Vec& Tangent, gp_Vec& DTangent, @@ -63,9 +63,9 @@ public: gp_Vec& BiNormal, gp_Vec& DBiNormal) Standard_OVERRIDE; - //! compute Trihedron on curve - //! first and seconde derivatives. - //! Warning : It used only for C2 approximation + //! compute Trihedron on curve + //! first and second derivatives. + //! Warning: It used only for C2 approximation Standard_EXPORT virtual Standard_Boolean D2(const Standard_Real Param, gp_Vec& Tangent, gp_Vec& DTangent, @@ -77,22 +77,21 @@ public: gp_Vec& DBiNormal, gp_Vec& D2BiNormal) Standard_OVERRIDE; - //! Returns the number of intervals for continuity - //! . + //! Returns the number of intervals for continuity . //! May be one if Continuity(me) >= Standard_EXPORT virtual Standard_Integer NbIntervals(const GeomAbs_Shape S) const Standard_OVERRIDE; - //! Stores in the parameters bounding the intervals + //! Stores in the parameters bounding the intervals //! of continuity . //! - //! The array must provide enough room to accommodate + //! The array must provide enough room to accommodate //! for the parameters. i.e. T.Length() > NbIntervals() Standard_EXPORT virtual void Intervals(TColStd_Array1OfReal& T, const GeomAbs_Shape S) const Standard_OVERRIDE; //! Get average value of Tangent(t) and Normal(t) it is useful to - //! make fast approximation of rational surfaces. + //! make fast approximation of rational surfaces. Standard_EXPORT virtual void GetAverageLaw(gp_Vec& ATangent, gp_Vec& ANormal, gp_Vec& ABiNormal) Standard_OVERRIDE; @@ -127,7 +126,7 @@ private: gp_Vec& BiNormal, Standard_Real& Delta); - //! computes Triedrhon and derivative Trihedron on curve + //! computes Triedrhon and derivative Trihedron on curve //! at parameter //! Warning : It used only for C1 or C2 approximation Standard_EXPORT Standard_Boolean SingularD1(const Standard_Real Param, @@ -140,8 +139,8 @@ private: gp_Vec& DBiNormal, Standard_Real& Delta); - //! computes Trihedron on curve - //! first and seconde derivatives. + //! computes Trihedron on curve + //! first and second derivatives. //! Warning : It used only for C2 approximation Standard_EXPORT Standard_Boolean SingularD2(const Standard_Real Param, const Standard_Integer Index, diff --git a/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_FunctionDraft.hxx b/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_FunctionDraft.hxx index a3a8d2f37e..4055f735fd 100644 --- a/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_FunctionDraft.hxx +++ b/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_FunctionDraft.hxx @@ -62,7 +62,7 @@ public: math_Matrix& D) Standard_OVERRIDE; //! returns the values of the T derivatives for - //! the parameter Param . + //! the parameter Param. Standard_EXPORT Standard_Boolean DerivT(const Handle(Adaptor3d_Curve)& C, const Standard_Real Param, const Standard_Real W, @@ -71,7 +71,7 @@ public: math_Vector& F); //! returns the values of the T2 derivatives for - //! the parameter Param . + //! the parameter Param. Standard_EXPORT Standard_Boolean Deriv2T(const Handle(Adaptor3d_Curve)& C, const Standard_Real Param, const Standard_Real W, @@ -79,14 +79,14 @@ public: const Standard_Real teta, math_Vector& F); - //! returns the values of the TX derivatives for - //! the parameter Param . + //! returns the values of the TX derivatives for + //! the parameter Param. Standard_EXPORT Standard_Boolean DerivTX(const gp_Vec& dN, const Standard_Real teta, math_Matrix& D); - //! returns the values of the X2 derivatives for - //! the parameter Param . + //! returns the values of the X2 derivatives for + //! the parameter Param. Standard_EXPORT Standard_Boolean Deriv2X(const math_Vector& X, GeomFill_Tensor& T); protected: diff --git a/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_FunctionGuide.hxx b/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_FunctionGuide.hxx index f4d0880c40..df2a2774b9 100644 --- a/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_FunctionGuide.hxx +++ b/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_FunctionGuide.hxx @@ -86,12 +86,12 @@ public: //! returns the values of the T2 derivatives for //! the parameter Param . - //! returns the values of the TX derivatives for + //! returns the values of the TX derivatives for //! the parameter Param . - //! returns Boolean is static; - //! returns the values of the X2 derivatives for + //! returns Boolean is static; + //! returns the values of the X2 derivatives for //! the parameter Param . - //! returns Boolean is static; + //! returns Boolean is static; Standard_EXPORT Standard_Boolean Deriv2T(const gp_XYZ& DCentre, const gp_XYZ& DDir, math_Vector& DFDT, diff --git a/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_Generator.hxx b/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_Generator.hxx index b614d81a34..ee7a0f82af 100644 --- a/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_Generator.hxx +++ b/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_Generator.hxx @@ -24,9 +24,9 @@ #include class Geom_Surface; -//! Create a surface using generating lines. Inherits -//! profiler. The surface will be a BSplineSurface -//! passing by all the curves described in the +//! Create a surface using generating lines. Inherits +//! profiler. The surface will be a BSplineSurface +//! passing by all the curves described in the //! generator. The VDegree of the resulting surface is //! 1. class GeomFill_Generator : public GeomFill_Profiler diff --git a/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_GuideTrihedronAC.hxx b/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_GuideTrihedronAC.hxx index 689befda82..4ae37f7db2 100644 --- a/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_GuideTrihedronAC.hxx +++ b/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_GuideTrihedronAC.hxx @@ -31,8 +31,8 @@ class gp_Vec; class GeomFill_GuideTrihedronAC; DEFINE_STANDARD_HANDLE(GeomFill_GuideTrihedronAC, GeomFill_TrihedronWithGuide) -//! Trihedron in the case of a sweeping along a guide curve. -//! defined by curviline absciss +//! Trihedron in the case of a sweeping along a guide curve. +//! defined by curviline absciss class GeomFill_GuideTrihedronAC : public GeomFill_TrihedronWithGuide { @@ -72,16 +72,16 @@ public: gp_Vec& DBiNormal, gp_Vec& D2BiNormal) Standard_OVERRIDE; - //! Returns the number of intervals for continuity + //! Returns the number of intervals for continuity //! . //! May be one if Continuity(me) >= Standard_EXPORT virtual Standard_Integer NbIntervals(const GeomAbs_Shape S) const Standard_OVERRIDE; - //! Stores in the parameters bounding the intervals + //! Stores in the parameters bounding the intervals //! of continuity . //! - //! The array must provide enough room to accommodate + //! The array must provide enough room to accommodate //! for the parameters. i.e. T.Length() > NbIntervals() Standard_EXPORT virtual void Intervals(TColStd_Array1OfReal& T, const GeomAbs_Shape S) const Standard_OVERRIDE; @@ -94,7 +94,7 @@ public: const Standard_Real Last) Standard_OVERRIDE; //! Get average value of M(t) and V(t) it is useful to - //! make fast approximation of rational surfaces. + //! make fast approximation of rational surfaces. Standard_EXPORT virtual void GetAverageLaw(gp_Vec& ATangent, gp_Vec& ANormal, gp_Vec& ABiNormal) Standard_OVERRIDE; diff --git a/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_GuideTrihedronPlan.hxx b/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_GuideTrihedronPlan.hxx index b483c9f4b7..2a48d85d0b 100644 --- a/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_GuideTrihedronPlan.hxx +++ b/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_GuideTrihedronPlan.hxx @@ -34,8 +34,8 @@ class gp_Vec; class GeomFill_GuideTrihedronPlan; DEFINE_STANDARD_HANDLE(GeomFill_GuideTrihedronPlan, GeomFill_TrihedronWithGuide) -//! Trihedron in the case of sweeping along a guide curve defined -//! by the orthogonal plan on the trajectory +//! Trihedron in the case of sweeping along a guide curve defined +//! by the orthogonal plan on the trajectory class GeomFill_GuideTrihedronPlan : public GeomFill_TrihedronWithGuide { @@ -86,22 +86,22 @@ public: Standard_EXPORT virtual void SetInterval(const Standard_Real First, const Standard_Real Last) Standard_OVERRIDE; - //! Returns the number of intervals for continuity + //! Returns the number of intervals for continuity //! . //! May be one if Continuity(me) >= Standard_EXPORT virtual Standard_Integer NbIntervals(const GeomAbs_Shape S) const Standard_OVERRIDE; - //! Stores in the parameters bounding the intervals + //! Stores in the parameters bounding the intervals //! of continuity . //! - //! The array must provide enough room to accommodate + //! The array must provide enough room to accommodate //! for the parameters. i.e. T.Length() > NbIntervals() Standard_EXPORT virtual void Intervals(TColStd_Array1OfReal& T, const GeomAbs_Shape S) const Standard_OVERRIDE; //! Get average value of M(t) and V(t) it is useful to - //! make fast approximation of rational surfaces. + //! make fast approximation of rational surfaces. Standard_EXPORT virtual void GetAverageLaw(gp_Vec& ATangent, gp_Vec& ANormal, gp_Vec& ABiNormal) Standard_OVERRIDE; diff --git a/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_LocFunction.hxx b/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_LocFunction.hxx index 72ae74bfa1..5807c6f4e5 100644 --- a/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_LocFunction.hxx +++ b/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_LocFunction.hxx @@ -38,14 +38,14 @@ public: const Standard_Real First, const Standard_Real Last); - //! compute the first derivative in v direction of the - //! section for v = param + //! compute the first derivative in v direction of the + //! section for v = param Standard_EXPORT Standard_Boolean D1(const Standard_Real Param, const Standard_Real First, const Standard_Real Last); - //! compute the second derivative in v direction of the - //! section for v = param + //! compute the second derivative in v direction of the + //! section for v = param Standard_EXPORT Standard_Boolean D2(const Standard_Real Param, const Standard_Real First, const Standard_Real Last); diff --git a/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_LocationDraft.hxx b/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_LocationDraft.hxx index e3600bc9c4..3f92eb56a1 100644 --- a/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_LocationDraft.hxx +++ b/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_LocationDraft.hxx @@ -67,7 +67,7 @@ public: gp_Vec& V, TColgp_Array1OfPnt2d& Poles2d) Standard_OVERRIDE; - //! compute location 2d points and associated + //! compute location 2d points and associated //! first derivatives. //! Warning : It used only for C1 or C2 approximation Standard_EXPORT virtual Standard_Boolean D1(const Standard_Real Param, @@ -78,8 +78,8 @@ public: TColgp_Array1OfPnt2d& Poles2d, TColgp_Array1OfVec2d& DPoles2d) Standard_OVERRIDE; - //! compute location 2d points and associated - //! first and seconde derivatives. + //! compute location 2d points and associated + //! first and second derivatives. //! Warning : It used only for C2 approximation Standard_EXPORT virtual Standard_Boolean D2(const Standard_Real Param, gp_Mat& M, @@ -93,13 +93,13 @@ public: TColgp_Array1OfVec2d& D2Poles2d) Standard_OVERRIDE; //! Say if the first restriction is defined in this class. - //! If it is true the first element of poles array in + //! If it is true the first element of poles array in //! D0,D1,D2... Correspond to this restriction. //! Returns Standard_False (default implementation) Standard_EXPORT virtual Standard_Boolean HasFirstRestriction() const Standard_OVERRIDE; //! Say if the last restriction is defined in this class. - //! If it is true the last element of poles array in + //! If it is true the last element of poles array in //! D0,D1,D2... Correspond to this restriction. //! Returns Standard_False (default implementation) Standard_EXPORT virtual Standard_Boolean HasLastRestriction() const Standard_OVERRIDE; @@ -108,16 +108,15 @@ public: //! Returns 1 (default implementation) Standard_EXPORT virtual Standard_Integer TraceNumber() const Standard_OVERRIDE; - //! Returns the number of intervals for continuity - //! . + //! Returnsthe number of intervals for continuity . //! May be one if Continuity(me) >= Standard_EXPORT virtual Standard_Integer NbIntervals(const GeomAbs_Shape S) const Standard_OVERRIDE; - //! Stores in the parameters bounding the intervals + //! Stores in the parameters bounding the intervals //! of continuity . //! - //! The array must provide enough room to accommodate + //! The array must provide enough room to accommodate //! for the parameters. i.e. T.Length() > NbIntervals() Standard_EXPORT virtual void Intervals(TColStd_Array1OfReal& T, const GeomAbs_Shape S) const Standard_OVERRIDE; @@ -135,12 +134,12 @@ public: Standard_Real& Last) const Standard_OVERRIDE; //! Gets the bounds of the function parametric domain. - //! Warning: This domain it is not modified by the + //! Warning: This domain it is not modified by the //! SetValue method Standard_EXPORT virtual void GetDomain(Standard_Real& First, Standard_Real& Last) const Standard_OVERRIDE; - //! Returns the resolutions in the sub-space 2d + //! Returns the resolutions in the sub-space 2d //! This information is useful to find a good tolerance in //! 2d approximation. //! Warning: Used only if Nb2dCurve > 0 @@ -149,20 +148,20 @@ public: Standard_Real& TolU, Standard_Real& TolV) const Standard_OVERRIDE; - //! Get the maximum Norm of the matrix-location part. It + //! Get the maximum Norm of the matrix-location part. It //! is usful to find a good Tolerance to approx M(t). Standard_EXPORT virtual Standard_Real GetMaximalNorm() Standard_OVERRIDE; //! Get average value of M(t) and V(t) it is useful to - //! make fast approximation of rational surfaces. + //! make fast approximation of rational surfaces. Standard_EXPORT virtual void GetAverageLaw(gp_Mat& AM, gp_Vec& AV) Standard_OVERRIDE; - //! Say if the Location Law, is an translation of Location + //! Say if the Location Law, is an translation of Location //! The default implementation is " returns False ". Standard_EXPORT virtual Standard_Boolean IsTranslation(Standard_Real& Error) const Standard_OVERRIDE; - //! Say if the Location Law, is a rotation of Location + //! Say if the Location Law, is a rotation of Location //! The default implementation is " returns False ". Standard_EXPORT virtual Standard_Boolean IsRotation(Standard_Real& Error) const Standard_OVERRIDE; diff --git a/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_LocationGuide.hxx b/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_LocationGuide.hxx index 2981cd63d5..1365da2efa 100644 --- a/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_LocationGuide.hxx +++ b/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_LocationGuide.hxx @@ -76,7 +76,7 @@ public: gp_Vec& V, TColgp_Array1OfPnt2d& Poles2d) Standard_OVERRIDE; - //! compute location 2d points and associated + //! compute location 2d points and associated //! first derivatives. //! Warning : It used only for C1 or C2 approximation Standard_EXPORT virtual Standard_Boolean D1(const Standard_Real Param, @@ -87,8 +87,8 @@ public: TColgp_Array1OfPnt2d& Poles2d, TColgp_Array1OfVec2d& DPoles2d) Standard_OVERRIDE; - //! compute location 2d points and associated - //! first and seconde derivatives. + //! compute location 2d points and associated + //! first and second derivatives. //! Warning : It used only for C2 approximation Standard_EXPORT virtual Standard_Boolean D2(const Standard_Real Param, gp_Mat& M, @@ -102,13 +102,13 @@ public: TColgp_Array1OfVec2d& D2Poles2d) Standard_OVERRIDE; //! Say if the first restriction is defined in this class. - //! If it is true the first element of poles array in + //! If it is true the first element of poles array in //! D0,D1,D2... Correspond to this restriction. //! Returns Standard_False (default implementation) Standard_EXPORT virtual Standard_Boolean HasFirstRestriction() const Standard_OVERRIDE; //! Say if the last restriction is defined in this class. - //! If it is true the last element of poles array in + //! If it is true the last element of poles array in //! D0,D1,D2... Correspond to this restriction. //! Returns Standard_False (default implementation) Standard_EXPORT virtual Standard_Boolean HasLastRestriction() const Standard_OVERRIDE; @@ -121,16 +121,15 @@ public: //! Returns PipeOk (default implementation) Standard_EXPORT virtual GeomFill_PipeError ErrorStatus() const Standard_OVERRIDE; - //! Returns the number of intervals for continuity - //! . + //! Returns the number of intervals for continuity . //! May be one if Continuity(me) >= Standard_EXPORT virtual Standard_Integer NbIntervals(const GeomAbs_Shape S) const Standard_OVERRIDE; - //! Stores in the parameters bounding the intervals + //! Stores in the parameters bounding the intervals //! of continuity . //! - //! The array must provide enough room to accommodate + //! The array must provide enough room to accommodate //! for the parameters. i.e. T.Length() > NbIntervals() Standard_EXPORT virtual void Intervals(TColStd_Array1OfReal& T, const GeomAbs_Shape S) const Standard_OVERRIDE; @@ -148,7 +147,7 @@ public: Standard_Real& Last) const Standard_OVERRIDE; //! Gets the bounds of the function parametric domain. - //! Warning: This domain it is not modified by the + //! Warning: This domain it is not modified by the //! SetValue method Standard_EXPORT virtual void GetDomain(Standard_Real& First, Standard_Real& Last) const Standard_OVERRIDE; @@ -159,7 +158,7 @@ public: Standard_EXPORT virtual void SetTolerance(const Standard_Real Tol3d, const Standard_Real Tol2d) Standard_OVERRIDE; - //! Returns the resolutions in the sub-space 2d + //! Returns the resolutions in the sub-space 2d //! This information is useful to find a good tolerance in //! 2d approximation. //! Warning: Used only if Nb2dCurve > 0 @@ -168,20 +167,20 @@ public: Standard_Real& TolU, Standard_Real& TolV) const Standard_OVERRIDE; - //! Get the maximum Norm of the matrix-location part. It + //! Get the maximum Norm of the matrix-location part. It //! is usful to find a good Tolerance to approx M(t). Standard_EXPORT virtual Standard_Real GetMaximalNorm() Standard_OVERRIDE; //! Get average value of M(t) and V(t) it is useful to - //! make fast approximation of rational surfaces. + //! make fast approximation of rational surfaces. Standard_EXPORT virtual void GetAverageLaw(gp_Mat& AM, gp_Vec& AV) Standard_OVERRIDE; - //! Say if the Location Law, is an translation of Location + //! Say if the Location Law, is an translation of Location //! The default implementation is " returns False ". Standard_EXPORT virtual Standard_Boolean IsTranslation(Standard_Real& Error) const Standard_OVERRIDE; - //! Say if the Location Law, is a rotation of Location + //! Say if the Location Law, is a rotation of Location //! The default implementation is " returns False ". Standard_EXPORT virtual Standard_Boolean IsRotation(Standard_Real& Error) const Standard_OVERRIDE; diff --git a/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_LocationLaw.hxx b/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_LocationLaw.hxx index ae84cdb319..5ad14de10c 100644 --- a/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_LocationLaw.hxx +++ b/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_LocationLaw.hxx @@ -31,8 +31,8 @@ class gp_Pnt; class GeomFill_LocationLaw; DEFINE_STANDARD_HANDLE(GeomFill_LocationLaw, Standard_Transient) -//! To define location law in Sweeping location is -- -//! defined by an Matrix M and an Vector V, and +//! To define location law in Sweeping location is +//! defined by an Matrix M and an Vector V, and //! transform an point P in MP+V. class GeomFill_LocationLaw : public Standard_Transient { @@ -43,7 +43,7 @@ public: Standard_EXPORT virtual const Handle(Adaptor3d_Curve)& GetCurve() const = 0; - //! Set a transformation Matrix like the law M(t) become + //! Set a transformation Matrix like the law M(t) become //! Mat * M(t) Standard_EXPORT virtual void SetTrsf(const gp_Mat& Transfo) = 0; @@ -58,9 +58,9 @@ public: gp_Vec& V, TColgp_Array1OfPnt2d& Poles2d) = 0; - //! compute location 2d points and associated + //! compute location 2d points and associated //! first derivatives. - //! Warning : It used only for C1 or C2 approximation + //! Warning: It used only for C1 or C2 approximation Standard_EXPORT virtual Standard_Boolean D1(const Standard_Real Param, gp_Mat& M, gp_Vec& V, @@ -69,9 +69,9 @@ public: TColgp_Array1OfPnt2d& Poles2d, TColgp_Array1OfVec2d& DPoles2d); - //! compute location 2d points and associated - //! first and seconde derivatives. - //! Warning : It used only for C2 approximation + //! compute location 2d points and associated + //! first and second derivatives. + //! Warning: It used only for C2 approximation Standard_EXPORT virtual Standard_Boolean D2(const Standard_Real Param, gp_Mat& M, gp_Vec& V, @@ -83,18 +83,18 @@ public: TColgp_Array1OfVec2d& DPoles2d, TColgp_Array1OfVec2d& D2Poles2d); - //! get the number of 2d curves (Restrictions + Traces) + //! get the number of 2d curves (Restrictions + Traces) //! to approximate. Standard_EXPORT Standard_Integer Nb2dCurves() const; //! Say if the first restriction is defined in this class. - //! If it is true the first element of poles array in + //! If it is true the first element of poles array in //! D0,D1,D2... Correspond to this restriction. //! Returns Standard_False (default implementation) Standard_EXPORT virtual Standard_Boolean HasFirstRestriction() const; //! Say if the last restriction is defined in this class. - //! If it is true the last element of poles array in + //! If it is true the last element of poles array in //! D0,D1,D2... Correspond to this restriction. //! Returns Standard_False (default implementation) Standard_EXPORT virtual Standard_Boolean HasLastRestriction() const; @@ -107,15 +107,14 @@ public: //! Returns PipeOk (default implementation) Standard_EXPORT virtual GeomFill_PipeError ErrorStatus() const; - //! Returns the number of intervals for continuity - //! . + //! Returns the number of intervals for continuity . //! May be one if Continuity(me) >= Standard_EXPORT virtual Standard_Integer NbIntervals(const GeomAbs_Shape S) const = 0; - //! Stores in the parameters bounding the intervals + //! Stores in the parameters bounding the intervals //! of continuity . //! - //! The array must provide enough room to accommodate + //! The array must provide enough room to accommodate //! for the parameters. i.e. T.Length() > NbIntervals() Standard_EXPORT virtual void Intervals(TColStd_Array1OfReal& T, const GeomAbs_Shape S) const = 0; @@ -130,11 +129,11 @@ public: Standard_EXPORT virtual void GetInterval(Standard_Real& First, Standard_Real& Last) const = 0; //! Gets the bounds of the function parametric domain. - //! Warning: This domain it is not modified by the + //! Warning: This domain it is not modified by the //! SetValue method Standard_EXPORT virtual void GetDomain(Standard_Real& First, Standard_Real& Last) const = 0; - //! Returns the resolutions in the sub-space 2d + //! Returns the resolutions in the sub-space 2d //! This information is useful to find a good tolerance in //! 2d approximation. Standard_EXPORT virtual void Resolution(const Standard_Integer Index, @@ -147,7 +146,7 @@ public: //! The default implementation make nothing. Standard_EXPORT virtual void SetTolerance(const Standard_Real Tol3d, const Standard_Real Tol2d); - //! Get the maximum Norm of the matrix-location part. It + //! Get the maximum Norm of the matrix-location part. It //! is usful to find a good Tolerance to approx M(t). Standard_EXPORT virtual Standard_Real GetMaximalNorm() = 0; @@ -155,11 +154,11 @@ public: //! make fast approximation of rational surfaces. Standard_EXPORT virtual void GetAverageLaw(gp_Mat& AM, gp_Vec& AV) = 0; - //! Say if the Location Law, is an translation of Location + //! Say if the Location Law, is an translation of Location //! The default implementation is " returns False ". Standard_EXPORT virtual Standard_Boolean IsTranslation(Standard_Real& Error) const; - //! Say if the Location Law, is a rotation of Location + //! Say if the Location Law, is a rotation of Location //! The default implementation is " returns False ". Standard_EXPORT virtual Standard_Boolean IsRotation(Standard_Real& Error) const; diff --git a/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_NSections.hxx b/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_NSections.hxx index 7bd30babb6..64638b5232 100644 --- a/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_NSections.hxx +++ b/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_NSections.hxx @@ -85,8 +85,8 @@ public: TColgp_Array1OfPnt& Poles, TColStd_Array1OfReal& Weigths) Standard_OVERRIDE; - //! compute the first derivative in v direction of the - //! section for v = param + //! compute the first derivative in v direction of the + //! section for v = param //! Warning : It used only for C1 or C2 approximation Standard_EXPORT virtual Standard_Boolean D1(const Standard_Real Param, TColgp_Array1OfPnt& Poles, @@ -94,8 +94,8 @@ public: TColStd_Array1OfReal& Weigths, TColStd_Array1OfReal& DWeigths) Standard_OVERRIDE; - //! compute the second derivative in v direction of the - //! section for v = param + //! compute the second derivative in v direction of the + //! section for v = param //! Warning : It used only for C2 approximation Standard_EXPORT virtual Standard_Boolean D2(const Standard_Real Param, TColgp_Array1OfPnt& Poles, @@ -112,11 +112,11 @@ public: Standard_EXPORT void ComputeSurface(); //! give if possible an bspline Surface, like iso-v are the - //! section. If it is not possible this methode have to - //! get an Null Surface. Is it the default implementation. + //! section. If it is not possible this methode have to + //! get an Null Surface. Is it the default implementation. Standard_EXPORT virtual Handle(Geom_BSplineSurface) BSplineSurface() const Standard_OVERRIDE; - //! get the format of an section + //! get the format of an section Standard_EXPORT virtual void SectionShape(Standard_Integer& NbPoles, Standard_Integer& NbKnots, Standard_Integer& Degree) const Standard_OVERRIDE; @@ -133,19 +133,19 @@ public: //! Returns if the sections are periodic or not Standard_EXPORT virtual Standard_Boolean IsUPeriodic() const Standard_OVERRIDE; - //! Returns if the law isperiodic or not + //! Returns if the law isperiodic or not Standard_EXPORT virtual Standard_Boolean IsVPeriodic() const Standard_OVERRIDE; - //! Returns the number of intervals for continuity + //! Returns the number of intervals for continuity //! . //! May be one if Continuity(me) >= Standard_EXPORT virtual Standard_Integer NbIntervals(const GeomAbs_Shape S) const Standard_OVERRIDE; - //! Stores in the parameters bounding the intervals + //! Stores in the parameters bounding the intervals //! of continuity . //! - //! The array must provide enough room to accommodate + //! The array must provide enough room to accommodate //! for the parameters. i.e. T.Length() > NbIntervals() Standard_EXPORT virtual void Intervals(TColStd_Array1OfReal& T, const GeomAbs_Shape S) const Standard_OVERRIDE; @@ -163,15 +163,15 @@ public: Standard_Real& Last) const Standard_OVERRIDE; //! Gets the bounds of the function parametric domain. - //! Warning: This domain it is not modified by the + //! Warning: This domain it is not modified by the //! SetValue method Standard_EXPORT virtual void GetDomain(Standard_Real& First, Standard_Real& Last) const Standard_OVERRIDE; //! Returns the tolerances associated at each poles to - //! reach in approximation, to satisfy: BoundTol error - //! at the Boundary AngleTol tangent error at the - //! Boundary (in radian) SurfTol error inside the + //! reach in approximation, to satisfy: BoundTol error + //! at the Boundary AngleTol tangent error at the + //! Boundary (in radian) SurfTol error inside the //! surface. Standard_EXPORT virtual void GetTolerance(const Standard_Real BoundTol, const Standard_Real SurfTol, @@ -179,20 +179,20 @@ public: TColStd_Array1OfReal& Tol3d) const Standard_OVERRIDE; //! Get the barycentre of Surface. - //! An very poor estimation is sufficient. + //! An very poor estimation is sufficient. //! This information is useful to perform well //! conditioned rational approximation. //! Warning: Used only if IsRational Standard_EXPORT virtual gp_Pnt BarycentreOfSurf() const Standard_OVERRIDE; - //! Returns the length of the greater section. This + //! Returns the length of the greater section. This //! information is useful to G1's control. //! Warning: With an little value, approximation can be slower. Standard_EXPORT virtual Standard_Real MaximalSection() const Standard_OVERRIDE; //! Compute the minimal value of weight for each poles - //! in all sections. - //! This information is useful to control error + //! in all sections. + //! This information is useful to control error //! in rational approximation. //! Warning: Used only if IsRational Standard_EXPORT virtual void GetMinimalWeight(TColStd_Array1OfReal& Weigths) const @@ -201,17 +201,17 @@ public: //! return True If the Law isConstant Standard_EXPORT virtual Standard_Boolean IsConstant(Standard_Real& Error) const Standard_OVERRIDE; - //! Return the constant Section if IsConstant. + //! Return the constant Section if IsConstant. Standard_EXPORT virtual Handle(Geom_Curve) ConstantSection() const Standard_OVERRIDE; - //! Returns True if all section are circle, with same - //! plane,same center and linear radius evolution + //! Returns True if all section are circle, with same + //! plane,same center and linear radius evolution //! Return False by Default. Standard_EXPORT virtual Standard_Boolean IsConicalLaw(Standard_Real& Error) const Standard_OVERRIDE; - //! Return the circle section at parameter , if - //! a IsConicalLaw + //! Return the circle section at parameter , if + //! a IsConicalLaw Standard_EXPORT virtual Handle(Geom_Curve) CirclSection(const Standard_Real Param) const Standard_OVERRIDE; diff --git a/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_Pipe.hxx b/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_Pipe.hxx index ae1691a59c..97abe16a16 100644 --- a/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_Pipe.hxx +++ b/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_Pipe.hxx @@ -45,10 +45,10 @@ class gp_Dir; //! - implementing the construction algorithm, and //! - consulting the resulting surface. //! There are several methods to instantiate a Pipe: -//! 1) give a path and a radius : the section is -//! a circle. This location is the first point -//! of the path, and this direction is the first -//! derivate (calculate at the first point ) of +//! 1) give a path and a radius: the section is +//! a circle. This location is the first point +//! of the path, and this direction is the first +//! derivate (calculate at the first point ) of //! the path. //! //! 2) give a path and a section. @@ -64,15 +64,15 @@ class gp_Dir; //! 2.c) Define the path by a surface and a 2dcurve, //! the surface is used to define the trihedron's normal. //! It is useful to keep a constant angle between -//! input surface and the pipe. -- -//! 3) give a path and two sections. The section +//! input surface and the pipe. +//! 3) give a path and two sections. The section //! evaluate from First to Last Section. //! -//! 3) give a path and N sections. The section +//! 3) give a path and N sections. The section //! evaluate from First to Last Section. //! //! In general case the result is a NURBS. But we -//! can generate plane, cylindrical, spherical, +//! can generate plane, cylindrical, spherical, //! conical, toroidal surface in some particular case. //! //! The natural parametrization of the result is: @@ -94,23 +94,23 @@ public: Standard_EXPORT GeomFill_Pipe(const Handle(Geom_Curve)& Path, const Standard_Real Radius); - //! Create a pipe with a constant section - //! () and a path () - //! Option can be - GeomFill_IsCorrectedFrenet + //! Create a pipe with a constant section + //! () and a path () + //! Option can be - GeomFill_IsCorrectedFrenet //! - GeomFill_IsFrenet //! - GeomFill_IsConstant Standard_EXPORT GeomFill_Pipe(const Handle(Geom_Curve)& Path, const Handle(Geom_Curve)& FirstSect, const GeomFill_Trihedron Option = GeomFill_IsCorrectedFrenet); - //! Create a pipe with a constant section - //! () and a path defined by and + //! Create a pipe with a constant section + //! () and a path defined by and Standard_EXPORT GeomFill_Pipe(const Handle(Geom2d_Curve)& Path, const Handle(Geom_Surface)& Support, const Handle(Geom_Curve)& FirstSect); - //! Create a pipe with a constant section - //! () and a path and a fixed + //! Create a pipe with a constant section + //! () and a path and a fixed //! binormal direction

Standard_EXPORT GeomFill_Pipe(const Handle(Geom_Curve)& Path, const Handle(Geom_Curve)& FirstSect, @@ -122,26 +122,26 @@ public: const Handle(Geom_Curve)& FirstSect, const Handle(Geom_Curve)& LastSect); - //! Create a pipe with N sections + //! Create a pipe with N sections //! The section evaluate from First to Last Section Standard_EXPORT GeomFill_Pipe(const Handle(Geom_Curve)& Path, const TColGeom_SequenceOfCurve& NSections); - //! Create a pipe with a constant radius with 2 + //! Create a pipe with a constant radius with 2 //! guide-line. Standard_EXPORT GeomFill_Pipe(const Handle(Geom_Curve)& Path, const Handle(Geom_Curve)& Curve1, const Handle(Geom_Curve)& Curve2, const Standard_Real Radius); - //! Create a pipe with a constant radius with 2 + //! Create a pipe with a constant radius with 2 //! guide-line. Standard_EXPORT GeomFill_Pipe(const Handle(Adaptor3d_Curve)& Path, const Handle(Adaptor3d_Curve)& Curve1, const Handle(Adaptor3d_Curve)& Curve2, const Standard_Real Radius); - //! Create a pipe with a constant section and with 1 + //! Create a pipe with a constant section and with 1 //! guide-line. //! Use the function Perform to build the surface. //! All standard specific cases are detected in order to @@ -206,7 +206,7 @@ public: Standard_EXPORT void Init(const Handle(Geom_Curve)& Path, const TColGeom_SequenceOfCurve& NSections); - //! Create a pipe with a constant radius with 2 + //! Create a pipe with a constant radius with 2 //! guide-line. Standard_EXPORT void Init(const Handle(Adaptor3d_Curve)& Path, const Handle(Adaptor3d_Curve)& Curve1, @@ -239,8 +239,8 @@ public: Standard_EXPORT void Perform(const Standard_Boolean WithParameters = Standard_False, const Standard_Boolean myPolynomial = Standard_False); - //! detects the particular cases. And compute the surface. - //! if none particular case is detected we make an approximation + //! Detects the particular cases, and computes the surface. + //! if none particular case is detected we make an approximation //! with respect of the Tolerance , the continuty , the //! maximum degree , the maximum number of span //! and the spine parametrization. @@ -252,7 +252,7 @@ public: const Standard_Integer NbMaxSegment = 30); //! Returns the surface built by this algorithm. - //! Warning + //! Warning: //! Do not use this function before the surface is built (in this //! case the function will return a null handle). const Handle(Geom_Surface)& Surface() const; @@ -267,19 +267,19 @@ public: //! parameterization is inversed. //! The ExchangeUV function checks for this, and returns //! true in all these specific cases. - //! Warning + //! Warning: //! Do not use this function before the surface is built. Standard_Boolean ExchangeUV() const; - //! Sets a flag to try to create as many planes, - //! cylinder,... as possible. Default value is + //! Sets a flag to try to create as many planes, + //! cylinder,... as possible. Default value is //! . void GenerateParticularCase(const Standard_Boolean B); //! Returns the flag. Standard_Boolean GenerateParticularCase() const; - //! Returns the approximation's error. if the Surface + //! Returns the approximation's error. if the Surface //! is plane, cylinder ... this error can be 0. Standard_Real ErrorOnSurf() const; @@ -293,10 +293,10 @@ protected: private: Standard_EXPORT void Init(); - //! The result () is an approximation. Using - //! to do that. If - //! is set to , the - //! apprxoximation will be done in respect to the spine + //! The result () is an approximation. Using + //! to do that. If + //! is set to , the + //! apprxoximation will be done in respect to the spine //! parametrization. Standard_EXPORT void ApproxSurf(const Standard_Boolean WithParameters); diff --git a/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_Profiler.hxx b/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_Profiler.hxx index 7658c94365..b3af153e9a 100644 --- a/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_Profiler.hxx +++ b/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_Profiler.hxx @@ -29,8 +29,8 @@ class Geom_Curve; //! Evaluation of the common BSplineProfile of a group -//! of curves from Geom. All the curves will have the -//! same degree, the same knot-vector, so the same +//! of curves from Geom. All the curves will have the +//! same degree, the same knot-vector, so the same //! number of poles. class GeomFill_Profiler { @@ -55,11 +55,11 @@ public: //! Raises if not yet perform Standard_EXPORT Standard_Integer NbPoles() const; - //! returns in the poles of the BSplineCurve + //! returns in the poles of the BSplineCurve //! from index adjusting to the current profile. //! Raises if not yet perform //! Raises if not in the range [1,NbCurves] - //! if the length of is not equal to + //! if the length of is not equal to //! NbPoles(). Standard_EXPORT void Poles(const Standard_Integer Index, TColgp_Array1OfPnt& Poles) const; @@ -67,7 +67,7 @@ public: //! from index adjusting to the current profile. //! Raises if not yet perform //! Raises if not in the range [1,NbCurves] or - //! if the length of is not equal to + //! if the length of is not equal to //! NbPoles(). Standard_EXPORT void Weights(const Standard_Integer Index, TColStd_Array1OfReal& Weights) const; @@ -75,7 +75,7 @@ public: Standard_EXPORT Standard_Integer NbKnots() const; //! Raises if not yet perform - //! Raises if the lengths of and are + //! Raises if the lengths of and are //! not equal to NbKnots(). Standard_EXPORT void KnotsAndMults(TColStd_Array1OfReal& Knots, TColStd_Array1OfInteger& Mults) const; diff --git a/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_SectionGenerator.hxx b/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_SectionGenerator.hxx index 6cb56c1480..3dd1a01c1d 100644 --- a/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_SectionGenerator.hxx +++ b/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_SectionGenerator.hxx @@ -31,8 +31,8 @@ #include #include -//! gives the functions needed for instantiation from -//! AppSurf in AppBlend. Allow to evaluate a surface +//! gives the functions needed for instantiation from +//! AppSurf in AppBlend. Allow to evaluate a surface //! passing by all the curves if the Profiler. class GeomFill_SectionGenerator : public GeomFill_Profiler { @@ -68,7 +68,7 @@ public: TColgp_Array1OfPnt2d& Poles2d, TColStd_Array1OfReal& Weigths) const; - //! Returns the parameter of Section

, to impose it for the + //! Returns the parameter of Section

, to impose it for the //! approximation. Standard_EXPORT Standard_Real Parameter(const Standard_Integer P) const; diff --git a/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_SectionLaw.hxx b/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_SectionLaw.hxx index 31ea505a6f..541b47e6e7 100644 --- a/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_SectionLaw.hxx +++ b/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_SectionLaw.hxx @@ -34,7 +34,7 @@ class Geom_Curve; class GeomFill_SectionLaw; DEFINE_STANDARD_HANDLE(GeomFill_SectionLaw, Standard_Transient) -//! To define section law in sweeping +//! To define section law in sweeping class GeomFill_SectionLaw : public Standard_Transient { @@ -44,8 +44,8 @@ public: TColgp_Array1OfPnt& Poles, TColStd_Array1OfReal& Weigths) = 0; - //! compute the first derivative in v direction of the - //! section for v = param + //! compute the first derivative in v direction of the + //! section for v = param //! Warning : It used only for C1 or C2 approximation Standard_EXPORT virtual Standard_Boolean D1(const Standard_Real Param, TColgp_Array1OfPnt& Poles, @@ -53,8 +53,8 @@ public: TColStd_Array1OfReal& Weigths, TColStd_Array1OfReal& DWeigths); - //! compute the second derivative in v direction of the - //! section for v = param + //! compute the second derivative in v direction of the + //! section for v = param //! Warning : It used only for C2 approximation Standard_EXPORT virtual Standard_Boolean D2(const Standard_Real Param, TColgp_Array1OfPnt& Poles, @@ -65,11 +65,11 @@ public: TColStd_Array1OfReal& D2Weigths); //! give if possible an bspline Surface, like iso-v are the - //! section. If it is not possible this methode have to - //! get an Null Surface. It is the default implementation. + //! section. If it is not possible this method have to + //! get an Null Surface. It is the default implementation. Standard_EXPORT virtual Handle(Geom_BSplineSurface) BSplineSurface() const; - //! get the format of an section + //! get the format of an section Standard_EXPORT virtual void SectionShape(Standard_Integer& NbPoles, Standard_Integer& NbKnots, Standard_Integer& Degree) const = 0; @@ -89,15 +89,15 @@ public: //! Returns if law is periodic or not Standard_EXPORT virtual Standard_Boolean IsVPeriodic() const = 0; - //! Returns the number of intervals for continuity + //! Returns the number of intervals for continuity //! . //! May be one if Continuity(me) >= Standard_EXPORT virtual Standard_Integer NbIntervals(const GeomAbs_Shape S) const = 0; - //! Stores in the parameters bounding the intervals + //! Stores in the parameters bounding the intervals //! of continuity . //! - //! The array must provide enough room to accommodate + //! The array must provide enough room to accommodate //! for the parameters. i.e. T.Length() > NbIntervals() Standard_EXPORT virtual void Intervals(TColStd_Array1OfReal& T, const GeomAbs_Shape S) const = 0; @@ -112,40 +112,40 @@ public: Standard_EXPORT virtual void GetInterval(Standard_Real& First, Standard_Real& Last) const = 0; //! Gets the bounds of the function parametric domain. - //! Warning: This domain it is not modified by the + //! Warning: This domain it is not modified by the //! SetValue method Standard_EXPORT virtual void GetDomain(Standard_Real& First, Standard_Real& Last) const = 0; //! Returns the tolerances associated at each poles to - //! reach in approximation, to satisfy: BoundTol error - //! at the Boundary AngleTol tangent error at the - //! Boundary (in radian) SurfTol error inside the + //! reach in approximation, to satisfy: BoundTol error + //! at the Boundary AngleTol tangent error at the + //! Boundary (in radian) SurfTol error inside the //! surface. Standard_EXPORT virtual void GetTolerance(const Standard_Real BoundTol, const Standard_Real SurfTol, const Standard_Real AngleTol, TColStd_Array1OfReal& Tol3d) const = 0; - //! Is useful, if (me) have to run numerical - //! algorithm to perform D0, D1 or D2 + //! Is useful, if has to run numerical + //! algorithm to perform D0, D1 or D2 //! The default implementation make nothing. Standard_EXPORT virtual void SetTolerance(const Standard_Real Tol3d, const Standard_Real Tol2d); //! Get the barycentre of Surface. - //! An very poor estimation is sufficient. + //! A very poor estimation is sufficient. //! This information is useful to perform well //! conditioned rational approximation. //! Warning: Used only if IsRational Standard_EXPORT virtual gp_Pnt BarycentreOfSurf() const; - //! Returns the length of the greater section. This + //! Returns the length of the greater section. This //! information is useful to G1's control. //! Warning: With an little value, approximation can be slower. Standard_EXPORT virtual Standard_Real MaximalSection() const = 0; //! Compute the minimal value of weight for each poles - //! in all sections. - //! This information is useful to control error + //! in all sections. + //! This information is useful to control error //! in rational approximation. //! Warning: Used only if IsRational Standard_EXPORT virtual void GetMinimalWeight(TColStd_Array1OfReal& Weigths) const; @@ -153,17 +153,17 @@ public: //! Say if all sections are equals Standard_EXPORT virtual Standard_Boolean IsConstant(Standard_Real& Error) const; - //! Return a copy of the constant Section, if me + //! Return a copy of the constant Section, if //! IsConstant Standard_EXPORT virtual Handle(Geom_Curve) ConstantSection() const; - //! Returns True if all section are circle, with same - //! plane,same center and linear radius evolution + //! Returns True if all section are circle, with same + //! plane,same center and linear radius evolution //! Return False by Default. Standard_EXPORT virtual Standard_Boolean IsConicalLaw(Standard_Real& Error) const; - //! Return the circle section at parameter , if - //! a IsConicalLaw + //! Return the circle section at parameter , if + //! a IsConicalLaw Standard_EXPORT virtual Handle(Geom_Curve) CirclSection(const Standard_Real Param) const; DEFINE_STANDARD_RTTIEXT(GeomFill_SectionLaw, Standard_Transient) diff --git a/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_SectionPlacement.hxx b/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_SectionPlacement.hxx index 249a8add62..169a51c3d3 100644 --- a/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_SectionPlacement.hxx +++ b/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_SectionPlacement.hxx @@ -73,7 +73,7 @@ public: //! Compute the Section, in the coordinate system given by //! the Location Law. //! To have the Normal to section equal to the Location - //! Law Normal. If contact between + //! Law Normal. If contact between //!

and is forced. Standard_EXPORT Handle(Geom_Curve) ModifiedSection(const Standard_Boolean WithTranslation) const; diff --git a/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_SnglrFunc.hxx b/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_SnglrFunc.hxx index 73c163d285..ff2749450d 100644 --- a/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_SnglrFunc.hxx +++ b/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_SnglrFunc.hxx @@ -30,7 +30,7 @@ class gp_Pnt; class gp_Vec; -//! to represent function C'(t)^C''(t) +//! to represent function C'(t)^C''(t) class GeomFill_SnglrFunc : public Adaptor3d_Curve { public: @@ -47,14 +47,14 @@ public: Standard_EXPORT Standard_Real LastParameter() const Standard_OVERRIDE; - //! Returns the number of intervals for continuity + //! Returns the number of intervals for continuity //! . May be one if Continuity(me) >= Standard_EXPORT Standard_Integer NbIntervals(const GeomAbs_Shape S) const Standard_OVERRIDE; - //! Stores in the parameters bounding the intervals + //! Stores in the parameters bounding the intervals //! of continuity . //! - //! The array must provide enough room to accommodate + //! The array must provide enough room to accommodate //! for the parameters. i.e. T.Length() > NbIntervals() Standard_EXPORT void Intervals(TColStd_Array1OfReal& T, const GeomAbs_Shape S) const Standard_OVERRIDE; @@ -100,12 +100,12 @@ public: Standard_EXPORT gp_Vec DN(const Standard_Real U, const Standard_Integer N) const Standard_OVERRIDE; - //! Returns the parametric resolution corresponding + //! Returns the parametric resolution corresponding //! to the real space resolution . Standard_EXPORT Standard_Real Resolution(const Standard_Real R3d) const Standard_OVERRIDE; - //! Returns the type of the curve in the current - //! interval : Line, Circle, Ellipse, Hyperbola, + //! Returns the type of the curve in the current + //! interval: Line, Circle, Ellipse, Hyperbola, //! Parabola, BezierCurve, BSplineCurve, OtherCurve. Standard_EXPORT GeomAbs_CurveType GetType() const Standard_OVERRIDE; diff --git a/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_SweepFunction.hxx b/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_SweepFunction.hxx index d520b023d1..93928dd5c9 100644 --- a/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_SweepFunction.hxx +++ b/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_SweepFunction.hxx @@ -70,7 +70,7 @@ public: TColStd_Array1OfReal& Weigths, TColStd_Array1OfReal& DWeigths) Standard_OVERRIDE; - //! compute the second derivative in v direction of the + //! compute the second derivative in v direction of the //! section for v = param Standard_EXPORT virtual Standard_Boolean D2(const Standard_Real Param, const Standard_Real First, @@ -110,7 +110,7 @@ public: //! Stores in the parameters bounding the intervals //! of continuity . //! - //! The array must provide enough room to accommodate + //! The array must provide enough room to accommodate //! for the parameters. i.e. T.Length() > NbIntervals() Standard_EXPORT virtual void Intervals(TColStd_Array1OfReal& T, const GeomAbs_Shape S) const Standard_OVERRIDE; @@ -141,24 +141,24 @@ public: const Standard_Real AngleTol, TColStd_Array1OfReal& Tol3d) const Standard_OVERRIDE; - //! Is useful, if (me) have to be run numerical + //! Is useful, if has to be run numerical //! algorithme to perform D0, D1 or D2 Standard_EXPORT virtual void SetTolerance(const Standard_Real Tol3d, const Standard_Real Tol2d) Standard_OVERRIDE; - //! Get the barycentre of Surface. An very poor + //! Get the barycentre of Surface. An very poor //! estimation is sufficient. This information is useful //! to perform well conditioned rational approximation. //! Warning: Used only if IsRational Standard_EXPORT virtual gp_Pnt BarycentreOfSurf() const Standard_OVERRIDE; - //! Returns the length of the maximum section. This + //! Returns the length of the maximum section. This //! information is useful to perform well conditioned rational //! approximation. Standard_EXPORT virtual Standard_Real MaximalSection() const Standard_OVERRIDE; //! Compute the minimal value of weight for each poles - //! of all sections. This information is useful to + //! of all sections. This information is useful to //! perform well conditioned rational approximation. //! Warning: Used only if IsRational Standard_EXPORT virtual void GetMinimalWeight(TColStd_Array1OfReal& Weigths) const diff --git a/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_SweepSectionGenerator.hxx b/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_SweepSectionGenerator.hxx index 33f8c0a5f5..770080a22a 100644 --- a/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_SweepSectionGenerator.hxx +++ b/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_SweepSectionGenerator.hxx @@ -54,14 +54,14 @@ public: const Handle(Geom_Curve)& FirstSect, const Handle(Geom_Curve)& LastSect); - //! Create a pipe with a constant radius with 2 + //! Create a pipe with a constant radius with 2 //! guide-line. Standard_EXPORT GeomFill_SweepSectionGenerator(const Handle(Geom_Curve)& Path, const Handle(Geom_Curve)& Curve1, const Handle(Geom_Curve)& Curve2, const Standard_Real Radius); - //! Create a pipe with a constant radius with 2 + //! Create a pipe with a constant radius with 2 //! guide-line. Standard_EXPORT GeomFill_SweepSectionGenerator(const Handle(Adaptor3d_Curve)& Path, const Handle(Adaptor3d_Curve)& Curve1, @@ -118,7 +118,7 @@ public: //! raised if not in the range [1,NbSections()] Standard_EXPORT const gp_Trsf& Transformation(const Standard_Integer Index) const; - //! Returns the parameter of

, to impose it for the + //! Returns the parameter of

, to impose it for the //! approximation. Standard_EXPORT Standard_Real Parameter(const Standard_Integer P) const; diff --git a/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_TgtField.hxx b/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_TgtField.hxx index 38c0d24e2f..ef648faf6f 100644 --- a/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_TgtField.hxx +++ b/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_TgtField.hxx @@ -38,15 +38,15 @@ public: Standard_EXPORT virtual void Scale(const Handle(Law_BSpline)& Func); - //! Computes the value of the field of tangency at + //! Computes the value of the field of tangency at //! parameter W. Standard_EXPORT virtual gp_Vec Value(const Standard_Real W) const = 0; - //! Computes the derivative of the field of tangency at + //! Computes the derivative of the field of tangency at //! parameter W. Standard_EXPORT virtual gp_Vec D1(const Standard_Real W) const = 0; - //! Computes the value and the derivative of the field of + //! Computes the value and the derivative of the field of //! tangency at parameter W. Standard_EXPORT virtual void D1(const Standard_Real W, gp_Vec& V, gp_Vec& DV) const = 0; diff --git a/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_TgtOnCoons.hxx b/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_TgtOnCoons.hxx index 10808443b6..7ed3f8d178 100644 --- a/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_TgtOnCoons.hxx +++ b/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_TgtOnCoons.hxx @@ -28,7 +28,7 @@ class gp_Vec; class GeomFill_TgtOnCoons; DEFINE_STANDARD_HANDLE(GeomFill_TgtOnCoons, GeomFill_TgtField) -//! Defines an algorithmic tangents field on a +//! Defines an algorithmic tangents field on a //! boundary of a CoonsAlgPatch. class GeomFill_TgtOnCoons : public GeomFill_TgtField { @@ -37,15 +37,15 @@ public: Standard_EXPORT GeomFill_TgtOnCoons(const Handle(GeomFill_CoonsAlgPatch)& K, const Standard_Integer I); - //! Computes the value of the field of tangency at + //! Computes the value of the field of tangency at //! parameter W. Standard_EXPORT gp_Vec Value(const Standard_Real W) const Standard_OVERRIDE; - //! Computes the derivative of the field of tangency at + //! Computes the derivative of the field of tangency at //! parameter W. Standard_EXPORT gp_Vec D1(const Standard_Real W) const Standard_OVERRIDE; - //! Computes the value and the derivative of the field of + //! Computes the value and the derivative of the field of //! tangency at parameter W. Standard_EXPORT void D1(const Standard_Real W, gp_Vec& T, gp_Vec& DT) const Standard_OVERRIDE; diff --git a/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_TrihedronLaw.hxx b/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_TrihedronLaw.hxx index 1265f24ee2..ace8c56b94 100644 --- a/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_TrihedronLaw.hxx +++ b/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_TrihedronLaw.hxx @@ -48,7 +48,7 @@ public: gp_Vec& Normal, gp_Vec& BiNormal) = 0; - //! compute Triedrhon and derivative Trihedron on curve + //! compute Triedrhon and derivative Trihedron on curve //! at parameter //! Warning : It used only for C1 or C2 approximation Standard_EXPORT virtual Standard_Boolean D1(const Standard_Real Param, @@ -59,8 +59,8 @@ public: gp_Vec& BiNormal, gp_Vec& DBiNormal); - //! compute Trihedron on curve - //! first and seconde derivatives. + //! compute Trihedron on curve + //! first and second derivatives. //! Warning : It used only for C2 approximation Standard_EXPORT virtual Standard_Boolean D2(const Standard_Real Param, gp_Vec& Tangent, @@ -73,15 +73,15 @@ public: gp_Vec& DBiNormal, gp_Vec& D2BiNormal); - //! Returns the number of intervals for continuity + //! Returns the number of intervals for continuity //! . //! May be one if Continuity(me) >= Standard_EXPORT virtual Standard_Integer NbIntervals(const GeomAbs_Shape S) const = 0; - //! Stores in the parameters bounding the intervals + //! Stores in the parameters bounding the intervals //! of continuity . //! - //! The array must provide enough room to accommodate + //! The array must provide enough room to accommodate //! for the parameters. i.e. T.Length() > NbIntervals() Standard_EXPORT virtual void Intervals(TColStd_Array1OfReal& T, const GeomAbs_Shape S) const = 0; @@ -96,7 +96,7 @@ public: Standard_EXPORT void GetInterval(Standard_Real& First, Standard_Real& Last); //! Get average value of M(t) and V(t) it is useful to - //! make fast approximation of rational surfaces. + //! make fast approximation of rational surfaces. Standard_EXPORT virtual void GetAverageLaw(gp_Vec& ATangent, gp_Vec& ANormal, gp_Vec& ABiNormal) = 0; diff --git a/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_UniformSection.hxx b/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_UniformSection.hxx index 59da58b48d..217915ea13 100644 --- a/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_UniformSection.hxx +++ b/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_UniformSection.hxx @@ -51,8 +51,8 @@ public: TColgp_Array1OfPnt& Poles, TColStd_Array1OfReal& Weigths) Standard_OVERRIDE; - //! compute the first derivative in v direction of the - //! section for v = param + //! compute the first derivative in v direction of the + //! section for v = param //! Warning : It used only for C1 or C2 approximation Standard_EXPORT virtual Standard_Boolean D1(const Standard_Real Param, TColgp_Array1OfPnt& Poles, @@ -60,8 +60,8 @@ public: TColStd_Array1OfReal& Weigths, TColStd_Array1OfReal& DWeigths) Standard_OVERRIDE; - //! compute the second derivative in v direction of the - //! section for v = param + //! compute the second derivative in v direction of the + //! section for v = param //! Warning : It used only for C2 approximation Standard_EXPORT virtual Standard_Boolean D2(const Standard_Real Param, TColgp_Array1OfPnt& Poles, @@ -72,11 +72,11 @@ public: TColStd_Array1OfReal& D2Weigths) Standard_OVERRIDE; //! give if possible an bspline Surface, like iso-v are the - //! section. If it is not possible this methode have to - //! get an Null Surface. Is it the default implementation. + //! section. If it is not possible this method have to + //! get an Null Surface. Is it the default implementation. Standard_EXPORT virtual Handle(Geom_BSplineSurface) BSplineSurface() const Standard_OVERRIDE; - //! get the format of an section + //! get the format of an section Standard_EXPORT virtual void SectionShape(Standard_Integer& NbPoles, Standard_Integer& NbKnots, Standard_Integer& Degree) const Standard_OVERRIDE; @@ -93,19 +93,19 @@ public: //! Returns if the sections are periodic or not Standard_EXPORT virtual Standard_Boolean IsUPeriodic() const Standard_OVERRIDE; - //! Returns if the law isperiodic or not + //! Returns if the law isperiodic or not Standard_EXPORT virtual Standard_Boolean IsVPeriodic() const Standard_OVERRIDE; - //! Returns the number of intervals for continuity + //! Returns the number of intervals for continuity //! . //! May be one if Continuity(me) >= Standard_EXPORT virtual Standard_Integer NbIntervals(const GeomAbs_Shape S) const Standard_OVERRIDE; - //! Stores in the parameters bounding the intervals + //! Stores in the parameters bounding the intervals //! of continuity . //! - //! The array must provide enough room to accommodate + //! The array must provide enough room to accommodate //! for the parameters. i.e. T.Length() > NbIntervals() Standard_EXPORT virtual void Intervals(TColStd_Array1OfReal& T, const GeomAbs_Shape S) const Standard_OVERRIDE; @@ -123,15 +123,15 @@ public: Standard_Real& Last) const Standard_OVERRIDE; //! Gets the bounds of the function parametric domain. - //! Warning: This domain it is not modified by the + //! Warning: This domain it is not modified by the //! SetValue method Standard_EXPORT virtual void GetDomain(Standard_Real& First, Standard_Real& Last) const Standard_OVERRIDE; //! Returns the tolerances associated at each poles to - //! reach in approximation, to satisfy: BoundTol error - //! at the Boundary AngleTol tangent error at the - //! Boundary (in radian) SurfTol error inside the + //! reach in approximation, to satisfy: BoundTol error + //! at the Boundary AngleTol tangent error at the + //! Boundary (in radian) SurfTol error inside the //! surface. Standard_EXPORT virtual void GetTolerance(const Standard_Real BoundTol, const Standard_Real SurfTol, @@ -139,20 +139,20 @@ public: TColStd_Array1OfReal& Tol3d) const Standard_OVERRIDE; //! Get the barycentre of Surface. - //! An very poor estimation is sufficient. + //! An very poor estimation is sufficient. //! This information is useful to perform well //! conditioned rational approximation. //! Warning: Used only if IsRational Standard_EXPORT virtual gp_Pnt BarycentreOfSurf() const Standard_OVERRIDE; - //! Returns the length of the greater section. This + //! Returns the length of the greater section. This //! information is useful to G1's control. //! Warning: With an little value, approximation can be slower. Standard_EXPORT virtual Standard_Real MaximalSection() const Standard_OVERRIDE; //! Compute the minimal value of weight for each poles - //! in all sections. - //! This information is useful to control error + //! in all sections. + //! This information is useful to control error //! in rational approximation. //! Warning: Used only if IsRational Standard_EXPORT virtual void GetMinimalWeight(TColStd_Array1OfReal& Weigths) const @@ -161,7 +161,7 @@ public: //! return True Standard_EXPORT virtual Standard_Boolean IsConstant(Standard_Real& Error) const Standard_OVERRIDE; - //! Return the constant Section if IsConstant. + //! Return the constant Section if IsConstant. Standard_EXPORT virtual Handle(Geom_Curve) ConstantSection() const Standard_OVERRIDE; DEFINE_STANDARD_RTTIEXT(GeomFill_UniformSection, GeomFill_SectionLaw) diff --git a/src/ModelingAlgorithms/TKGeomAlgo/GeomInt/GeomInt.hxx b/src/ModelingAlgorithms/TKGeomAlgo/GeomInt/GeomInt.hxx index 76a7f108da..787bac74dd 100644 --- a/src/ModelingAlgorithms/TKGeomAlgo/GeomInt/GeomInt.hxx +++ b/src/ModelingAlgorithms/TKGeomAlgo/GeomInt/GeomInt.hxx @@ -31,7 +31,7 @@ class GeomInt public: DEFINE_STANDARD_ALLOC - //! Adjusts the parameter to the range [theParMin, theParMax] + //! Adjusts the parameter to the range [theParMin, theParMax] Standard_EXPORT static Standard_Boolean AdjustPeriodic(const Standard_Real thePar, const Standard_Real theParMin, const Standard_Real theParMax, diff --git a/src/ModelingAlgorithms/TKGeomAlgo/GeomInt/GeomInt_TheComputeLineBezierOfWLApprox.hxx b/src/ModelingAlgorithms/TKGeomAlgo/GeomInt/GeomInt_TheComputeLineBezierOfWLApprox.hxx index 258ab4ecd3..a2abd58952 100644 --- a/src/ModelingAlgorithms/TKGeomAlgo/GeomInt/GeomInt_TheComputeLineBezierOfWLApprox.hxx +++ b/src/ModelingAlgorithms/TKGeomAlgo/GeomInt/GeomInt_TheComputeLineBezierOfWLApprox.hxx @@ -155,7 +155,7 @@ public: //! returns the result of the approximation. Standard_EXPORT const AppParCurves_MultiBSpCurve& SplineValue(); - //! returns the type of parametrization + //! returns the type of parametrization Standard_EXPORT Approx_ParametrizationType Parametrization() const; //! returns the new parameters of the approximation diff --git a/src/ModelingAlgorithms/TKGeomAlgo/GeomInt/GeomInt_TheComputeLineOfWLApprox.hxx b/src/ModelingAlgorithms/TKGeomAlgo/GeomInt/GeomInt_TheComputeLineOfWLApprox.hxx index f6ad82496e..73bb711809 100644 --- a/src/ModelingAlgorithms/TKGeomAlgo/GeomInt/GeomInt_TheComputeLineOfWLApprox.hxx +++ b/src/ModelingAlgorithms/TKGeomAlgo/GeomInt/GeomInt_TheComputeLineOfWLApprox.hxx @@ -125,7 +125,7 @@ public: Standard_EXPORT void Perform(const GeomInt_TheMultiLineOfWLApprox& Line); //! The approximation will begin with the - //! set of parameters . + //! set of parameters . Standard_EXPORT void SetParameters(const math_Vector& ThePar); //! The approximation will be done with the diff --git a/src/ModelingAlgorithms/TKGeomAlgo/GeomInt/GeomInt_TheMultiLineOfWLApprox.hxx b/src/ModelingAlgorithms/TKGeomAlgo/GeomInt/GeomInt_TheMultiLineOfWLApprox.hxx index badfd85f4e..dc4283ddcf 100644 --- a/src/ModelingAlgorithms/TKGeomAlgo/GeomInt/GeomInt_TheMultiLineOfWLApprox.hxx +++ b/src/ModelingAlgorithms/TKGeomAlgo/GeomInt/GeomInt_TheMultiLineOfWLApprox.hxx @@ -41,9 +41,9 @@ public: //! The class SvSurfaces is used when the approximation algorithm //! needs some extra points on the line . - //! A New line is then created which shares the same surfaces and functions. + //! A New line is then created which shares the same surfaces and functions. //! SvSurfaces is a deferred class which allows several implementations of - //! this algorithm with different surfaces (bi-parametric ones, or + //! this algorithm with different surfaces (bi-parametric ones, or //! implicit and biparametric ones) Standard_EXPORT GeomInt_TheMultiLineOfWLApprox(const Handle(IntPatch_WLine)& line, const Standard_Address PtrSvSurfaces, diff --git a/src/ModelingAlgorithms/TKGeomAlgo/GeomPlate/GeomPlate_BuildAveragePlane.hxx b/src/ModelingAlgorithms/TKGeomAlgo/GeomPlate/GeomPlate_BuildAveragePlane.hxx index 3b73388174..d1fe1b91d8 100644 --- a/src/ModelingAlgorithms/TKGeomAlgo/GeomPlate/GeomPlate_BuildAveragePlane.hxx +++ b/src/ModelingAlgorithms/TKGeomAlgo/GeomPlate/GeomPlate_BuildAveragePlane.hxx @@ -67,8 +67,8 @@ public: //! return OK if is a line. Standard_EXPORT Standard_Boolean IsLine() const; - //! computes the minimal box to include all normal - //! projection points of the initial array on the plane. + //! computes the minimal box to include all normal + //! projection points of the initial array on the plane. Standard_EXPORT void MinMaxBox(Standard_Real& Umin, Standard_Real& Umax, Standard_Real& Vmin, diff --git a/src/ModelingAlgorithms/TKGeomAlgo/GeomPlate/GeomPlate_BuildPlateSurface.hxx b/src/ModelingAlgorithms/TKGeomAlgo/GeomPlate/GeomPlate_BuildPlateSurface.hxx index c132f3aaae..30f3b43b88 100644 --- a/src/ModelingAlgorithms/TKGeomAlgo/GeomPlate/GeomPlate_BuildPlateSurface.hxx +++ b/src/ModelingAlgorithms/TKGeomAlgo/GeomPlate/GeomPlate_BuildPlateSurface.hxx @@ -55,16 +55,16 @@ class GeomPlate_BuildPlateSurface public: DEFINE_STANDARD_ALLOC - //! Constructor compatible with the old version + //! Constructor compatible with the old version //! with this constructor the constraint are given in a Array of Curve on Surface - //! The array NbPoints contains the number of points for each constraint. + //! The array NbPoints contains the number of points for each constraint. //! The Array Tang contains the order of constraint for each Constraint: The possible values for //! this order has to be -1 , 0 , 1 , 2 . Order i means constraint Gi. NbIter is the maximum //! number of iteration to optimise the number of points for resolution Degree is the degree of //! resolution for Plate Tol2d is the tolerance used to test if two points of different constraint //! are identical in the parametric space of the initial surface Tol3d is used to test if two //! identical points in the 2d space are identical in 3d space TolAng is used to compare the angle - //! between normal of two identical points in the 2d space Raises ConstructionError; + //! between normal of two identical points in the 2d space Raises ConstructionError; Standard_EXPORT GeomPlate_BuildPlateSurface(const Handle(TColStd_HArray1OfInteger)& NPoints, const Handle(GeomPlate_HArray1OfHCurve)& TabCurve, const Handle(TColStd_HArray1OfInteger)& Tang, @@ -189,13 +189,13 @@ public: //! Returns the max distance between the result and the constraints Standard_EXPORT Standard_Real G0Error() const; - //! Returns the max angle between the result and the constraints + //! Returns the max angle between the result and the constraints Standard_EXPORT Standard_Real G1Error() const; - //! Returns the max difference of curvature between the result and the constraints + //! Returns the max difference of curvature between the result and the constraints Standard_EXPORT Standard_Real G2Error() const; - //! Returns the max distance between the result and the constraint Index + //! Returns the max distance between the result and the constraint Index Standard_EXPORT Standard_Real G0Error(const Standard_Integer Index); //! Returns the max angle between the result and the constraint Index diff --git a/src/ModelingAlgorithms/TKGeomAlgo/GeomPlate/GeomPlate_CurveConstraint.hxx b/src/ModelingAlgorithms/TKGeomAlgo/GeomPlate/GeomPlate_CurveConstraint.hxx index 7b2235e813..0bfcdd4422 100644 --- a/src/ModelingAlgorithms/TKGeomAlgo/GeomPlate/GeomPlate_CurveConstraint.hxx +++ b/src/ModelingAlgorithms/TKGeomAlgo/GeomPlate/GeomPlate_CurveConstraint.hxx @@ -44,7 +44,7 @@ public: //! TolAng is the maximum error to satisfy for G1 constraints //! TolCurv is the maximum error to satisfy for G2 constraints //! These errors can be replaced by laws of criterion. - //! Raises ConstructionError if Order is not -1 , 0, 1, 2 + //! Raises ConstructionError if Order is not -1 , 0, 1, 2 Standard_EXPORT GeomPlate_CurveConstraint(const Handle(Adaptor3d_Curve)& Boundary, const Standard_Integer Order, const Standard_Integer NPt = 10, @@ -83,7 +83,7 @@ public: //! defining the greatest angle allowed between the //! constraint and the target surface. If this criterion is not //! set, TolAng, the angular tolerance from the constructor, is used. - //! Raises ConstructionError if the curve is not on a surface + //! Raises ConstructionError if the curve is not on a surface Standard_EXPORT void SetG1Criterion(const Handle(Law_Function)& G1Crit); Standard_EXPORT void SetG2Criterion(const Handle(Law_Function)& G2Crit); @@ -96,13 +96,13 @@ public: //! Returns the G1 criterion at the parametric point U on //! the curve. This is the greatest angle allowed between //! the constraint and the target surface at U. - //! Raises ConstructionError if the curve is not on a surface + //! Raises ConstructionError if the curve is not on a surface Standard_EXPORT Standard_Real G1Criterion(const Standard_Real U) const; //! Returns the G2 criterion at the parametric point U on //! the curve. This is the greatest difference in curvature //! allowed between the constraint and the target surface at U. - //! Raises ConstructionError if the curve is not on a surface + //! Raises ConstructionError if the curve is not on a surface Standard_EXPORT Standard_Real G2Criterion(const Standard_Real U) const; Standard_EXPORT Standard_Real FirstParameter() const; @@ -133,7 +133,7 @@ public: //! Returns a 2d curve associated the surface resulting of the constraints Standard_EXPORT Handle(Geom2d_Curve) Curve2dOnSurf() const; - //! loads a 2d curve resulting from the normal projection of + //! loads a 2d curve resulting from the normal projection of //! the curve on the initial surface Standard_EXPORT void SetProjectedCurve(const Handle(Adaptor2d_Curve2d)& Curve2d, const Standard_Real TolU, diff --git a/src/ModelingAlgorithms/TKGeomAlgo/GeomPlate/GeomPlate_PointConstraint.hxx b/src/ModelingAlgorithms/TKGeomAlgo/GeomPlate/GeomPlate_PointConstraint.hxx index 4465fce407..f89d7d31aa 100644 --- a/src/ModelingAlgorithms/TKGeomAlgo/GeomPlate/GeomPlate_PointConstraint.hxx +++ b/src/ModelingAlgorithms/TKGeomAlgo/GeomPlate/GeomPlate_PointConstraint.hxx @@ -36,7 +36,7 @@ class GeomPlate_PointConstraint : public Standard_Transient { public: - //! Constructs a point constraint object defined by Pt, a 3D point + //! Constructs a point constraint object defined by Pt, a 3D point //! Order gives the order of constraint, one of: //! - -1 i.e. none, or 0 i.e.G0 when assigned to Pt //! - -1 i.e. none, 0 i.e. G0, 1 i.e. G1, 2 i.e. G2 when @@ -48,7 +48,7 @@ public: //! between the constraint and the target surface. Curvature //! tolerance represents the greatest difference in curvature //! allowed between the constraint and the target surface. - //! Raises ConstructionError if Order is not 0 or -1 + //! Raises ConstructionError if Order is not 0 or -1 Standard_EXPORT GeomPlate_PointConstraint(const gp_Pnt& Pt, const Standard_Integer Order, const Standard_Real TolDist = 0.0001); @@ -94,7 +94,7 @@ public: //! defining the greatest angle allowed between the //! constraint and the target surface. If this criterion is not //! set, TolAng, the angular tolerance from the constructor, is used. - //! Raises ConstructionError if the point is not on the surface + //! Raises ConstructionError if the point is not on the surface Standard_EXPORT void SetG1Criterion(const Standard_Real TolAng); //! Allows you to set the G2 criterion. This is the law @@ -102,7 +102,7 @@ public: //! between the constraint and the target surface. If this //! criterion is not set, TolCurv, the curvature tolerance from //! the constructor, is used. - //! Raises ConstructionError if the point is not on the surface + //! Raises ConstructionError if the point is not on the surface Standard_EXPORT void SetG2Criterion(const Standard_Real TolCurv); //! Returns the G0 criterion. This is the greatest distance @@ -111,12 +111,12 @@ public: //! Returns the G1 criterion. This is the greatest angle //! allowed between the constraint and the target surface. - //! Raises ConstructionError if the point is not on the surface. + //! Raises ConstructionError if the point is not on the surface. Standard_EXPORT Standard_Real G1Criterion() const; //! Returns the G2 criterion. This is the greatest difference //! in curvature allowed between the constraint and the target surface. - //! Raises ConstructionError if the point is not on the surface + //! Raises ConstructionError if the point is not on the surface Standard_EXPORT Standard_Real G2Criterion() const; Standard_EXPORT void D0(gp_Pnt& P) const; diff --git a/src/ModelingAlgorithms/TKGeomAlgo/GeomPlate/GeomPlate_Surface.hxx b/src/ModelingAlgorithms/TKGeomAlgo/GeomPlate/GeomPlate_Surface.hxx index aa97182e63..86e176e40e 100644 --- a/src/ModelingAlgorithms/TKGeomAlgo/GeomPlate/GeomPlate_Surface.hxx +++ b/src/ModelingAlgorithms/TKGeomAlgo/GeomPlate/GeomPlate_Surface.hxx @@ -54,7 +54,7 @@ public: //! The bounds of the surface are not modified. Standard_EXPORT void UReverse() Standard_OVERRIDE; - //! Return the parameter on the Ureversed surface for + //! Return the parameter on the Ureversed surface for //! the point of parameter U on . //! @code //! me->UReversed()->Value(me->UReversedParameter(U),V) @@ -69,7 +69,7 @@ public: //! The bounds of the surface are not modified. Standard_EXPORT void VReverse() Standard_OVERRIDE; - //! Return the parameter on the Vreversed surface for + //! Return the parameter on the Vreversed surface for //! the point of parameter V on . //! @code //! me->VReversed()->Value(U,me->VReversedParameter(V)) @@ -80,7 +80,7 @@ public: //! @endcode Standard_EXPORT Standard_Real VReversedParameter(const Standard_Real V) const Standard_OVERRIDE; - //! Computes the parameters on the transformed surface for + //! Computes the parameters on the transformed surface for //! the transform of the point of parameters U,V on . //! @code //! me->Transformed(T)->Value(U',V') @@ -95,13 +95,13 @@ public: //! @endcode //! This methods does not change and //! - //! It can be redefined. For example on the Plane, + //! It can be redefined. For example on the Plane, //! Cylinder, Cone, Revolved and Extruded surfaces. Standard_EXPORT virtual void TransformParameters(Standard_Real& U, Standard_Real& V, const gp_Trsf& T) const Standard_OVERRIDE; - //! Returns a 2d transformation used to find the new + //! Returns a 2d transformation used to find the new //! parameters of a point on the transformed surface. //! @code //! me->Transformed(T)->Value(U',V') @@ -110,14 +110,14 @@ public: //! @code //! me->Value(U,V).Transformed(T) //! @endcode - //! Where U',V' are obtained by transforming U,V with + //! Where U',V' are obtained by transforming U,V with //! the 2d transformation returned by //! @code //! me->ParametricTransformation(T) //! @endcode //! This method returns an identity transformation //! - //! It can be redefined. For example on the Plane, + //! It can be redefined. For example on the Plane, //! Cylinder, Cone, Revolved and Extruded surfaces. Standard_EXPORT virtual gp_GTrsf2d ParametricTransformation(const gp_Trsf& T) const Standard_OVERRIDE; @@ -128,16 +128,16 @@ public: Standard_Real& V2) const Standard_OVERRIDE; //! Is the surface closed in the parametric direction U ? - //! Returns True if for each parameter V the distance + //! Returns True if for each parameter V the distance //! between the point P (UFirst, V) and P (ULast, V) is - //! lower or equal to Resolution from gp. UFirst and ULast + //! lower or equal to Resolution from gp. UFirst and ULast //! are the parametric bounds in the U direction. Standard_EXPORT Standard_Boolean IsUClosed() const Standard_OVERRIDE; //! Is the surface closed in the parametric direction V ? - //! Returns True if for each parameter U the distance - //! between the point P (U, VFirst) and P (U, VLast) is - //! lower or equal to Resolution from gp. VFirst and VLast + //! Returns True if for each parameter U the distance + //! between the point P (U, VFirst) and P (U, VLast) is + //! lower or equal to Resolution from gp. VFirst and VLast //! are the parametric bounds in the V direction. Standard_EXPORT Standard_Boolean IsVClosed() const Standard_OVERRIDE; @@ -147,7 +147,7 @@ public: //! parametric direction and if the following relation is //! satisfied : //! for each parameter V the distance between the point - //! P (U, V) and the point P (U + T, V) is lower or equal + //! P (U, V) and the point P (U + T, V) is lower or equal //! to Resolution from package gp. T is the parametric period //! and must be a constant. Standard_EXPORT Standard_Boolean IsUPeriodic() const Standard_OVERRIDE; @@ -162,7 +162,7 @@ public: //! parametric direction and if the following relation is //! satisfied : //! for each parameter V the distance between the point - //! P (U, V) and the point P (U + T, V) is lower or equal + //! P (U, V) and the point P (U + T, V) is lower or equal //! to Resolution from package gp. T is the parametric period //! and must be a constant. Standard_EXPORT Standard_Boolean IsVPeriodic() const Standard_OVERRIDE; diff --git a/src/ModelingAlgorithms/TKGeomAlgo/Hatch/Hatch_Hatcher.hxx b/src/ModelingAlgorithms/TKGeomAlgo/Hatch/Hatch_Hatcher.hxx index 8de3ac37ce..ce0dca7bf3 100644 --- a/src/ModelingAlgorithms/TKGeomAlgo/Hatch/Hatch_Hatcher.hxx +++ b/src/ModelingAlgorithms/TKGeomAlgo/Hatch/Hatch_Hatcher.hxx @@ -27,45 +27,45 @@ class gp_Lin2d; class gp_Dir2d; class gp_Pnt2d; -//! The Hatcher is an algorithm to compute cross +//! The Hatcher is an algorithm to compute cross //! hatchings in a 2d plane. It is mainly dedicated to //! display purpose. //! //! Computing cross hatchings is a 3 steps process : //! -//! 1. The users stores in the Hatcher a set of 2d -//! lines to be trimmed. Methods in the "Lines" +//! 1. The users stores in the Hatcher a set of 2d +//! lines to be trimmed. Methods in the "Lines" //! category. //! -//! 2. The user trims the lines with a boundary. The -//! inside of a boundary is on the left side. Methods +//! 2. The user trims the lines with a boundary. The +//! inside of a boundary is on the left side. Methods //! in the "Trimming" category. //! -//! 3. The user reads back the trimmed lines. Methods +//! 3. The user reads back the trimmed lines. Methods //! in the "Results" category. //! -//! The result is a set of parameter intervals on the -//! line. The first parameter of an Interval may be +//! The result is a set of parameter intervals on the +//! line. The first parameter of an Interval may be //! RealFirst() and the last may be RealLast(). //! -//! A line can be a line parallel to the axis (X or Y +//! A line can be a line parallel to the axis (X or Y //! line or a 2D line. //! //! The Hatcher has two modes : //! -//! * The "Oriented" mode, where the orientation of -//! the trimming curves is considered. The hatch are -//! kept on the left of the trimming curve. In this +//! * The "Oriented" mode, where the orientation of +//! the trimming curves is considered. The hatch are +//! kept on the left of the trimming curve. In this //! mode infinite hatch can be computed. //! -//! * The "UnOriented" mode, where the hatch are +//! * The "UnOriented" mode, where the hatch are //! always finite. class Hatch_Hatcher { public: DEFINE_STANDARD_ALLOC - //! Returns a empty hatcher. is the tolerance + //! Returns an empty hatcher. is the tolerance //! for intersections. Standard_EXPORT Hatch_Hatcher(const Standard_Real Tol, const Standard_Boolean Oriented = Standard_True); @@ -74,16 +74,16 @@ public: Standard_Real Tolerance() const; - //! Add a line to be trimmed. the type is - //! only kept from information. It is not used in the + //! Add a line to be trimmed. the type is + //! only kept from information. It is not used in the //! computation. Standard_EXPORT void AddLine(const gp_Lin2d& L, const Hatch_LineForm T = Hatch_ANYLINE); - //! Add an infinite line on direction at distance - //! from the origin to be trimmed. may + //! Add an infinite line on direction at distance + //! from the origin to be trimmed. may //! be negative. //! - //! If O is the origin of the 2D plane, and V the + //! If O is the origin of the 2D plane, and V the //! vector perpendicular to D (in the direct direction). //! //! A point P is on the line if : @@ -92,31 +92,31 @@ public: //! OP dot D Standard_EXPORT void AddLine(const gp_Dir2d& D, const Standard_Real Dist); - //! Add an infinite line parallel to the Y-axis at + //! Add an infinite line parallel to the Y-axis at //! abciss . Standard_EXPORT void AddXLine(const Standard_Real X); - //! Add an infinite line parallel to the X-axis at + //! Add an infinite line parallel to the X-axis at //! ordinate . Standard_EXPORT void AddYLine(const Standard_Real Y); - //! Trims the lines at intersections with . + //! Trims the lines at intersections with . Standard_EXPORT void Trim(const gp_Lin2d& L, const Standard_Integer Index = 0); - //! Trims the lines at intersections with in the + //! Trims the lines at intersections with in the //! parameter range , Standard_EXPORT void Trim(const gp_Lin2d& L, const Standard_Real Start, const Standard_Real End, const Standard_Integer Index = 0); - //! Trims the line at intersection with the oriented + //! Trims the line at intersection with the oriented //! segment P1,P2. Standard_EXPORT void Trim(const gp_Pnt2d& P1, const gp_Pnt2d& P2, const Standard_Integer Index = 0); - //! Returns the total number of intervals on all the + //! Returns the total number of intervals on all the //! lines. Standard_EXPORT Standard_Integer NbIntervals() const; @@ -126,14 +126,14 @@ public: //! Returns the line of index . Standard_EXPORT const gp_Lin2d& Line(const Standard_Integer I) const; - //! Returns the type of the line of index . + //! Returns the type of the line of index . Standard_EXPORT Hatch_LineForm LineForm(const Standard_Integer I) const; - //! Returns True if the line of index has a + //! Returns True if the line of index has a //! constant X value. Standard_Boolean IsXLine(const Standard_Integer I) const; - //! Returns True if the line of index has a + //! Returns True if the line of index has a //! constant Y value. Standard_Boolean IsYLine(const Standard_Integer I) const; @@ -144,23 +144,23 @@ public: //! Returns the number of intervals on line of index . Standard_EXPORT Standard_Integer NbIntervals(const Standard_Integer I) const; - //! Returns the first parameter of interval on - //! line . + //! Returns the first parameter of interval on + //! line . Standard_EXPORT Standard_Real Start(const Standard_Integer I, const Standard_Integer J) const; - //! Returns the first Index and Par2 of interval on - //! line . + //! Returns the first Index and Par2 of interval on + //! line . Standard_EXPORT void StartIndex(const Standard_Integer I, const Standard_Integer J, Standard_Integer& Index, Standard_Real& Par2) const; - //! Returns the last parameter of interval on - //! line . + //! Returns the last parameter of interval on + //! line . Standard_EXPORT Standard_Real End(const Standard_Integer I, const Standard_Integer J) const; - //! Returns the last Index and Par2 of interval on - //! line . + //! Returns the last Index and Par2 of interval on + //! line . Standard_EXPORT void EndIndex(const Standard_Integer I, const Standard_Integer J, Standard_Integer& Index, diff --git a/src/ModelingAlgorithms/TKGeomAlgo/Hatch/Hatch_Line.hxx b/src/ModelingAlgorithms/TKGeomAlgo/Hatch/Hatch_Line.hxx index 7a3d3cfdd8..0516689e52 100644 --- a/src/ModelingAlgorithms/TKGeomAlgo/Hatch/Hatch_Line.hxx +++ b/src/ModelingAlgorithms/TKGeomAlgo/Hatch/Hatch_Line.hxx @@ -25,13 +25,13 @@ #include #include -//! Stores a Line in the Hatcher. Represented by : +//! Stores a Line in the Hatcher. Represented by: //! //! * A Lin2d from gp, the geometry of the line. //! //! * Bounding parameters for the line. //! -//! * A sorted List of Parameters, the intersections +//! * A sorted List of Parameters, the intersections //! on the line. class Hatch_Line { diff --git a/src/ModelingAlgorithms/TKGeomAlgo/HatchGen/HatchGen_PointOnHatching.hxx b/src/ModelingAlgorithms/TKGeomAlgo/HatchGen/HatchGen_PointOnHatching.hxx index de8c49dbbf..1f1fa2ea5f 100644 --- a/src/ModelingAlgorithms/TKGeomAlgo/HatchGen/HatchGen_PointOnHatching.hxx +++ b/src/ModelingAlgorithms/TKGeomAlgo/HatchGen/HatchGen_PointOnHatching.hxx @@ -66,8 +66,8 @@ public: Standard_EXPORT Standard_Boolean IsLower(const HatchGen_PointOnHatching& Point, const Standard_Real Confusion) const; - //! Tests if the point is equal to an other. - //! A point on hatching P1 is said to be equal to an + //! Tests if the point is equal to an other. + //! A point on hatching P1 is said to be equal to an //! other P2 if : //! | P2.myParam - P1.myParam | <= Confusion Standard_EXPORT Standard_Boolean IsEqual(const HatchGen_PointOnHatching& Point, diff --git a/src/ModelingAlgorithms/TKGeomAlgo/IntCurve/IntCurve_IConicTool.hxx b/src/ModelingAlgorithms/TKGeomAlgo/IntCurve/IntCurve_IConicTool.hxx index 6a5a70e425..54f7b043d6 100644 --- a/src/ModelingAlgorithms/TKGeomAlgo/IntCurve/IntCurve_IConicTool.hxx +++ b/src/ModelingAlgorithms/TKGeomAlgo/IntCurve/IntCurve_IConicTool.hxx @@ -58,12 +58,12 @@ public: Standard_EXPORT void D2(const Standard_Real U, gp_Pnt2d& P, gp_Vec2d& T, gp_Vec2d& N) const; - //! Computes the value of the signed distance between + //! Computes the value of the signed distance between //! the point P and the implicit curve. Standard_EXPORT Standard_Real Distance(const gp_Pnt2d& P) const; - //! Computes the Gradient of the Signed Distance - //! between a point and the implicit curve, at the + //! Computes the Gradient of the Signed Distance + //! between a point and the implicit curve, at the //! point P. Standard_EXPORT gp_Vec2d GradDistance(const gp_Pnt2d& P) const; diff --git a/src/ModelingAlgorithms/TKGeomAlgo/IntCurve/IntCurve_IntConicConic.hxx b/src/ModelingAlgorithms/TKGeomAlgo/IntCurve/IntCurve_IntConicConic.hxx index 9a24963670..71c925246d 100644 --- a/src/ModelingAlgorithms/TKGeomAlgo/IntCurve/IntCurve_IntConicConic.hxx +++ b/src/ModelingAlgorithms/TKGeomAlgo/IntCurve/IntCurve_IntConicConic.hxx @@ -30,11 +30,11 @@ class gp_Parab2d; class gp_Hypr2d; //! Provides methods to intersect two conics. -//! The exception ConstructionError is raised in constructors -//! or in Perform methods when a domain (Domain from IntRes2d) -//! is not correct, i-e when a Circle (Circ2d from gp) or -//! an Ellipse (i-e Elips2d from gp) do not have a closed -//! domain (use the SetEquivalentParameters method for a domain +//! The exception ConstructionError is raised in constructors +//! or in Perform methods when a domain (Domain from IntRes2d) +//! is not correct, i-e when a Circle (Circ2d from gp) or +//! an Ellipse (i-e Elips2d from gp) do not have a closed +//! domain (use the SetEquivalentParameters method for a domain //! on a circle or an ellipse). class IntCurve_IntConicConic : public IntRes2d_Intersection { diff --git a/src/ModelingAlgorithms/TKGeomAlgo/IntCurveSurface/IntCurveSurface_TheHCurveTool.hxx b/src/ModelingAlgorithms/TKGeomAlgo/IntCurveSurface/IntCurveSurface_TheHCurveTool.hxx index 2e4a7ea274..3462cf8efc 100644 --- a/src/ModelingAlgorithms/TKGeomAlgo/IntCurveSurface/IntCurveSurface_TheHCurveTool.hxx +++ b/src/ModelingAlgorithms/TKGeomAlgo/IntCurveSurface/IntCurveSurface_TheHCurveTool.hxx @@ -55,17 +55,17 @@ public: static GeomAbs_Shape Continuity(const Handle(Adaptor3d_Curve)& C) { return C->Continuity(); } - //! Returns the number of intervals for continuity + //! Returns the number of intervals for continuity //! . May be one if Continuity(myclass) >= static Standard_Integer NbIntervals(const Handle(Adaptor3d_Curve)& C, const GeomAbs_Shape S) { return C->NbIntervals(S); } - //! Stores in the parameters bounding the intervals + //! Stores in the parameters bounding the intervals //! of continuity . //! - //! The array must provide enough room to accommodate + //! The array must provide enough room to accommodate //! for the parameters. i.e. T.Length() > NbIntervals() static void Intervals(const Handle(Adaptor3d_Curve)& C, TColStd_Array1OfReal& T, @@ -140,15 +140,15 @@ public: return C->DN(U, N); } - //! Returns the parametric resolution corresponding + //! Returns the parametric resolution corresponding //! to the real space resolution . static Standard_Real Resolution(const Handle(Adaptor3d_Curve)& C, const Standard_Real R3d) { return C->Resolution(R3d); } - //! Returns the type of the curve in the current - //! interval : Line, Circle, Ellipse, Hyperbola, + //! Returns the type of the curve in the current + //! interval: Line, Circle, Ellipse, Hyperbola, //! Parabola, BezierCurve, BSplineCurve, OtherCurve. static GeomAbs_CurveType GetType(const Handle(Adaptor3d_Curve)& C) { return C->GetType(); } diff --git a/src/ModelingAlgorithms/TKGeomAlgo/IntCurveSurface/IntCurveSurface_ThePolyhedronToolOfHInter.hxx b/src/ModelingAlgorithms/TKGeomAlgo/IntCurveSurface/IntCurveSurface_ThePolyhedronToolOfHInter.hxx index 3752a451fa..8f3fa7d6f9 100644 --- a/src/ModelingAlgorithms/TKGeomAlgo/IntCurveSurface/IntCurveSurface_ThePolyhedronToolOfHInter.hxx +++ b/src/ModelingAlgorithms/TKGeomAlgo/IntCurveSurface/IntCurveSurface_ThePolyhedronToolOfHInter.hxx @@ -48,7 +48,7 @@ public: //! Give the number of triangles in this polyhedral surface. static Standard_Integer NbTriangles(const IntCurveSurface_ThePolyhedronOfHInter& thePolyh); - //! Give the indices of the 3 points of the triangle of + //! Give the indices of the 3 points of the triangle of //! address Index in the PolyhedronTool. static void Triangle(const IntCurveSurface_ThePolyhedronOfHInter& thePolyh, const Standard_Integer Index, @@ -60,12 +60,12 @@ public: static const gp_Pnt& Point(const IntCurveSurface_ThePolyhedronOfHInter& thePolyh, const Standard_Integer Index); - //! Give the address Tricon of the triangle connexe to + //! Give the address Tricon of the triangle connexe to //! the triangle of address Triang by the edge Pivot Pedge - //! and the third point of this connexe triangle. When we - //! are on a free edge TriCon==0 but the function return - //! the value of the triangle in the other side of Pivot - //! on the free edge. Used to turn around a vertex. + //! and the third point of this connexe triangle. When we + //! are on a free edge TriCon==0 but the function return + //! the value of the triangle in the other side of Pivot + //! on the free edge. Used to turn around a vertex. static Standard_Integer TriConnex(const IntCurveSurface_ThePolyhedronOfHInter& thePolyh, const Standard_Integer Triang, const Standard_Integer Pivot, diff --git a/src/ModelingAlgorithms/TKGeomAlgo/IntCurveSurface/IntCurveSurface_TheQuadCurvFuncOfTheQuadCurvExactHInter.hxx b/src/ModelingAlgorithms/TKGeomAlgo/IntCurveSurface/IntCurveSurface_TheQuadCurvFuncOfTheQuadCurvExactHInter.hxx index e3aebb66da..90ec749e39 100644 --- a/src/ModelingAlgorithms/TKGeomAlgo/IntCurveSurface/IntCurveSurface_TheQuadCurvFuncOfTheQuadCurvExactHInter.hxx +++ b/src/ModelingAlgorithms/TKGeomAlgo/IntCurveSurface/IntCurveSurface_TheQuadCurvFuncOfTheQuadCurvExactHInter.hxx @@ -34,8 +34,8 @@ public: const IntSurf_Quadric& Q, const Handle(Adaptor3d_Curve)& C); - //! Computes the value of the signed distance between - //! the implicit surface and the point at parameter + //! Computes the value of the signed distance between + //! the implicit surface and the point at parameter //! Param on the parametrised curve. //! Value always returns True. Standard_EXPORT Standard_Boolean Value(const Standard_Real Param, diff --git a/src/ModelingAlgorithms/TKGeomAlgo/IntCurveSurface/IntCurveSurface_TransitionOnCurve.hxx b/src/ModelingAlgorithms/TKGeomAlgo/IntCurveSurface/IntCurveSurface_TransitionOnCurve.hxx index 3c6475c3ba..4ba522ca45 100644 --- a/src/ModelingAlgorithms/TKGeomAlgo/IntCurveSurface/IntCurveSurface_TransitionOnCurve.hxx +++ b/src/ModelingAlgorithms/TKGeomAlgo/IntCurveSurface/IntCurveSurface_TransitionOnCurve.hxx @@ -33,7 +33,7 @@ //! Surf =====-----===== //! //! ( Tangent ) -//! Crb and Surf are C1 +//! Crb and Surf are C1 enum IntCurveSurface_TransitionOnCurve { IntCurveSurface_Tangent, diff --git a/src/ModelingAlgorithms/TKGeomAlgo/IntImpParGen/IntImpParGen.hxx b/src/ModelingAlgorithms/TKGeomAlgo/IntImpParGen/IntImpParGen.hxx index 60949485cd..6acea38301 100644 --- a/src/ModelingAlgorithms/TKGeomAlgo/IntImpParGen/IntImpParGen.hxx +++ b/src/ModelingAlgorithms/TKGeomAlgo/IntImpParGen/IntImpParGen.hxx @@ -40,7 +40,7 @@ class IntImpParGen public: DEFINE_STANDARD_ALLOC - //! Template class for an implicit curve. + //! Template class for an implicit curve. //! Math function, instantiated inside the Intersector. //! Tool used by the package IntCurve and IntImpParGen Standard_EXPORT static void DetermineTransition(const IntRes2d_Position Pos1, diff --git a/src/ModelingAlgorithms/TKGeomAlgo/IntPatch/IntPatch_CSFunction.hxx b/src/ModelingAlgorithms/TKGeomAlgo/IntPatch/IntPatch_CSFunction.hxx index 82f45d79b7..a489769a72 100644 --- a/src/ModelingAlgorithms/TKGeomAlgo/IntPatch/IntPatch_CSFunction.hxx +++ b/src/ModelingAlgorithms/TKGeomAlgo/IntPatch/IntPatch_CSFunction.hxx @@ -25,7 +25,7 @@ class math_Matrix; //! this function is associated to the intersection between -//! a curve on surface and a surface . +//! a curve on surface and a surface. class IntPatch_CSFunction : public math_FunctionSetWithDerivatives { public: diff --git a/src/ModelingAlgorithms/TKGeomAlgo/IntPatch/IntPatch_GLine.hxx b/src/ModelingAlgorithms/TKGeomAlgo/IntPatch/IntPatch_GLine.hxx index 202090dc29..831ee0d484 100644 --- a/src/ModelingAlgorithms/TKGeomAlgo/IntPatch/IntPatch_GLine.hxx +++ b/src/ModelingAlgorithms/TKGeomAlgo/IntPatch/IntPatch_GLine.hxx @@ -129,7 +129,7 @@ public: const IntSurf_Situation Situ1, const IntSurf_Situation Situ2); - //! Creates an hyperbola as intersection line + //! Creates an hyperbola as intersection line //! when the transitions are Undecided. Standard_EXPORT IntPatch_GLine(const gp_Hypr& H, const Standard_Boolean Tang); diff --git a/src/ModelingAlgorithms/TKGeomAlgo/IntPatch/IntPatch_SpecPntType.hxx b/src/ModelingAlgorithms/TKGeomAlgo/IntPatch/IntPatch_SpecPntType.hxx index 40ccced431..eb14585843 100644 --- a/src/ModelingAlgorithms/TKGeomAlgo/IntPatch/IntPatch_SpecPntType.hxx +++ b/src/ModelingAlgorithms/TKGeomAlgo/IntPatch/IntPatch_SpecPntType.hxx @@ -16,7 +16,7 @@ #ifndef _IntPatch_SpecPntType_HeaderFile #define _IntPatch_SpecPntType_HeaderFile -//! This enum describe the different kinds of +//! This enum describes the different kinds of //! special (singular) points of Surface-Surface //! intersection algorithm. Such as pole of sphere, //! apex of cone, point on U- or V-seam etc. diff --git a/src/ModelingAlgorithms/TKGeomAlgo/IntPatch/IntPatch_WLine.hxx b/src/ModelingAlgorithms/TKGeomAlgo/IntPatch/IntPatch_WLine.hxx index e73ce8d738..5a13e3cc40 100644 --- a/src/ModelingAlgorithms/TKGeomAlgo/IntPatch/IntPatch_WLine.hxx +++ b/src/ModelingAlgorithms/TKGeomAlgo/IntPatch/IntPatch_WLine.hxx @@ -191,7 +191,7 @@ public: //! if (theMode == 0) then prints the information about WLine //! if (theMode == 1) then prints the list of 3d-points //! if (theMode == 2) then prints the list of 2d-points on the 1st surface - //! Otherwise, prints list of 2d-points on the 2nd surface + //! Otherwise, prints list of 2d-points on the 2nd surface Standard_EXPORT void Dump(const Standard_Integer theMode) const; //! Allows or forbids purging of existing WLine diff --git a/src/ModelingAlgorithms/TKGeomAlgo/IntRes2d/IntRes2d_Intersection.hxx b/src/ModelingAlgorithms/TKGeomAlgo/IntRes2d/IntRes2d_Intersection.hxx index 3952383f8c..c54f80ff26 100644 --- a/src/ModelingAlgorithms/TKGeomAlgo/IntRes2d/IntRes2d_Intersection.hxx +++ b/src/ModelingAlgorithms/TKGeomAlgo/IntRes2d/IntRes2d_Intersection.hxx @@ -27,8 +27,8 @@ class IntRes2d_IntersectionPoint; class IntRes2d_IntersectionSegment; -//! Defines the root class of all the Intersections -//! between two 2D-Curves, and provides all the methods +//! Defines the root class of all the Intersections +//! between two 2D-Curves, and provides all the methods //! about the results of the Intersections Algorithms. class IntRes2d_Intersection { diff --git a/src/ModelingAlgorithms/TKGeomAlgo/Intf/Intf_Array1OfLin.hxx b/src/ModelingAlgorithms/TKGeomAlgo/Intf/Intf_Array1OfLin.hxx index f09f565ddb..da893c4bb7 100644 --- a/src/ModelingAlgorithms/TKGeomAlgo/Intf/Intf_Array1OfLin.hxx +++ b/src/ModelingAlgorithms/TKGeomAlgo/Intf/Intf_Array1OfLin.hxx @@ -20,7 +20,7 @@ #include #include -//! Describes a set of Straight Lines to intersect with the Polyhedron. +//! Describes a set of Straight Lines to intersect with the Polyhedron. typedef NCollection_Array1 Intf_Array1OfLin; diff --git a/src/ModelingAlgorithms/TKGeomAlgo/Intf/Intf_InterferencePolygon2d.hxx b/src/ModelingAlgorithms/TKGeomAlgo/Intf/Intf_InterferencePolygon2d.hxx index 41a8cf32f7..6936666efb 100644 --- a/src/ModelingAlgorithms/TKGeomAlgo/Intf/Intf_InterferencePolygon2d.hxx +++ b/src/ModelingAlgorithms/TKGeomAlgo/Intf/Intf_InterferencePolygon2d.hxx @@ -26,8 +26,8 @@ class Intf_Polygon2d; class gp_Pnt2d; -//! Computes the interference between two polygons or -//! the self intersection of a polygon in two +//! Computes the interference between two polygons or +//! the self intersection of a polygon in two //! dimensions. class Intf_InterferencePolygon2d : public Intf_Interference { @@ -50,7 +50,7 @@ public: //! Computes the self interference of a Polygon. Standard_EXPORT void Perform(const Intf_Polygon2d& Obje); - //! Gives the geometrical 2d point of the intersection + //! Gives the geometrical 2d point of the intersection //! point at address in the interference. Standard_EXPORT gp_Pnt2d Pnt2dValue(const Standard_Integer Index) const; diff --git a/src/ModelingAlgorithms/TKGeomAlgo/Intf/Intf_PIType.hxx b/src/ModelingAlgorithms/TKGeomAlgo/Intf/Intf_PIType.hxx index f81c1ca2bc..98dab66add 100644 --- a/src/ModelingAlgorithms/TKGeomAlgo/Intf/Intf_PIType.hxx +++ b/src/ModelingAlgorithms/TKGeomAlgo/Intf/Intf_PIType.hxx @@ -17,7 +17,7 @@ #ifndef _Intf_PIType_HeaderFile #define _Intf_PIType_HeaderFile -//! Describes the different intersection point types for this +//! Describes the different intersection point types for this //! application. enum Intf_PIType { diff --git a/src/ModelingAlgorithms/TKGeomAlgo/Intf/Intf_SectionLine.hxx b/src/ModelingAlgorithms/TKGeomAlgo/Intf/Intf_SectionLine.hxx index f50d008ced..8c6afd58fc 100644 --- a/src/ModelingAlgorithms/TKGeomAlgo/Intf/Intf_SectionLine.hxx +++ b/src/ModelingAlgorithms/TKGeomAlgo/Intf/Intf_SectionLine.hxx @@ -25,7 +25,7 @@ #include class Intf_SectionPoint; -//! Describe a polyline of intersection between two +//! Describe a polyline of intersection between two //! polyhedra as a sequence of points of intersection. class Intf_SectionLine { @@ -35,7 +35,7 @@ public: //! Returns number of points in this SectionLine. Standard_Integer NumberOfPoints() const; - //! Gives the point of intersection of address in the + //! Gives the point of intersection of address in the //! SectionLine. Standard_EXPORT const Intf_SectionPoint& GetPoint(const Standard_Integer Index) const; @@ -45,7 +45,7 @@ public: //! Returns True if ThePI is in the SectionLine . Standard_EXPORT Standard_Boolean Contains(const Intf_SectionPoint& ThePI) const; - //! Checks if is an end of the SectionLine. Returns 1 + //! Checks if is an end of the SectionLine. Returns 1 //! for the beginning, 2 for the end, otherwise 0. Standard_EXPORT Standard_Integer IsEnd(const Intf_SectionPoint& ThePI) const; @@ -71,14 +71,14 @@ public: //! Adds a point at the end of the SectionLine. Standard_EXPORT void Append(const Intf_SectionPoint& Pi); - //! Concatenates the SectionLine at the end of the + //! Concatenates the SectionLine at the end of the //! SectionLine . Standard_EXPORT void Append(Intf_SectionLine& LS); //! Adds a point to the beginning of the SectionLine . Standard_EXPORT void Prepend(const Intf_SectionPoint& Pi); - //! Concatenates a SectionLine at the beginning of the + //! Concatenates a SectionLine at the beginning of the //! SectionLine . Standard_EXPORT void Prepend(Intf_SectionLine& LS); diff --git a/src/ModelingAlgorithms/TKGeomAlgo/Law/Law_Function.hxx b/src/ModelingAlgorithms/TKGeomAlgo/Law/Law_Function.hxx index 6cffacba4e..c5998a4488 100644 --- a/src/ModelingAlgorithms/TKGeomAlgo/Law/Law_Function.hxx +++ b/src/ModelingAlgorithms/TKGeomAlgo/Law/Law_Function.hxx @@ -36,7 +36,7 @@ class Law_Function : public Standard_Transient public: Standard_EXPORT virtual GeomAbs_Shape Continuity() const = 0; - //! Returns the number of intervals for continuity + //! Returns the number of intervals for continuity //! . May be one if Continuity(me) >= Standard_EXPORT virtual Standard_Integer NbIntervals(const GeomAbs_Shape S) const = 0; @@ -52,15 +52,15 @@ public: //! function at the point of parameter X. Standard_EXPORT virtual void D1(const Standard_Real X, Standard_Real& F, Standard_Real& D) = 0; - //! Returns the value, first and seconde derivatives + //! Returns the value, first and second derivatives //! at parameter X. Standard_EXPORT virtual void D2(const Standard_Real X, Standard_Real& F, Standard_Real& D, Standard_Real& D2) = 0; - //! Returns a law equivalent of between - //! parameters and . is used to + //! Returns a law equivalent of between + //! parameters and . is used to //! test for 3d points confusion. //! It is usfule to determines the derivatives //! in these values and if diff --git a/src/ModelingAlgorithms/TKGeomAlgo/Law/Law_Linear.hxx b/src/ModelingAlgorithms/TKGeomAlgo/Law/Law_Linear.hxx index 139d003134..3c86a61aa2 100644 --- a/src/ModelingAlgorithms/TKGeomAlgo/Law/Law_Linear.hxx +++ b/src/ModelingAlgorithms/TKGeomAlgo/Law/Law_Linear.hxx @@ -48,7 +48,7 @@ public: //! Returns GeomAbs_CN Standard_EXPORT GeomAbs_Shape Continuity() const Standard_OVERRIDE; - //! Returns 1 + //! Returns 1 Standard_EXPORT Standard_Integer NbIntervals(const GeomAbs_Shape S) const Standard_OVERRIDE; Standard_EXPORT void Intervals(TColStd_Array1OfReal& T, @@ -70,8 +70,8 @@ public: Standard_Real& D, Standard_Real& D2) Standard_OVERRIDE; - //! Returns a law equivalent of between - //! parameters and . is used to + //! Returns a law equivalent of between + //! parameters and . is used to //! test for 3d points confusion. //! It is usfule to determines the derivatives //! in these values and if diff --git a/src/ModelingAlgorithms/TKGeomAlgo/LocalAnalysis/LocalAnalysis.hxx b/src/ModelingAlgorithms/TKGeomAlgo/LocalAnalysis/LocalAnalysis.hxx index 12f58c39aa..4790af8206 100644 --- a/src/ModelingAlgorithms/TKGeomAlgo/LocalAnalysis/LocalAnalysis.hxx +++ b/src/ModelingAlgorithms/TKGeomAlgo/LocalAnalysis/LocalAnalysis.hxx @@ -26,13 +26,13 @@ class LocalAnalysis_SurfaceContinuity; class LocalAnalysis_CurveContinuity; //! This package gives tools to check the local continuity -//! between two points situated on two curves or two surfaces. +//! between two points situated on two curves or two surfaces. class LocalAnalysis { public: DEFINE_STANDARD_ALLOC - //! This class compute s and gives tools to check the local + //! This class computes and gives tools to check the local //! continuity between two points situated on 2 curves. //! //! This function gives information about a variable CurveContinuity diff --git a/src/ModelingAlgorithms/TKGeomAlgo/NLPlate/NLPlate_HPG0Constraint.hxx b/src/ModelingAlgorithms/TKGeomAlgo/NLPlate/NLPlate_HPG0Constraint.hxx index c5efc56753..05a86a11ae 100644 --- a/src/ModelingAlgorithms/TKGeomAlgo/NLPlate/NLPlate_HPG0Constraint.hxx +++ b/src/ModelingAlgorithms/TKGeomAlgo/NLPlate/NLPlate_HPG0Constraint.hxx @@ -27,7 +27,7 @@ class gp_XY; class NLPlate_HPG0Constraint; DEFINE_STANDARD_HANDLE(NLPlate_HPG0Constraint, NLPlate_HGPPConstraint) -//! define a PinPoint G0 Constraint used to load a Non Linear +//! define a PinPoint G0 Constraint used to load a Non Linear //! Plate class NLPlate_HPG0Constraint : public NLPlate_HGPPConstraint { diff --git a/src/ModelingAlgorithms/TKGeomAlgo/NLPlate/NLPlate_HPG0G1Constraint.hxx b/src/ModelingAlgorithms/TKGeomAlgo/NLPlate/NLPlate_HPG0G1Constraint.hxx index abbb190d1c..29dcca2b12 100644 --- a/src/ModelingAlgorithms/TKGeomAlgo/NLPlate/NLPlate_HPG0G1Constraint.hxx +++ b/src/ModelingAlgorithms/TKGeomAlgo/NLPlate/NLPlate_HPG0G1Constraint.hxx @@ -28,7 +28,7 @@ class gp_XYZ; class NLPlate_HPG0G1Constraint; DEFINE_STANDARD_HANDLE(NLPlate_HPG0G1Constraint, NLPlate_HPG0Constraint) -//! define a PinPoint G0+G1 Constraint used to load a Non Linear +//! define a PinPoint G0+G1 Constraint used to load a Non Linear //! Plate class NLPlate_HPG0G1Constraint : public NLPlate_HPG0Constraint { diff --git a/src/ModelingAlgorithms/TKGeomAlgo/NLPlate/NLPlate_HPG0G2Constraint.hxx b/src/ModelingAlgorithms/TKGeomAlgo/NLPlate/NLPlate_HPG0G2Constraint.hxx index 05c412fccb..8088aa06c1 100644 --- a/src/ModelingAlgorithms/TKGeomAlgo/NLPlate/NLPlate_HPG0G2Constraint.hxx +++ b/src/ModelingAlgorithms/TKGeomAlgo/NLPlate/NLPlate_HPG0G2Constraint.hxx @@ -29,7 +29,7 @@ class Plate_D1; class NLPlate_HPG0G2Constraint; DEFINE_STANDARD_HANDLE(NLPlate_HPG0G2Constraint, NLPlate_HPG0G1Constraint) -//! define a PinPoint G0+G2 Constraint used to load a Non Linear +//! define a PinPoint G0+G2 Constraint used to load a Non Linear //! Plate class NLPlate_HPG0G2Constraint : public NLPlate_HPG0G1Constraint { diff --git a/src/ModelingAlgorithms/TKGeomAlgo/NLPlate/NLPlate_HPG0G3Constraint.hxx b/src/ModelingAlgorithms/TKGeomAlgo/NLPlate/NLPlate_HPG0G3Constraint.hxx index 913f205bdc..3e62c87604 100644 --- a/src/ModelingAlgorithms/TKGeomAlgo/NLPlate/NLPlate_HPG0G3Constraint.hxx +++ b/src/ModelingAlgorithms/TKGeomAlgo/NLPlate/NLPlate_HPG0G3Constraint.hxx @@ -30,7 +30,7 @@ class Plate_D2; class NLPlate_HPG0G3Constraint; DEFINE_STANDARD_HANDLE(NLPlate_HPG0G3Constraint, NLPlate_HPG0G2Constraint) -//! define a PinPoint G0+G3 Constraint used to load a Non Linear +//! define a PinPoint G0+G3 Constraint used to load a Non Linear //! Plate class NLPlate_HPG0G3Constraint : public NLPlate_HPG0G2Constraint { diff --git a/src/ModelingAlgorithms/TKGeomAlgo/NLPlate/NLPlate_HPG1Constraint.hxx b/src/ModelingAlgorithms/TKGeomAlgo/NLPlate/NLPlate_HPG1Constraint.hxx index b646333fee..ed5439fcc4 100644 --- a/src/ModelingAlgorithms/TKGeomAlgo/NLPlate/NLPlate_HPG1Constraint.hxx +++ b/src/ModelingAlgorithms/TKGeomAlgo/NLPlate/NLPlate_HPG1Constraint.hxx @@ -27,7 +27,7 @@ class gp_XY; class NLPlate_HPG1Constraint; DEFINE_STANDARD_HANDLE(NLPlate_HPG1Constraint, NLPlate_HGPPConstraint) -//! define a PinPoint (no G0) G1 Constraint used to load a Non +//! define a PinPoint (no G0) G1 Constraint used to load a Non //! Linear Plate class NLPlate_HPG1Constraint : public NLPlate_HGPPConstraint { diff --git a/src/ModelingAlgorithms/TKGeomAlgo/NLPlate/NLPlate_HPG2Constraint.hxx b/src/ModelingAlgorithms/TKGeomAlgo/NLPlate/NLPlate_HPG2Constraint.hxx index 3d7da729f0..e245dff654 100644 --- a/src/ModelingAlgorithms/TKGeomAlgo/NLPlate/NLPlate_HPG2Constraint.hxx +++ b/src/ModelingAlgorithms/TKGeomAlgo/NLPlate/NLPlate_HPG2Constraint.hxx @@ -28,7 +28,7 @@ class Plate_D1; class NLPlate_HPG2Constraint; DEFINE_STANDARD_HANDLE(NLPlate_HPG2Constraint, NLPlate_HPG1Constraint) -//! define a PinPoint (no G0) G2 Constraint used to load a Non +//! define a PinPoint (no G0) G2 Constraint used to load a Non //! Linear Plate class NLPlate_HPG2Constraint : public NLPlate_HPG1Constraint { diff --git a/src/ModelingAlgorithms/TKGeomAlgo/NLPlate/NLPlate_HPG3Constraint.hxx b/src/ModelingAlgorithms/TKGeomAlgo/NLPlate/NLPlate_HPG3Constraint.hxx index 4d62e2734d..0bd33b3d9e 100644 --- a/src/ModelingAlgorithms/TKGeomAlgo/NLPlate/NLPlate_HPG3Constraint.hxx +++ b/src/ModelingAlgorithms/TKGeomAlgo/NLPlate/NLPlate_HPG3Constraint.hxx @@ -29,7 +29,7 @@ class Plate_D2; class NLPlate_HPG3Constraint; DEFINE_STANDARD_HANDLE(NLPlate_HPG3Constraint, NLPlate_HPG2Constraint) -//! define a PinPoint (no G0) G3 Constraint used to load a Non +//! define a PinPoint (no G0) G3 Constraint used to load a Non //! Linear Plate class NLPlate_HPG3Constraint : public NLPlate_HPG2Constraint { diff --git a/src/ModelingAlgorithms/TKGeomAlgo/Plate/Plate_GtoCConstraint.hxx b/src/ModelingAlgorithms/TKGeomAlgo/Plate/Plate_GtoCConstraint.hxx index 6e81d66a04..5f43a38eba 100644 --- a/src/ModelingAlgorithms/TKGeomAlgo/Plate/Plate_GtoCConstraint.hxx +++ b/src/ModelingAlgorithms/TKGeomAlgo/Plate/Plate_GtoCConstraint.hxx @@ -28,7 +28,7 @@ class gp_XYZ; class Plate_D2; class Plate_D3; -//! define a G1, G2 or G3 constraint on the Plate +//! define a G1, G2 or G3 constraint on the Plate class Plate_GtoCConstraint { public: diff --git a/src/ModelingAlgorithms/TKHLR/Contap/Contap_Contour.hxx b/src/ModelingAlgorithms/TKHLR/Contap/Contap_Contour.hxx index 31b9203ecb..73d999317d 100644 --- a/src/ModelingAlgorithms/TKHLR/Contap/Contap_Contour.hxx +++ b/src/ModelingAlgorithms/TKHLR/Contap/Contap_Contour.hxx @@ -92,9 +92,8 @@ public: const Contap_Line& Line(const Standard_Integer Index) const; - //! Returns a reference on the internal - //! SurfaceFunction. This is used to compute tangents - //! on the lines. + //! Returns a reference on the internal SurfaceFunction. + //! This is used to compute tangents on the lines. Contap_SurfFunction& SurfaceFunction(); protected: diff --git a/src/ModelingAlgorithms/TKHLR/Contap/Contap_Line.hxx b/src/ModelingAlgorithms/TKHLR/Contap/Contap_Line.hxx index 57152e4a7c..2e5287214e 100644 --- a/src/ModelingAlgorithms/TKHLR/Contap/Contap_Line.hxx +++ b/src/ModelingAlgorithms/TKHLR/Contap/Contap_Line.hxx @@ -64,7 +64,7 @@ public: //! Returns Contap_Lin for a line, Contap_Circle for //! a circle, and Contap_Walking for a Walking line, - //! Contap_Restriction for a part of boundarie. + //! Contap_Restriction for a part of boundary. Contap_IType TypeContour() const; Standard_Integer NbPnts() const; diff --git a/src/ModelingAlgorithms/TKHLR/Contap/Contap_Point.hxx b/src/ModelingAlgorithms/TKHLR/Contap/Contap_Point.hxx index a8be504d86..ea15da6191 100644 --- a/src/ModelingAlgorithms/TKHLR/Contap/Contap_Point.hxx +++ b/src/ModelingAlgorithms/TKHLR/Contap/Contap_Point.hxx @@ -109,8 +109,8 @@ public: //! lines. Standard_Boolean IsMultiple() const; - //! Returns True if the point is an internal one, i.e - //! if the tangent to the line on the point and the + //! Returns True if the point is an internal one, i.e + //! if the tangent to the line on the point and the //! eye direction are parallel. Standard_Boolean IsInternal() const; diff --git a/src/ModelingAlgorithms/TKHLR/Contap/Contap_SurfProps.hxx b/src/ModelingAlgorithms/TKHLR/Contap/Contap_SurfProps.hxx index 1888ed50dd..319dcb95d9 100644 --- a/src/ModelingAlgorithms/TKHLR/Contap/Contap_SurfProps.hxx +++ b/src/ModelingAlgorithms/TKHLR/Contap/Contap_SurfProps.hxx @@ -22,14 +22,14 @@ class gp_Pnt; class gp_Vec; -//! Internal tool used to compute the normal and its +//! Internal tool used to compute the normal and its //! derivatives. class Contap_SurfProps { public: DEFINE_STANDARD_ALLOC - //! Computes the point

, and normal vector on + //! Computes the point

, and normal vector on //! at parameters U,V. Standard_EXPORT static void Normale(const Handle(Adaptor3d_Surface)& S, const Standard_Real U, @@ -37,7 +37,7 @@ public: gp_Pnt& P, gp_Vec& N); - //! Computes the point

, and normal vector on + //! Computes the point

, and normal vector on //! at parameters U,V. Standard_EXPORT static void DerivAndNorm(const Handle(Adaptor3d_Surface)& S, const Standard_Real U, diff --git a/src/ModelingAlgorithms/TKHLR/HLRAlgo/HLRAlgo_EdgeIterator.hxx b/src/ModelingAlgorithms/TKHLR/HLRAlgo/HLRAlgo_EdgeIterator.hxx index bb49d9465f..1e748386df 100644 --- a/src/ModelingAlgorithms/TKHLR/HLRAlgo/HLRAlgo_EdgeIterator.hxx +++ b/src/ModelingAlgorithms/TKHLR/HLRAlgo/HLRAlgo_EdgeIterator.hxx @@ -28,8 +28,7 @@ class HLRAlgo_EdgeIterator public: DEFINE_STANDARD_ALLOC - //! Iterator on the visible or hidden parts of an - //! edge. + //! Iterator on the visible or hidden parts of an edge. Standard_EXPORT HLRAlgo_EdgeIterator(); Standard_EXPORT void InitHidden(HLRAlgo_EdgeStatus& status); diff --git a/src/ModelingAlgorithms/TKHLR/HLRAlgo/HLRAlgo_EdgesBlock.hxx b/src/ModelingAlgorithms/TKHLR/HLRAlgo/HLRAlgo_EdgesBlock.hxx index 7ac6c13524..08b01874be 100644 --- a/src/ModelingAlgorithms/TKHLR/HLRAlgo/HLRAlgo_EdgesBlock.hxx +++ b/src/ModelingAlgorithms/TKHLR/HLRAlgo/HLRAlgo_EdgesBlock.hxx @@ -32,15 +32,16 @@ DEFINE_STANDARD_HANDLE(HLRAlgo_EdgesBlock, Standard_Transient) //! An EdgesBlock is a set of Edges. It is used by the //! DataStructure to structure the Edges. //! -//! An EdgesBlock contains : +//! An EdgesBlock contains: //! -//! * An Array of index of Edges. +//! * An Array of index of Edges. //! -//! * An Array of flagsf ( Orientation -//! OutLine -//! Internal -//! Double -//! IsoLine) +//! * An Array of flagsf +//! (Orientation +//! OutLine +//! Internal +//! Double +//! IsoLine) class HLRAlgo_EdgesBlock : public Standard_Transient { diff --git a/src/ModelingAlgorithms/TKHelix/HelixBRep/HelixBRep_BuilderHelix.hxx b/src/ModelingAlgorithms/TKHelix/HelixBRep/HelixBRep_BuilderHelix.hxx index 4f618a9fd4..e0a6534088 100644 --- a/src/ModelingAlgorithms/TKHelix/HelixBRep/HelixBRep_BuilderHelix.hxx +++ b/src/ModelingAlgorithms/TKHelix/HelixBRep/HelixBRep_BuilderHelix.hxx @@ -35,8 +35,8 @@ class gp_Pnt; class TopoDS_Wire; class TopoDS_Edge; -//! Implementation of building helix wire -//! Values of Error Status returned by algo: +//! Implementation of building helix wire +//! Values of Error Status returned by algo: //! 0 - OK //! 1 - object is just initialized, it means that no input parameters were set //! 2 - approximation fails @@ -45,9 +45,9 @@ class TopoDS_Edge; //! 11 - step (Pitch) < tolerance //! 12 - Height < tolerance //! 13 - TaperAngle < 0 or TaperAngle > Pi/2 - TolAng -//! Warning Status: -//! 0 - OK -//! 1 - tolerance reached by approximation > requested tolerance. +//! Warning Status: +//! 0 - OK +//! 1 - tolerance reached by approximation > requested tolerance. class HelixBRep_BuilderHelix { public: diff --git a/src/ModelingAlgorithms/TKHelix/HelixGeom/HelixGeom_BuilderHelixGen.hxx b/src/ModelingAlgorithms/TKHelix/HelixGeom/HelixGeom_BuilderHelixGen.hxx index 18ac9d0c89..f2d27100b4 100644 --- a/src/ModelingAlgorithms/TKHelix/HelixGeom/HelixGeom_BuilderHelixGen.hxx +++ b/src/ModelingAlgorithms/TKHelix/HelixGeom/HelixGeom_BuilderHelixGen.hxx @@ -42,7 +42,7 @@ class HelixGeom_BuilderHelixGen : public HelixGeom_BuilderApproxCurve public: DEFINE_STANDARD_ALLOC - //! Sets parameters for building helix curves + //! Sets parameters for building helix curves Standard_EXPORT void SetCurveParameters(const Standard_Real aT1, const Standard_Real aT2, const Standard_Real aPitch, @@ -50,7 +50,7 @@ public: const Standard_Real aTaperAngle, const Standard_Boolean bIsClockwise); - //! Gets parameters for building helix curves + //! Gets parameters for building helix curves Standard_EXPORT void CurveParameters(Standard_Real& aT1, Standard_Real& aT2, Standard_Real& aPitch, @@ -59,7 +59,7 @@ public: Standard_Boolean& bIsClockwise) const; protected: - //! Sets default parameters + //! Sets default parameters Standard_EXPORT HelixGeom_BuilderHelixGen(); Standard_EXPORT virtual ~HelixGeom_BuilderHelixGen(); diff --git a/src/ModelingData/TKGeomBase/AdvApp2Var/AdvApp2Var_MathBase.cxx b/src/ModelingData/TKGeomBase/AdvApp2Var/AdvApp2Var_MathBase.cxx index 72223bc571..e9a1b58550 100644 --- a/src/ModelingData/TKGeomBase/AdvApp2Var/AdvApp2Var_MathBase.cxx +++ b/src/ModelingData/TKGeomBase/AdvApp2Var/AdvApp2Var_MathBase.cxx @@ -7795,7 +7795,7 @@ int AdvApp2Var_MathBase::mmmrslwd_(integer* normax, /* KEYWORDS : */ /* ----------- */ /* ALL, MATH_ACCES :: */ - /* SYSTEME&,EQUATION&, RESOLUTION,GAUSS ,&VECTEUR */ + /* SYSTEM&, EQUATION&, RESOLUTION, GAUSS, &VECTEUR */ /* INPUT ARGUMENTS : */ /* ------------------ */ -- 2.39.5