From: luzpaz Date: Tue, 28 Oct 2025 08:26:46 +0000 (-0400) Subject: Documentation - Fix whitespace uniformity (#770) X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=719ed090cbea21c77fdd36d08410c0aacc9e9846;p=occt.git Documentation - Fix whitespace uniformity (#770) - Standardized spacing in documentation comments by removing extra spaces between words - Fixed inconsistent line breaks in multi-line comment blocks - Corrected minor spelling/grammar issues (e.g., "follow" → "follows", "form" → "from") --- diff --git a/src/ModelingData/TKBRep/BRep/BRep_Builder.hxx b/src/ModelingData/TKBRep/BRep/BRep_Builder.hxx index fa8665d512..a762275e5d 100644 --- a/src/ModelingData/TKBRep/BRep/BRep_Builder.hxx +++ b/src/ModelingData/TKBRep/BRep/BRep_Builder.hxx @@ -106,7 +106,7 @@ public: //! Updates the face Tolerance. Standard_EXPORT void UpdateFace(const TopoDS_Face& F, const Standard_Real Tol) const; - //! Sets the NaturalRestriction flag of the face. + //! Sets the NaturalRestriction flag of the face. Standard_EXPORT void NaturalRestriction(const TopoDS_Face& F, const Standard_Boolean N) const; //! Makes an undefined Edge (no geometry). @@ -153,7 +153,7 @@ public: const TopoDS_Face& F, const Standard_Real Tol) const; - //! Sets pcurves for the edge on the closed face. If + //! Sets pcurves for the edge on the closed face. If //! or is a null handle, remove any existing //! pcurve. void UpdateEdge(const TopoDS_Edge& E, @@ -299,7 +299,7 @@ public: const Standard_Real Last, const Standard_Boolean Only3d = Standard_False) const; - //! Sets the range of the edge on the pcurve on the + //! Sets the range of the edge on the pcurve on the //! surface. Standard_EXPORT void Range(const TopoDS_Edge& E, const Handle(Geom_Surface)& S, @@ -313,8 +313,7 @@ public: const Standard_Real First, const Standard_Real Last) const; - //! Add to the geometric representations of - //! . + //! Add to the geometric representations of . Standard_EXPORT void Transfert(const TopoDS_Edge& Ein, const TopoDS_Edge& Eout) const; //! Makes an udefined vertex without geometry. @@ -328,23 +327,22 @@ public: const gp_Pnt& P, const Standard_Real Tol) const; - //! Sets the parameter for the vertex on the edge - //! curves. + //! Sets the parameter for the vertex on the edge curves. Standard_EXPORT void UpdateVertex(const TopoDS_Vertex& V, const Standard_Real P, const TopoDS_Edge& E, const Standard_Real Tol) const; - //! Sets the parameter for the vertex on the edge - //! pcurve on the face. + //! Sets the parameter for the vertex on the edge + //! pcurve on the face. void UpdateVertex(const TopoDS_Vertex& V, const Standard_Real P, const TopoDS_Edge& E, const TopoDS_Face& F, const Standard_Real Tol) const; - //! Sets the parameter for the vertex on the edge - //! pcurve on the surface. + //! Sets the parameter for the vertex on the edge + //! pcurve on the surface. Standard_EXPORT void UpdateVertex(const TopoDS_Vertex& V, const Standard_Real P, const TopoDS_Edge& E, @@ -362,7 +360,7 @@ public: //! Updates the vertex tolerance. Standard_EXPORT void UpdateVertex(const TopoDS_Vertex& V, const Standard_Real Tol) const; - //! Transfert the parameters of Vin on Ein as the + //! Transfert the parameters of Vin on Ein as the //! parameter of Vout on Eout. Standard_EXPORT void Transfert(const TopoDS_Edge& Ein, const TopoDS_Edge& Eout, diff --git a/src/ModelingData/TKBRep/BRep/BRep_CurveOnClosedSurface.hxx b/src/ModelingData/TKBRep/BRep/BRep_CurveOnClosedSurface.hxx index 99e511f574..efb27f58d7 100644 --- a/src/ModelingData/TKBRep/BRep/BRep_CurveOnClosedSurface.hxx +++ b/src/ModelingData/TKBRep/BRep/BRep_CurveOnClosedSurface.hxx @@ -28,7 +28,7 @@ class BRep_CurveRepresentation; class BRep_CurveOnClosedSurface; DEFINE_STANDARD_HANDLE(BRep_CurveOnClosedSurface, BRep_CurveOnSurface) -//! Representation of a curve by two pcurves on +//! Representation of a curve by two pcurves on //! a closed surface. class BRep_CurveOnClosedSurface : public BRep_CurveOnSurface { diff --git a/src/ModelingData/TKBRep/BRep/BRep_CurveOnSurface.hxx b/src/ModelingData/TKBRep/BRep/BRep_CurveOnSurface.hxx index 03f938685d..90358ba4bd 100644 --- a/src/ModelingData/TKBRep/BRep/BRep_CurveOnSurface.hxx +++ b/src/ModelingData/TKBRep/BRep/BRep_CurveOnSurface.hxx @@ -31,7 +31,7 @@ class BRep_CurveRepresentation; class BRep_CurveOnSurface; DEFINE_STANDARD_HANDLE(BRep_CurveOnSurface, BRep_GCurve) -//! Representation of a curve by a curve in the +//! Representation of a curve by a curve in the //! parametric space of a surface. class BRep_CurveOnSurface : public BRep_GCurve { diff --git a/src/ModelingData/TKBRep/BRep/BRep_CurveRepresentation.hxx b/src/ModelingData/TKBRep/BRep/BRep_CurveRepresentation.hxx index c18e5f654b..f0f191e540 100644 --- a/src/ModelingData/TKBRep/BRep/BRep_CurveRepresentation.hxx +++ b/src/ModelingData/TKBRep/BRep/BRep_CurveRepresentation.hxx @@ -48,16 +48,16 @@ public: //! A continuity between two surfaces. Standard_EXPORT virtual Standard_Boolean IsRegularity() const; - //! A curve with two parametric curves on the same + //! A curve with two parametric curves on the same //! surface. Standard_EXPORT virtual Standard_Boolean IsCurveOnClosedSurface() const; - //! Is it a curve in the parametric space of with + //! Is it a curve in the parametric space of with //! location . Standard_EXPORT virtual Standard_Boolean IsCurveOnSurface(const Handle(Geom_Surface)& S, const TopLoc_Location& L) const; - //! Is it a regularity between and with + //! Is it a regularity between and with //! location and . Standard_EXPORT virtual Standard_Boolean IsRegularity(const Handle(Geom_Surface)& S1, const Handle(Geom_Surface)& S2, @@ -84,12 +84,12 @@ public: //! A polygon in the parametric space of a surface. Standard_EXPORT virtual Standard_Boolean IsPolygonOnSurface() const; - //! Is it a polygon in the parametric space of with + //! Is it a polygon in the parametric space of with //! location . Standard_EXPORT virtual Standard_Boolean IsPolygonOnSurface(const Handle(Geom_Surface)& S, const TopLoc_Location& L) const; - //! Two 2D polygon representations in the parametric + //! Two 2D polygon representations in the parametric //! space of a surface. Standard_EXPORT virtual Standard_Boolean IsPolygonOnClosedSurface() const; diff --git a/src/ModelingData/TKBRep/BRep/BRep_GCurve.hxx b/src/ModelingData/TKBRep/BRep/BRep_GCurve.hxx index 2d59ff392e..126b9cecb6 100644 --- a/src/ModelingData/TKBRep/BRep/BRep_GCurve.hxx +++ b/src/ModelingData/TKBRep/BRep/BRep_GCurve.hxx @@ -27,7 +27,7 @@ class gp_Pnt; class BRep_GCurve; DEFINE_STANDARD_HANDLE(BRep_GCurve, BRep_CurveRepresentation) -//! Root class for the geometric curves +//! Root class for the geometric curves //! representation. Contains a range. //! Contains a first and a last parameter. class BRep_GCurve : public BRep_CurveRepresentation diff --git a/src/ModelingData/TKBRep/BRep/BRep_PointOnCurveOnSurface.hxx b/src/ModelingData/TKBRep/BRep/BRep_PointOnCurveOnSurface.hxx index 9221884d9f..8191c62dd9 100644 --- a/src/ModelingData/TKBRep/BRep/BRep_PointOnCurveOnSurface.hxx +++ b/src/ModelingData/TKBRep/BRep/BRep_PointOnCurveOnSurface.hxx @@ -28,7 +28,7 @@ class TopLoc_Location; class BRep_PointOnCurveOnSurface; DEFINE_STANDARD_HANDLE(BRep_PointOnCurveOnSurface, BRep_PointsOnSurface) -//! Representation by a parameter on a curve on a +//! Representation by a parameter on a curve on a //! surface. class BRep_PointOnCurveOnSurface : public BRep_PointsOnSurface { diff --git a/src/ModelingData/TKBRep/BRep/BRep_PointRepresentation.hxx b/src/ModelingData/TKBRep/BRep/BRep_PointRepresentation.hxx index 1f467a72c0..1f79d7064d 100644 --- a/src/ModelingData/TKBRep/BRep/BRep_PointRepresentation.hxx +++ b/src/ModelingData/TKBRep/BRep/BRep_PointRepresentation.hxx @@ -29,7 +29,7 @@ class Geom_Surface; class BRep_PointRepresentation; DEFINE_STANDARD_HANDLE(BRep_PointRepresentation, Standard_Transient) -//! Root class for the points representations. +//! Root class for the points representations. //! Contains a location and a parameter. class BRep_PointRepresentation : public Standard_Transient { diff --git a/src/ModelingData/TKBRep/BRep/BRep_PolygonOnSurface.hxx b/src/ModelingData/TKBRep/BRep/BRep_PolygonOnSurface.hxx index 7623cff844..97c3b233ce 100644 --- a/src/ModelingData/TKBRep/BRep/BRep_PolygonOnSurface.hxx +++ b/src/ModelingData/TKBRep/BRep/BRep_PolygonOnSurface.hxx @@ -38,11 +38,11 @@ public: const Handle(Geom_Surface)& S, const TopLoc_Location& L); - //! A 2D polygon representation in the parametric + //! A 2D polygon representation in the parametric //! space of a surface. Standard_EXPORT virtual Standard_Boolean IsPolygonOnSurface() const Standard_OVERRIDE; - //! A 2D polygon representation in the parametric + //! A 2D polygon representation in the parametric //! space of a surface. Standard_EXPORT virtual Standard_Boolean IsPolygonOnSurface(const Handle(Geom_Surface)& S, const TopLoc_Location& L) const diff --git a/src/ModelingData/TKBRep/BRep/BRep_TEdge.hxx b/src/ModelingData/TKBRep/BRep/BRep_TEdge.hxx index 44922d36b0..ebf806d04d 100644 --- a/src/ModelingData/TKBRep/BRep/BRep_TEdge.hxx +++ b/src/ModelingData/TKBRep/BRep/BRep_TEdge.hxx @@ -28,20 +28,16 @@ class TopoDS_TShape; class BRep_TEdge; DEFINE_STANDARD_HANDLE(BRep_TEdge, TopoDS_TEdge) -//! The TEdge from BRep is inherited from the TEdge +//! The TEdge from BRep is inherited from the TEdge //! from TopoDS. It contains the geometric data. //! -//! The TEdge contains : +//! The TEdge contains a: //! -//! * A tolerance. -//! -//! * A same parameter flag. -//! -//! * A same range flag. -//! -//! * A Degenerated flag. -//! -//! * A list of curve representation. +//! * tolerance. +//! * same parameter flag. +//! * same range flag. +//! * Degenerated flag. +//! * list of curve representation. class BRep_TEdge : public TopoDS_TEdge { @@ -53,8 +49,8 @@ public: void Tolerance(const Standard_Real T); - //! Sets the tolerance to the max of and the - //! current tolerance. + //! Sets the tolerance to the max of and the + //! current tolerance. void UpdateTolerance(const Standard_Real T); Standard_EXPORT Standard_Boolean SameParameter() const; @@ -73,7 +69,7 @@ public: BRep_ListOfCurveRepresentation& ChangeCurves(); - //! Returns a copy of the TShape with no sub-shapes. + //! Returns a copy of the TShape with no sub-shapes. Standard_EXPORT Handle(TopoDS_TShape) EmptyCopy() const Standard_OVERRIDE; //! Dumps the content of me into the stream diff --git a/src/ModelingData/TKBRep/BRep/BRep_TFace.hxx b/src/ModelingData/TKBRep/BRep/BRep_TFace.hxx index fd28acfe4a..4f2d9fec52 100644 --- a/src/ModelingData/TKBRep/BRep/BRep_TFace.hxx +++ b/src/ModelingData/TKBRep/BRep/BRep_TFace.hxx @@ -29,28 +29,28 @@ class TopoDS_TShape; class BRep_TFace; DEFINE_STANDARD_HANDLE(BRep_TFace, TopoDS_TFace) -//! The Tface from BRep is based on the TFace from -//! TopoDS. The TFace contains : +//! The Tface from BRep is based on the TFace from +//! TopoDS. The TFace contains: //! //! * A surface, a tolerance and a Location. //! -//! * A NaturalRestriction flag, when this flag is -//! True the boundary of the face is known to be the +//! * A NaturalRestriction flag, when this flag is +//! True the boundary of the face is known to be the //! parametric space (Umin, UMax, VMin, VMax). //! //! * An optional list of triangulations. If there are any //! triangulations the surface can be absent. //! -//! The Location is used for the Surface. +//! The Location is used for the Surface. //! -//! The triangulation is in the same reference system -//! than the TFace. A point on mySurface must be -//! transformed with myLocation, but not a point on +//! The triangulation is in the same reference system +//! than the TFace. A point on mySurface must be +//! transformed with myLocation, but not a point on //! the triangulation. //! -//! The Surface may be shared by different TFaces but -//! not the Triangulation, because the Triangulation -//! may be modified by the edges. +//! The Surface may be shared by different TFaces but +//! not the Triangulation, because the Triangulation +//! may be modified by the edges. class BRep_TFace : public TopoDS_TFace { diff --git a/src/ModelingData/TKBRep/BRep/BRep_TVertex.hxx b/src/ModelingData/TKBRep/BRep/BRep_TVertex.hxx index b7a95cb089..8a3eeb4f4f 100644 --- a/src/ModelingData/TKBRep/BRep/BRep_TVertex.hxx +++ b/src/ModelingData/TKBRep/BRep/BRep_TVertex.hxx @@ -28,10 +28,10 @@ class TopoDS_TShape; class BRep_TVertex; DEFINE_STANDARD_HANDLE(BRep_TVertex, TopoDS_TVertex) -//! The TVertex from BRep inherits from the TVertex +//! The TVertex from BRep inherits from the TVertex //! from TopoDS. It contains the geometric data. //! -//! The TVertex contains a 3d point, location and a tolerance. +//! The TVertex contains a 3d point, location and a tolerance. class BRep_TVertex : public TopoDS_TVertex { @@ -42,8 +42,8 @@ public: void Tolerance(const Standard_Real T); - //! Sets the tolerance to the max of and the - //! current tolerance. + //! Sets the tolerance to the max of and the + //! current tolerance. void UpdateTolerance(const Standard_Real T); const gp_Pnt& Pnt() const; @@ -54,7 +54,7 @@ public: BRep_ListOfPointRepresentation& ChangePoints(); - //! Returns a copy of the TShape with no sub-shapes. + //! Returns a copy of the TShape with no sub-shapes. Standard_EXPORT Handle(TopoDS_TShape) EmptyCopy() const Standard_OVERRIDE; //! Dumps the content of me into the stream diff --git a/src/ModelingData/TKBRep/BRep/BRep_Tool.hxx b/src/ModelingData/TKBRep/BRep/BRep_Tool.hxx index 1415b57a0c..63b2aad3d0 100644 --- a/src/ModelingData/TKBRep/BRep/BRep_Tool.hxx +++ b/src/ModelingData/TKBRep/BRep/BRep_Tool.hxx @@ -86,17 +86,16 @@ public: //! Returns the tolerance of the face. Standard_EXPORT static Standard_Real Tolerance(const TopoDS_Face& F); - //! Returns the NaturalRestriction flag of the face. + //! Returns the NaturalRestriction flag of the face. Standard_EXPORT static Standard_Boolean NaturalRestriction(const TopoDS_Face& F); //! Returns True if has a surface, false otherwise. Standard_EXPORT static Standard_Boolean IsGeometric(const TopoDS_Face& F); - //! Returns True if is a 3d curve or a curve on - //! surface. + //! Returns True if is a 3d curve or a curve on surface. Standard_EXPORT static Standard_Boolean IsGeometric(const TopoDS_Edge& E); - //! Returns the 3D curve of the edge. May be a Null + //! Returns the 3D curve of the edge. May be a Null //! handle. Returns in the location for the curve. //! In and the parameter range. Standard_EXPORT static const Handle(Geom_Curve)& Curve(const TopoDS_Edge& E, @@ -104,21 +103,21 @@ public: Standard_Real& First, Standard_Real& Last); - //! Returns the 3D curve of the edge. May be a Null handle. + //! Returns the 3D curve of the edge. May be a Null handle. //! In and the parameter range. //! It can be a copy if there is a Location. Standard_EXPORT static Handle(Geom_Curve) Curve(const TopoDS_Edge& E, Standard_Real& First, Standard_Real& Last); - //! Returns the 3D polygon of the edge. May be a Null + //! Returns the 3D polygon of the edge. May be a Null //! handle. Returns in the location for the polygon. Standard_EXPORT static const Handle(Poly_Polygon3D)& Polygon3D(const TopoDS_Edge& E, TopLoc_Location& L); - //! Returns the curve associated to the edge in the - //! parametric space of the face. Returns a NULL - //! handle if this curve does not exist. Returns in + //! Returns the curve associated to the edge in the + //! parametric space of the face. Returns a NULL + //! handle if this curve does not exist. Returns in //! and the parameter range. //! If the surface is a plane the curve can be not stored but created a new //! each time. The flag pointed by serves to indicate storage status. @@ -129,9 +128,9 @@ public: Standard_Real& Last, Standard_Boolean* theIsStored = NULL); - //! Returns the curve associated to the edge in the - //! parametric space of the surface. Returns a NULL - //! handle if this curve does not exist. Returns in + //! Returns the curve associated to the edge in the + //! parametric space of the surface. Returns a NULL + //! handle if this curve does not exist. Returns in //! and the parameter range. //! If the surface is a plane the curve can be not stored but created a new //! each time. The flag pointed by serves to indicate storage status. @@ -154,8 +153,8 @@ public: Standard_Real& Last); //! Returns in , , a 2d curve, a surface and - //! a location for the edge . and are null - //! if the edge has no curve on surface. Returns in + //! a location for the edge . and are null + //! if the edge has no curve on surface. Returns in //! and the parameter range. Standard_EXPORT static void CurveOnSurface(const TopoDS_Edge& E, Handle(Geom2d_Curve)& C, @@ -176,22 +175,22 @@ public: Standard_Real& Last, const Standard_Integer Index); - //! Returns the polygon associated to the edge in the - //! parametric space of the face. Returns a NULL - //! handle if this polygon does not exist. + //! Returns the polygon associated to the edge in the + //! parametric space of the face. Returns a NULL + //! handle if this polygon does not exist. Standard_EXPORT static Handle(Poly_Polygon2D) PolygonOnSurface(const TopoDS_Edge& E, const TopoDS_Face& F); - //! Returns the polygon associated to the edge in the - //! parametric space of the surface. Returns a NULL - //! handle if this polygon does not exist. + //! Returns the polygon associated to the edge in the + //! parametric space of the surface. Returns a NULL + //! handle if this polygon does not exist. Standard_EXPORT static Handle(Poly_Polygon2D) PolygonOnSurface(const TopoDS_Edge& E, const Handle(Geom_Surface)& S, const TopLoc_Location& L); //! Returns in , , a 2d curve, a surface and - //! a location for the edge . and are null - //! if the edge has no polygon on surface. + //! a location for the edge . and are null + //! if the edge has no polygon on surface. Standard_EXPORT static void PolygonOnSurface(const TopoDS_Edge& E, Handle(Poly_Polygon2D)& C, Handle(Geom_Surface)& S, @@ -206,9 +205,9 @@ public: TopLoc_Location& L, const Standard_Integer Index); - //! Returns the polygon associated to the edge in the - //! parametric space of the face. Returns a NULL - //! handle if this polygon does not exist. + //! Returns the polygon associated to the edge in the + //! parametric space of the face. Returns a NULL + //! handle if this polygon does not exist. Standard_EXPORT static const Handle(Poly_PolygonOnTriangulation)& PolygonOnTriangulation( const TopoDS_Edge& E, const Handle(Poly_Triangulation)& T, @@ -216,16 +215,16 @@ public: //! Returns in

, , a polygon on triangulation, a //! triangulation and a location for the edge . - //!

and are null if the edge has no - //! polygon on triangulation. + //!

and are null if the edge has no + //! polygon on triangulation. Standard_EXPORT static void PolygonOnTriangulation(const TopoDS_Edge& E, Handle(Poly_PolygonOnTriangulation)& P, Handle(Poly_Triangulation)& T, TopLoc_Location& L); - //! Returns in

, , a polygon on - //! triangulation, a triangulation and a location for - //! the edge for the range index. and are + //! Returns in

, , a polygon on + //! triangulation, a triangulation and a location for + //! the edge for the range index. and are //! null if the edge has no polygon on triangulation. Standard_EXPORT static void PolygonOnTriangulation(const TopoDS_Edge& E, Handle(Poly_PolygonOnTriangulation)& P, @@ -233,19 +232,19 @@ public: TopLoc_Location& L, const Standard_Integer Index); - //! Returns True if has two PCurves in the - //! parametric space of . i.e. is on a closed + //! Returns True if has two PCurves in the + //! parametric space of . i.e. is on a closed //! surface and is on the closing curve. Standard_EXPORT static Standard_Boolean IsClosed(const TopoDS_Edge& E, const TopoDS_Face& F); - //! Returns True if has two PCurves in the - //! parametric space of . i.e. is a closed + //! Returns True if has two PCurves in the + //! parametric space of . i.e. is a closed //! surface and is on the closing curve. Standard_EXPORT static Standard_Boolean IsClosed(const TopoDS_Edge& E, const Handle(Geom_Surface)& S, const TopLoc_Location& L); - //! Returns True if has two arrays of indices in + //! Returns True if has two arrays of indices in //! the triangulation . Standard_EXPORT static Standard_Boolean IsClosed(const TopoDS_Edge& E, const Handle(Poly_Triangulation)& T, @@ -268,8 +267,7 @@ public: Standard_Real& First, Standard_Real& Last); - //! Gets the range of the edge on the pcurve on the - //! surface. + //! Gets the range of the edge on the pcurve on the surface. Standard_EXPORT static void Range(const TopoDS_Edge& E, const Handle(Geom_Surface)& S, const TopLoc_Location& L, @@ -333,12 +331,11 @@ public: const TopLoc_Location& L1, const TopLoc_Location& L2); - //! Returns True if the edge has regularity on some - //! two surfaces + //! Returns True if the edge has regularity on some two surfaces. Standard_EXPORT static Standard_Boolean HasContinuity(const TopoDS_Edge& E); - //! Returns the max continuity of edge between some surfaces or GeomAbs_C0 if there no such - //! surfaces. + //! Returns the max continuity of edge between some surfaces or GeomAbs_C0 + //! if there are no such surfaces. Standard_EXPORT static GeomAbs_Shape MaxContinuity(const TopoDS_Edge& theEdge); //! Returns the 3d point. @@ -360,13 +357,13 @@ public: //! Throws Standard_NoSuchObject if no parameter on edge Standard_EXPORT static Standard_Real Parameter(const TopoDS_Vertex& V, const TopoDS_Edge& E); - //! Returns the parameters of the vertex on the + //! Returns the parameters of the vertex on the //! pcurve of the edge on the face. Standard_EXPORT static Standard_Real Parameter(const TopoDS_Vertex& V, const TopoDS_Edge& E, const TopoDS_Face& F); - //! Returns the parameters of the vertex on the + //! Returns the parameters of the vertex on the //! pcurve of the edge on the surface. Standard_EXPORT static Standard_Real Parameter(const TopoDS_Vertex& V, const TopoDS_Edge& E, diff --git a/src/ModelingData/TKBRep/BRepAdaptor/BRepAdaptor_CompCurve.hxx b/src/ModelingData/TKBRep/BRepAdaptor/BRepAdaptor_CompCurve.hxx index a8006b256a..06ee363ba4 100644 --- a/src/ModelingData/TKBRep/BRepAdaptor/BRepAdaptor_CompCurve.hxx +++ b/src/ModelingData/TKBRep/BRepAdaptor/BRepAdaptor_CompCurve.hxx @@ -66,22 +66,21 @@ public: const TopoDS_Wire& W, const Standard_Boolean KnotByCurvilinearAbcissa = Standard_False); - //! Creates a Curve to access the geometry of edge - //! . + //! Creates a Curve to access the geometry of edge . Standard_EXPORT BRepAdaptor_CompCurve(const TopoDS_Wire& W, const Standard_Boolean KnotByCurvilinearAbcissa, const Standard_Real First, const Standard_Real Last, const Standard_Real Tol); - //! Shallow copy of adaptor + //! Shallow copy of adaptor. Standard_EXPORT virtual Handle(Adaptor3d_Curve) ShallowCopy() const Standard_OVERRIDE; //! Sets the wire . Standard_EXPORT void Initialize(const TopoDS_Wire& W, const Standard_Boolean KnotByCurvilinearAbcissa); - //! Sets wire and trimmed parameter. + //! Sets wire and trimmed parameter. Standard_EXPORT void Initialize(const TopoDS_Wire& W, const Standard_Boolean KnotByCurvilinearAbcissa, const Standard_Real First, @@ -91,7 +90,7 @@ public: //! Returns the wire. Standard_EXPORT const TopoDS_Wire& Wire() const; - //! returns an edge and one parameter on them + //! returns an edge and one parameter on them //! corresponding to the parameter U. Standard_EXPORT void Edge(const Standard_Real U, TopoDS_Edge& E, Standard_Real& UonE) const; @@ -101,20 +100,20 @@ public: Standard_EXPORT GeomAbs_Shape Continuity() 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; - //! 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. //! If >= Standard_EXPORT Handle(Adaptor3d_Curve) Trim(const Standard_Real First, @@ -135,8 +134,7 @@ public: //! Computes the point of parameter U on the curve //! with its first derivative. - //! Raised if the continuity of the current interval - //! is not C1. + //! Raised if the continuity of the current interval is not C1. Standard_EXPORT void D1(const Standard_Real U, gp_Pnt& P, gp_Vec& V) const Standard_OVERRIDE; //! Returns the point P of parameter U, the first and second @@ -160,8 +158,7 @@ public: //! The returned vector gives the value of the derivative for the //! order of derivation N. - //! Raised if the continuity of the current interval - //! is not CN. + //! Raised if the continuity of the current interval is not CN. //! Raised if N < 1. Standard_EXPORT gp_Vec DN(const Standard_Real U, const Standard_Integer N) const Standard_OVERRIDE; diff --git a/src/ModelingData/TKBRep/BRepAdaptor/BRepAdaptor_Curve.hxx b/src/ModelingData/TKBRep/BRepAdaptor/BRepAdaptor_Curve.hxx index 663dff395a..7f2abfd919 100644 --- a/src/ModelingData/TKBRep/BRepAdaptor/BRepAdaptor_Curve.hxx +++ b/src/ModelingData/TKBRep/BRepAdaptor/BRepAdaptor_Curve.hxx @@ -48,12 +48,12 @@ DEFINE_STANDARD_HANDLE(BRepAdaptor_Curve, Adaptor3d_Curve) //! //! It has the methods the class Curve from Adaptor3d. //! -//! It is created or Initialized with an Edge. It -//! takes into account local coordinate systems. If -//! the Edge has a 3D curve it is use with priority. -//! If the edge has no 3D curve one of the curves on +//! It is created or Initialized with an Edge. It +//! takes into account local coordinate systems. If +//! the Edge has a 3D curve it is use with priority. +//! If the edge has no 3D curve one of the curves on //! surface is used. It is possible to enforce using a -//! curve on surface by creating or initialising with +//! curve on surface by creating or initialising with //! an Edge and a Face. class BRepAdaptor_Curve : public Adaptor3d_Curve { @@ -62,14 +62,13 @@ public: //! Creates an undefined Curve with no Edge loaded. Standard_EXPORT BRepAdaptor_Curve(); - //! Creates a Curve to access the geometry of edge - //! . + //! Creates a Curve to access the geometry of edge . Standard_EXPORT BRepAdaptor_Curve(const TopoDS_Edge& E); - //! Creates a Curve to access the geometry of edge - //! . The geometry will be computed using the - //! parametric curve of on the face . An Error - //! is raised if the edge does not have a pcurve on + //! Creates a Curve to access the geometry of edge + //! . The geometry will be computed using the + //! parametric curve of on the face . An Error + //! is raised if the edge does not have a pcurve on //! the face. Standard_EXPORT BRepAdaptor_Curve(const TopoDS_Edge& E, const TopoDS_Face& F); @@ -79,14 +78,14 @@ public: //! Reset currently loaded curve (undone Load()). Standard_EXPORT void Reset(); - //! Sets the Curve to access the geometry of + //! Sets the Curve to access the geometry of //! edge . Standard_EXPORT void Initialize(const TopoDS_Edge& E); - //! Sets the Curve to access the geometry of - //! edge . The geometry will be computed using the - //! parametric curve of on the face . An Error - //! is raised if the edge does not have a pcurve on + //! Sets the Curve to access the geometry of + //! edge . The geometry will be computed using the + //! parametric curve of on the face . An Error + //! is raised if the edge does not have a pcurve on //! the face. Standard_EXPORT void Initialize(const TopoDS_Edge& E, const TopoDS_Face& F); @@ -101,7 +100,7 @@ public: //! a pcurve on a surface. Standard_EXPORT Standard_Boolean IsCurveOnSurface() const; - //! Returns the Curve of the edge. + //! Returns the Curve of the edge. Standard_EXPORT const GeomAdaptor_Curve& Curve() const; //! Returns the CurveOnSurface of the edge. @@ -119,20 +118,20 @@ public: Standard_EXPORT GeomAbs_Shape Continuity() 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; - //! 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. //! If >= Standard_EXPORT Handle(Adaptor3d_Curve) Trim(const Standard_Real First, diff --git a/src/ModelingData/TKBRep/BRepAdaptor/BRepAdaptor_Curve2d.hxx b/src/ModelingData/TKBRep/BRepAdaptor/BRepAdaptor_Curve2d.hxx index 3cd0a0a2ba..ddda22b14c 100644 --- a/src/ModelingData/TKBRep/BRepAdaptor/BRepAdaptor_Curve2d.hxx +++ b/src/ModelingData/TKBRep/BRepAdaptor/BRepAdaptor_Curve2d.hxx @@ -26,14 +26,14 @@ #include //! The Curve2d from BRepAdaptor allows to use an Edge -//! on a Face like a 2d curve. (curve in the -//! parametric space). +//! on a Face like a 2d curve (curve in the parametric +//! space). //! -//! It has the methods of the class Curve2d from +//! It has the methods of the class Curve2d from //! Adpator. //! -//! It is created or initialized with a Face and an -//! Edge. The methods are inherited from Curve from +//! It is created or initialized with a Face and an +//! Edge. The methods are inherited from Curve from //! Geom2dAdaptor. class BRepAdaptor_Curve2d : public Geom2dAdaptor_Curve { diff --git a/src/ModelingData/TKBRep/BRepAdaptor/BRepAdaptor_Surface.hxx b/src/ModelingData/TKBRep/BRepAdaptor/BRepAdaptor_Surface.hxx index 2c7dec88dd..8e23b1cd70 100644 --- a/src/ModelingData/TKBRep/BRepAdaptor/BRepAdaptor_Surface.hxx +++ b/src/ModelingData/TKBRep/BRepAdaptor/BRepAdaptor_Surface.hxx @@ -38,17 +38,17 @@ class gp_Dir; DEFINE_STANDARD_HANDLE(BRepAdaptor_Surface, Adaptor3d_Surface) -//! The Surface from BRepAdaptor allows to use a Face +//! The Surface from BRepAdaptor allows to use a Face //! of the BRep topology look like a 3D surface. //! -//! It has the methods of the class Surface from +//! It has the methods of the class Surface from //! Adaptor3d. //! //! It is created or initialized with a Face. It takes //! into account the local coordinates system. //! -//! The u,v parameter range is the minmax value for -//! the restriction, unless the flag restriction is +//! The u,v parameter range is the minmax value for +//! the restriction, unless the flag restriction is //! set to false. class BRepAdaptor_Surface : public Adaptor3d_Surface { @@ -57,14 +57,14 @@ public: //! Creates an undefined surface with no face loaded. Standard_EXPORT BRepAdaptor_Surface(); - //! Creates a surface to access the geometry of . - //! If is true the parameter range is - //! the parameter range in the UV space of the + //! Creates a surface to access the geometry of . + //! If is true the parameter range is + //! the parameter range in the UV space of the //! restriction. Standard_EXPORT BRepAdaptor_Surface(const TopoDS_Face& F, const Standard_Boolean R = Standard_True); - //! Shallow copy of adaptor + //! Shallow copy of adaptor. Standard_EXPORT virtual Handle(Adaptor3d_Surface) ShallowCopy() const Standard_OVERRIDE; //! Sets the surface to the geometry of . @@ -105,7 +105,7 @@ public: virtual GeomAbs_Shape VContinuity() const Standard_OVERRIDE { return mySurf.VContinuity(); } //! If necessary, breaks the surface in U intervals of - //! continuity . And returns the number of + //! continuity . And returns the number of //! intervals. virtual Standard_Integer NbUIntervals(const GeomAbs_Shape theSh) const Standard_OVERRIDE { @@ -113,35 +113,35 @@ public: } //! If necessary, breaks the surface in V intervals of - //! continuity . And returns the number of + //! continuity . And returns the number of //! intervals. virtual Standard_Integer NbVIntervals(const GeomAbs_Shape theSh) const Standard_OVERRIDE { return mySurf.NbVIntervals(theSh); } - //! Returns the intervals with the requested continuity + //! Returns the intervals with the requested continuity //! in the U direction. Standard_EXPORT void UIntervals(TColStd_Array1OfReal& T, const GeomAbs_Shape S) const Standard_OVERRIDE; - //! Returns the intervals with the requested continuity + //! Returns the intervals with the requested continuity //! in the V direction. Standard_EXPORT void VIntervals(TColStd_Array1OfReal& T, const GeomAbs_Shape S) const Standard_OVERRIDE; - //! Returns a surface trimmed in the U direction - //! equivalent of between - //! parameters and . is used to - //! test for 3d points confusion. + //! Returns a surface trimmed in the U direction + //! equivalent of between parameters + //! and . + //! is used to test for 3d points confusion. //! If >= Standard_EXPORT Handle(Adaptor3d_Surface) UTrim(const Standard_Real First, const Standard_Real Last, const Standard_Real Tol) const Standard_OVERRIDE; - //! Returns a surface trimmed in the V direction between - //! parameters and . is used to - //! test for 3d points confusion. + //! Returns a surface trimmed in the V direction between + //! parameters and . + //! is used to test for 3d points confusion. //! If >= Standard_EXPORT Handle(Adaptor3d_Surface) VTrim(const Standard_Real First, const Standard_Real Last, @@ -169,7 +169,7 @@ public: const Standard_Real V, gp_Pnt& P) const Standard_OVERRIDE; - //! Computes the point and the first derivatives on the surface. + //! Computes the point and the first derivatives on the surface. //! Raised if the continuity of the current intervals is not C1. //! //! Tip: use GeomLib::NormEstim() to calculate surface normal at specified (U, V) point. @@ -179,9 +179,9 @@ public: gp_Vec& D1U, gp_Vec& D1V) const Standard_OVERRIDE; - //! Computes the point, the first and second + //! Computes the point, the first and second //! derivatives on the surface. - //! Raised if the continuity of the current + //! Raised if the continuity of the current //! intervals is not C2. Standard_EXPORT void D2(const Standard_Real U, const Standard_Real V, @@ -192,9 +192,9 @@ public: gp_Vec& D2V, gp_Vec& D2UV) const Standard_OVERRIDE; - //! Computes the point, the first, second and third + //! Computes the point, the first, second and third //! derivatives on the surface. - //! Raised if the continuity of the current + //! Raised if the continuity of the current //! intervals is not C3. Standard_EXPORT void D3(const Standard_Real U, const Standard_Real V, @@ -211,7 +211,7 @@ public: //! Computes the derivative of order Nu in the direction //! U and Nv in the direction V at the point P(U, V). - //! Raised if the current U interval is not not CNu + //! Raised if the current U interval is not not CNu //! and the current V interval is not CNv. //! Raised if Nu + Nv < 1 or Nu < 0 or Nv < 0. Standard_EXPORT gp_Vec DN(const Standard_Real U, @@ -219,23 +219,23 @@ public: const Standard_Integer Nu, const Standard_Integer Nv) const Standard_OVERRIDE; - //! Returns the parametric U resolution corresponding + //! Returns the parametric U resolution corresponding //! to the real space resolution . virtual Standard_Real UResolution(const Standard_Real theR3d) const Standard_OVERRIDE { return mySurf.UResolution(theR3d); } - //! Returns the parametric V resolution corresponding + //! Returns the parametric V resolution corresponding //! to the real space resolution . virtual Standard_Real VResolution(const Standard_Real theR3d) const Standard_OVERRIDE { return mySurf.VResolution(theR3d); } - //! Returns the type of the surface : Plane, Cylinder, - //! Cone, Sphere, Torus, BezierSurface, - //! BSplineSurface, SurfaceOfRevolution, + //! Returns the type of the surface: Plane, Cylinder, + //! Cone, Sphere, Torus, BezierSurface, + //! BSplineSurface, SurfaceOfRevolution, //! SurfaceOfExtrusion, OtherSurface virtual GeomAbs_SurfaceType GetType() const Standard_OVERRIDE { return mySurf.GetType(); } @@ -267,7 +267,7 @@ public: Standard_EXPORT Handle(Geom_BezierSurface) Bezier() const Standard_OVERRIDE; - //! Warning : this will make a copy of the + //! Warning: this will make a copy of the //! BSpline Surface since it applies //! to it the myTsrf transformation //! Be Careful when using this method diff --git a/src/ModelingData/TKBRep/BRepLProp/BRepLProp.hxx b/src/ModelingData/TKBRep/BRepLProp/BRepLProp.hxx index 648a33254f..35fbd8e640 100644 --- a/src/ModelingData/TKBRep/BRepLProp/BRepLProp.hxx +++ b/src/ModelingData/TKBRep/BRepLProp/BRepLProp.hxx @@ -34,8 +34,8 @@ public: DEFINE_STANDARD_ALLOC //! Computes the regularity at the junction between C1 and - //! C2. The point u1 on C1 and the point u2 on C2 must be - //! confused. tl and ta are the linear and angular + //! C2. The point u1 on C1 and the point u2 on C2 must be + //! confused. tl and ta are the linear and angular //! tolerance used two compare the derivative. Standard_EXPORT static GeomAbs_Shape Continuity(const BRepAdaptor_Curve& C1, const BRepAdaptor_Curve& C2, diff --git a/src/ModelingData/TKBRep/BRepTools/BRepTools.hxx b/src/ModelingData/TKBRep/BRepTools/BRepTools.hxx index 87dbcca95f..8c52f0a61e 100644 --- a/src/ModelingData/TKBRep/BRepTools/BRepTools.hxx +++ b/src/ModelingData/TKBRep/BRepTools/BRepTools.hxx @@ -48,39 +48,39 @@ class OSD_FileSystem; //! The BRepTools package provides utilities for BRep //! data structures. //! -//! * WireExplorer : A tool to explore the topology of +//! * WireExplorer: Tool to explore the topology of //! a wire in the order of the edges. //! -//! * ShapeSet : Tools used for dumping, writing and +//! * ShapeSet: Tools used for dumping, writing and //! reading. //! -//! * UVBounds : Methods to compute the limits of the -//! boundary of a face, a wire or an edge in the +//! * UVBounds: Methods to compute the limits of the +//! boundary of a face, a wire or an edge in the //! parametric space of a face. //! -//! * Update : Methods to call when a topology has -//! been created to compute all missing data. +//! * Update: Methods to call when a topology has been +//! created to compute all missing data. //! //! * UpdateFaceUVPoints: Method to update the UV points //! stored with the edges on a face. //! -//! * Compare : Method to compare two vertices. +//! * Compare: Method to compare two vertices. //! -//! * Compare : Method to compare two edges. +//! * Compare: Method to compare two edges. //! -//! * OuterWire : A method to find the outer wire of a +//! * OuterWire: Method to find the outer wire of a //! face. //! -//! * Map3DEdges : A method to map all the 3D Edges of +//! * Map3DEdges: Method to map all the 3D Edges of //! a Shape. //! -//! * Dump : A method to dump a BRep object. +//! * Dump: Method to dump a BRep object. class BRepTools { public: DEFINE_STANDARD_ALLOC - //! Returns in UMin, UMax, VMin, VMax the bounding + //! Returns in UMin, UMax, VMin, VMax the bounding //! values in the parametric space of F. Standard_EXPORT static void UVBounds(const TopoDS_Face& F, Standard_Real& UMin, @@ -88,7 +88,7 @@ public: Standard_Real& VMin, Standard_Real& VMax); - //! Returns in UMin, UMax, VMin, VMax the bounding + //! Returns in UMin, UMax, VMin, VMax the bounding //! values of the wire in the parametric space of F. Standard_EXPORT static void UVBounds(const TopoDS_Face& F, const TopoDS_Wire& W, @@ -97,7 +97,7 @@ public: Standard_Real& VMin, Standard_Real& VMax); - //! Returns in UMin, UMax, VMin, VMax the bounding + //! Returns in UMin, UMax, VMin, VMax the bounding //! values of the edge in the parametric space of F. Standard_EXPORT static void UVBounds(const TopoDS_Face& F, const TopoDS_Edge& E, @@ -106,15 +106,15 @@ public: Standard_Real& VMin, Standard_Real& VMax); - //! Adds to the box the bounding values in the + //! Adds to the box the bounding values in the //! parametric space of F. Standard_EXPORT static void AddUVBounds(const TopoDS_Face& F, Bnd_Box2d& B); - //! Adds to the box the bounding values of the + //! Adds to the box the bounding values of the //! wire in the parametric space of F. Standard_EXPORT static void AddUVBounds(const TopoDS_Face& F, const TopoDS_Wire& W, Bnd_Box2d& B); - //! Adds to the box the bounding values of the + //! Adds to the box the bounding values of the //! edge in the parametric space of F. Standard_EXPORT static void AddUVBounds(const TopoDS_Face& F, const TopoDS_Edge& E, Bnd_Box2d& B); @@ -247,11 +247,11 @@ public: Standard_EXPORT static Standard_Boolean UnloadAllTriangulations(const TopoDS_Shape& theShape); public: - //! Returns True if the distance between the two + //! Returns True if the distance between the two //! vertices is lower than their tolerance. Standard_EXPORT static Standard_Boolean Compare(const TopoDS_Vertex& V1, const TopoDS_Vertex& V2); - //! Returns True if the distance between the two + //! Returns True if the distance between the two //! edges is lower than their tolerance. Standard_EXPORT static Standard_Boolean Compare(const TopoDS_Edge& E1, const TopoDS_Edge& E2); @@ -259,11 +259,11 @@ public: //! wire if has no wires. Standard_EXPORT static TopoDS_Wire OuterWire(const TopoDS_Face& F); - //! Stores in the map all the 3D topology edges + //! Stores in the map all the 3D topology edges //! of . Standard_EXPORT static void Map3DEdges(const TopoDS_Shape& S, TopTools_IndexedMapOfShape& M); - //! Verifies that the edge is found two times on + //! Verifies that the edge is found two times on //! the face before calling BRep_Tool::IsClosed. Standard_EXPORT static Standard_Boolean IsReallyClosed(const TopoDS_Edge& E, const TopoDS_Face& F); @@ -313,7 +313,7 @@ public: const TopTools_FormatVersion theVersion, const Message_ProgressRange& theProgress = Message_ProgressRange()); - //! Reads a Shape from in returns it in . + //! Reads a Shape from in returns it in . //! is used to build the shape. Standard_EXPORT static void Read( TopoDS_Shape& Sh, @@ -357,7 +357,7 @@ public: const TopTools_FormatVersion theVersion, const Message_ProgressRange& theProgress = Message_ProgressRange()); - //! Reads a Shape from , returns it in . + //! Reads a Shape from , returns it in . //! is used to build the shape. Standard_EXPORT static Standard_Boolean Read( TopoDS_Shape& Sh, @@ -365,7 +365,7 @@ public: const BRep_Builder& B, const Message_ProgressRange& theProgress = Message_ProgressRange()); - //! Evals real tolerance of edge . + //! Evals real tolerance of edge . //! , , , , are //! correspondently 3d curve of edge, 2d curve on surface and //! rang of edge @@ -378,8 +378,8 @@ public: const Standard_Real theF, const Standard_Real theL); - //! returns the cumul of the orientation of - //! and thc containing wire in + //! returns the cumul of the orientation of + //! and the containing wire in Standard_EXPORT static TopAbs_Orientation OriEdgeInFace(const TopoDS_Edge& theEdge, const TopoDS_Face& theFace); diff --git a/src/ModelingData/TKBRep/BRepTools/BRepTools_GTrsfModification.hxx b/src/ModelingData/TKBRep/BRepTools/BRepTools_GTrsfModification.hxx index ad37a2c93c..9817a4f8b3 100644 --- a/src/ModelingData/TKBRep/BRepTools/BRepTools_GTrsfModification.hxx +++ b/src/ModelingData/TKBRep/BRepTools/BRepTools_GTrsfModification.hxx @@ -35,7 +35,7 @@ class Geom2d_Curve; class BRepTools_GTrsfModification; DEFINE_STANDARD_HANDLE(BRepTools_GTrsfModification, BRepTools_Modification) -//! Defines a modification of the geometry by a GTrsf +//! Defines a modification of the geometry by a GTrsf //! from gp. All methods return True and transform the //! geometry. class BRepTools_GTrsfModification : public BRepTools_Modification @@ -47,16 +47,16 @@ public: //! Gives an access on the GTrsf. Standard_EXPORT gp_GTrsf& GTrsf(); - //! Returns Standard_True if the face has been - //! modified. In this case, is the new geometric - //! support of the face, the new location, - //! the new tolerance. has to be set to - //! Standard_True when the modification reverses the - //! normal of the surface.(the wires have to be - //! reversed). has to be set to - //! Standard_True if the orientation of the modified - //! face changes in the shells which contain it. -- - //! Here, will return Standard_True if the + //! Returns Standard_True if the face has been + //! modified. In this case, is the new geometric + //! support of the face, the new location, + //! the new tolerance. has to be set to + //! Standard_True when the modification reverses the + //! normal of the surface. (the wires have to be + //! reversed). has to be set to + //! Standard_True if the orientation of the modified + //! face changes in the shells which contain it. -- + //! Here, will return Standard_True if the //! -- gp_Trsf is negative. Standard_EXPORT Standard_Boolean NewSurface(const TopoDS_Face& F, Handle(Geom_Surface)& S, @@ -65,31 +65,31 @@ public: Standard_Boolean& RevWires, Standard_Boolean& RevFace) Standard_OVERRIDE; - //! Returns Standard_True if the edge has been - //! modified. In this case, is the new geometric - //! support of the edge, the new location, - //! the new tolerance. Otherwise, returns - //! Standard_False, and , , are not + //! Returns Standard_True if the edge has been + //! modified. In this case, is the new geometric + //! support of the edge, the new location, + //! the new tolerance. Otherwise, returns + //! Standard_False, and , , are not //! significant. Standard_EXPORT Standard_Boolean NewCurve(const TopoDS_Edge& E, Handle(Geom_Curve)& C, TopLoc_Location& L, Standard_Real& Tol) Standard_OVERRIDE; - //! Returns Standard_True if the vertex has been - //! modified. In this case,

is the new geometric - //! support of the vertex, the new tolerance. - //! Otherwise, returns Standard_False, and

, + //! Returns Standard_True if the vertex has been + //! modified. In this case,

is the new geometric + //! support of the vertex, the new tolerance. + //! Otherwise, returns Standard_False, and

, //! are not significant. Standard_EXPORT Standard_Boolean NewPoint(const TopoDS_Vertex& V, gp_Pnt& P, Standard_Real& Tol) Standard_OVERRIDE; - //! Returns Standard_True if the edge has a new + //! Returns Standard_True if the edge has a new //! curve on surface on the face .In this case, - //! is the new geometric support of the edge, the + //! is the new geometric support of the edge, the //! new location, the new tolerance. - //! Otherwise, returns Standard_False, and , , + //! Otherwise, returns Standard_False, and , , //! are not significant. Standard_EXPORT Standard_Boolean NewCurve2d(const TopoDS_Edge& E, const TopoDS_Face& F, @@ -98,21 +98,21 @@ public: Handle(Geom2d_Curve)& C, Standard_Real& Tol) Standard_OVERRIDE; - //! Returns Standard_True if the Vertex has a new - //! parameter on the edge . In this case,

is - //! the parameter, the new tolerance. - //! Otherwise, returns Standard_False, and

, + //! Returns Standard_True if the Vertex has a new + //! parameter on the edge . In this case,

is + //! the parameter, the new tolerance. + //! Otherwise, returns Standard_False, and

, //! are not significant. Standard_EXPORT Standard_Boolean NewParameter(const TopoDS_Vertex& V, const TopoDS_Edge& E, Standard_Real& P, Standard_Real& Tol) Standard_OVERRIDE; - //! Returns the continuity of between + //! Returns the continuity of between //! and . //! - //! is the new edge created from . - //! (resp. ) is the new face created from + //! is the new edge created from . + //! (resp. ) is the new face created from //! (resp. ). Standard_EXPORT GeomAbs_Shape Continuity(const TopoDS_Edge& E, const TopoDS_Face& F1, diff --git a/src/ModelingData/TKBRep/BRepTools/BRepTools_NurbsConvertModification.hxx b/src/ModelingData/TKBRep/BRepTools/BRepTools_NurbsConvertModification.hxx index 042563703d..35c3e5d1c8 100644 --- a/src/ModelingData/TKBRep/BRepTools/BRepTools_NurbsConvertModification.hxx +++ b/src/ModelingData/TKBRep/BRepTools/BRepTools_NurbsConvertModification.hxx @@ -37,7 +37,7 @@ class Geom2d_Curve; class BRepTools_NurbsConvertModification; DEFINE_STANDARD_HANDLE(BRepTools_NurbsConvertModification, BRepTools_CopyModification) -//! Defines a modification of the geometry by a Trsf +//! Defines a modification of the geometry by a Trsf //! from gp. All methods return True and transform the //! geometry. class BRepTools_NurbsConvertModification : public BRepTools_CopyModification @@ -46,16 +46,16 @@ class BRepTools_NurbsConvertModification : public BRepTools_CopyModification public: Standard_EXPORT BRepTools_NurbsConvertModification(); - //! Returns Standard_True if the face has been - //! modified. In this case, is the new geometric - //! support of the face, the new location, - //! the new tolerance. has to be set to - //! Standard_True when the modification reverses the - //! normal of the surface.(the wires have to be - //! reversed). has to be set to - //! Standard_True if the orientation of the modified - //! face changes in the shells which contain it. -- - //! Here, will return Standard_True if the + //! Returns Standard_True if the face has been + //! modified. In this case, is the new geometric + //! support of the face, the new location, + //! the new tolerance. has to be set to + //! Standard_True when the modification reverses the + //! normal of the surface. (the wires have to be + //! reversed). has to be set to + //! Standard_True if the orientation of the modified + //! face changes in the shells which contain it. -- + //! Here, will return Standard_True if the //! -- gp_Trsf is negative. Standard_EXPORT Standard_Boolean NewSurface(const TopoDS_Face& F, Handle(Geom_Surface)& S, @@ -64,31 +64,31 @@ public: Standard_Boolean& RevWires, Standard_Boolean& RevFace) Standard_OVERRIDE; - //! Returns Standard_True if the edge has been - //! modified. In this case, is the new geometric - //! support of the edge, the new location, - //! the new tolerance. Otherwise, returns - //! Standard_False, and , , are not + //! Returns Standard_True if the edge has been + //! modified. In this case, is the new geometric + //! support of the edge, the new location, + //! the new tolerance. Otherwise, returns + //! Standard_False, and , , are not //! significant. Standard_EXPORT Standard_Boolean NewCurve(const TopoDS_Edge& E, Handle(Geom_Curve)& C, TopLoc_Location& L, Standard_Real& Tol) Standard_OVERRIDE; - //! Returns Standard_True if the vertex has been - //! modified. In this case,

is the new geometric - //! support of the vertex, the new tolerance. - //! Otherwise, returns Standard_False, and

, + //! Returns Standard_True if the vertex has been + //! modified. In this case,

is the new geometric + //! support of the vertex, the new tolerance. + //! Otherwise, returns Standard_False, and

, //! are not significant. Standard_EXPORT Standard_Boolean NewPoint(const TopoDS_Vertex& V, gp_Pnt& P, Standard_Real& Tol) Standard_OVERRIDE; - //! Returns Standard_True if the edge has a new + //! Returns Standard_True if the edge has a new //! curve on surface on the face .In this case, - //! is the new geometric support of the edge, the + //! is the new geometric support of the edge, the //! new location, the new tolerance. - //! Otherwise, returns Standard_False, and , , + //! Otherwise, returns Standard_False, and , , //! are not significant. Standard_EXPORT Standard_Boolean NewCurve2d(const TopoDS_Edge& E, const TopoDS_Face& F, @@ -97,21 +97,21 @@ public: Handle(Geom2d_Curve)& C, Standard_Real& Tol) Standard_OVERRIDE; - //! Returns Standard_True if the Vertex has a new - //! parameter on the edge . In this case,

is - //! the parameter, the new tolerance. - //! Otherwise, returns Standard_False, and

, + //! Returns Standard_True if the Vertex has a new + //! parameter on the edge . In this case,

is + //! the parameter, the new tolerance. + //! Otherwise, returns Standard_False, and

, //! are not significant. Standard_EXPORT Standard_Boolean NewParameter(const TopoDS_Vertex& V, const TopoDS_Edge& E, Standard_Real& P, Standard_Real& Tol) Standard_OVERRIDE; - //! Returns the continuity of between + //! Returns the continuity of between //! and . //! - //! is the new edge created from . - //! (resp. ) is the new face created from + //! is the new edge created from . + //! (resp. ) is the new face created from //! (resp. ). Standard_EXPORT GeomAbs_Shape Continuity(const TopoDS_Edge& E, const TopoDS_Face& F1, diff --git a/src/ModelingData/TKBRep/BRepTools/BRepTools_Quilt.hxx b/src/ModelingData/TKBRep/BRepTools/BRepTools_Quilt.hxx index 60f3d767f4..0b099b3e84 100644 --- a/src/ModelingData/TKBRep/BRepTools/BRepTools_Quilt.hxx +++ b/src/ModelingData/TKBRep/BRepTools/BRepTools_Quilt.hxx @@ -47,18 +47,17 @@ public: Standard_EXPORT BRepTools_Quilt(); - //! Binds to be the new edge instead of - //! . + //! Binds to be the new edge instead of . //! - //! The faces of the added shape containing + //! The faces of the added shape containing //! will be copied to substitute by . //! - //! The vertices of will be bound to the + //! The vertices of will be bound to the //! vertices of with the same orientation. //! - //! If and have different orientations - //! the curves are considered to be opposite and the - //! pcurves of will be copied and reversed in + //! If and have different orientations + //! the curves are considered to be opposite and the + //! pcurves of will be copied and reversed in //! the new faces. //! //! must belong to the next added shape, must belong @@ -67,15 +66,15 @@ public: //! Binds to be a new vertex instead of . //! - //! The faces of the added shape containing + //! The faces of the added shape containing //! will be copied to substitute by . Standard_EXPORT void Bind(const TopoDS_Vertex& Vold, const TopoDS_Vertex& Vnew); - //! Add the faces of to the Quilt, the faces + //! Add the faces of to the Quilt, the faces //! containing bounded edges are copied. Standard_EXPORT void Add(const TopoDS_Shape& S); - //! Returns True if has been copied ( is a + //! Returns True if has been copied ( is a //! vertex, an edge or a face) Standard_EXPORT Standard_Boolean IsCopied(const TopoDS_Shape& S) const; diff --git a/src/ModelingData/TKBRep/BRepTools/BRepTools_ShapeSet.hxx b/src/ModelingData/TKBRep/BRepTools/BRepTools_ShapeSet.hxx index 951bb86b6e..b3aae3975c 100644 --- a/src/ModelingData/TKBRep/BRepTools/BRepTools_ShapeSet.hxx +++ b/src/ModelingData/TKBRep/BRepTools/BRepTools_ShapeSet.hxx @@ -81,13 +81,13 @@ public: //! Dumps the geometry of me on the stream . Standard_EXPORT virtual void DumpGeometry(Standard_OStream& OS) const Standard_OVERRIDE; - //! Writes the geometry of me on the stream in a + //! Writes the geometry of me on the stream in a //! format that can be read back by Read. Standard_EXPORT virtual void WriteGeometry( Standard_OStream& OS, const Message_ProgressRange& theProgress = Message_ProgressRange()) Standard_OVERRIDE; - //! Reads the geometry of me from the stream . + //! Reads the geometry of me from the stream . Standard_EXPORT virtual void ReadGeometry( Standard_IStream& IS, const Message_ProgressRange& theProgress = Message_ProgressRange()) Standard_OVERRIDE; @@ -96,7 +96,7 @@ public: Standard_EXPORT virtual void DumpGeometry(const TopoDS_Shape& S, Standard_OStream& OS) const Standard_OVERRIDE; - //! Writes the geometry of on the stream in a + //! Writes the geometry of on the stream in a //! format that can be read back by Read. Standard_EXPORT virtual void WriteGeometry(const TopoDS_Shape& S, Standard_OStream& OS) const Standard_OVERRIDE; @@ -107,16 +107,16 @@ public: Standard_IStream& IS, TopoDS_Shape& S) Standard_OVERRIDE; - //! Inserts the shape in the shape . This - //! method must be redefined to use the correct + //! Inserts the shape in the shape . This + //! method must be redefined to use the correct //! builder. Standard_EXPORT virtual void AddShapes(TopoDS_Shape& S1, const TopoDS_Shape& S2) Standard_OVERRIDE; Standard_EXPORT virtual void Check(const TopAbs_ShapeEnum T, TopoDS_Shape& S) Standard_OVERRIDE; - //! Reads the 3d polygons of me - //! from the stream . + //! Reads the 3d polygons of me + //! from the stream . Standard_EXPORT void ReadPolygon3D( Standard_IStream& IS, const Message_ProgressRange& theProgress = Message_ProgressRange()); @@ -134,7 +134,7 @@ public: Standard_EXPORT void DumpPolygon3D(Standard_OStream& OS) const; //! Reads the triangulation of me - //! from the stream . + //! from the stream . Standard_EXPORT void ReadTriangulation( Standard_IStream& IS, const Message_ProgressRange& theProgress = Message_ProgressRange()); @@ -152,7 +152,7 @@ public: Standard_EXPORT void DumpTriangulation(Standard_OStream& OS) const; //! Reads the polygons on triangulation of me - //! from the stream . + //! from the stream . Standard_EXPORT void ReadPolygonOnTriangulation( Standard_IStream& IS, const Message_ProgressRange& theProgress = Message_ProgressRange()); diff --git a/src/ModelingData/TKBRep/BRepTools/BRepTools_Substitution.hxx b/src/ModelingData/TKBRep/BRepTools/BRepTools_Substitution.hxx index 5e3efd1d82..3d8f615414 100644 --- a/src/ModelingData/TKBRep/BRepTools/BRepTools_Substitution.hxx +++ b/src/ModelingData/TKBRep/BRepTools/BRepTools_Substitution.hxx @@ -46,7 +46,7 @@ public: //! will be replaced by . //! - //! can be empty , in this case + //! can be empty, in this case //! will disparate from its ancestors. //! //! if an item of is oriented FORWARD. @@ -61,7 +61,7 @@ public: //! the resul of Standard_EXPORT void Build(const TopoDS_Shape& S); - //! Returns True if has been replaced . + //! Returns True if has been replaced. Standard_EXPORT Standard_Boolean IsCopied(const TopoDS_Shape& S) const; //! Returns the set of shapes substituted to . diff --git a/src/ModelingData/TKBRep/BRepTools/BRepTools_WireExplorer.hxx b/src/ModelingData/TKBRep/BRepTools/BRepTools_WireExplorer.hxx index 741cd8d724..ead38318d6 100644 --- a/src/ModelingData/TKBRep/BRepTools/BRepTools_WireExplorer.hxx +++ b/src/ModelingData/TKBRep/BRepTools/BRepTools_WireExplorer.hxx @@ -49,10 +49,10 @@ public: //! Constructs an empty explorer (which can be initialized using Init) Standard_EXPORT BRepTools_WireExplorer(); - //! IInitializes an exploration of the wire . + //! IInitializes an exploration of the wire . Standard_EXPORT BRepTools_WireExplorer(const TopoDS_Wire& W); - //! Initializes an exploration of the wire . + //! Initializes an exploration of the wire . //! F is used to select the edge connected to the //! previous in the parametric representation of . Standard_EXPORT BRepTools_WireExplorer(const TopoDS_Wire& W, const TopoDS_Face& F); @@ -76,7 +76,7 @@ public: const Standard_Real VMin, const Standard_Real VMax); - //! Returns True if there is a current edge. + //! Returns True if there is a current edge. Standard_EXPORT Standard_Boolean More() const; //! Proceeds to the next edge. @@ -88,7 +88,7 @@ public: //! Returns an Orientation for the current edge. Standard_EXPORT TopAbs_Orientation Orientation() const; - //! Returns the vertex connecting the current edge to + //! Returns the vertex connecting the current edge to //! the previous one. Standard_EXPORT const TopoDS_Vertex& CurrentVertex() const; diff --git a/src/ModelingData/TKBRep/BinTools/BinTools_Curve2dSet.hxx b/src/ModelingData/TKBRep/BinTools/BinTools_Curve2dSet.hxx index 9891f55449..d51659ef3d 100644 --- a/src/ModelingData/TKBRep/BinTools/BinTools_Curve2dSet.hxx +++ b/src/ModelingData/TKBRep/BinTools/BinTools_Curve2dSet.hxx @@ -42,7 +42,7 @@ public: //! Clears the content of the set. Standard_EXPORT void Clear(); - //! Incorporate a new Curve in the set and returns + //! Incorporate a new Curve in the set and returns //! its index. Standard_EXPORT Standard_Integer Add(const Handle(Geom2d_Curve)& C); @@ -55,12 +55,12 @@ public: //! Dumps the content of me on the stream . Standard_EXPORT void Dump(Standard_OStream& OS) const; - //! Writes the content of me on the stream in a + //! Writes the content of me on the stream in a //! format that can be read back by Read. Standard_EXPORT void Write(Standard_OStream& OS, const Message_ProgressRange& theRange = Message_ProgressRange()) const; - //! Reads the content of me from the stream . me + //! Reads the content of me from the stream . me //! is first cleared. Standard_EXPORT void Read(Standard_IStream& IS, const Message_ProgressRange& theRange = Message_ProgressRange()); @@ -68,8 +68,8 @@ public: //! Dumps the curve on the binary stream, that can be read back. Standard_EXPORT static void WriteCurve2d(const Handle(Geom2d_Curve)& C, BinTools_OStream& OS); - //! Reads the curve from the stream. The curve is - //! assumed to have been written with the Write + //! Reads the curve from the stream. The curve is + //! assumed to have been written with the Write //! method. Standard_EXPORT static Standard_IStream& ReadCurve2d(Standard_IStream& IS, Handle(Geom2d_Curve)& C); diff --git a/src/ModelingData/TKBRep/BinTools/BinTools_CurveSet.hxx b/src/ModelingData/TKBRep/BinTools/BinTools_CurveSet.hxx index 9c06e10081..782a7ae40f 100644 --- a/src/ModelingData/TKBRep/BinTools/BinTools_CurveSet.hxx +++ b/src/ModelingData/TKBRep/BinTools/BinTools_CurveSet.hxx @@ -42,7 +42,7 @@ public: //! Clears the content of the set. Standard_EXPORT void Clear(); - //! Incorporate a new Curve in the set and returns + //! Incorporate a new Curve in the set and returns //! its index. Standard_EXPORT Standard_Integer Add(const Handle(Geom_Curve)& C); @@ -52,12 +52,12 @@ public: //! Returns the index of . Standard_EXPORT Standard_Integer Index(const Handle(Geom_Curve)& C) const; - //! Writes the content of me on the stream in a + //! Writes the content of me on the stream in a //! format that can be read back by Read. Standard_EXPORT void Write(Standard_OStream& OS, const Message_ProgressRange& theRange = Message_ProgressRange()) const; - //! Reads the content of me from the stream . me + //! Reads the content of me from the stream . me //! is first cleared. Standard_EXPORT void Read(Standard_IStream& IS, const Message_ProgressRange& theRange = Message_ProgressRange()); @@ -66,8 +66,8 @@ public: //! that can be read back. Standard_EXPORT static void WriteCurve(const Handle(Geom_Curve)& C, BinTools_OStream& OS); - //! Reads the curve from the stream. The curve is - //! assumed to have been written with the Write + //! Reads the curve from the stream. The curve is + //! assumed to have been written with the Write //! method Standard_EXPORT static Standard_IStream& ReadCurve(Standard_IStream& IS, Handle(Geom_Curve)& C); diff --git a/src/ModelingData/TKBRep/BinTools/BinTools_LocationSet.hxx b/src/ModelingData/TKBRep/BinTools/BinTools_LocationSet.hxx index aa88a66cf1..8dd2ae5dc9 100644 --- a/src/ModelingData/TKBRep/BinTools/BinTools_LocationSet.hxx +++ b/src/ModelingData/TKBRep/BinTools/BinTools_LocationSet.hxx @@ -45,7 +45,7 @@ public: //! Clears the content of the set. Standard_EXPORT void Clear(); - //! Incorporate a new Location in the set and returns + //! Incorporate a new Location in the set and returns //! its index. Standard_EXPORT Standard_Integer Add(const TopLoc_Location& L); @@ -58,11 +58,11 @@ public: //! Returns number of locations. Standard_EXPORT Standard_Integer NbLocations() const; - //! Writes the content of me on the stream in a + //! Writes the content of me on the stream in a //! format that can be read back by Read. Standard_EXPORT void Write(Standard_OStream& OS) const; - //! Reads the content of me from the stream . me + //! Reads the content of me from the stream . me //! is first cleared. Standard_EXPORT void Read(Standard_IStream& IS); diff --git a/src/ModelingData/TKBRep/BinTools/BinTools_ShapeSet.hxx b/src/ModelingData/TKBRep/BinTools/BinTools_ShapeSet.hxx index ec3f847d5e..a2c0aa9a51 100644 --- a/src/ModelingData/TKBRep/BinTools/BinTools_ShapeSet.hxx +++ b/src/ModelingData/TKBRep/BinTools/BinTools_ShapeSet.hxx @@ -60,7 +60,7 @@ public: //! Returns number of shapes read from file. Standard_EXPORT Standard_Integer NbShapes() const; - //! Writes the content of me on the stream in binary + //! Writes the content of me on the stream in binary //! format that can be read back by Read. //! //! Writes the locations. @@ -68,7 +68,7 @@ public: //! Writes the geometry calling WriteGeometry. //! //! Dumps the shapes from last to first. - //! For each shape : + //! For each shape: //! Write the type. //! calls WriteGeometry(S). //! Write the flags, the subshapes. @@ -76,7 +76,7 @@ public: Standard_OStream& OS, const Message_ProgressRange& theRange = Message_ProgressRange()); - //! Reads the content of me from the binary stream . me + //! Reads the content of me from the binary stream . me //! is first cleared. //! //! Reads the locations. @@ -92,18 +92,18 @@ public: Standard_IStream& IS, const Message_ProgressRange& theRange = Message_ProgressRange()); - //! Writes on the shape . Writes the + //! Writes on the shape . Writes the //! orientation, the index of the TShape and the index //! of the Location. Standard_EXPORT virtual void Write(const TopoDS_Shape& S, Standard_OStream& OS); - //! Writes the geometry of me on the stream in a + //! Writes the geometry of me on the stream in a //! binary format that can be read back by Read. Standard_EXPORT virtual void WriteGeometry( Standard_OStream& OS, const Message_ProgressRange& theRange = Message_ProgressRange()) const; - //! Reads the geometry of me from the stream . + //! Reads the geometry of me from the stream . Standard_EXPORT virtual void ReadGeometry( Standard_IStream& IS, const Message_ProgressRange& theRange = Message_ProgressRange()); @@ -127,7 +127,7 @@ public: //! binary format that can be read back by Read. Standard_EXPORT virtual void WriteShape(const TopoDS_Shape& S, Standard_OStream& OS) const; - //! Reads a shape of type from the stream and returns it in . + //! Reads a shape of type from the stream and returns it in . Standard_EXPORT virtual void ReadShape(const TopAbs_ShapeEnum T, Standard_IStream& IS, TopoDS_Shape& S); @@ -135,11 +135,11 @@ public: //! Stores the shape . Standard_EXPORT virtual void AddShape(const TopoDS_Shape& S); - //! Inserts the shape in the shape . + //! Inserts the shape in the shape . Standard_EXPORT virtual void AddShapes(TopoDS_Shape& S1, const TopoDS_Shape& S2); - //! Reads the 3d polygons of me - //! from the stream . + //! Reads the 3d polygons of me + //! from the stream . Standard_EXPORT void ReadPolygon3D( Standard_IStream& IS, const Message_ProgressRange& theRange = Message_ProgressRange()); @@ -152,7 +152,7 @@ public: const Message_ProgressRange& theRange = Message_ProgressRange()) const; //! Reads the triangulation of me - //! from the stream . + //! from the stream . Standard_EXPORT void ReadTriangulation( Standard_IStream& IS, const Message_ProgressRange& theRange = Message_ProgressRange()); @@ -165,7 +165,7 @@ public: const Message_ProgressRange& theRange = Message_ProgressRange()) const; //! Reads the polygons on triangulation of me - //! from the stream . + //! from the stream . Standard_EXPORT void ReadPolygonOnTriangulation( Standard_IStream& IS, const Message_ProgressRange& theRange = Message_ProgressRange()); diff --git a/src/ModelingData/TKBRep/BinTools/BinTools_ShapeSetBase.hxx b/src/ModelingData/TKBRep/BinTools/BinTools_ShapeSetBase.hxx index fb0ab87a3b..76009cdd78 100644 --- a/src/ModelingData/TKBRep/BinTools/BinTools_ShapeSetBase.hxx +++ b/src/ModelingData/TKBRep/BinTools/BinTools_ShapeSetBase.hxx @@ -66,7 +66,7 @@ public: //! Clears the content of the set. Standard_EXPORT virtual void Clear() {} - //! Writes the content of me on the stream in binary + //! Writes the content of me on the stream in binary //! format that can be read back by Read. //! //! Writes the locations. @@ -74,7 +74,7 @@ public: //! Writes the geometry calling WriteGeometry. //! //! Dumps the shapes from last to first. - //! For each shape : + //! For each shape: //! Write the type. //! calls WriteGeometry(S). //! Write the flags, the subshapes. @@ -84,7 +84,7 @@ public: { } - //! Reads the content of me from the binary stream . me + //! Reads the content of me from the binary stream . me //! is first cleared. //! //! Reads the locations. @@ -102,7 +102,7 @@ public: { } - //! Writes on the shape . Writes the + //! Writes on the shape . Writes the //! orientation, the index of the TShape and the index //! of the Location. Standard_EXPORT virtual void Write(const TopoDS_Shape& /*theShape*/, diff --git a/src/ModelingData/TKBRep/BinTools/BinTools_SurfaceSet.hxx b/src/ModelingData/TKBRep/BinTools/BinTools_SurfaceSet.hxx index 2194ae7163..851ff5d5b3 100644 --- a/src/ModelingData/TKBRep/BinTools/BinTools_SurfaceSet.hxx +++ b/src/ModelingData/TKBRep/BinTools/BinTools_SurfaceSet.hxx @@ -42,7 +42,7 @@ public: //! Clears the content of the set. Standard_EXPORT void Clear(); - //! Incorporate a new Surface in the set and returns + //! Incorporate a new Surface in the set and returns //! its index. Standard_EXPORT Standard_Integer Add(const Handle(Geom_Surface)& S); @@ -52,12 +52,12 @@ public: //! Returns the index of . Standard_EXPORT Standard_Integer Index(const Handle(Geom_Surface)& S) const; - //! Writes the content of me on the stream in + //! Writes the content of me on the stream in //! binary format that can be read back by Read. Standard_EXPORT void Write(Standard_OStream& OS, const Message_ProgressRange& theRange = Message_ProgressRange()) const; - //! Reads the content of me from the stream . me + //! Reads the content of me from the stream . me //! is first cleared. Standard_EXPORT void Read(Standard_IStream& IS, const Message_ProgressRange& therange = Message_ProgressRange()); @@ -66,9 +66,8 @@ public: //! format that can be read back. Standard_EXPORT static void WriteSurface(const Handle(Geom_Surface)& S, BinTools_OStream& OS); - //! Reads the surface from the stream. The surface is - //! assumed to have been written with the Write - //! method. + //! Reads the surface from the stream. The surface is + //! assumed to have been written with the Write method. Standard_EXPORT static Standard_IStream& ReadSurface(Standard_IStream& IS, Handle(Geom_Surface)& S); diff --git a/src/ModelingData/TKBRep/TopExp/TopExp.hxx b/src/ModelingData/TKBRep/TopExp/TopExp.hxx index 7d773ec1f9..7a20d009f9 100644 --- a/src/ModelingData/TKBRep/TopExp/TopExp.hxx +++ b/src/ModelingData/TKBRep/TopExp/TopExp.hxx @@ -31,16 +31,16 @@ class TopoDS_Shape; class TopoDS_Edge; class TopoDS_Wire; -//! This package provides basic tools to explore the +//! This package provides basic tools to explore the //! topological data structures. //! -//! * Explorer : A tool to find all sub-shapes of a given +//! * Explorer: A tool to find all sub-shapes of a given //! type. e.g. all faces of a solid. //! //! * Package methods to map sub-shapes of a shape. //! //! Level : Public -//! All methods of all classes will be public. +//! All methods of all classes will be public. class TopExp { public: @@ -78,8 +78,8 @@ public: const Standard_Boolean cumLoc = Standard_True); //! Stores in the map all the subshape of of - //! type for each one append to the list all - //! the ancestors of type . For example map all + //! type for each one append to the list all + //! the ancestors of type . For example map all //! the edges and bind the list of faces. //! Warning: The map is not cleared at first. Standard_EXPORT static void MapShapesAndAncestors(const TopoDS_Shape& S, @@ -89,7 +89,7 @@ public: //! Stores in the map all the subshape of of //! type for each one append to the list all - //! unique ancestors of type . For example map all + //! unique ancestors of type . For example map all //! the edges and bind the list of faces. //! useOrientation = True : taking account the ancestor orientation //! Warning: The map is not cleared at first. @@ -120,9 +120,9 @@ public: TopoDS_Vertex& Vlast, const Standard_Boolean CumOri = Standard_False); - //! Returns in Vfirst, Vlast the first and last + //! Returns in Vfirst, Vlast the first and last //! vertices of the open wire . May be null shapes. - //! if is closed Vfirst and Vlast are a same + //! if is closed Vfirst and Vlast are a same //! vertex on . //! if is no manifold. VFirst and VLast are null //! shapes. @@ -130,7 +130,7 @@ public: TopoDS_Vertex& Vfirst, TopoDS_Vertex& Vlast); - //! Finds the vertex common to the two edges + //! Finds the vertex common to the two edges //! , returns True if this vertex exists. //! //! Warning: has sense only if the value is returned diff --git a/src/ModelingData/TKBRep/TopExp/TopExp_Explorer.hxx b/src/ModelingData/TKBRep/TopExp/TopExp_Explorer.hxx index 0a993d1b61..da01d72707 100644 --- a/src/ModelingData/TKBRep/TopExp/TopExp_Explorer.hxx +++ b/src/ModelingData/TKBRep/TopExp/TopExp_Explorer.hxx @@ -21,22 +21,22 @@ #include #include -//! An Explorer is a Tool to visit a Topological Data -//! Structure form the TopoDS package. +//! An Explorer is a Tool to visit a Topological Data +//! Structure from the TopoDS package. //! -//! An Explorer is built with : +//! An Explorer is built with: //! //! * The Shape to explore. //! -//! * The type of Shapes to find : e.g VERTEX, EDGE. +//! * The type of Shapes to find: e.g VERTEX, EDGE. //! This type cannot be SHAPE. //! -//! * The type of Shapes to avoid. e.g SHELL, EDGE. -//! By default this type is SHAPE which means no +//! * The type of Shapes to avoid. e.g SHELL, EDGE. +//! By default this type is SHAPE which means no //! restriction on the exploration. //! -//! The Explorer visits all the structure to find -//! shapes of the requested type which are not +//! The Explorer visits all the structure to find +//! shapes of the requested type which are not //! contained in the type to avoid. //! //! Example to find all the Faces in the Shape S : @@ -57,7 +57,7 @@ //! //! for (Ex.Init(S,TopAbs_VERTEX,TopAbs_EDGE); ...) //! -//! To find all the faces in a SHELL, then all the +//! To find all the faces in a SHELL, then all the //! faces not in a SHELL : //! //! TopExp_Explorer Ex1, Ex2; @@ -73,10 +73,10 @@ //! // visit all faces not in a shell //! } //! -//! If the type to avoid is the same or is less +//! If the type to avoid is the same or is less //! complex than the type to find it has no effect. //! -//! For example searching edges not in a vertex does +//! For example searching edges not in a vertex does //! not make a difference. class TopExp_Explorer { @@ -91,9 +91,9 @@ public: //! is the type of shapes to search. //! TopAbs_VERTEX, TopAbs_EDGE, ... //! - //! is the type of shape to skip in the - //! exploration. If is equal or less - //! complex than or if is SHAPE it + //! is the type of shape to skip in the + //! exploration. If is equal or less + //! complex than or if is SHAPE it //! has no effect on the exploration. Standard_EXPORT TopExp_Explorer(const TopoDS_Shape& S, const TopAbs_ShapeEnum ToFind, diff --git a/src/ModelingData/TKBRep/TopTools/TopTools.hxx b/src/ModelingData/TKBRep/TopTools/TopTools.hxx index 2ae769d2d8..4f22467b40 100644 --- a/src/ModelingData/TKBRep/TopTools/TopTools.hxx +++ b/src/ModelingData/TKBRep/TopTools/TopTools.hxx @@ -57,26 +57,26 @@ class TopoDS_Shape; //! IndexedDataMapOfShapeAddress //! DataMapOfOrientedShapeShape //! -//! * LocationSet : to write sets of locations. +//! * LocationSet: to write sets of locations. //! -//! * ShapeSet : to writes sets of TShapes. +//! * ShapeSet: to writes sets of TShapes. //! -//! Package Methods : +//! Package Methods: //! -//! Dump : To dump the topology of a Shape. +//! Dump: To dump the topology of a Shape. class TopTools { public: DEFINE_STANDARD_ALLOC //! A set of Shapes. Can be dump, wrote or read. - //! Dumps the topological structure of on the + //! Dumps the topological structure of on the //! stream . Standard_EXPORT static void Dump(const TopoDS_Shape& Sh, Standard_OStream& S); //! This is to bypass an extraction bug. It will force - //! the inclusion of Standard_Integer.hxx itself - //! including Standard_OStream.hxx at the correct + //! the inclusion of Standard_Integer.hxx itself + //! including Standard_OStream.hxx at the correct //! position. Standard_EXPORT static void Dummy(const Standard_Integer I); }; diff --git a/src/ModelingData/TKBRep/TopTools/TopTools_LocationSet.hxx b/src/ModelingData/TKBRep/TopTools/TopTools_LocationSet.hxx index d985f12b2b..efe44ea6d8 100644 --- a/src/ModelingData/TKBRep/TopTools/TopTools_LocationSet.hxx +++ b/src/ModelingData/TKBRep/TopTools/TopTools_LocationSet.hxx @@ -47,7 +47,7 @@ public: //! Clears the content of the set. Standard_EXPORT void Clear(); - //! Incorporate a new Location in the set and returns + //! Incorporate a new Location in the set and returns //! its index. Standard_EXPORT Standard_Integer Add(const TopLoc_Location& L); @@ -60,13 +60,13 @@ public: //! Dumps the content of me on the stream . Standard_EXPORT void Dump(Standard_OStream& OS) const; - //! Writes the content of me on the stream in a + //! Writes the content of me on the stream in a //! format that can be read back by Read. Standard_EXPORT void Write( Standard_OStream& OS, const Message_ProgressRange& theProgress = Message_ProgressRange()) const; - //! Reads the content of me from the stream . me + //! Reads the content of me from the stream . me //! is first cleared. Standard_EXPORT void Read(Standard_IStream& IS, const Message_ProgressRange& theProgress = Message_ProgressRange()); diff --git a/src/ModelingData/TKBRep/TopTools/TopTools_ShapeSet.hxx b/src/ModelingData/TKBRep/TopTools/TopTools_ShapeSet.hxx index 2cca44b932..55934e49a4 100644 --- a/src/ModelingData/TKBRep/TopTools/TopTools_ShapeSet.hxx +++ b/src/ModelingData/TKBRep/TopTools/TopTools_ShapeSet.hxx @@ -31,8 +31,8 @@ class TopoDS_Shape; class TCollection_AsciiString; -//! A ShapeSets contains a Shape and all its -//! sub-shapes and locations. It can be dump, write +//! A ShapeSets contains a Shape and all its +//! sub-shapes and locations. It can be dump, write //! and read. //! //! Methods to handle the geometry can be redefined. @@ -52,7 +52,7 @@ public: //! Returns the TopTools_FormatVersion Standard_EXPORT Standard_Integer FormatNb() const; - //! Clears the content of the set. This method can be + //! Clears the content of the set. This method can be //! redefined. Standard_EXPORT virtual void Clear(); @@ -90,7 +90,7 @@ public: //! Dumps the locations. Standard_EXPORT virtual void Dump(Standard_OStream& OS) const; - //! Writes the content of me on the stream in a + //! Writes the content of me on the stream in a //! format that can be read back by Read. //! //! Writes the locations. @@ -106,7 +106,7 @@ public: Standard_OStream& OS, const Message_ProgressRange& theProgress = Message_ProgressRange()); - //! Reads the content of me from the stream . me + //! Reads the content of me from the stream . me //! is first cleared. //! //! Reads the locations. @@ -122,12 +122,12 @@ public: Standard_IStream& IS, const Message_ProgressRange& theProgress = Message_ProgressRange()); - //! Dumps on the shape . Dumps the + //! Dumps on the shape . Dumps the //! orientation, the index of the TShape and the index //! of the Location. Standard_EXPORT void Dump(const TopoDS_Shape& S, Standard_OStream& OS) const; - //! Writes on the shape . Writes the + //! Writes on the shape . Writes the //! orientation, the index of the TShape and the index //! of the Location. Standard_EXPORT void Write(const TopoDS_Shape& S, Standard_OStream& OS) const; @@ -141,13 +141,13 @@ public: //! Dumps the geometry of me on the stream . Standard_EXPORT virtual void DumpGeometry(Standard_OStream& OS) const; - //! Writes the geometry of me on the stream in a + //! Writes the geometry of me on the stream in a //! format that can be read back by Read. Standard_EXPORT virtual void WriteGeometry( Standard_OStream& OS, const Message_ProgressRange& theProgress = Message_ProgressRange()); - //! Reads the geometry of me from the stream . + //! Reads the geometry of me from the stream . Standard_EXPORT virtual void ReadGeometry( Standard_IStream& IS, const Message_ProgressRange& theProgress = Message_ProgressRange()); @@ -155,7 +155,7 @@ public: //! Dumps the geometry of on the stream . Standard_EXPORT virtual void DumpGeometry(const TopoDS_Shape& S, Standard_OStream& OS) const; - //! Writes the geometry of on the stream in a + //! Writes the geometry of on the stream in a //! format that can be read back by Read. Standard_EXPORT virtual void WriteGeometry(const TopoDS_Shape& S, Standard_OStream& OS) const; @@ -165,15 +165,15 @@ public: Standard_IStream& IS, TopoDS_Shape& S); - //! Inserts the shape in the shape . This - //! method must be redefined to use the correct + //! Inserts the shape in the shape . This + //! method must be redefined to use the correct //! builder. Standard_EXPORT virtual void AddShapes(TopoDS_Shape& S1, const TopoDS_Shape& S2); - //! This method is called after each new completed - //! shape. is the type. is the shape. In this + //! This method is called after each new completed + //! shape. is the type. is the shape. In this //! class it does nothing, but it gives the opportunity - //! in derived classes to perform extra treatment on + //! in derived classes to perform extra treatment on //! shapes. Standard_EXPORT virtual void Check(const TopAbs_ShapeEnum T, TopoDS_Shape& S); @@ -184,7 +184,7 @@ public: static const Standard_CString THE_ASCII_VERSIONS[TopTools_FormatVersion_VERSION_3 + 1]; private: - //! Reads from a shape and returns it in S. + //! Reads from a shape and returns it in S. //! is the number of tshapes in the set. Standard_EXPORT void Read(TopoDS_Shape& S, Standard_IStream& IS, diff --git a/src/ModelingData/TKBRep/TopoDS/TopoDS_Builder.hxx b/src/ModelingData/TKBRep/TopoDS/TopoDS_Builder.hxx index c83a923c64..40bac42c4a 100644 --- a/src/ModelingData/TKBRep/TopoDS/TopoDS_Builder.hxx +++ b/src/ModelingData/TKBRep/TopoDS/TopoDS_Builder.hxx @@ -29,27 +29,27 @@ class TopoDS_Solid; class TopoDS_CompSolid; class TopoDS_Compound; -//! A Builder is used to create Topological Data -//! Structures.It is the root of the Builder class hierarchy. +//! A Builder is used to create Topological Data Structures. +//! It is the root of the Builder class hierarchy. //! -//! There are three groups of methods in the Builder : +//! There are three groups of methods in the Builder: //! //! The Make methods create Shapes. //! //! The Add method includes a Shape in another Shape. //! -//! The Remove method removes a Shape from an other +//! The Remove method removes a Shape from an other //! Shape. //! //! The methods in Builder are not static. They can be //! redefined in inherited builders. //! -//! This Builder does not provide methods to Make -//! Vertices, Edges, Faces, Shells or Solids. These -//! methods are provided in the inherited Builders +//! This Builder does not provide methods to Make +//! Vertices, Edges, Faces, Shells or Solids. These +//! methods are provided in the inherited Builders //! as they must provide the geometry. //! -//! The Add method check for the following rules : +//! The Add method check for the following rules: //! //! - Any SHAPE can be added in a COMPOUND. //! @@ -100,7 +100,7 @@ public: Standard_EXPORT void Remove(TopoDS_Shape& S, const TopoDS_Shape& C) const; protected: - //! The basic method to make a Shape, used by all the + //! The basic method to make a Shape, used by all the //! Make methods. Standard_EXPORT void MakeShape(TopoDS_Shape& S, const Handle(TopoDS_TShape)& T) const; diff --git a/src/ModelingData/TKBRep/TopoDS/TopoDS_FrozenShape.hxx b/src/ModelingData/TKBRep/TopoDS/TopoDS_FrozenShape.hxx index 932417a0c8..09f78f5803 100644 --- a/src/ModelingData/TKBRep/TopoDS/TopoDS_FrozenShape.hxx +++ b/src/ModelingData/TKBRep/TopoDS/TopoDS_FrozenShape.hxx @@ -22,7 +22,7 @@ #include #include -//! An attempt was made to modify a Shape already +//! An attempt was made to modify a Shape already //! shared or protected. class TopoDS_FrozenShape; diff --git a/src/ModelingData/TKBRep/TopoDS/TopoDS_HShape.hxx b/src/ModelingData/TKBRep/TopoDS/TopoDS_HShape.hxx index 5dfcd41cc6..f573d4020f 100644 --- a/src/ModelingData/TKBRep/TopoDS/TopoDS_HShape.hxx +++ b/src/ModelingData/TKBRep/TopoDS/TopoDS_HShape.hxx @@ -25,18 +25,18 @@ class TopoDS_HShape; DEFINE_STANDARD_HANDLE(TopoDS_HShape, Standard_Transient) -//! Class to manipulate a Shape with handle. +//! Class to manipulate a Shape with handle. class TopoDS_HShape : public Standard_Transient { public: - //! Constructs an empty shape object + //! Constructs an empty shape object. TopoDS_HShape(); //! Constructs a shape object defined by the shape aShape. TopoDS_HShape(const TopoDS_Shape& aShape); - //! Loads this shape with the shape aShape + //! Loads this shape with the shape aShape. void Shape(const TopoDS_Shape& aShape); //! Returns a reference to a constant TopoDS_Shape based on this shape. diff --git a/src/ModelingData/TKBRep/TopoDS/TopoDS_TEdge.hxx b/src/ModelingData/TKBRep/TopoDS/TopoDS_TEdge.hxx index a73db5849b..abb95dd968 100644 --- a/src/ModelingData/TKBRep/TopoDS/TopoDS_TEdge.hxx +++ b/src/ModelingData/TKBRep/TopoDS/TopoDS_TEdge.hxx @@ -25,12 +25,12 @@ class TopoDS_TEdge; DEFINE_STANDARD_HANDLE(TopoDS_TEdge, TopoDS_TShape) -//! A topological part of a curve in 2D or 3D, the -//! boundary is a set of oriented Vertices. +//! A topological part of a curve in 2D or 3D, the +//! boundary is a set of oriented Vertices. class TopoDS_TEdge : public TopoDS_TShape { public: - //! Returns EDGE. + //! Returns EDGE. Standard_EXPORT TopAbs_ShapeEnum ShapeType() const Standard_OVERRIDE; DEFINE_STANDARD_RTTIEXT(TopoDS_TEdge, TopoDS_TShape) diff --git a/src/ModelingData/TKBRep/TopoDS/TopoDS_TFace.hxx b/src/ModelingData/TKBRep/TopoDS/TopoDS_TFace.hxx index fee2f5e4d9..fe76016478 100644 --- a/src/ModelingData/TKBRep/TopoDS/TopoDS_TFace.hxx +++ b/src/ModelingData/TKBRep/TopoDS/TopoDS_TFace.hxx @@ -25,8 +25,8 @@ class TopoDS_TFace; DEFINE_STANDARD_HANDLE(TopoDS_TFace, TopoDS_TShape) -//! A topological part of a surface or of the 2D -//! space. The boundary is a set of wires and +//! A topological part of a surface or of the 2D +//! space. The boundary is a set of wires and //! vertices. class TopoDS_TFace : public TopoDS_TShape { diff --git a/src/ModelingData/TKBRep/TopoDS/TopoDS_TShape.hxx b/src/ModelingData/TKBRep/TopoDS/TopoDS_TShape.hxx index 706379b929..4144fd1f0d 100644 --- a/src/ModelingData/TKBRep/TopoDS/TopoDS_TShape.hxx +++ b/src/ModelingData/TKBRep/TopoDS/TopoDS_TShape.hxx @@ -26,19 +26,19 @@ #undef Convex #endif -//! A TShape is a topological structure describing a +//! A TShape is a topological structure describing a //! set of points in a 2D or 3D space. //! //! A topological shape is a structure made from other -//! shapes. This is a deferred class used to support +//! shapes. This is a deferred class used to support //! topological objects. //! -//! TShapes are defined by their optional domain -//! (geometry) and their components (other TShapes -//! with Locations and Orientations). The components +//! TShapes are defined by their optional domain +//! (geometry) and their components (other TShapes +//! with Locations and Orientations). The components //! are stored in a List of Shapes. //! -//! A TShape contains the following boolean flags : +//! A TShape contains the following boolean flags: //! //! - Free : Free or Frozen. //! - Modified : Has been modified. @@ -49,7 +49,7 @@ //! - Convex : Is convex. //! //! Users have no direct access to the classes derived -//! from TShape. They handle them with the classes +//! from TShape. They handle them with the classes //! derived from Shape. class TopoDS_TShape : public Standard_Transient { diff --git a/src/ModelingData/TKBRep/TopoDS/TopoDS_TVertex.hxx b/src/ModelingData/TKBRep/TopoDS/TopoDS_TVertex.hxx index b656e4134d..5c01d1f8ad 100644 --- a/src/ModelingData/TKBRep/TopoDS/TopoDS_TVertex.hxx +++ b/src/ModelingData/TKBRep/TopoDS/TopoDS_TVertex.hxx @@ -29,8 +29,7 @@ class TopoDS_TVertex; DEFINE_STANDARD_HANDLE(TopoDS_TVertex, TopoDS_TShape) -//! A Vertex is a topological point in two or three -//! dimensions. +//! A Vertex is a topological point in two or three dimensions. class TopoDS_TVertex : public TopoDS_TShape { public: diff --git a/src/ModelingData/TKG2d/Adaptor2d/Adaptor2d_Curve2d.hxx b/src/ModelingData/TKG2d/Adaptor2d/Adaptor2d_Curve2d.hxx index 7e7f988fe3..47b18c6490 100644 --- a/src/ModelingData/TKG2d/Adaptor2d/Adaptor2d_Curve2d.hxx +++ b/src/ModelingData/TKG2d/Adaptor2d/Adaptor2d_Curve2d.hxx @@ -60,8 +60,8 @@ public: Standard_EXPORT virtual GeomAbs_Shape Continuity() const; - //! If necessary, breaks the curve in intervals of - //! continuity . And returns the number of + //! If necessary, breaks the curve in intervals of + //! continuity . And returns the number of //! intervals. Standard_EXPORT virtual Standard_Integer NbIntervals(const GeomAbs_Shape S) const; @@ -72,8 +72,8 @@ public: //! for the parameters. i.e. T.Length() > NbIntervals() Standard_EXPORT virtual void Intervals(TColStd_Array1OfReal& T, const GeomAbs_Shape S) const; - //! 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. //! If >= Standard_EXPORT virtual Handle(Adaptor2d_Curve2d) Trim(const Standard_Real First, @@ -128,8 +128,8 @@ public: //! to the real space resolution . Standard_EXPORT virtual Standard_Real Resolution(const Standard_Real R3d) const; - //! 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 virtual GeomAbs_CurveType GetType() const; diff --git a/src/ModelingData/TKG2d/Adaptor2d/Adaptor2d_Line2d.hxx b/src/ModelingData/TKG2d/Adaptor2d/Adaptor2d_Line2d.hxx index 8b94ed8982..f4dbdf8593 100644 --- a/src/ModelingData/TKG2d/Adaptor2d/Adaptor2d_Line2d.hxx +++ b/src/ModelingData/TKG2d/Adaptor2d/Adaptor2d_Line2d.hxx @@ -66,21 +66,21 @@ public: Standard_EXPORT GeomAbs_Shape Continuity() const Standard_OVERRIDE; - //! If necessary, breaks the curve in intervals of - //! continuity . And returns the number of + //! If necessary, breaks the curve in intervals of + //! continuity . And returns the number of //! intervals. 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; - //! 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. //! If >= Standard_EXPORT Handle(Adaptor2d_Curve2d) Trim(const Standard_Real First, diff --git a/src/ModelingData/TKG2d/Adaptor2d/Adaptor2d_OffsetCurve.hxx b/src/ModelingData/TKG2d/Adaptor2d/Adaptor2d_OffsetCurve.hxx index 1407f72e39..aa23a161b3 100644 --- a/src/ModelingData/TKG2d/Adaptor2d/Adaptor2d_OffsetCurve.hxx +++ b/src/ModelingData/TKG2d/Adaptor2d/Adaptor2d_OffsetCurve.hxx @@ -44,7 +44,7 @@ public: //! The curve is loaded. The Offset is set to 0. Standard_EXPORT Adaptor2d_OffsetCurve(const Handle(Adaptor2d_Curve2d)& C); - //! Creates an OffsetCurve curve. + //! Creates an OffsetCurve curve. //! The Offset is set to Offset. Standard_EXPORT Adaptor2d_OffsetCurve(const Handle(Adaptor2d_Curve2d)& C, const Standard_Real Offset); @@ -56,10 +56,10 @@ public: const Standard_Real WFirst, const Standard_Real WLast); - //! Shallow copy of adaptor + //! Shallow copy of adaptor. Standard_EXPORT virtual Handle(Adaptor2d_Curve2d) ShallowCopy() const Standard_OVERRIDE; - //! Changes the curve. The Offset is reset to 0. + //! Changes the curve. The Offset is reset to 0. Standard_EXPORT void Load(const Handle(Adaptor2d_Curve2d)& S); //! Changes the Offset on the current Curve. @@ -80,21 +80,21 @@ public: Standard_EXPORT GeomAbs_Shape Continuity() const Standard_OVERRIDE; - //! If necessary, breaks the curve in intervals of - //! continuity . And returns the number of + //! If necessary, breaks the curve in intervals of + //! continuity . And returns the number of //! intervals. 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; - //! 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. //! If >= Standard_EXPORT Handle(Adaptor2d_Curve2d) Trim(const Standard_Real First, @@ -146,12 +146,12 @@ public: Standard_EXPORT gp_Vec2d 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/ModelingData/TKG2d/Geom2d/Geom2d_BSplineCurve.hxx b/src/ModelingData/TKG2d/Geom2d/Geom2d_BSplineCurve.hxx index d9bb51d308..9ddbec42cf 100644 --- a/src/ModelingData/TKG2d/Geom2d/Geom2d_BSplineCurve.hxx +++ b/src/ModelingData/TKG2d/Geom2d/Geom2d_BSplineCurve.hxx @@ -110,13 +110,13 @@ DEFINE_STANDARD_HANDLE(Geom2d_BSplineCurve, Geom2d_BoundedCurve) //! - Pole(i+p) = Pole(i) //! Note: data structures of a periodic BSpline curve are //! more complex than those of a non-periodic one. -//! Warnings : +//! Warnings: //! In this class we consider that a weight value is zero if //! Weight <= Resolution from package gp. //! For two parametric values (or two knot values) U1, U2 we //! consider that U1 = U2 if Abs (U2 - U1) <= Epsilon (U1). //! For two weights values W1, W2 we consider that W1 = W2 if -//! Abs (W2 - W1) <= Epsilon (W1). The method Epsilon is +//! Abs (W2 - W1) <= Epsilon (W1). The method Epsilon is //! defined in the class Real from package Standard. //! //! References : @@ -133,7 +133,7 @@ class Geom2d_BSplineCurve : public Geom2d_BoundedCurve { public: - //! Creates a non-rational B_spline curve on the + //! Creates a non-rational B_spline curve on the //! basis of degree . //! The following conditions must be verified. //! 0 < Degree <= MaxDegree. @@ -148,7 +148,7 @@ public: //! may be Degree+1 (this is even recommended if you want the //! curve to start and finish on the first and last pole). //! - //! On a periodic curve the first and the last multicities + //! On a periodic curve the first and the last multicities //! must be the same. //! //! on non-periodic curves @@ -209,20 +209,20 @@ public: //! Geom2d_BSplineCurve::MaxDegree(). Standard_EXPORT void IncreaseDegree(const Standard_Integer Degree); - //! Increases the multiplicity of the knot to + //! Increases the multiplicity of the knot to //! . //! - //! If is lower or equal to the current - //! multiplicity nothing is done. If is higher than - //! the degree the degree is used. + //! If is lower or equal to the current multiplicity + //! nothing is done. If is higher than the degree, + //! the degree is used. //! If is not in [FirstUKnotIndex, LastUKnotIndex] Standard_EXPORT void IncreaseMultiplicity(const Standard_Integer Index, const Standard_Integer M); - //! Increases the multiplicities of the knots in + //! Increases the multiplicities of the knots in //! [I1,I2] to . //! - //! For each knot if is lower or equal to the - //! current multiplicity nothing is done. If is + //! For each knot if is lower or equal to the + //! current multiplicity nothing is done. If is //! higher than the degree the degree is used. //! As a result, the poles and weights tables of this curve are modified. //! Warning @@ -253,18 +253,18 @@ public: const Standard_Integer I2, const Standard_Integer M); - //! Inserts a knot value in the sequence of knots. If - //! is an existing knot the multiplicity is + //! Inserts a knot value in the sequence of knots. If + //! is an existing knot the multiplicity is //! increased by . //! - //! If U is not on the parameter range nothing is + //! If U is not on the parameter range nothing is //! done. //! //! If the multiplicity is negative or null nothing is - //! done. The new multiplicity is limited to the + //! done. The new multiplicity is limited to the //! degree. //! - //! The tolerance criterion for knots equality is + //! The tolerance criterion for knots equality is //! the max of Epsilon(U) and ParametricTolerance. //! Warning //! - If U is less than the first parameter or greater than @@ -373,7 +373,7 @@ public: //! Parameter theTolerance defines the possible proximity of the segment //! boundaries and B-spline knots to treat them as equal. //! - //! Warnings : + //! Warnings: //! Even if is not closed it can become closed after the //! segmentation for example if U1 or U2 are out of the bounds //! of the curve or if the curve makes loop. diff --git a/src/ModelingData/TKG2d/Geom2d/Geom2d_BezierCurve.cxx b/src/ModelingData/TKG2d/Geom2d/Geom2d_BezierCurve.cxx index e3963aba05..3ce6a72dd7 100644 --- a/src/ModelingData/TKG2d/Geom2d/Geom2d_BezierCurve.cxx +++ b/src/ModelingData/TKG2d/Geom2d/Geom2d_BezierCurve.cxx @@ -64,7 +64,7 @@ static Standard_Boolean Rational(const TColStd_Array1OfReal& W) Geom2d_BezierCurve::Geom2d_BezierCurve(const TColgp_Array1OfPnt2d& Poles) { - // copy the poles + // copy the poles Handle(TColgp_HArray1OfPnt2d) npoles = new TColgp_HArray1OfPnt2d(1, Poles.Length()); @@ -86,7 +86,7 @@ Geom2d_BezierCurve::Geom2d_BezierCurve(const TColgp_Array1OfPnt2d& Poles, npoles->ChangeArray1() = Poles; - // check the weights + // check the weights Standard_Integer nbpoles = Poles.Length(); @@ -348,7 +348,7 @@ void Geom2d_BezierCurve::Segment(const Standard_Real U1, const Standard_Real U2) { closed = (Abs(Value(U1).Distance(Value(U2))) <= gp::Resolution()); // - // WARNING : when calling trimming be careful that the cache + // WARNING: when calling trimming be careful that the cache // is computed regarding 0.0e0 and not 1.0e0 // TColStd_Array1OfReal bidflatknots(BSplCLib::FlatBezierKnots(Degree()), 1, 2 * (Degree() + 1)); diff --git a/src/ModelingData/TKG2d/Geom2d/Geom2d_BezierCurve.hxx b/src/ModelingData/TKG2d/Geom2d/Geom2d_BezierCurve.hxx index a157871e33..13df9db3db 100644 --- a/src/ModelingData/TKG2d/Geom2d/Geom2d_BezierCurve.hxx +++ b/src/ModelingData/TKG2d/Geom2d/Geom2d_BezierCurve.hxx @@ -92,17 +92,17 @@ class Geom2d_BezierCurve : public Geom2d_BoundedCurve public: //! Creates a non rational Bezier curve with a set of poles : - //! CurvePoles. The weights are defaulted to all being 1. + //! CurvePoles. The weights are defaulted to all being 1. //! Raises ConstructionError if the number of poles is greater than MaxDegree + 1 //! or lower than 2. Standard_EXPORT Geom2d_BezierCurve(const TColgp_Array1OfPnt2d& CurvePoles); //! Creates a rational Bezier curve with the set of poles - //! CurvePoles and the set of weights PoleWeights . + //! CurvePoles and the set of weights PoleWeights. //! If all the weights are identical the curve is considered - //! as non rational. Raises ConstructionError if - //! the number of poles is greater than MaxDegree + 1 or lower - //! than 2 or CurvePoles and CurveWeights have not the same length + //! as non rational. Raises ConstructionError if the number + //! of poles is greater than MaxDegree + 1 or lower than 2 + //! or CurvePoles and CurveWeights have not the same length //! or one weight value is lower or equal to Resolution from //! package gp. Standard_EXPORT Geom2d_BezierCurve(const TColgp_Array1OfPnt2d& CurvePoles, @@ -145,10 +145,10 @@ public: Standard_EXPORT void RemovePole(const Standard_Integer Index); //! Reverses the direction of parametrization of - //! Value (NewU) = Value (1 - OldU) + //! Value (NewU) = Value (1 - OldU) Standard_EXPORT void Reverse() Standard_OVERRIDE; - //! Returns the parameter on the reversed curve for + //! Returns the parameter on the reversed curve for //! the point of parameter U on . //! //! returns 1-U @@ -160,7 +160,7 @@ public: //! The control points are modified, the first and the last point //! are not the same but the parametrization range is [0, 1] //! else it could not be a Bezier curve. - //! Warnings : + //! Warnings: //! Even if is not closed it can become closed after the //! segmentation for example if U1 or U2 are out of the bounds //! of the curve or if the curve makes loop. @@ -213,7 +213,7 @@ public: Standard_EXPORT GeomAbs_Shape Continuity() const Standard_OVERRIDE; //! Returns the polynomial degree of the curve. It is the number - //! of poles less one. In this package the Degree of a Bezier + //! of poles less one. In this package the Degree of a Bezier //! curve cannot be greater than "MaxDegree". Standard_EXPORT Standard_Integer Degree() const; @@ -246,12 +246,12 @@ public: //! Returns the end point or start point of this Bezier curve. Standard_EXPORT gp_Pnt2d EndPoint() const Standard_OVERRIDE; - //! Returns the value of the first parameter of this - //! Bezier curve. This is 0.0, which gives the start point of this Bezier curve. + //! Returns the value of the first parameter of this Bezier curve. + //! This is 0.0, which gives the start point of this Bezier curve. Standard_EXPORT Standard_Real FirstParameter() const Standard_OVERRIDE; - //! Returns the value of the last parameter of this - //! Bezier curve. This is 1.0, which gives the end point of this Bezier curve. + //! Returns the value of the last parameter of this Bezier curve. + //! This is 1.0, which gives the end point of this Bezier curve. Standard_EXPORT Standard_Real LastParameter() const Standard_OVERRIDE; //! Returns the number of poles for this Bezier curve. @@ -317,10 +317,10 @@ public: protected: private: - //! Set poles to Poles, weights to Weights (not - //! copied). If Weights is null the curve is non - //! rational. Create the arrays of coefficients. Poles - //! and Weights are assumed to have the first + //! Set poles to Poles, weights to Weights (not + //! copied). If Weights is null the curve is non + //! rational. Create the arrays of coefficients. + //! Poles and Weights are assumed to have the first //! coefficient 1. //! //! Update rational and closed. diff --git a/src/ModelingData/TKG2d/Geom2d/Geom2d_Parabola.hxx b/src/ModelingData/TKG2d/Geom2d/Geom2d_Parabola.hxx index 9043e293ad..cf527fb737 100644 --- a/src/ModelingData/TKG2d/Geom2d/Geom2d_Parabola.hxx +++ b/src/ModelingData/TKG2d/Geom2d/Geom2d_Parabola.hxx @@ -186,8 +186,8 @@ public: Standard_EXPORT Standard_Real TransformedParameter(const Standard_Real U, const gp_Trsf2d& T) const Standard_OVERRIDE; - //! Returns a coefficient to compute the parameter on - //! the transformed curve for the transform of the + //! Returns a coefficient to compute the parameter on + //! the transformed curve for the transform of the //! point on . //! //! Transformed(T)->Value(U * ParametricTransformation(T)) diff --git a/src/ModelingData/TKG2d/Geom2d/Geom2d_Transformation.hxx b/src/ModelingData/TKG2d/Geom2d/Geom2d_Transformation.hxx index ab2691198c..2c92e6c41c 100644 --- a/src/ModelingData/TKG2d/Geom2d/Geom2d_Transformation.hxx +++ b/src/ModelingData/TKG2d/Geom2d/Geom2d_Transformation.hxx @@ -44,7 +44,7 @@ DEFINE_STANDARD_HANDLE(Geom2d_Transformation, Standard_Transient) //! and therefore change the real type of the object. //! Such a transformation is forbidden in this //! environment and cannot be a Geom2d_Transformation. -//! The transformation can be represented as follow : +//! The transformation can be represented as follows: //! //! V1 V2 T //! | a11 a12 a14 | | x | | x'| @@ -141,8 +141,8 @@ public: //! Computes the reverse transformation. Standard_EXPORT Standard_Real Value(const Standard_Integer Row, const Standard_Integer Col) const; - //! Computes the inverse of this transformation. - //! and assigns the result to this transformatio + //! Computes the inverse of this transformation + //! and assigns the result to this transformation. //! //! Raised if the transformation is singular. This means that //! the ScaleFactor is lower or equal to Resolution from @@ -150,7 +150,7 @@ public: Standard_EXPORT void Invert(); //! Computes the inverse of this transformation and creates a new one. - //! Raises ConstructionError if the transformation is singular. This means that + //! Raises ConstructionError if the transformation is singular. This means that //! the ScaleFactor is lower or equal to Resolution from package gp. Standard_NODISCARD Standard_EXPORT Handle(Geom2d_Transformation) Inverted() const; diff --git a/src/ModelingData/TKG2d/Geom2d/Geom2d_TrimmedCurve.hxx b/src/ModelingData/TKG2d/Geom2d/Geom2d_TrimmedCurve.hxx index cc1ac9fe7b..0b1f674f91 100644 --- a/src/ModelingData/TKG2d/Geom2d/Geom2d_TrimmedCurve.hxx +++ b/src/ModelingData/TKG2d/Geom2d/Geom2d_TrimmedCurve.hxx @@ -95,7 +95,7 @@ public: //! and 1. - U1 (last parameter). Standard_EXPORT void Reverse() Standard_OVERRIDE; - //! Returns the parameter on the reversed curve for + //! Returns the parameter on the reversed curve for //! the point of parameter U on . //! //! returns UFirst + ULast - U @@ -222,7 +222,7 @@ public: //! Warning The basis curve is also modified. Standard_EXPORT void Transform(const gp_Trsf2d& T) Standard_OVERRIDE; - //! Returns the parameter on the transformed curve for + //! Returns the parameter on the transformed curve for //! the transform of the point of parameter U on . //! //! me->Transformed(T)->Value(me->TransformedParameter(U,T)) @@ -236,8 +236,8 @@ public: const gp_Trsf2d& T) const Standard_OVERRIDE; - //! Returns a coefficient to compute the parameter on - //! the transformed curve for the transform of the + //! Returns a coefficient to compute the parameter on + //! the transformed curve for the transform of the //! point on . //! //! Transformed(T)->Value(U * ParametricTransformation(T)) diff --git a/src/ModelingData/TKG2d/Geom2dAdaptor/Geom2dAdaptor.hxx b/src/ModelingData/TKG2d/Geom2dAdaptor/Geom2dAdaptor.hxx index 702bded59e..4405addaa6 100644 --- a/src/ModelingData/TKG2d/Geom2dAdaptor/Geom2dAdaptor.hxx +++ b/src/ModelingData/TKG2d/Geom2dAdaptor/Geom2dAdaptor.hxx @@ -24,17 +24,17 @@ class Geom2d_Curve; class Adaptor2d_Curve2d; -//! this package contains the geometric definition of -//! 2d curves compatible with the Adaptor package +//! this package contains the geometric definition of +//! 2d curves compatible with the Adaptor package //! templates. class Geom2dAdaptor { public: DEFINE_STANDARD_ALLOC - //! Inherited from GHCurve. Provides a curve + //! Inherited from GHCurve. Provides a curve //! handled by reference. - //! Creates a 2d curve from a HCurve2d. This + //! Creates a 2d curve from a HCurve2d. This //! cannot process the OtherCurves. Standard_EXPORT static Handle(Geom2d_Curve) MakeCurve(const Adaptor2d_Curve2d& HC); }; diff --git a/src/ModelingData/TKG2d/Geom2dAdaptor/Geom2dAdaptor_Curve.hxx b/src/ModelingData/TKG2d/Geom2dAdaptor/Geom2dAdaptor_Curve.hxx index 0ac96d8b2a..095c354df3 100644 --- a/src/ModelingData/TKG2d/Geom2dAdaptor/Geom2dAdaptor_Curve.hxx +++ b/src/ModelingData/TKG2d/Geom2dAdaptor/Geom2dAdaptor_Curve.hxx @@ -95,21 +95,21 @@ public: Standard_EXPORT GeomAbs_Shape Continuity() const Standard_OVERRIDE; - //! If necessary, breaks the curve in intervals of - //! continuity . And returns the number of + //! If necessary, breaks the curve in intervals of + //! continuity . And returns the number of //! intervals. 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; - //! 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. //! If >= Standard_EXPORT Handle(Adaptor2d_Curve2d) Trim(const Standard_Real First, diff --git a/src/ModelingData/TKG2d/Geom2dEvaluator/Geom2dEvaluator.hxx b/src/ModelingData/TKG2d/Geom2dEvaluator/Geom2dEvaluator.hxx index 752eecb8ac..a794468a79 100644 --- a/src/ModelingData/TKG2d/Geom2dEvaluator/Geom2dEvaluator.hxx +++ b/src/ModelingData/TKG2d/Geom2dEvaluator/Geom2dEvaluator.hxx @@ -23,9 +23,9 @@ class gp_Pnt2d; class gp_Vec2d; -//! The Geom2dEvaluator package provides utilities for . +//! The Geom2dEvaluator package provides utilities for //! calculating value and derivatives of offset curve -//! using corresponding values of base curve +//! using corresponding values of base curve. class Geom2dEvaluator { diff --git a/src/ModelingData/TKG2d/Geom2dLProp/Geom2dLProp_CLProps2d.hxx b/src/ModelingData/TKG2d/Geom2dLProp/Geom2dLProp_CLProps2d.hxx index 094bdd1d21..4d3777bcdb 100644 --- a/src/ModelingData/TKG2d/Geom2dLProp/Geom2dLProp_CLProps2d.hxx +++ b/src/ModelingData/TKG2d/Geom2dLProp/Geom2dLProp_CLProps2d.hxx @@ -100,7 +100,7 @@ public: //! three first derivatives are all null. Standard_EXPORT Standard_Boolean IsTangentDefined(); - //! output the tangent direction + //! output the tangent direction Standard_EXPORT void Tangent(gp_Dir2d& D); //! Returns the curvature. diff --git a/src/ModelingData/TKG3d/AdvApprox/AdvApprox_DichoCutting.cxx b/src/ModelingData/TKG3d/AdvApprox/AdvApprox_DichoCutting.cxx index c3f95f5af5..eb5fa8ce40 100644 --- a/src/ModelingData/TKG3d/AdvApprox/AdvApprox_DichoCutting.cxx +++ b/src/ModelingData/TKG3d/AdvApprox/AdvApprox_DichoCutting.cxx @@ -23,7 +23,7 @@ Standard_Boolean AdvApprox_DichoCutting::Value(const Standard_Real a, const Standard_Real b, Standard_Real& cuttingvalue) const { - // longueur minimum d'un intervalle pour F(U,V) : EPS1=1.e-9 (cf.MEPS1) + // longueur minimum d'un intervalle pour F(U,V) : EPS1=1.e-9 (cf.MEPS1) constexpr Standard_Real lgmin = 10 * Precision::PConfusion(); cuttingvalue = (a + b) / 2; return (Abs(b - a) >= 2 * lgmin); diff --git a/src/ModelingData/TKG3d/Geom/Geom_BSplineCurve.hxx b/src/ModelingData/TKG3d/Geom/Geom_BSplineCurve.hxx index c63b9d13b3..dbdda27460 100644 --- a/src/ModelingData/TKG3d/Geom/Geom_BSplineCurve.hxx +++ b/src/ModelingData/TKG3d/Geom/Geom_BSplineCurve.hxx @@ -129,7 +129,7 @@ class Geom_BSplineCurve : public Geom_BoundedCurve { public: - //! Creates a non-rational B_spline curve on the + //! Creates a non-rational B_spline curve on the //! basis of degree . Standard_EXPORT Geom_BSplineCurve(const TColgp_Array1OfPnt& Poles, const TColStd_Array1OfReal& Knots, @@ -137,7 +137,7 @@ public: const Standard_Integer Degree, const Standard_Boolean Periodic = Standard_False); - //! Creates a rational B_spline curve on the basis + //! Creates a rational B_spline curve on the basis //! of degree . //! Raises ConstructionError subject to the following conditions //! 0 < Degree <= MaxDegree. @@ -154,7 +154,7 @@ public: //! may be Degree+1 (this is even recommended if you want the //! curve to start and finish on the first and last pole). //! - //! On a periodic curve the first and the last multicities + //! On a periodic curve the first and the last multicities //! must be the same. //! //! on non-periodic curves @@ -186,20 +186,20 @@ public: //! Geom_BSplineCurve::MaxDegree(). Standard_EXPORT void IncreaseDegree(const Standard_Integer Degree); - //! Increases the multiplicity of the knot to + //! Increases the multiplicity of the knot to //! . //! - //! If is lower or equal to the current - //! multiplicity nothing is done. If is higher than - //! the degree the degree is used. + //! If is lower or equal to the current multiplicity + //! nothing is done. If is higher than the degree, + //! the degree is used. //! If is not in [FirstUKnotIndex, LastUKnotIndex] Standard_EXPORT void IncreaseMultiplicity(const Standard_Integer Index, const Standard_Integer M); - //! Increases the multiplicities of the knots in + //! Increases the multiplicities of the knots in //! [I1,I2] to . //! - //! For each knot if is lower or equal to the - //! current multiplicity nothing is done. If is + //! For each knot if is lower or equal to the + //! current multiplicity nothing is done. If is //! higher than the degree the degree is used. //! If are not in [FirstUKnotIndex, LastUKnotIndex] Standard_EXPORT void IncreaseMultiplicity(const Standard_Integer I1, diff --git a/src/ModelingData/TKG3d/Geom/Geom_BezierCurve.cxx b/src/ModelingData/TKG3d/Geom/Geom_BezierCurve.cxx index e1fc65565b..40a8960359 100644 --- a/src/ModelingData/TKG3d/Geom/Geom_BezierCurve.cxx +++ b/src/ModelingData/TKG3d/Geom/Geom_BezierCurve.cxx @@ -110,7 +110,7 @@ Geom_BezierCurve::Geom_BezierCurve(const TColgp_Array1OfPnt& Poles, npoles->ChangeArray1() = Poles; - // check the weights + // check the weights if (Weights.Length() != nbpoles) throw Standard_ConstructionError(); diff --git a/src/ModelingData/TKG3d/Geom/Geom_BezierCurve.hxx b/src/ModelingData/TKG3d/Geom/Geom_BezierCurve.hxx index 73a4db2fda..135abdd333 100644 --- a/src/ModelingData/TKG3d/Geom/Geom_BezierCurve.hxx +++ b/src/ModelingData/TKG3d/Geom/Geom_BezierCurve.hxx @@ -338,10 +338,10 @@ public: protected: private: - //! Set poles to Poles, weights to Weights (not - //! copied). If Weights is null the curve is non - //! rational. Create the arrays of coefficients. Poles - //! and Weights are assumed to have the first + //! Set poles to Poles, weights to Weights (not copied). + //! If Weights is null the curve is non rational. + //! Create the arrays of coefficients. + //! Poles and Weights are assumed to have the first //! coefficient 1. //! Update rational and closed. //!