, a
diff --git a/src/Bisector/Bisector_Bisec.hxx b/src/Bisector/Bisector_Bisec.hxx
index 87cf9df4b0..17fdd17dd7 100644
--- a/src/Bisector/Bisector_Bisec.hxx
+++ b/src/Bisector/Bisector_Bisec.hxx
@@ -31,11 +31,11 @@ class gp_Vec2d;
class Geom2d_Point;
-//! Bisec provides the bisecting line between two elements
-//! This line is trimed by a point and it's contained in the domain
+//! Bisec provides the bisecting line between two elements
+//! This line is trimmed by a point
and it's contained in the domain
//! defined by the two vectors , and .
//!
-//! Definition of the domain:
+//! Definition of the domain:
//! if is true the bisecting line is contained in the sector
//! defined by <-V1> and <-V2> in the sense indirect.
//! if is false the bisecting line is contained in the sector
@@ -47,7 +47,7 @@ class Geom2d_Point;
//! corresponding to one of hyperbola's axes.
//! if the bisector is a parabola on the focal length is smaller than
//! , the bisector is replaced by a semi_line corresponding
-//! to the axe of symetrie of the parabola.
+//! to the axe of symmetry of the parabola.
//! if the bisector is an ellipse and the minor radius is smaller than
//! , the bisector is replaced by a segment corresponding
//! to the great axe of the ellipse.
diff --git a/src/Bisector/Bisector_Inter.cxx b/src/Bisector/Bisector_Inter.cxx
index f563b7df18..2de350fe5d 100644
--- a/src/Bisector/Bisector_Inter.cxx
+++ b/src/Bisector/Bisector_Inter.cxx
@@ -49,7 +49,7 @@ static Standard_Integer nbint = 0;
//===================================================================================
// function :
-// putpose :
+// purpose :
//===================================================================================
Bisector_Inter::Bisector_Inter()
{
@@ -57,7 +57,7 @@ Bisector_Inter::Bisector_Inter()
//===================================================================================
// function :
-// putpose :
+// purpose :
//===================================================================================
Bisector_Inter::Bisector_Inter(const Bisector_Bisec& C1,
const IntRes2d_Domain& D1,
@@ -72,7 +72,7 @@ Bisector_Inter::Bisector_Inter(const Bisector_Bisec& C1,
//===================================================================================
// function : ConstructSegment
-// putpose :
+// purpose :
//===================================================================================
static Handle(Geom2d_Line) ConstructSegment(const gp_Pnt2d& PMin,
const gp_Pnt2d& PMax,
@@ -88,7 +88,7 @@ static Handle(Geom2d_Line) ConstructSegment(const gp_Pnt2d& PMin,
//===================================================================================
// function : Perform
-// putpose :
+// purpose :
//===================================================================================
void Bisector_Inter::Perform(const Bisector_Bisec& C1,
const IntRes2d_Domain& D1,
@@ -208,7 +208,7 @@ void Bisector_Inter::Perform(const Bisector_Bisec& C1,
//===================================================================================
// function : SinglePerform
-// putpose :
+// purpose :
//===================================================================================
void Bisector_Inter::SinglePerform(const Handle(Geom2d_Curve)& CBis1,
const IntRes2d_Domain& D1,
@@ -308,7 +308,7 @@ void Bisector_Inter::SinglePerform(const Handle(Geom2d_Curve)& CBis1,
//===================================================================================
// function : NeighbourPerform
-// putpose : Find the intersection of 2 neighbor bissectrices curve/curve
+// purpose : Find the intersection of 2 neighbor bissectrices curve/curve
// (ie Bis1 separates A and B and Bis2 separates B and C).
// Bis1 is parameterized by B and Bis2 by C.
//
@@ -371,7 +371,7 @@ void Bisector_Inter::NeighbourPerform(const Handle(Bisector_BisecCC)& Bis1,
//=====================================================================================
// function : TestBound
-// putpose : Test if the extremities of Bis2 are on the segment cooresponding to Bis1.
+// purpose : Test if the extremities of Bis2 are on the segment corresponding to Bis1.
//=====================================================================================
void Bisector_Inter::TestBound (const Handle(Geom2d_Line)& Bis1,
const IntRes2d_Domain& D1,
diff --git a/src/CDF/CDF_Application.hxx b/src/CDF/CDF_Application.hxx
index b4871f4251..82ca5a90ab 100644
--- a/src/CDF/CDF_Application.hxx
+++ b/src/CDF/CDF_Application.hxx
@@ -137,7 +137,7 @@ public:
PCDM_ReaderStatus GetRetrieveStatus() const { return myRetrievableStatus; }
//! Reads aDoc from standard SEEKABLE stream theIStream,
- //! the stream should support SEEK fuctionality
+ //! the stream should support SEEK functionality
Standard_EXPORT Handle(CDM_Document) Read
(Standard_IStream& theIStream,
const Message_ProgressRange& theRange = Message_ProgressRange());
diff --git a/src/ChFi3d/ChFi3d_Builder_6.cxx b/src/ChFi3d/ChFi3d_Builder_6.cxx
index ca69c6f437..3bcd519a36 100644
--- a/src/ChFi3d/ChFi3d_Builder_6.cxx
+++ b/src/ChFi3d/ChFi3d_Builder_6.cxx
@@ -776,7 +776,7 @@ Standard_Boolean ChFi3d_Builder::StoreData(Handle(ChFiDS_SurfData)& Data,
if(!ChFi3d_CheckSameParameter(checkcurve,PCurveOnFace,S1,tolC1,tolcheck)){
#ifdef OCCT_DEBUG
- std::cout<<"aaproximate tolerance under-valued : "<
//=========================================================================
-// Creation d une translation 3d de Geom2d de vecteur de tanslation Vec. +
+// Creation d une translation 3d de Geom2d de vecteur de translation Vec
//=========================================================================
GCE2d_MakeTranslation::GCE2d_MakeTranslation(const gp_Vec2d& Vec ) {
TheTranslation = new Geom2d_Transformation();
TheTranslation->SetTranslation(Vec);
}
-
+
//=========================================================================
-// Creation d une translation 3d de Geom2d de vecteur de tanslation le +
+// Creation d une translation 3d de Geom2d de vecteur de translation le +
// vecteur reliant Point1 a Point2. +
//=========================================================================
@@ -40,6 +40,6 @@ GCE2d_MakeTranslation::GCE2d_MakeTranslation(const gp_Pnt2d& Point1 ,
}
const Handle(Geom2d_Transformation)& GCE2d_MakeTranslation::Value() const
-{
+{
return TheTranslation;
}
diff --git a/src/Geom/Geom_ConicalSurface.hxx b/src/Geom/Geom_ConicalSurface.hxx
index f8ee543ed4..50da8c3a60 100644
--- a/src/Geom/Geom_ConicalSurface.hxx
+++ b/src/Geom/Geom_ConicalSurface.hxx
@@ -63,9 +63,15 @@ DEFINE_STANDARD_HANDLE(Geom_ConicalSurface, Geom_ElementarySurface)
//! - Its "main Direction" is the v parametric direction of the cone.
//! - Its origin is the origin of the v parameter.
//! The parametric range of the two parameters is:
-//! - [ 0, 2.*Pi ] for u, and - ] -infinity, +infinity [ for v
-//! The parametric equation of the cone is: P(u, v) =
-//! O + (R + v*sin(Ang)) * (cos(u)*XDir + sin(u)*YDir) + v*cos(Ang)*ZDir where:
+//! @code
+//! - [ 0, 2.*Pi ] for u, and
+//! - ] -infinity, +infinity [ for v
+//! @endcode
+//! The parametric equation of the cone is:
+//! @code
+//! P(u, v) = O + (R + v*sin(Ang)) * (cos(u)*XDir + sin(u)*YDir) + v*cos(Ang)*ZDir
+//! @endcode
+//! where:
//! - O, XDir, YDir and ZDir are respectively
//! the origin, the "X Direction", the "Y Direction" and
//! the "Z Direction" of the cone's local coordinate system,
@@ -96,21 +102,16 @@ public:
Standard_EXPORT Geom_ConicalSurface(const gp_Ax3& A3, const Standard_Real Ang, const Standard_Real Radius);
- //! Creates a ConicalSurface from a non transient Cone from
- //! package gp.
+ //! Creates a ConicalSurface from a non transient gp_Cone.
Standard_EXPORT Geom_ConicalSurface(const gp_Cone& C);
-
//! Set so that has the same geometric properties as C.
Standard_EXPORT void SetCone (const gp_Cone& C);
-
- //! Changes the radius of the conical surface in the placement
- //! plane (Z = 0, V = 0). The local coordinate system is not
- //! modified.
+ //! Changes the radius of the conical surface in the placement plane (Z = 0, V = 0).
+ //! The local coordinate system is not modified.
//! Raised if R < 0.0
Standard_EXPORT void SetRadius (const Standard_Real R);
-
//! Changes the semi angle of the conical surface.
//! Semi-angle can be negative. Its absolute value
@@ -118,86 +119,79 @@ public:
//! Raises ConstructionError if Abs(Ang) < Resolution from gp or
//! Abs(Ang) >= PI/2 - Resolution
Standard_EXPORT void SetSemiAngle(const Standard_Real Ang);
-
- //! returns a non transient cone with the same geometric properties
- //! as .
+ //! Returns a non transient cone with the same geometric properties as .
Standard_EXPORT gp_Cone Cone() const;
-
- //! return 2.PI - U.
+
+ //! Eeturn 2.PI - U.
Standard_EXPORT Standard_Real UReversedParameter (const Standard_Real U) const Standard_OVERRIDE;
-
- //! Computes the u (or v) parameter on the modified
- //! surface, when reversing its u (or v) parametric
- //! direction, for any point of u parameter U (or of v
- //! parameter V) on this cone.
+
+ //! Computes the u (or v) parameter on the modified surface,
+ //! when reversing its u (or v) parametric direction,
+ //! for any point of u parameter U (or of v parameter V) on this cone.
//! In the case of a cone, these functions return respectively:
//! - 2.*Pi - U, -V.
Standard_EXPORT Standard_Real VReversedParameter (const Standard_Real V) const Standard_OVERRIDE;
- //! Changes the orientation of this cone in the v
- //! parametric direction. The bounds of the surface are
- //! not changed but the v parametric direction is reversed.
+ //! Changes the orientation of this cone in the v parametric direction.
+ //! The bounds of the surface are not changed but the v parametric direction is reversed.
//! As a consequence, for a cone:
//! - the "main Direction" of the local coordinate system
//! is reversed, and
//! - the half-angle at the apex is inverted.
Standard_EXPORT virtual void VReverse() Standard_OVERRIDE;
-
- //! Computes the parameters on the transformed surface for
+
+ //! Computes the parameters on the transformed surface for
//! the transform of the point of parameters U,V on .
- //!
- //! me->Transformed(T)->Value(U',V')
- //!
+ //! @code
+ //! me->Transformed(T)->Value(U',V')
+ //! @endcode
//! is the same point as
- //!
- //! me->Value(U,V).Transformed(T)
- //!
+ //! @code
+ //! me->Value(U,V).Transformed(T)
+ //! @endcode
//! Where U',V' are the new values of U,V after calling
- //!
- //! me->TranformParameters(U,V,T)
- //!
- //! This methods multiplies V by T.ScaleFactor()
+ //! @code
+ //! me->TransformParameters(U,V,T)
+ //! @endcode
+ //! This method multiplies V by T.ScaleFactor()
Standard_EXPORT virtual void TransformParameters (Standard_Real& U, Standard_Real& V, const gp_Trsf& T) const Standard_OVERRIDE;
-
- //! Returns a 2d transformation used to find the new
+
+ //! Returns a 2d transformation used to find the new
//! parameters of a point on the transformed surface.
- //!
- //! me->Transformed(T)->Value(U',V')
- //!
+ //! @code
+ //! me->Transformed(T)->Value(U',V')
+ //! @endcode
//! is the same point as
- //!
- //! me->Value(U,V).Transformed(T)
- //!
- //! Where U',V' are obtained by transforming U,V with
- //! th 2d transformation returned by
- //!
- //! me->ParametricTransformation(T)
- //!
- //! This methods returns a scale centered on the
- //! U axis with T.ScaleFactor
+ //! @code
+ //! me->Value(U,V).Transformed(T)
+ //! @endcode
+ //! Where U',V' are obtained by transforming U,V with the 2d transformation returned by
+ //! @code
+ //! me->ParametricTransformation(T)
+ //! @endcode
+ //! This method returns a scale centered on the U axis with T.ScaleFactor
Standard_EXPORT virtual gp_GTrsf2d ParametricTransformation (const gp_Trsf& T) const Standard_OVERRIDE;
-
+
//! Computes the apex of this cone. It is on the negative
//! side of the axis of revolution of this cone if the
//! half-angle at the apex is positive, and on the positive
//! side of the "main Axis" if the half-angle is negative.
Standard_EXPORT gp_Pnt Apex() const;
-
//! The conical surface is infinite in the V direction so
//! V1 = Realfirst from Standard and V2 = RealLast.
//! U1 = 0 and U2 = 2*PI.
Standard_EXPORT void Bounds (Standard_Real& U1, Standard_Real& U2, Standard_Real& V1, Standard_Real& V2) const Standard_OVERRIDE;
-
//! Returns the coefficients of the implicit equation of the
//! quadric in the absolute cartesian coordinate system :
//! These coefficients are normalized.
- //! A1.X**2 + A2.Y**2 + A3.Z**2 + 2.(B1.X.Y + B2.X.Z + B3.Y.Z) +
- //! 2.(C1.X + C2.Y + C3.Z) + D = 0.0
+ //! @code
+ //! A1.X**2 + A2.Y**2 + A3.Z**2 + 2.(B1.X.Y + B2.X.Z + B3.Y.Z) + 2.(C1.X + C2.Y + C3.Z) + D = 0.0
+ //! @endcode
Standard_EXPORT void Coefficients (Standard_Real& A1, Standard_Real& A2, Standard_Real& A3, Standard_Real& B1, Standard_Real& B2, Standard_Real& B3, Standard_Real& C1, Standard_Real& C2, Standard_Real& C3, Standard_Real& D) const;
-
+
//! Returns the reference radius of this cone.
//! The reference radius is the radius of the circle formed
//! by the intersection of this cone and its reference
@@ -207,67 +201,60 @@ public:
//! If the apex of this cone is on the origin of the local
//! coordinate system of this cone, the returned value is 0.
Standard_EXPORT Standard_Real RefRadius() const;
-
//! Returns the semi-angle at the apex of this cone.
//! Attention! Semi-angle can be negative.
Standard_EXPORT Standard_Real SemiAngle() const;
-
+
//! returns True.
Standard_EXPORT Standard_Boolean IsUClosed() const Standard_OVERRIDE;
-
+
//! returns False.
Standard_EXPORT Standard_Boolean IsVClosed() const Standard_OVERRIDE;
-
+
//! Returns True.
Standard_EXPORT Standard_Boolean IsUPeriodic() const Standard_OVERRIDE;
-
+
//! Returns False.
Standard_EXPORT Standard_Boolean IsVPeriodic() const Standard_OVERRIDE;
-
- //! Builds the U isoparametric line of this cone. The
- //! origin of this line is on the reference plane of this
- //! cone (i.e. the plane defined by the origin, "X Direction"
+
+ //! Builds the U isoparametric line of this cone.
+ //! The origin of this line is on the reference plane of this cone
+ //! (i.e. the plane defined by the origin, "X Direction"
//! and "Y Direction" of the local coordinate system of this cone).
Standard_EXPORT Handle(Geom_Curve) UIso (const Standard_Real U) const Standard_OVERRIDE;
-
- //! Builds the V isoparametric circle of this cone. It is the
- //! circle on this cone, located in the plane of Z
- //! coordinate V*cos(Semi-Angle) in the local coordinate system of this
- //! cone. The "Axis" of this circle is the axis of revolution
- //! of this cone. Its starting point is defined by the "X
- //! Direction" of this cone.
+
+ //! Builds the V isoparametric circle of this cone.
+ //! It is the circle on this cone, located in the plane of Z
+ //! coordinate V*cos(Semi-Angle) in the local coordinate system of this cone.
+ //! The "Axis" of this circle is the axis of revolution of this cone.
+ //! Its starting point is defined by the "X Direction" of this cone.
//! Warning
//! If the V isoparametric circle is close to the apex of
//! this cone, the radius of the circle becomes very small.
//! It is possible to have a circle with radius equal to 0.0.
Standard_EXPORT Handle(Geom_Curve) VIso (const Standard_Real V) const Standard_OVERRIDE;
-
- //! Computes the point P (U, V) on the surface.
- //! P (U, V) = Loc +
- //! (RefRadius + V * sin (Semi-Angle)) * (cos (U) * XDir + sin (U) * YDir) +
- //! V * cos (Semi-Angle) * ZDir
+ //! Computes the point P (U, V) on the surface.
+ //! @code
+ //! P (U, V) = Loc +
+ //! (RefRadius + V * sin (Semi-Angle)) * (cos (U) * XDir + sin (U) * YDir) +
+ //! V * cos (Semi-Angle) * ZDir
+ //! @endcode
//! where Loc is the origin of the placement plane (XAxis, YAxis)
- //! XDir is the direction of the XAxis and YDir the direction of
- //! the YAxis.
+ //! XDir is the direction of the XAxis and YDir the direction of the YAxis.
Standard_EXPORT void D0 (const Standard_Real U, const Standard_Real V, gp_Pnt& P) const Standard_OVERRIDE;
-
- //! Computes the current point and the first derivatives in the
- //! directions U and V.
+ //! Computes the current point and the first derivatives in the directions U and V.
Standard_EXPORT void D1 (const Standard_Real U, const Standard_Real V, gp_Pnt& P, gp_Vec& D1U, gp_Vec& D1V) const Standard_OVERRIDE;
-
- //! Computes the current point, the first and the second derivatives
- //! in the directions U and V.
+ //! Computes the current point, the first and the second derivatives in the directions U and V.
Standard_EXPORT void D2 (const Standard_Real U, const Standard_Real V, gp_Pnt& P, gp_Vec& D1U, gp_Vec& D1V, gp_Vec& D2U, gp_Vec& D2V, gp_Vec& D2UV) const Standard_OVERRIDE;
-
//! Computes the current point, the first,the second and the third
//! derivatives in the directions U and V.
Standard_EXPORT void D3 (const Standard_Real U, const Standard_Real V, gp_Pnt& P, gp_Vec& D1U, gp_Vec& D1V, gp_Vec& D2U, gp_Vec& D2V, gp_Vec& D2UV, gp_Vec& D3U, gp_Vec& D3V, gp_Vec& D3UUV, gp_Vec& D3UVV) const Standard_OVERRIDE;
-
+
//! Computes the derivative of order Nu in the u
//! parametric direction, and Nv in the v parametric
//! direction at the point of parameters (U, V) of this cone.
@@ -276,39 +263,22 @@ public:
//! - Nu + Nv is less than 1,
//! - Nu or Nv is negative.
Standard_EXPORT gp_Vec DN (const Standard_Real U, const Standard_Real V, const Standard_Integer Nu, const Standard_Integer Nv) const Standard_OVERRIDE;
-
+
//! Applies the transformation T to this cone.
Standard_EXPORT void Transform (const gp_Trsf& T) Standard_OVERRIDE;
-
+
//! Creates a new object which is a copy of this cone.
Standard_EXPORT Handle(Geom_Geometry) Copy() const Standard_OVERRIDE;
-
//! Dumps the content of me into the stream
Standard_EXPORT virtual void DumpJson (Standard_OStream& theOStream, Standard_Integer theDepth = -1) const Standard_OVERRIDE;
-
-
-
DEFINE_STANDARD_RTTIEXT(Geom_ConicalSurface,Geom_ElementarySurface)
-protected:
-
-
-
-
private:
-
Standard_Real radius;
Standard_Real semiAngle;
-
};
-
-
-
-
-
-
#endif // _Geom_ConicalSurface_HeaderFile
diff --git a/src/Geom/Geom_CylindricalSurface.hxx b/src/Geom/Geom_CylindricalSurface.hxx
index f26af99379..bcf432207a 100644
--- a/src/Geom/Geom_CylindricalSurface.hxx
+++ b/src/Geom/Geom_CylindricalSurface.hxx
@@ -42,7 +42,9 @@ DEFINE_STANDARD_HANDLE(Geom_CylindricalSurface, Geom_ElementarySurface)
//! This class defines the infinite cylindrical surface.
//!
//! Every cylindrical surface is set by the following equation:
-//! S(U,V) = Location + R*cos(U)*XAxis + R*sin(U)*YAxis + V*ZAxis,
+//! @code
+//! S(U,V) = Location + R*cos(U)*XAxis + R*sin(U)*YAxis + V*ZAxis,
+//! @endcode
//! where R is cylinder radius.
//!
//! The local coordinate system of the CylindricalSurface is defined
@@ -52,7 +54,9 @@ DEFINE_STANDARD_HANDLE(Geom_CylindricalSurface, Geom_ElementarySurface)
//! it gives the direction of increasing parametric value V.
//!
//! The parametrization range is :
-//! U [0, 2*PI], V ]- infinite, + infinite[
+//! @code
+//! U [0, 2*PI], V ]- infinite, + infinite[
+//! @endcode
//!
//! The "XAxis" and the "YAxis" define the placement plane of the
//! surface (Z = 0, and parametric value V = 0) perpendicular to
@@ -71,111 +75,109 @@ class Geom_CylindricalSurface : public Geom_ElementarySurface
public:
-
-
//! A3 defines the local coordinate system of the cylindrical surface.
- //! The "ZDirection" of A3 defines the direction of the surface's
- //! axis of symmetry.
+ //! The "ZDirection" of A3 defines the direction of the surface's axis of symmetry.
//! At the creation the parametrization of the surface is defined
//! such that the normal Vector (N = D1U ^ D1V) is oriented towards
//! the "outside region" of the surface.
- //! Warnings :
+ //! Warnings:
//! It is not forbidden to create a cylindrical surface with
//! Radius = 0.0
//! Raised if Radius < 0.0
Standard_EXPORT Geom_CylindricalSurface(const gp_Ax3& A3, const Standard_Real Radius);
-
- //! Creates a CylindricalSurface from a non transient Cylinder
- //! from package gp.
+ //! Creates a CylindricalSurface from a non transient gp_Cylinder.
Standard_EXPORT Geom_CylindricalSurface(const gp_Cylinder& C);
-
//! Set so that has the same geometric properties as C.
Standard_EXPORT void SetCylinder (const gp_Cylinder& C);
-
+
//! Changes the radius of the cylinder.
//! Raised if R < 0.0
Standard_EXPORT void SetRadius (const Standard_Real R);
-
- //! returns a non transient cylinder with the same geometric
- //! properties as .
+ //! returns a non transient cylinder with the same geometric properties as .
Standard_EXPORT gp_Cylinder Cylinder() const;
-
+
//! Return the parameter on the Ureversed surface for
//! the point of parameter U on .
//! Return 2.PI - U.
Standard_EXPORT Standard_Real UReversedParameter (const Standard_Real U) const Standard_OVERRIDE;
-
+
//! Return the parameter on the Vreversed surface for
//! the point of parameter V on .
//! Return -V
Standard_EXPORT Standard_Real VReversedParameter (const Standard_Real V) const Standard_OVERRIDE;
-
+
//! Computes the parameters on the transformed surface for
//! the transform of the point of parameters U,V on .
- //! me->Transformed(T)->Value(U',V')
+ //! @code
+ //! me->Transformed(T)->Value(U',V')
+ //! @endcode
//! is the same point as
- //! me->Value(U,V).Transformed(T)
+ //! @code
+ //! me->Value(U,V).Transformed(T)
+ //! @endcode
//! Where U',V' are the new values of U,V after calling
- //! me->TranformParameters(U,V,T)
- //! This methods multiplies V by T.ScaleFactor()
+ //! @code
+ //! me->TransformParameters(U,V,T)
+ //! @endcode
+ //! This method multiplies V by T.ScaleFactor()
Standard_EXPORT virtual void TransformParameters (Standard_Real& U, Standard_Real& V, const gp_Trsf& T) const Standard_OVERRIDE;
-
- //! Returns a 2d transformation used to find the new
+
+ //! Returns a 2d transformation used to find the new
//! parameters of a point on the transformed surface.
- //! me->Transformed(T)->Value(U',V')
+ //! @code
+ //! me->Transformed(T)->Value(U',V')
+ //! @endcode
//! is the same point as
- //! me->Value(U,V).Transformed(T)
- //! Where U',V' are obtained by transforming U,V with
- //! th 2d transformation returned by
- //! me->ParametricTransformation(T)
- //! This methods returns a scale centered on the
- //! U axis with T.ScaleFactor
+ //! @code
+ //! me->Value(U,V).Transformed(T)
+ //! @endcode
+ //! Where U',V' are obtained by transforming U,V with the 2d transformation returned by
+ //! @code
+ //! me->ParametricTransformation(T)
+ //! @endcode
+ //! This method returns a scale centered on the U axis with T.ScaleFactor
Standard_EXPORT virtual gp_GTrsf2d ParametricTransformation (const gp_Trsf& T) const Standard_OVERRIDE;
-
//! The CylindricalSurface is infinite in the V direction so
//! V1 = Realfirst, V2 = RealLast from package Standard.
//! U1 = 0 and U2 = 2*PI.
Standard_EXPORT void Bounds (Standard_Real& U1, Standard_Real& U2, Standard_Real& V1, Standard_Real& V2) const Standard_OVERRIDE;
-
//! Returns the coefficients of the implicit equation of the quadric
//! in the absolute cartesian coordinate system :
//! These coefficients are normalized.
- //! A1.X**2 + A2.Y**2 + A3.Z**2 + 2.(B1.X.Y + B2.X.Z + B3.Y.Z) +
- //! 2.(C1.X + C2.Y + C3.Z) + D = 0.0
+ //! @code
+ //! A1.X**2 + A2.Y**2 + A3.Z**2 + 2.(B1.X.Y + B2.X.Z + B3.Y.Z) + 2.(C1.X + C2.Y + C3.Z) + D = 0.0
+ //! @endcode
Standard_EXPORT void Coefficients (Standard_Real& A1, Standard_Real& A2, Standard_Real& A3, Standard_Real& B1, Standard_Real& B2, Standard_Real& B3, Standard_Real& C1, Standard_Real& C2, Standard_Real& C3, Standard_Real& D) const;
-
+
//! Returns the radius of this cylinder.
Standard_EXPORT Standard_Real Radius() const;
-
+
//! Returns True.
Standard_EXPORT Standard_Boolean IsUClosed() const Standard_OVERRIDE;
-
+
//! Returns False.
Standard_EXPORT Standard_Boolean IsVClosed() const Standard_OVERRIDE;
-
+
//! Returns True.
Standard_EXPORT Standard_Boolean IsUPeriodic() const Standard_OVERRIDE;
-
+
//! Returns False.
Standard_EXPORT Standard_Boolean IsVPeriodic() const Standard_OVERRIDE;
-
//! The UIso curve is a Line. The location point of this line is
//! on the placement plane (XAxis, YAxis) of the surface.
//! This line is parallel to the axis of symmetry of the surface.
Standard_EXPORT Handle(Geom_Curve) UIso (const Standard_Real U) const Standard_OVERRIDE;
-
//! The VIso curve is a circle. The start point of this circle
//! (U = 0) is defined with the "XAxis" of the surface.
//! The center of the circle is on the symmetry axis.
Standard_EXPORT Handle(Geom_Curve) VIso (const Standard_Real V) const Standard_OVERRIDE;
-
//! Computes the point P (U, V) on the surface.
//! P (U, V) = Loc + Radius * (cos (U) * XDir + sin (U) * YDir) +
@@ -184,17 +186,14 @@ public:
//! XDir is the direction of the XAxis and YDir the direction of
//! the YAxis.
Standard_EXPORT void D0 (const Standard_Real U, const Standard_Real V, gp_Pnt& P) const Standard_OVERRIDE;
-
//! Computes the current point and the first derivatives in the
//! directions U and V.
Standard_EXPORT void D1 (const Standard_Real U, const Standard_Real V, gp_Pnt& P, gp_Vec& D1U, gp_Vec& D1V) const Standard_OVERRIDE;
-
//! Computes the current point, the first and the second derivatives
//! in the directions U and V.
Standard_EXPORT void D2 (const Standard_Real U, const Standard_Real V, gp_Pnt& P, gp_Vec& D1U, gp_Vec& D1V, gp_Vec& D2U, gp_Vec& D2V, gp_Vec& D2UV) const Standard_OVERRIDE;
-
//! Computes the current point, the first, the second and the
//! third derivatives in the directions U and V.
@@ -215,28 +214,12 @@ public:
//! Dumps the content of me into the stream
Standard_EXPORT virtual void DumpJson (Standard_OStream& theOStream, Standard_Integer theDepth = -1) const Standard_OVERRIDE;
-
-
-
DEFINE_STANDARD_RTTIEXT(Geom_CylindricalSurface,Geom_ElementarySurface)
-protected:
-
-
-
-
private:
-
Standard_Real radius;
-
};
-
-
-
-
-
-
#endif // _Geom_CylindricalSurface_HeaderFile
diff --git a/src/Geom/Geom_OffsetSurface.hxx b/src/Geom/Geom_OffsetSurface.hxx
index 9881fcb268..71cdeb9096 100644
--- a/src/Geom/Geom_OffsetSurface.hxx
+++ b/src/Geom/Geom_OffsetSurface.hxx
@@ -72,7 +72,6 @@ class Geom_OffsetSurface : public Geom_Surface
public:
-
//! Constructs a surface offset from the basis surface
//! S, where Offset is the distance between the offset
//! surface and the basis surface at any point.
@@ -98,7 +97,7 @@ public:
//! No check is done to verify that a unique normal direction is
//! defined at any point of the basis surface S.
Standard_EXPORT Geom_OffsetSurface(const Handle(Geom_Surface)& S, const Standard_Real Offset, const Standard_Boolean isNotCheckC0 = Standard_False);
-
+
//! Raised if S is not at least C1.
//! Warnings :
//! No check is done to verify that a unique normal direction is
@@ -109,14 +108,14 @@ public:
//! Standard_ConstructionError if the surface S is not
//! at least "C1" continuous.
Standard_EXPORT void SetBasisSurface (const Handle(Geom_Surface)& S, const Standard_Boolean isNotCheckC0 = Standard_False);
-
+
//! Changes this offset surface by assigning D as the offset value.
Standard_EXPORT void SetOffsetValue (const Standard_Real D);
-
+
//! Returns the offset value of this offset surface.
inline Standard_Real Offset() const
{ return offsetValue; }
-
+
//! Returns the basis surface of this offset surface.
//! Note: The basis surface can be an offset surface.
inline const Handle(Geom_Surface) & BasisSurface() const
@@ -125,35 +124,34 @@ public:
//! Returns osculating surface if base surface is B-spline or Bezier
inline const Handle(Geom_OsculatingSurface)& OsculatingSurface() const
{ return myOscSurf; }
-
+
//! Changes the orientation of this offset surface in the u
//! parametric direction. The bounds of the surface
//! are not changed but the given parametric direction is reversed.
Standard_EXPORT void UReverse() Standard_OVERRIDE;
-
+
//! Computes the u parameter on the modified
//! surface, produced by reversing the u
//! parametric direction of this offset surface, for any
//! point of u parameter U on this offset surface.
Standard_EXPORT Standard_Real UReversedParameter (const Standard_Real U) const Standard_OVERRIDE;
-
+
//! Changes the orientation of this offset surface in the v parametric direction. The bounds of the surface
//! are not changed but the given parametric direction is reversed.
Standard_EXPORT void VReverse() Standard_OVERRIDE;
-
+
//! Computes the v parameter on the modified
//! surface, produced by reversing the or v
//! parametric direction of this offset surface, for any
//! point of v parameter V on this offset surface.
Standard_EXPORT Standard_Real VReversedParameter (const Standard_Real V) const Standard_OVERRIDE;
-
+
//! Returns the parametric bounds U1, U2, V1 and V2 of
//! this offset surface.
//! If the surface is infinite, this function can return:
//! - Standard_Real::RealFirst(), or
//! - Standard_Real::RealLast().
Standard_EXPORT void Bounds (Standard_Real& U1, Standard_Real& U2, Standard_Real& V1, Standard_Real& V2) const Standard_OVERRIDE;
-
//! This method returns the continuity of the basis surface - 1.
//! Continuity of the Offset surface :
@@ -171,7 +169,6 @@ public:
//! surface otherwise the effective continuity can be lower than
//! the continuity of the basis surface - 1.
Standard_EXPORT GeomAbs_Shape Continuity() const Standard_OVERRIDE;
-
//! This method answer True if the continuity of the basis surface
//! is N + 1 in the U parametric direction. We suppose in this
@@ -179,7 +176,6 @@ public:
//! surface.
//! Raised if N <0.
Standard_EXPORT Standard_Boolean IsCNu (const Standard_Integer N) const Standard_OVERRIDE;
-
//! This method answer True if the continuity of the basis surface
//! is N + 1 in the V parametric direction. We suppose in this
@@ -187,7 +183,7 @@ public:
//! surface.
//! Raised if N <0.
Standard_EXPORT Standard_Boolean IsCNv (const Standard_Integer N) const Standard_OVERRIDE;
-
+
//! Checks whether this offset surface is closed in the u
//! parametric direction.
//! Returns true if, taking uFirst and uLast as
@@ -196,7 +192,7 @@ public:
//! and P(uLast,v) is less than or equal to
//! gp::Resolution() for each value of the parameter v.
Standard_EXPORT Standard_Boolean IsUClosed() const Standard_OVERRIDE;
-
+
//! Checks whether this offset surface is closed in the u
//! or v parametric direction. Returns true if taking vFirst and vLast as the
//! parametric bounds in the v parametric direction, the
@@ -204,57 +200,58 @@ public:
//! P(u,vLast) is less than or equal to
//! gp::Resolution() for each value of the parameter u.
Standard_EXPORT Standard_Boolean IsVClosed() const Standard_OVERRIDE;
-
//! Returns true if this offset surface is periodic in the u
//! parametric direction, i.e. if the basis
//! surface of this offset surface is periodic in this direction.
Standard_EXPORT Standard_Boolean IsUPeriodic() const Standard_OVERRIDE;
-
+
//! Returns the period of this offset surface in the u
//! parametric direction respectively, i.e. the period of the
//! basis surface of this offset surface in this parametric direction.
//! raises if the surface is not uperiodic.
Standard_EXPORT virtual Standard_Real UPeriod() const Standard_OVERRIDE;
-
//! Returns true if this offset surface is periodic in the v
//! parametric direction, i.e. if the basis
//! surface of this offset surface is periodic in this direction.
Standard_EXPORT Standard_Boolean IsVPeriodic() const Standard_OVERRIDE;
-
+
//! Returns the period of this offset surface in the v
//! parametric direction respectively, i.e. the period of the
//! basis surface of this offset surface in this parametric direction.
//! raises if the surface is not vperiodic.
Standard_EXPORT virtual Standard_Real VPeriod() const Standard_OVERRIDE;
-
+
//! Computes the U isoparametric curve.
Standard_EXPORT Handle(Geom_Curve) UIso (const Standard_Real U) const Standard_OVERRIDE;
-
+
//! Computes the V isoparametric curve.
//!
//! The following methods compute value and derivatives.
//!
//! Warnings
//! An exception is raised if a unique normal vector is
- //! not defined on the basis surface for the parametric
- //! value (U,V).
+ //! not defined on the basis surface for the parametric value (U,V).
//! No check is done at the creation time and we suppose
- //! in this package that the offset surface can be defined
- //! at any point.
+ //! in this package that the offset surface can be defined at any point.
Standard_EXPORT Handle(Geom_Curve) VIso (const Standard_Real V) const Standard_OVERRIDE;
-
- //! P (U, V) = Pbasis + Offset * Ndir where
- //! Ndir = D1Ubasis ^ D1Vbasis / ||D1Ubasis ^ D1Vbasis|| is the
- //! normal direction of the basis surface. Pbasis, D1Ubasis,
- //! D1Vbasis are the point and the first derivatives on the basis
- //! surface.
+ //! @code
+ //! P (U, V) = Pbasis + Offset * Ndir
+ //! @endcode
+ //! where
+ //! @code
+ //! Ndir = D1Ubasis ^ D1Vbasis / ||D1Ubasis ^ D1Vbasis||
+ //! @endcode
+ //! is the normal direction of the basis surface.
+ //! Pbasis, D1Ubasis, D1Vbasis are the point and the first derivatives on the basis surface.
//! If Ndir is undefined this method computes an approached normal
- //! direction using the following limited development :
- //! Ndir = N0 + DNdir/DU + DNdir/DV + Eps with Eps->0 which
- //! requires to compute the second derivatives on the basis surface.
+ //! direction using the following limited development:
+ //! @code
+ //! Ndir = N0 + DNdir/DU + DNdir/DV + Eps
+ //! @endcode
+ //! with Eps->0 which requires to compute the second derivatives on the basis surface.
//! If the normal direction cannot be approximate for this order
//! of derivation the exception UndefinedValue is raised.
//!
@@ -262,23 +259,18 @@ public:
//! Raised if the order of derivation required to compute the
//! normal direction is greater than the second order.
Standard_EXPORT void D0 (const Standard_Real U, const Standard_Real V, gp_Pnt& P) const Standard_OVERRIDE;
-
//! Raised if the continuity of the basis surface is not C2.
Standard_EXPORT void D1 (const Standard_Real U, const Standard_Real V, gp_Pnt& P, gp_Vec& D1U, gp_Vec& D1V) const Standard_OVERRIDE;
-
- //! ---Purpose ;
+
//! Raised if the continuity of the basis surface is not C3.
Standard_EXPORT void D2 (const Standard_Real U, const Standard_Real V, gp_Pnt& P, gp_Vec& D1U, gp_Vec& D1V, gp_Vec& D2U, gp_Vec& D2V, gp_Vec& D2UV) const Standard_OVERRIDE;
-
//! Raised if the continuity of the basis surface is not C4.
Standard_EXPORT void D3 (const Standard_Real U, const Standard_Real V, gp_Pnt& P, gp_Vec& D1U, gp_Vec& D1V, gp_Vec& D2U, gp_Vec& D2V, gp_Vec& D2UV, gp_Vec& D3U, gp_Vec& D3V, gp_Vec& D3UUV, gp_Vec& D3UVV) const Standard_OVERRIDE;
-
- //! Computes the derivative of order Nu in the direction u and Nv
- //! in the direction v.
- //! ---Purpose ;
+ //! Computes the derivative of order Nu in the direction u and Nv in the direction v.
+ //!
//! Raised if the continuity of the basis surface is not CNu + 1
//! in the U direction and CNv + 1 in the V direction.
//! Raised if Nu + Nv < 1 or Nu < 0 or Nv < 0.
@@ -289,70 +281,69 @@ public:
//! The computation of the value and derivatives on the basis
//! surface are used to evaluate the offset surface.
//!
- //! Warnings :
+ //! Warnings:
//! The exception UndefinedValue or UndefinedDerivative is
- //! raised if it is not possible to compute a unique offset
- //! direction.
+ //! raised if it is not possible to compute a unique offset direction.
Standard_EXPORT gp_Vec DN (const Standard_Real U, const Standard_Real V, const Standard_Integer Nu, const Standard_Integer Nv) const Standard_OVERRIDE;
//! Applies the transformation T to this offset surface.
//! Note: the basis surface is also modified.
Standard_EXPORT void Transform (const gp_Trsf& T) Standard_OVERRIDE;
-
- //! Computes the parameters on the transformed surface for
+
+ //! Computes the parameters on the transformed surface for
//! the transform of the point of parameters U,V on .
- //!
- //! me->Transformed(T)->Value(U',V')
- //!
+ //! @code
+ //! me->Transformed(T)->Value(U',V')
+ //! @endcode
//! is the same point as
- //!
+ //! @code
//! me->Value(U,V).Transformed(T)
- //!
+ //! @endcode
//! Where U',V' are the new values of U,V after calling
- //!
- //! me->TranformParameters(U,V,T)
- //! This methods calls the basis surface method.
+ //! @code
+ //! me->TransformParameters(U,V,T)
+ //! @endcode
+ //! This method calls the basis surface method.
Standard_EXPORT virtual void TransformParameters (Standard_Real& U, Standard_Real& V, const gp_Trsf& T) const Standard_OVERRIDE;
- //! Returns a 2d transformation used to find the new
+ //! Returns a 2d transformation used to find the new
//! parameters of a point on the transformed surface.
- //!
- //! me->Transformed(T)->Value(U',V')
- //!
+ //! @code
+ //! me->Transformed(T)->Value(U',V')
+ //! @endcode
//! is the same point as
- //!
- //! me->Value(U,V).Transformed(T)
- //!
- //! Where U',V' are obtained by transforming U,V with
- //! th 2d transformation returned by
- //!
+ //! @code
+ //! me->Value(U,V).Transformed(T)
+ //! @endcode
+ //! Where U',V' are obtained by transforming U,V with the 2d transformation returned by
+ //! @code
//! me->ParametricTransformation(T)
- //!
- //! This methods calls the basis surface method.
+ //! @endcode
+ //! This method calls the basis surface method.
Standard_EXPORT virtual gp_GTrsf2d ParametricTransformation (const gp_Trsf& T) const Standard_OVERRIDE;
-
+
//! Creates a new object which is a copy of this offset surface.
Standard_EXPORT Handle(Geom_Geometry) Copy() const Standard_OVERRIDE;
-
+
//! returns an equivalent surface of the offset surface
//! when the basis surface is a canonic surface or a
//! rectangular limited surface on canonic surface or if
//! the offset is null.
Standard_EXPORT Handle(Geom_Surface) Surface() const;
-
+
//! if Standard_True, L is the local osculating surface
//! along U at the point U,V. It means that DL/DU is
//! collinear to DS/DU . If IsOpposite == Standard_True
//! these vectors have opposite direction.
Standard_EXPORT Standard_Boolean UOsculatingSurface (const Standard_Real U, const Standard_Real V, Standard_Boolean& IsOpposite, Handle(Geom_BSplineSurface)& UOsculSurf) const;
-
+
//! if Standard_True, L is the local osculating surface
//! along V at the point U,V.
//! It means that DL/DV is
//! collinear to DS/DV . If IsOpposite == Standard_True
//! these vectors have opposite direction.
Standard_EXPORT Standard_Boolean VOsculatingSurface (const Standard_Real U, const Standard_Real V, Standard_Boolean& IsOpposite, Handle(Geom_BSplineSurface)& VOsculSurf) const;
-
+
//! Returns continuity of the basis surface.
inline GeomAbs_Shape GetBasisSurfContinuity() const
{ return myBasisSurfContinuity; }
diff --git a/src/Geom/Geom_Plane.hxx b/src/Geom/Geom_Plane.hxx
index 690ebf497f..544d5c49a1 100644
--- a/src/Geom/Geom_Plane.hxx
+++ b/src/Geom/Geom_Plane.hxx
@@ -58,7 +58,9 @@ DEFINE_STANDARD_HANDLE(Geom_Plane, Geom_ElementarySurface)
//! the "X Direction" and the "Y Direction" of its local
//! coordinate system.)
//! The parametric equation of the plane is:
-//! P(u, v) = O + u*XDir + v*YDir
+//! @code
+//! P(u, v) = O + u*XDir + v*YDir
+//! @endcode
//! where O, XDir and YDir are respectively the
//! origin, the "X Direction" and the "Y Direction" of the
//! local coordinate system of the plane.
@@ -69,152 +71,149 @@ class Geom_Plane : public Geom_ElementarySurface
public:
-
-
- //! Creates a plane located in 3D space with an axis placement
- //! three axis. The "ZDirection" of "A3" is the direction normal
- //! to the plane. The "Location" point of "A3" is the origin of
- //! the plane. The "XDirection" and "YDirection" of "A3" define
- //! the directions of the U isoparametric and V isoparametric
- //! curves.
+ //! Creates a plane located in 3D space with an axis placement three axis.
+ //! The "ZDirection" of "A3" is the direction normal
+ //! to the plane. The "Location" point of "A3" is the origin of the plane.
+ //! The "XDirection" and "YDirection" of "A3" define
+ //! the directions of the U isoparametric and V isoparametric curves.
Standard_EXPORT Geom_Plane(const gp_Ax3& A3);
-
+
//! Creates a plane from a non transient plane from package gp.
Standard_EXPORT Geom_Plane(const gp_Pln& Pl);
-
//! P is the "Location" point or origin of the plane.
//! V is the direction normal to the plane.
Standard_EXPORT Geom_Plane(const gp_Pnt& P, const gp_Dir& V);
-
- //! Creates a plane from its cartesian equation :
- //! Ax + By + Cz + D = 0.0
- //!
+ //! Creates a plane from its cartesian equation:
+ //! @code
+ //! Ax + By + Cz + D = 0.0
+ //! @endcode
//! Raised if Sqrt (A*A + B*B + C*C) <= Resolution from gp
Standard_EXPORT Geom_Plane(const Standard_Real A, const Standard_Real B, const Standard_Real C, const Standard_Real D);
-
+
//! Set so that has the same geometric properties as Pl.
Standard_EXPORT void SetPln (const gp_Pln& Pl);
-
+
//! Converts this plane into a gp_Pln plane.
Standard_EXPORT gp_Pln Pln() const;
-
- //! Changes the orientation of this plane in the u (or v)
- //! parametric direction. The bounds of the plane are not
- //! changed but the given parametric direction is
- //! reversed. Hence the orientation of the surface is reversed.
+ //! Changes the orientation of this plane in the u (or v) parametric direction.
+ //! The bounds of the plane are not changed but the given parametric direction is reversed.
+ //! Hence the orientation of the surface is reversed.
Standard_EXPORT virtual void UReverse() Standard_OVERRIDE;
-
- //! Computes the u parameter on the modified
- //! plane, produced when reversing the u
- //! parametric of this plane, for any point of u parameter U on this plane.
+
+ //! Computes the u parameter on the modified plane,
+ //! produced when reversing the u parametric of this plane,
+ //! for any point of u parameter U on this plane.
//! In the case of a plane, these methods return - -U.
Standard_EXPORT Standard_Real UReversedParameter (const Standard_Real U) const Standard_OVERRIDE;
-
- //! Changes the orientation of this plane in the u (or v)
- //! parametric direction. The bounds of the plane are not
- //! changed but the given parametric direction is
- //! reversed. Hence the orientation of the surface is reversed.
+
+ //! Changes the orientation of this plane in the u (or v) parametric direction.
+ //! The bounds of the plane are not changed but the given parametric direction is reversed.
+ //! Hence the orientation of the surface is reversed.
Standard_EXPORT virtual void VReverse() Standard_OVERRIDE;
-
- //! Computes the v parameter on the modified
- //! plane, produced when reversing the v
- //! parametric of this plane, for any point of v parameter V on this plane.
+
+ //! Computes the v parameter on the modified plane,
+ //! produced when reversing the v parametric of this plane,
+ //! for any point of v parameter V on this plane.
//! In the case of a plane, these methods return -V.
Standard_EXPORT Standard_Real VReversedParameter (const Standard_Real V) const Standard_OVERRIDE;
-
- //! Computes the parameters on the transformed surface for
+
+ //! Computes the parameters on the transformed surface for
//! the transform of the point of parameters U,V on .
- //! me->Transformed(T)->Value(U',V')
+ //! @code
+ //! me->Transformed(T)->Value(U',V')
+ //! @endcode
//! is the same point as
- //! me->Value(U,V).Transformed(T)
+ //! @code
+ //! me->Value(U,V).Transformed(T)
+ //! @endcode
//! Where U',V' are the new values of U,V after calling
- //! me->TranformParameters(U,V,T)
- //! This methods multiplies U and V by T.ScaleFactor()
+ //! @code
+ //! me->TransformParameters(U,V,T)
+ //! @endcode
+ //! This method multiplies U and V by T.ScaleFactor()
Standard_EXPORT virtual void TransformParameters (Standard_Real& U, Standard_Real& V, const gp_Trsf& T) const Standard_OVERRIDE;
-
- //! Returns a 2d transformation used to find the new
+
+ //! Returns a 2d transformation used to find the new
//! parameters of a point on the transformed surface.
- //! me->Transformed(T)->Value(U',V')
+ //! @code
+ //! me->Transformed(T)->Value(U',V')
+ //! @endcode
//! is the same point as
- //! me->Value(U,V).Transformed(T)
- //! Where U',V' are obtained by transforming U,V with
- //! th 2d transformation returned by
- //! me->ParametricTransformation(T)
- //! This methods returns a scale centered on the
- //! origin with T.ScaleFactor
+ //! @code
+ //! me->Value(U,V).Transformed(T)
+ //! @endcode
+ //! Where U',V' are obtained by transforming U,V with the 2d transformation returned by
+ //! @code
+ //! me->ParametricTransformation(T)
+ //! @endcode
+ //! This method returns a scale centered on the origin with T.ScaleFactor
Standard_EXPORT virtual gp_GTrsf2d ParametricTransformation (const gp_Trsf& T) const Standard_OVERRIDE;
-
+
//! Returns the parametric bounds U1, U2, V1 and V2 of this plane.
//! Because a plane is an infinite surface, the following is always true:
//! - U1 = V1 = Standard_Real::RealFirst()
//! - U2 = V2 = Standard_Real::RealLast().
Standard_EXPORT void Bounds (Standard_Real& U1, Standard_Real& U2, Standard_Real& V1, Standard_Real& V2) const Standard_OVERRIDE;
-
- //! Computes the normalized coefficients of the plane's
- //! cartesian equation : Ax + By + Cz + D = 0.0
+ //! Computes the normalized coefficients of the plane's cartesian equation:
+ //! @code
+ //! Ax + By + Cz + D = 0.0
+ //! @endcode
Standard_EXPORT void Coefficients (Standard_Real& A, Standard_Real& B, Standard_Real& C, Standard_Real& D) const;
-
+
//! return False
Standard_EXPORT Standard_Boolean IsUClosed() const Standard_OVERRIDE;
-
+
//! return False
Standard_EXPORT Standard_Boolean IsVClosed() const Standard_OVERRIDE;
-
+
//! return False.
Standard_EXPORT Standard_Boolean IsUPeriodic() const Standard_OVERRIDE;
-
+
//! return False.
Standard_EXPORT Standard_Boolean IsVPeriodic() const Standard_OVERRIDE;
-
//! Computes the U isoparametric curve.
//! This is a Line parallel to the YAxis of the plane.
Standard_EXPORT Handle(Geom_Curve) UIso (const Standard_Real U) const Standard_OVERRIDE;
-
//! Computes the V isoparametric curve.
//! This is a Line parallel to the XAxis of the plane.
Standard_EXPORT Handle(Geom_Curve) VIso (const Standard_Real V) const Standard_OVERRIDE;
-
//! Computes the point P (U, V) on .
- //! P = O + U * XDir + V * YDir.
+ //! @code
+ //! P = O + U * XDir + V * YDir.
+ //! @endcode
//! where O is the "Location" point of the plane, XDir the
- //! "XDirection" and YDir the "YDirection" of the plane's local
- //! coordinate system.
+ //! "XDirection" and YDir the "YDirection" of the plane's local coordinate system.
Standard_EXPORT void D0 (const Standard_Real U, const Standard_Real V, gp_Pnt& P) const Standard_OVERRIDE;
-
- //! Computes the current point and the first derivatives in the
- //! directions U and V.
+ //! Computes the current point and the first derivatives in the directions U and V.
Standard_EXPORT void D1 (const Standard_Real U, const Standard_Real V, gp_Pnt& P, gp_Vec& D1U, gp_Vec& D1V) const Standard_OVERRIDE;
-
//! Computes the current point, the first and the second
//! derivatives in the directions U and V.
Standard_EXPORT void D2 (const Standard_Real U, const Standard_Real V, gp_Pnt& P, gp_Vec& D1U, gp_Vec& D1V, gp_Vec& D2U, gp_Vec& D2V, gp_Vec& D2UV) const Standard_OVERRIDE;
-
//! Computes the current point, the first,the second and the
//! third derivatives in the directions U and V.
Standard_EXPORT void D3 (const Standard_Real U, const Standard_Real V, gp_Pnt& P, gp_Vec& D1U, gp_Vec& D1V, gp_Vec& D2U, gp_Vec& D2V, gp_Vec& D2UV, gp_Vec& D3U, gp_Vec& D3V, gp_Vec& D3UUV, gp_Vec& D3UVV) const Standard_OVERRIDE;
-
//! Computes the derivative of order Nu in the direction u
//! and Nv in the direction v.
//! Raised if Nu + Nv < 1 or Nu < 0 or Nv < 0.
Standard_EXPORT gp_Vec DN (const Standard_Real U, const Standard_Real V, const Standard_Integer Nu, const Standard_Integer Nv) const Standard_OVERRIDE;
-
+
//! Applies the transformation T to this plane.
Standard_EXPORT void Transform (const gp_Trsf& T) Standard_OVERRIDE;
-
+
//! Creates a new object which is a copy of this plane.
Standard_EXPORT Handle(Geom_Geometry) Copy() const Standard_OVERRIDE;
@@ -222,26 +221,8 @@ public:
Standard_EXPORT virtual void DumpJson (Standard_OStream& theOStream, Standard_Integer theDepth = -1) const Standard_OVERRIDE;
-
-
DEFINE_STANDARD_RTTIEXT(Geom_Plane,Geom_ElementarySurface)
-protected:
-
-
-
-
-private:
-
-
-
-
};
-
-
-
-
-
-
#endif // _Geom_Plane_HeaderFile
diff --git a/src/Geom/Geom_RectangularTrimmedSurface.hxx b/src/Geom/Geom_RectangularTrimmedSurface.hxx
index 1d4bc3c3e8..2e06fdee78 100644
--- a/src/Geom/Geom_RectangularTrimmedSurface.hxx
+++ b/src/Geom/Geom_RectangularTrimmedSurface.hxx
@@ -66,8 +66,6 @@ class Geom_RectangularTrimmedSurface : public Geom_BoundedSurface
public:
-
-
//! The U parametric direction of the surface is oriented from U1
//! to U2. The V parametric direction of the surface is oriented
//! from V1 to V2.
@@ -85,7 +83,6 @@ public:
//! bounds of S.
//! U1 = U2 or V1 = V2
Standard_EXPORT Geom_RectangularTrimmedSurface(const Handle(Geom_Surface)& S, const Standard_Real U1, const Standard_Real U2, const Standard_Real V1, const Standard_Real V2, const Standard_Boolean USense = Standard_True, const Standard_Boolean VSense = Standard_True);
-
//! The basis surface S is only trim in one parametric direction.
//! If UTrim = True the surface is trimmed in the U parametric
@@ -109,7 +106,7 @@ public:
//! Param1 or Param2 are out of the bounds of S.
//! Param1 = Param2
Standard_EXPORT Geom_RectangularTrimmedSurface(const Handle(Geom_Surface)& S, const Standard_Real Param1, const Standard_Real Param2, const Standard_Boolean UTrim, const Standard_Boolean Sense = Standard_True);
-
+
//! Modifies this patch by changing the trim values
//! applied to the original surface
//! The u parametric direction of
@@ -128,7 +125,7 @@ public:
//! are out of the bounds of the BasisSurface.
//! U1 = U2 or V1 = V2
Standard_EXPORT void SetTrim (const Standard_Real U1, const Standard_Real U2, const Standard_Real V1, const Standard_Real V2, const Standard_Boolean USense = Standard_True, const Standard_Boolean VSense = Standard_True);
-
+
//! Modifies this patch by changing the trim values
//! applied to the original surface
//! The basis surface is trimmed only in one parametric direction: if UTrim
@@ -149,35 +146,34 @@ public:
//! Param1 or Param2 are out of the bounds of the BasisSurface.
//! Param1 = Param2
Standard_EXPORT void SetTrim (const Standard_Real Param1, const Standard_Real Param2, const Standard_Boolean UTrim, const Standard_Boolean Sense = Standard_True);
-
+
//! Returns the Basis surface of .
Standard_EXPORT Handle(Geom_Surface) BasisSurface() const;
-
+
//! Changes the orientation of this patch in the u
//! parametric direction. The bounds of the surface are
//! not changed, but the given parametric direction is
//! reversed. Hence the orientation of the surface is reversed.
Standard_EXPORT void UReverse() Standard_OVERRIDE;
-
+
//! Computes the u parameter on the modified
//! surface, produced by when reversing its u
//! parametric direction, for any point of u parameter U on this patch.
Standard_EXPORT Standard_Real UReversedParameter (const Standard_Real U) const Standard_OVERRIDE;
-
+
//! Changes the orientation of this patch in the v
//! parametric direction. The bounds of the surface are
//! not changed, but the given parametric direction is
//! reversed. Hence the orientation of the surface is reversed.
Standard_EXPORT void VReverse() Standard_OVERRIDE;
-
+
//! Computes the v parameter on the modified
//! surface, produced by when reversing its v
//! parametric direction, for any point of v parameter V on this patch.
Standard_EXPORT Standard_Real VReversedParameter (const Standard_Real V) const Standard_OVERRIDE;
-
+
//! Returns the parametric bounds U1, U2, V1 and V2 of this patch.
Standard_EXPORT void Bounds (Standard_Real& U1, Standard_Real& U2, Standard_Real& V1, Standard_Real& V2) const Standard_OVERRIDE;
-
//! Returns the continuity of the surface :
//! C0 : only geometric continuity,
@@ -186,75 +182,69 @@ public:
//! C3 : continuity of the third derivative all along the Surface,
//! CN : the order of continuity is infinite.
Standard_EXPORT GeomAbs_Shape Continuity() const Standard_OVERRIDE;
-
+
//! Returns true if this patch is closed in the given parametric direction.
Standard_EXPORT Standard_Boolean IsUClosed() const Standard_OVERRIDE;
-
+
//! Returns true if this patch is closed in the given parametric direction.
Standard_EXPORT Standard_Boolean IsVClosed() const Standard_OVERRIDE;
-
//! Returns true if the order of derivation in the U parametric
//! direction is N.
//! Raised if N < 0.
Standard_EXPORT Standard_Boolean IsCNu (const Standard_Integer N) const Standard_OVERRIDE;
-
//! Returns true if the order of derivation in the V parametric
//! direction is N.
//! Raised if N < 0.
Standard_EXPORT Standard_Boolean IsCNv (const Standard_Integer N) const Standard_OVERRIDE;
-
+
//! Returns true if this patch is periodic and not trimmed in the given
//! parametric direction.
Standard_EXPORT Standard_Boolean IsUPeriodic() const Standard_OVERRIDE;
-
+
//! Returns the period of this patch in the u
//! parametric direction.
//! raises if the surface is not uperiodic.
Standard_EXPORT virtual Standard_Real UPeriod() const Standard_OVERRIDE;
-
//! Returns true if this patch is periodic and not trimmed in the given
//! parametric direction.
Standard_EXPORT Standard_Boolean IsVPeriodic() const Standard_OVERRIDE;
-
+
//! Returns the period of this patch in the v
//! parametric direction.
//! raises if the surface is not vperiodic.
//! value and derivatives
Standard_EXPORT virtual Standard_Real VPeriod() const Standard_OVERRIDE;
-
+
//! computes the U isoparametric curve.
Standard_EXPORT Handle(Geom_Curve) UIso (const Standard_Real U) const Standard_OVERRIDE;
-
+
//! Computes the V isoparametric curve.
Standard_EXPORT Handle(Geom_Curve) VIso (const Standard_Real V) const Standard_OVERRIDE;
-
//! Can be raised if the basis surface is an OffsetSurface.
Standard_EXPORT void D0 (const Standard_Real U, const Standard_Real V, gp_Pnt& P) const Standard_OVERRIDE;
-
//! The returned derivatives have the same orientation as the
//! derivatives of the basis surface even if the trimmed surface
//! has not the same parametric orientation.
//! Warning! UndefinedDerivative raised if the continuity of the surface is not C1.
Standard_EXPORT void D1 (const Standard_Real U, const Standard_Real V, gp_Pnt& P, gp_Vec& D1U, gp_Vec& D1V) const Standard_OVERRIDE;
-
//! The returned derivatives have the same orientation as the
//! derivatives of the basis surface even if the trimmed surface
//! has not the same parametric orientation.
//! Warning! UndefinedDerivative raised if the continuity of the surface is not C2.
Standard_EXPORT void D2 (const Standard_Real U, const Standard_Real V, gp_Pnt& P, gp_Vec& D1U, gp_Vec& D1V, gp_Vec& D2U, gp_Vec& D2V, gp_Vec& D2UV) const Standard_OVERRIDE;
-
+
//! The returned derivatives have the same orientation as the
//! derivatives of the basis surface even if the trimmed surface
//! has not the same parametric orientation.
//! Warning UndefinedDerivative raised if the continuity of the surface is not C3.
Standard_EXPORT void D3 (const Standard_Real U, const Standard_Real V, gp_Pnt& P, gp_Vec& D1U, gp_Vec& D1V, gp_Vec& D2U, gp_Vec& D2V, gp_Vec& D2UV, gp_Vec& D3U, gp_Vec& D3V, gp_Vec& D3UUV, gp_Vec& D3UVV) const Standard_OVERRIDE;
-
+
//! The returned derivative has the same orientation as the
//! derivative of the basis surface even if the trimmed surface
//! has not the same parametric orientation.
@@ -262,65 +252,56 @@ public:
//! parametric direction and CNv in the V parametric direction.
//! RangeError Raised if Nu + Nv < 1 or Nu < 0 or Nv < 0.
Standard_EXPORT gp_Vec DN (const Standard_Real U, const Standard_Real V, const Standard_Integer Nu, const Standard_Integer Nv) const Standard_OVERRIDE;
-
+
//! Applies the transformation T to this patch.
//! Warning
//! As a consequence, the basis surface included in the
//! data structure of this patch is also modified.
Standard_EXPORT void Transform (const gp_Trsf& T) Standard_OVERRIDE;
-
+
//! Computes the parameters on the transformed surface for
//! the transform of the point of parameters U,V on .
- //!
- //! me->Transformed(T)->Value(U',V')
- //!
+ //! @code
+ //! me->Transformed(T)->Value(U',V')
+ //! @endcode
//! is the same point as
- //!
- //! me->Value(U,V).Transformed(T)
- //!
+ //! @code
+ //! me->Value(U,V).Transformed(T)
+ //! @endcode
//! Where U',V' are the new values of U,V after calling
- //!
- //! me->TranformParameters(U,V,T)
- //!
- //! This methods calls the basis surface method.
+ //! @code
+ //! me->TransformParameters(U,V,T)
+ //! @endcode
+ //! This method calls the basis surface method.
Standard_EXPORT virtual void TransformParameters (Standard_Real& U, Standard_Real& V, const gp_Trsf& T) const Standard_OVERRIDE;
-
+
//! Returns a 2d transformation used to find the new
//! parameters of a point on the transformed surface.
- //!
- //! me->Transformed(T)->Value(U',V')
- //!
+ //! @code
+ //! me->Transformed(T)->Value(U',V')
+ //! @endcode
//! is the same point as
- //!
- //! me->Value(U,V).Transformed(T)
- //!
+ //! @code
+ //! me->Value(U,V).Transformed(T)
+ //! @endcode
//! Where U',V' are obtained by transforming U,V with
- //! th 2d transformation returned by
- //!
- //! me->ParametricTransformation(T)
- //!
- //! This methods calls the basis surface method.
+ //! the 2d transformation returned by
+ //! @code
+ //! me->ParametricTransformation(T)
+ //! @endcode
+ //! This method calls the basis surface method.
Standard_EXPORT virtual gp_GTrsf2d ParametricTransformation (const gp_Trsf& T) const Standard_OVERRIDE;
-
+
//! Creates a new object which is a copy of this patch.
Standard_EXPORT Handle(Geom_Geometry) Copy() const Standard_OVERRIDE;
//! Dumps the content of me into the stream
Standard_EXPORT virtual void DumpJson (Standard_OStream& theOStream, Standard_Integer theDepth = -1) const Standard_OVERRIDE;
-
-
-
DEFINE_STANDARD_RTTIEXT(Geom_RectangularTrimmedSurface,Geom_BoundedSurface)
-protected:
-
-
-
-
private:
-
//! General set trim, to implement constructors and
//! others set trim.
Standard_EXPORT void SetTrim (const Standard_Real U1, const Standard_Real U2, const Standard_Real V1, const Standard_Real V2, const Standard_Boolean UTrim, const Standard_Boolean VTrim, const Standard_Boolean USense, const Standard_Boolean VSense);
@@ -333,13 +314,6 @@ private:
Standard_Boolean isutrimmed;
Standard_Boolean isvtrimmed;
-
};
-
-
-
-
-
-
#endif // _Geom_RectangularTrimmedSurface_HeaderFile
diff --git a/src/Geom/Geom_Surface.hxx b/src/Geom/Geom_Surface.hxx
index 657c1ce48c..05432d7e19 100644
--- a/src/Geom/Geom_Surface.hxx
+++ b/src/Geom/Geom_Surface.hxx
@@ -58,63 +58,60 @@ class Geom_Surface : public Geom_Geometry
public:
-
-
//! Reverses the U direction of parametrization of .
//! The bounds of the surface are not modified.
Standard_EXPORT virtual void UReverse() = 0;
-
//! Reverses the U direction of parametrization of .
//! The bounds of the surface are not modified.
//! A copy of is returned.
Standard_NODISCARD Standard_EXPORT Handle(Geom_Surface) UReversed() const;
-
+
//! Returns the parameter on the Ureversed surface for
//! the point of parameter U on .
- //!
- //! me->UReversed()->Value(me->UReversedParameter(U),V)
- //!
+ //! @code
+ //! me->UReversed()->Value(me->UReversedParameter(U),V)
+ //! @endcode
//! is the same point as
- //!
- //! me->Value(U,V)
+ //! @code
+ //! me->Value(U,V)
+ //! @endcode
Standard_EXPORT virtual Standard_Real UReversedParameter (const Standard_Real U) const = 0;
-
//! Reverses the V direction of parametrization of .
//! The bounds of the surface are not modified.
Standard_EXPORT virtual void VReverse() = 0;
-
//! Reverses the V direction of parametrization of .
//! The bounds of the surface are not modified.
//! A copy of is returned.
Standard_NODISCARD Standard_EXPORT Handle(Geom_Surface) VReversed() const;
-
+
//! Returns the parameter on the Vreversed surface for
//! the point of parameter V on .
- //!
- //! me->VReversed()->Value(U,me->VReversedParameter(V))
- //!
+ //! @code
+ //! me->VReversed()->Value(U,me->VReversedParameter(V))
+ //! @endcode
//! is the same point as
- //!
- //! me->Value(U,V)
+ //! @code
+ //! me->Value(U,V)
+ //! @endcode
Standard_EXPORT virtual Standard_Real VReversedParameter (const Standard_Real V) const = 0;
-
+
//! Computes the parameters on the transformed surface for
//! the transform of the point of parameters U,V on .
- //!
- //! me->Transformed(T)->Value(U',V')
- //!
+ //! @code
+ //! me->Transformed(T)->Value(U',V')
+ //! @endcode
//! is the same point as
- //!
- //! me->Value(U,V).Transformed(T)
- //!
+ //! @code
+ //! me->Value(U,V).Transformed(T)
+ //! @endcode
//! Where U',V' are the new values of U,V after calling
- //!
- //! me->TranformParameters(U,V,T)
- //!
- //! This methods does not change and
+ //! @code
+ //! me->TransformParameters(U,V,T)
+ //! @endcode
+ //! This method does not change and
//!
//! It can be redefined. For example on the Plane,
//! Cylinder, Cone, Revolved and Extruded surfaces.
@@ -122,29 +119,29 @@ public:
//! Returns a 2d transformation used to find the new
//! parameters of a point on the transformed surface.
- //!
- //! me->Transformed(T)->Value(U',V')
- //!
+ //! @code
+ //! me->Transformed(T)->Value(U',V')
+ //! @endcode
//! is the same point as
- //!
- //! me->Value(U,V).Transformed(T)
- //!
+ //! @code
+ //! me->Value(U,V).Transformed(T)
+ //! @endcode
//! Where U',V' are obtained by transforming U,V with
- //! th 2d transformation returned by
- //!
- //! me->ParametricTransformation(T)
- //!
- //! This methods returns an identity transformation
+ //! the 2d transformation returned by
+ //! @code
+ //! me->ParametricTransformation(T)
+ //! @endcode
+ //! This method returns an identity transformation
//!
//! It can be redefined. For example on the Plane,
//! Cylinder, Cone, Revolved and Extruded surfaces.
Standard_EXPORT virtual gp_GTrsf2d ParametricTransformation (const gp_Trsf& T) const;
-
+
//! Returns the parametric bounds U1, U2, V1 and V2 of this surface.
//! If the surface is infinite, this function can return a value
//! equal to Precision::Infinite: instead of Standard_Real::LastReal.
Standard_EXPORT virtual void Bounds (Standard_Real& U1, Standard_Real& U2, Standard_Real& V1, Standard_Real& V2) const = 0;
-
+
//! Checks whether this surface is closed in the u
//! parametric direction.
//! Returns true if, in the u parametric direction: taking
@@ -153,7 +150,7 @@ public:
//! distance between the points P(uFirst, v) and
//! P(uLast, v) is less than or equal to gp::Resolution().
Standard_EXPORT virtual Standard_Boolean IsUClosed() const = 0;
-
+
//! Checks whether this surface is closed in the u
//! parametric direction.
//! Returns true if, in the v parametric
@@ -163,7 +160,7 @@ public:
//! P(u, vFirst) and P(u, vLast) is less than
//! or equal to gp::Resolution().
Standard_EXPORT virtual Standard_Boolean IsVClosed() const = 0;
-
+
//! Checks if this surface is periodic in the u
//! parametric direction. Returns true if:
//! - this surface is closed in the u parametric direction, and
@@ -173,12 +170,12 @@ public:
//! T)) is less than or equal to gp::Resolution().
//! Note: T is the parametric period in the u parametric direction.
Standard_EXPORT virtual Standard_Boolean IsUPeriodic() const = 0;
-
+
//! Returns the period of this surface in the u
//! parametric direction.
//! raises if the surface is not uperiodic.
Standard_EXPORT virtual Standard_Real UPeriod() const;
-
+
//! Checks if this surface is periodic in the v
//! parametric direction. Returns true if:
//! - this surface is closed in the v parametric direction, and
@@ -188,17 +185,16 @@ public:
//! T)) is less than or equal to gp::Resolution().
//! Note: T is the parametric period in the v parametric direction.
Standard_EXPORT virtual Standard_Boolean IsVPeriodic() const = 0;
-
+
//! Returns the period of this surface in the v parametric direction.
//! raises if the surface is not vperiodic.
Standard_EXPORT virtual Standard_Real VPeriod() const;
-
+
//! Computes the U isoparametric curve.
Standard_EXPORT virtual Handle(Geom_Curve) UIso (const Standard_Real U) const = 0;
-
+
//! Computes the V isoparametric curve.
Standard_EXPORT virtual Handle(Geom_Curve) VIso (const Standard_Real V) const = 0;
-
//! Returns the Global Continuity of the surface in direction U and V :
//! C0 : only geometric continuity,
@@ -212,41 +208,39 @@ public:
//! If the surface is C1 in the V parametric direction and C2
//! in the U parametric direction Shape = C1.
Standard_EXPORT virtual GeomAbs_Shape Continuity() const = 0;
-
+
//! Returns the order of continuity of the surface in the
//! U parametric direction.
//! Raised if N < 0.
Standard_EXPORT virtual Standard_Boolean IsCNu (const Standard_Integer N) const = 0;
-
+
//! Returns the order of continuity of the surface in the
//! V parametric direction.
//! Raised if N < 0.
Standard_EXPORT virtual Standard_Boolean IsCNv (const Standard_Integer N) const = 0;
-
+
//! Computes the point of parameter U,V on the surface.
//!
//! Raised only for an "OffsetSurface" if it is not possible to
//! compute the current point.
Standard_EXPORT virtual void D0 (const Standard_Real U, const Standard_Real V, gp_Pnt& P) const = 0;
-
+
//! Computes the point P and the first derivatives in the
//! directions U and V at this point.
//! Raised if the continuity of the surface is not C1.
Standard_EXPORT virtual void D1 (const Standard_Real U, const Standard_Real V, gp_Pnt& P, gp_Vec& D1U, gp_Vec& D1V) const = 0;
-
//! Computes the point P, the first and the second derivatives in
//! the directions U and V at this point.
//! Raised if the continuity of the surface is not C2.
Standard_EXPORT virtual void D2 (const Standard_Real U, const Standard_Real V, gp_Pnt& P, gp_Vec& D1U, gp_Vec& D1V, gp_Vec& D2U, gp_Vec& D2V, gp_Vec& D2UV) const = 0;
-
//! Computes the point P, the first,the second and the third
//! derivatives in the directions U and V at this point.
//! Raised if the continuity of the surface is not C2.
Standard_EXPORT virtual void D3 (const Standard_Real U, const Standard_Real V, gp_Pnt& P, gp_Vec& D1U, gp_Vec& D1V, gp_Vec& D2U, gp_Vec& D2V, gp_Vec& D2UV, gp_Vec& D3U, gp_Vec& D3V, gp_Vec& D3UUV, gp_Vec& D3UVV) const = 0;
-
+
//! ---Purpose ;
//! Computes the derivative of order Nu in the direction U and Nv
//! in the direction V at the point P(U, V).
@@ -255,7 +249,6 @@ public:
//! direction or not CNv in the V direction.
//! Raised if Nu + Nv < 1 or Nu < 0 or Nv < 0.
Standard_EXPORT virtual gp_Vec DN (const Standard_Real U, const Standard_Real V, const Standard_Integer Nu, const Standard_Integer Nv) const = 0;
-
//! Computes the point of parameter U on the surface.
//!
@@ -268,27 +261,8 @@ public:
//! Dumps the content of me into the stream
Standard_EXPORT virtual void DumpJson (Standard_OStream& theOStream, Standard_Integer theDepth = -1) const Standard_OVERRIDE;
-
-
-
DEFINE_STANDARD_RTTIEXT(Geom_Surface,Geom_Geometry)
-protected:
-
-
-
-
-private:
-
-
-
-
};
-
-
-
-
-
-
#endif // _Geom_Surface_HeaderFile
diff --git a/src/Geom/Geom_SurfaceOfLinearExtrusion.hxx b/src/Geom/Geom_SurfaceOfLinearExtrusion.hxx
index f95db4bd74..3d975f4e2b 100644
--- a/src/Geom/Geom_SurfaceOfLinearExtrusion.hxx
+++ b/src/Geom/Geom_SurfaceOfLinearExtrusion.hxx
@@ -211,37 +211,37 @@ public:
//! Computes the parameters on the transformed surface for
//! the transform of the point of parameters U,V on .
- //!
- //! me->Transformed(T)->Value(U',V')
- //!
+ //! @code
+ //! me->Transformed(T)->Value(U',V')
+ //! @endcode
//! is the same point as
- //!
- //! me->Value(U,V).Transformed(T)
- //!
+ //! @code
+ //! me->Value(U,V).Transformed(T)
+ //! @endcode
//! Where U',V' are the new values of U,V after calling
- //!
- //! me->TranformParameters(U,V,T)
- //!
- //! This methods multiplies :
+ //! @code
+ //! me->TransformParameters(U,V,T)
+ //! @endcode
+ //! This method multiplies:
//! U by BasisCurve()->ParametricTransformation(T)
//! V by T.ScaleFactor()
Standard_EXPORT virtual void TransformParameters (Standard_Real& U, Standard_Real& V, const gp_Trsf& T) const Standard_OVERRIDE;
//! Returns a 2d transformation used to find the new
//! parameters of a point on the transformed surface.
- //!
- //! me->Transformed(T)->Value(U',V')
- //!
+ //! @code
+ //! me->Transformed(T)->Value(U',V')
+ //! @endcode
//! is the same point as
- //!
- //! me->Value(U,V).Transformed(T)
- //!
+ //! @code
+ //! me->Value(U,V).Transformed(T)
+ //! @endcode
//! Where U',V' are obtained by transforming U,V with
- //! th 2d transformation returned by
- //!
- //! me->ParametricTransformation(T)
- //!
- //! This methods returns a scale
+ //! the 2d transformation returned by
+ //! @code
+ //! me->ParametricTransformation(T)
+ //! @endcode
+ //! This method returns a scale
//! U by BasisCurve()->ParametricTransformation(T)
//! V by T.ScaleFactor()
Standard_EXPORT virtual gp_GTrsf2d ParametricTransformation (const gp_Trsf& T) const Standard_OVERRIDE;
diff --git a/src/Geom/Geom_SurfaceOfRevolution.hxx b/src/Geom/Geom_SurfaceOfRevolution.hxx
index b0370e6ebc..306e6b7eda 100644
--- a/src/Geom/Geom_SurfaceOfRevolution.hxx
+++ b/src/Geom/Geom_SurfaceOfRevolution.hxx
@@ -191,36 +191,35 @@ public:
//! Computes the parameters on the transformed surface for
//! the transform of the point of parameters U,V on .
- //!
- //! me->Transformed(T)->Value(U',V')
- //!
+ //! @code
+ //! me->Transformed(T)->Value(U',V')
+ //! @endcode
//! is the same point as
- //!
- //! me->Value(U,V).Transformed(T)
- //!
+ //! @code
+ //! me->Value(U,V).Transformed(T)
+ //! @endcode
//! Where U',V' are the new values of U,V after calling
- //!
- //! me->TranformParameters(U,V,T)
- //!
- //! This methods multiplies V by
- //! BasisCurve()->ParametricTransformation(T)
+ //! @code
+ //! me->TransformParameters(U,V,T)
+ //! @endcode
+ //! This method multiplies V by BasisCurve()->ParametricTransformation(T)
Standard_EXPORT virtual void TransformParameters (Standard_Real& U, Standard_Real& V, const gp_Trsf& T) const Standard_OVERRIDE;
//! Returns a 2d transformation used to find the new
//! parameters of a point on the transformed surface.
- //!
- //! me->Transformed(T)->Value(U',V')
- //!
+ //! @code
+ //! me->Transformed(T)->Value(U',V')
+ //! @endcode
//! is the same point as
- //!
- //! me->Value(U,V).Transformed(T)
- //!
+ //! @code
+ //! me->Value(U,V).Transformed(T)
+ //! @endcode
//! Where U',V' are obtained by transforming U,V with
- //! th 2d transformation returned by
- //!
- //! me->ParametricTransformation(T)
- //!
- //! This methods returns a scale centered on the
+ //! the 2d transformation returned by
+ //! @code
+ //! me->ParametricTransformation(T)
+ //! @endcode
+ //! This method returns a scale centered on the
//! U axis with BasisCurve()->ParametricTransformation(T)
Standard_EXPORT virtual gp_GTrsf2d ParametricTransformation (const gp_Trsf& T) const Standard_OVERRIDE;
diff --git a/src/GeomFill/GeomFill_SweepFunction.hxx b/src/GeomFill/GeomFill_SweepFunction.hxx
index 58a6ff877a..6ca004037d 100644
--- a/src/GeomFill/GeomFill_SweepFunction.hxx
+++ b/src/GeomFill/GeomFill_SweepFunction.hxx
@@ -43,71 +43,71 @@ class GeomFill_SweepFunction;
DEFINE_STANDARD_HANDLE(GeomFill_SweepFunction, Approx_SweepFunction)
//! Function to approximate by SweepApproximation from
-//! Approx. To bulid general sweep Surface.
+//! Approx. To build general sweep Surface.
class GeomFill_SweepFunction : public Approx_SweepFunction
{
public:
-
+
Standard_EXPORT GeomFill_SweepFunction(const Handle(GeomFill_SectionLaw)& Section, const Handle(GeomFill_LocationLaw)& Location, const Standard_Real FirstParameter, const Standard_Real FirstParameterOnS, const Standard_Real RatioParameterOnS);
//! compute the section for v = param
Standard_EXPORT virtual Standard_Boolean D0 (const Standard_Real Param, const Standard_Real First, const Standard_Real Last, TColgp_Array1OfPnt& Poles, TColgp_Array1OfPnt2d& Poles2d, TColStd_Array1OfReal& Weigths) Standard_OVERRIDE;
-
- //! compute the first derivative in v direction of the
- //! section for v = param
+
+ //! compute the first derivative in v direction of the
+ //! section for v = param
Standard_EXPORT virtual Standard_Boolean D1 (const Standard_Real Param, const Standard_Real First, const Standard_Real Last, TColgp_Array1OfPnt& Poles, TColgp_Array1OfVec& DPoles, TColgp_Array1OfPnt2d& Poles2d, TColgp_Array1OfVec2d& DPoles2d, TColStd_Array1OfReal& Weigths, TColStd_Array1OfReal& DWeigths) Standard_OVERRIDE;
-
+
//! compute the second derivative in v direction of the
- //! section for v = param
+ //! section for v = param
Standard_EXPORT virtual Standard_Boolean D2 (const Standard_Real Param, const Standard_Real First, const Standard_Real Last, TColgp_Array1OfPnt& Poles, TColgp_Array1OfVec& DPoles, TColgp_Array1OfVec& D2Poles, TColgp_Array1OfPnt2d& Poles2d, TColgp_Array1OfVec2d& DPoles2d, TColgp_Array1OfVec2d& D2Poles2d, TColStd_Array1OfReal& Weigths, TColStd_Array1OfReal& DWeigths, TColStd_Array1OfReal& D2Weigths) Standard_OVERRIDE;
- //! get the number of 2d curves to approximate.
+ //! get the number of 2d curves to approximate.
Standard_EXPORT virtual Standard_Integer Nb2dCurves() const Standard_OVERRIDE;
- //! get the format of an section
+ //! get the format of a section
Standard_EXPORT virtual void SectionShape (Standard_Integer& NbPoles, Standard_Integer& NbKnots, Standard_Integer& Degree) const Standard_OVERRIDE;
-
+
//! get the Knots of the section
Standard_EXPORT virtual void Knots (TColStd_Array1OfReal& TKnots) const Standard_OVERRIDE;
-
+
//! get the Multplicities of the section
Standard_EXPORT virtual void Mults (TColStd_Array1OfInteger& TMults) const Standard_OVERRIDE;
-
- //! Returns if the section is rationnal or not
+
+ //! Returns if the section is rational or not
Standard_EXPORT virtual Standard_Boolean IsRational() const Standard_OVERRIDE;
-
- //! Returns the number of intervals for continuity
+
+ //! Returns the number of intervals for continuity
//! . May be one if Continuity(me) >=
Standard_EXPORT virtual Standard_Integer NbIntervals (const GeomAbs_Shape S) const Standard_OVERRIDE;
-
- //! Stores in the parameters bounding the intervals
+
+ //! Stores in the parameters bounding the intervals
//! of continuity .
//!
//! The array must provide enough room to accommodate
//! for the parameters. i.e. T.Length() > NbIntervals()
Standard_EXPORT virtual void Intervals (TColStd_Array1OfReal& T, const GeomAbs_Shape S) const Standard_OVERRIDE;
-
+
//! Sets the bounds of the parametric interval on
//! the function
//! This determines the derivatives in these values if the
//! function is not Cn.
Standard_EXPORT virtual void SetInterval (const Standard_Real First, const Standard_Real Last) Standard_OVERRIDE;
-
- //! Returns the resolutions in the sub-space 2d
+
+ //! Returns the resolutions in the sub-space 2d
//! This information is usfull to find an good tolerance in
//! 2d approximation.
//! Warning: Used only if Nb2dCurve > 0
Standard_EXPORT virtual void Resolution (const Standard_Integer Index, const Standard_Real Tol, Standard_Real& TolU, Standard_Real& TolV) const Standard_OVERRIDE;
-
+
//! Returns the tolerance to reach in approximation
//! to respecte
//! BoundTol error at the Boundary
//! AngleTol tangent error at the Boundary (in radian)
//! SurfTol error inside the surface.
Standard_EXPORT virtual void GetTolerance (const Standard_Real BoundTol, const Standard_Real SurfTol, const Standard_Real AngleTol, TColStd_Array1OfReal& Tol3d) const Standard_OVERRIDE;
-
+
//! Is usfull, if (me) have to be run numerical
//! algorithme to perform D0, D1 or D2
Standard_EXPORT virtual void SetTolerance (const Standard_Real Tol3d, const Standard_Real Tol2d) Standard_OVERRIDE;
@@ -117,7 +117,7 @@ public:
//! to perform well conditioned rational approximation.
//! Warning: Used only if IsRational
Standard_EXPORT virtual gp_Pnt BarycentreOfSurf() const Standard_OVERRIDE;
-
+
//! Returns the length of the maximum section. This
//! information is useful to perform well conditioned rational
//! approximation.
diff --git a/src/GeomLib/GeomLib_CheckCurveOnSurface.hxx b/src/GeomLib/GeomLib_CheckCurveOnSurface.hxx
index 93bf285f2f..6806b69aac 100644
--- a/src/GeomLib/GeomLib_CheckCurveOnSurface.hxx
+++ b/src/GeomLib/GeomLib_CheckCurveOnSurface.hxx
@@ -49,7 +49,7 @@ public:
const Standard_Real theLast,
const Standard_Real theTolRange = Precision::PConfusion());
- //! Initializes all members by dafault values
+ //! Initializes all members by default values
Standard_EXPORT void Init();
//! Computes the max distance for the 3d curve
diff --git a/src/GeomPlate/GeomPlate_Surface.hxx b/src/GeomPlate/GeomPlate_Surface.hxx
index 86dc118282..944198aadd 100644
--- a/src/GeomPlate/GeomPlate_Surface.hxx
+++ b/src/GeomPlate/GeomPlate_Surface.hxx
@@ -68,12 +68,13 @@ public:
//! Return the parameter on the Ureversed surface for
//! the point of parameter U on .
- //!
- //! me->UReversed()->Value(me->UReversedParameter(U),V)
- //!
+ //! @code
+ //! me->UReversed()->Value(me->UReversedParameter(U),V)
+ //! @endcode
//! is the same point as
- //!
- //! me->Value(U,V)
+ //! @code
+ //! me->Value(U,V)
+ //! @endcode
Standard_EXPORT Standard_Real UReversedParameter (const Standard_Real U) const Standard_OVERRIDE;
@@ -83,27 +84,28 @@ public:
//! Return the parameter on the Vreversed surface for
//! the point of parameter V on .
- //!
- //! me->VReversed()->Value(U,me->VReversedParameter(V))
- //!
+ //! @code
+ //! me->VReversed()->Value(U,me->VReversedParameter(V))
+ //! @endcode
//! is the same point as
- //!
- //! me->Value(U,V)
+ //! @code
+ //! me->Value(U,V)
+ //! @endcode
Standard_EXPORT Standard_Real VReversedParameter (const Standard_Real V) const Standard_OVERRIDE;
//! Computes the parameters on the transformed surface for
//! the transform of the point of parameters U,V on .
- //!
- //! me->Transformed(T)->Value(U',V')
- //!
+ //! @code
+ //! me->Transformed(T)->Value(U',V')
+ //! @endcode
//! is the same point as
- //!
- //! me->Value(U,V).Transformed(T)
- //!
+ //! @code
+ //! me->Value(U,V).Transformed(T)
+ //! @endcode
//! Where U',V' are the new values of U,V after calling
- //!
- //! me->TranformParameters(U,V,T)
- //!
+ //! @code
+ //! me->TransformParameters(U,V,T)
+ //! @endcode
//! This methods does not change and
//!
//! It can be redefined. For example on the Plane,
@@ -112,19 +114,19 @@ public:
//! Returns a 2d transformation used to find the new
//! parameters of a point on the transformed surface.
- //!
- //! me->Transformed(T)->Value(U',V')
- //!
+ //! @code
+ //! me->Transformed(T)->Value(U',V')
+ //! @endcode
//! is the same point as
- //!
- //! me->Value(U,V).Transformed(T)
- //!
+ //! @code
+ //! me->Value(U,V).Transformed(T)
+ //! @endcode
//! Where U',V' are obtained by transforming U,V with
- //! th 2d transformation returned by
- //!
- //! me->ParametricTransformation(T)
- //!
- //! This methods returns an identity transformation
+ //! the 2d transformation returned by
+ //! @code
+ //! me->ParametricTransformation(T)
+ //! @endcode
+ //! This method returns an identity transformation
//!
//! It can be redefined. For example on the Plane,
//! Cylinder, Cone, Revolved and Extruded surfaces.
diff --git a/src/HLRBRep/HLRBRep_ThePolygon2dOfTheIntPCurvePCurveOfCInter.hxx b/src/HLRBRep/HLRBRep_ThePolygon2dOfTheIntPCurvePCurveOfCInter.hxx
index 76d98d16ed..5e36c61693 100644
--- a/src/HLRBRep/HLRBRep_ThePolygon2dOfTheIntPCurvePCurveOfCInter.hxx
+++ b/src/HLRBRep/HLRBRep_ThePolygon2dOfTheIntPCurvePCurveOfCInter.hxx
@@ -48,7 +48,7 @@ public:
Standard_EXPORT HLRBRep_ThePolygon2dOfTheIntPCurvePCurveOfCInter(const Standard_Address& Curve, const Standard_Integer NbPnt, const IntRes2d_Domain& Domain, const Standard_Real Tol);
//! The current polygon is modified if most
- //! of the points of the polygon are are
+ //! of the points of the polygon are
//! outside the box . In this
//! situation, bounds are computed to build
//! a polygon inside or near the OtherBox.
diff --git a/src/HLRBRep/HLRBRep_VertexList.hxx b/src/HLRBRep/HLRBRep_VertexList.hxx
index 88336c1782..5fd4205afc 100644
--- a/src/HLRBRep/HLRBRep_VertexList.hxx
+++ b/src/HLRBRep/HLRBRep_VertexList.hxx
@@ -51,8 +51,7 @@ public:
//! Returns the current vertex
Standard_EXPORT const HLRAlgo_Intersection& Current() const;
- //! Returns True if the current vertex is is on the
- //! boundary of the edge.
+ //! Returns True if the current vertex is on the boundary of the edge.
Standard_EXPORT Standard_Boolean IsBoundary() const;
//! Returns True if the current vertex is an
diff --git a/src/NCollection/NCollection_Array2.hxx b/src/NCollection/NCollection_Array2.hxx
index 4e6eb37c40..65115eab35 100644
--- a/src/NCollection/NCollection_Array2.hxx
+++ b/src/NCollection/NCollection_Array2.hxx
@@ -219,7 +219,7 @@ public:
//! Move assignment.
//! This array will borrow all the data from theOther.
- //! The moved object will be left unitialized and should not be used anymore.
+ //! The moved object will be left uninitialized and should not be used anymore.
NCollection_Array2& Move (NCollection_Array2& theOther)
{
if (&theOther == this)
diff --git a/src/NCollection/NCollection_CellFilter.hxx b/src/NCollection/NCollection_CellFilter.hxx
index dc447eabb9..63d98d8e2c 100644
--- a/src/NCollection/NCollection_CellFilter.hxx
+++ b/src/NCollection/NCollection_CellFilter.hxx
@@ -45,7 +45,7 @@ enum NCollection_CellFilter_Action
* search for one bullet (more precisely, O(M) where M is number of cells covered
* by the bullet).
*
- * The idea behind the algorithm is to separate each co-ordinate of the space
+ * The idea behind the algorithm is to separate each coordinate of the space
* into equal-size cells. Note that this works well when cell size is
* approximately equal to the characteristic size of the involved objects
* (targets and bullets; including tolerance eventually used for coincidence
@@ -56,7 +56,7 @@ enum NCollection_CellFilter_Action
* The target objects to be searched are added to the tool by methods Add();
* each target is classified as belonging to some cell(s). The data on cells
* (list of targets found in each one) are stored in the hash map with key being
- * cumulative index of the cell by all co-ordinates.
+ * cumulative index of the cell by all coordinates.
* Thus the time needed to find targets in some cell is O(1) * O(number of
* targets in the cell).
*
@@ -123,7 +123,7 @@ public:
//! Constructor; initialized by dimension count and cell size.
//!
//! Note: the cell size must be ensured to be greater than
- //! maximal co-ordinate of the involved points divided by INT_MAX,
+ //! maximal coordinate of the involved points divided by INT_MAX,
//! in order to avoid integer overflow of cell index.
//!
//! By default cell size is 0, which is invalid; thus if default
@@ -173,12 +173,12 @@ public:
}
//! Adds a target object for further search in the range of cells
- //! defined by two points (the first point must have all co-ordinates equal or
- //! less than the same co-ordinate of the second point)
+ //! defined by two points (the first point must have all coordinates equal or
+ //! less than the same coordinate of the second point)
void Add (const Target& theTarget,
const Point &thePntMin, const Point &thePntMax)
{
- // get cells range by minimal and maximal co-ordinates
+ // get cells range by minimal and maximal coordinates
Cell aCellMin (thePntMin, myCellSize);
Cell aCellMax (thePntMax, myCellSize);
Cell aCell = aCellMin;
@@ -196,13 +196,13 @@ public:
//! Find a target object in the range of cells defined by two points and
//! remove it from the structures
- //! (the first point must have all co-ordinates equal or
- //! less than the same co-ordinate of the second point).
+ //! (the first point must have all coordinates equal or
+ //! less than the same coordinate of the second point).
//! For usage of this method "operator ==" should be defined for Target.
void Remove (const Target& theTarget,
const Point &thePntMin, const Point &thePntMax)
{
- // get cells range by minimal and maximal co-ordinates
+ // get cells range by minimal and maximal coordinates
Cell aCellMin (thePntMin, myCellSize);
Cell aCellMax (thePntMax, myCellSize);
Cell aCell = aCellMin;
@@ -218,12 +218,12 @@ public:
}
//! Inspect all targets in the cells range limited by two given points
- //! (the first point must have all co-ordinates equal or
- //! less than the same co-ordinate of the second point)
+ //! (the first point must have all coordinates equal or
+ //! less than the same coordinate of the second point)
void Inspect (const Point& thePntMin, const Point& thePntMax,
Inspector &theInspector)
{
- // get cells range by minimal and maximal co-ordinates
+ // get cells range by minimal and maximal coordinates
Cell aCellMin (thePntMin, myCellSize);
Cell aCellMax (thePntMax, myCellSize);
Cell aCell = aCellMin;
@@ -254,7 +254,7 @@ protected:
};
/**
- * Auxilary structure representing a cell in the space.
+ * Auxiliary structure representing a cell in the space.
* Cells are stored in the map, each cell contains list of objects
* that belong to that cell.
*/
@@ -501,7 +501,7 @@ struct NCollection_CellFilter_InspectorXYZ
//! Points type
typedef gp_XYZ Point;
- //! Access to co-ordinate
+ //! Access to coordinate
static Standard_Real Coord (int i, const Point &thePnt) { return thePnt.Coord(i+1); }
//! Auxiliary method to shift point by each coordinate on given value;
@@ -524,7 +524,7 @@ struct NCollection_CellFilter_InspectorXY
//! Points type
typedef gp_XY Point;
- //! Access to co-ordinate
+ //! Access to coordinate
static Standard_Real Coord (int i, const Point &thePnt) { return thePnt.Coord(i+1); }
//! Auxiliary method to shift point by each coordinate on given value;
diff --git a/src/NCollection/NCollection_DefineArray1.hxx b/src/NCollection/NCollection_DefineArray1.hxx
index 2b2ef62b96..74636946c3 100644
--- a/src/NCollection/NCollection_DefineArray1.hxx
+++ b/src/NCollection/NCollection_DefineArray1.hxx
@@ -25,7 +25,7 @@
// Array1OfItem tttab (ttab(10),10,20); // a slice of ttab
// If you want to reindex an array from 1 to Length do :
// Array1 tab1(tab(tab.Lower()),1,tab.Length());
-// Warning: Programs client of such a class must be independant
+// Warning: Programs client of such a class must be independent
// of the range of the first element. Then, a C++ for
// loop must be written like this
// for (i = A.Lower(); i <= A.Upper(); i++)
diff --git a/src/NCollection/NCollection_DefineArray2.hxx b/src/NCollection/NCollection_DefineArray2.hxx
index 65af4fdabf..00d32af4bd 100644
--- a/src/NCollection/NCollection_DefineArray2.hxx
+++ b/src/NCollection/NCollection_DefineArray2.hxx
@@ -17,7 +17,7 @@
// Purpose: The class Array2 represents bi-dimensional arrays
// of fixed size known at run time.
// The ranges of indices are user defined.
-// Warning: Programs clients of such class must be independant
+// Warning: Programs clients of such class must be independent
// of the range of the first element. Then, a C++ for
// loop must be written like this
// for (i = A.LowerRow(); i <= A.UpperRow(); i++)
diff --git a/src/NCollection/NCollection_DefineMap.hxx b/src/NCollection/NCollection_DefineMap.hxx
index 6bd2833daf..d4ecbb5b1a 100644
--- a/src/NCollection/NCollection_DefineMap.hxx
+++ b/src/NCollection/NCollection_DefineMap.hxx
@@ -22,7 +22,7 @@
// ::HashCode must be defined in the global namespace
// To compare two keys the function ::IsEqual must be
// defined in the global namespace.
-// The performance of a Map is conditionned by its
+// The performance of a Map is conditioned by its
// number of buckets that should be kept greater to
// the number of keys. This map has an automatic
// management of the number of buckets. It is resized
diff --git a/src/NCollection/NCollection_IncAllocator.hxx b/src/NCollection/NCollection_IncAllocator.hxx
index 84e32f8fc4..08e4219f0b 100644
--- a/src/NCollection/NCollection_IncAllocator.hxx
+++ b/src/NCollection/NCollection_IncAllocator.hxx
@@ -74,7 +74,7 @@ class NCollection_IncAllocator : public NCollection_BaseAllocator
const size_t newSize);
//! Re-initialize the allocator so that the next Allocate call should
- //! start allocating in the very begining as though the allocator is just
+ //! start allocating in the very beginning as though the allocator is just
//! constructed. Warning: make sure that all previously allocated data are
//! no more used in your code!
//! @param doReleaseMem
diff --git a/src/NCollection/NCollection_Map.hxx b/src/NCollection/NCollection_Map.hxx
index 3aa3f70119..bc266a609d 100644
--- a/src/NCollection/NCollection_Map.hxx
+++ b/src/NCollection/NCollection_Map.hxx
@@ -38,7 +38,7 @@
* To compare two keys the function ::IsEqual must be
* defined in the global namespace.
*
- * The performance of a Map is conditionned by its
+ * The performance of a Map is conditioned by its
* number of buckets that should be kept greater to
* the number of keys. This map has an automatic
* management of the number of buckets. It is resized
diff --git a/src/NCollection/NCollection_UBTree.hxx b/src/NCollection/NCollection_UBTree.hxx
index 6373938374..2b50ca81ba 100644
--- a/src/NCollection/NCollection_UBTree.hxx
+++ b/src/NCollection/NCollection_UBTree.hxx
@@ -296,7 +296,7 @@ public:
const TreeNode& Root () const { return *myRoot; }
/**
- * Desctructor.
+ * Destructor.
*/
virtual ~NCollection_UBTree () { Clear(); }
diff --git a/src/NCollection/NCollection_UtfIterator.hxx b/src/NCollection/NCollection_UtfIterator.hxx
index 4a26b2c0b3..2b91ad508e 100755
--- a/src/NCollection/NCollection_UtfIterator.hxx
+++ b/src/NCollection/NCollection_UtfIterator.hxx
@@ -107,7 +107,7 @@ public:
//! Buffer-fetching getter.
const Type* BufferNext() const { return myPosNext; }
- //! @return the index displacement from iterator intialization
+ //! @return the index displacement from iterator initialization
//! (first symbol has index 0)
Standard_Integer Index() const
{
@@ -235,7 +235,7 @@ private: //! @name private fields
const Type* myPosition; //!< buffer position of the first element in the current symbol
const Type* myPosNext; //!< buffer position of the first element in the next symbol
- Standard_Integer myCharIndex; //!< index displacement from iterator intialization
+ Standard_Integer myCharIndex; //!< index displacement from iterator initialization
Standard_Utf32Char myCharUtf32; //!< Unicode symbol stored at the current buffer position
};
diff --git a/src/NCollection/NCollection_UtfString.hxx b/src/NCollection/NCollection_UtfString.hxx
index 210ac967cb..66cf39ae8b 100755
--- a/src/NCollection/NCollection_UtfString.hxx
+++ b/src/NCollection/NCollection_UtfString.hxx
@@ -163,7 +163,7 @@ public:
const Standard_Integer theEnd) const;
//! Returns NULL-terminated Unicode string.
- //! Should not be modifed or deleted!
+ //! Should not be modified or deleted!
//! @return (const Type* ) pointer to string
const Type* ToCString() const
{
diff --git a/src/NCollection/NCollection_UtfString.lxx b/src/NCollection/NCollection_UtfString.lxx
index e53cfb3f56..a80a2bb409 100755
--- a/src/NCollection/NCollection_UtfString.lxx
+++ b/src/NCollection/NCollection_UtfString.lxx
@@ -216,7 +216,7 @@ void NCollection_UtfString::Swap (NCollection_UtfString& theOther)
}
#if !defined(__ANDROID__)
-//! Auxiliary convertion tool.
+//! Auxiliary conversion tool.
class NCollection_UtfStringTool
{
public:
diff --git a/src/NCollection/NCollection_Vec2.hxx b/src/NCollection/NCollection_Vec2.hxx
index 12e8fe513d..46206d9750 100644
--- a/src/NCollection/NCollection_Vec2.hxx
+++ b/src/NCollection/NCollection_Vec2.hxx
@@ -277,13 +277,13 @@ public:
return x() * x() + y() * y();
}
- //! Constuct DX unit vector.
+ //! Construct DX unit vector.
static NCollection_Vec2 DX()
{
return NCollection_Vec2 (Element_t(1), Element_t(0));
}
- //! Constuct DY unit vector.
+ //! Construct DY unit vector.
static NCollection_Vec2 DY()
{
return NCollection_Vec2 (Element_t(0), Element_t(1));
diff --git a/src/NCollection/NCollection_Vec3.hxx b/src/NCollection/NCollection_Vec3.hxx
index 4677408e04..bc74018685 100644
--- a/src/NCollection/NCollection_Vec3.hxx
+++ b/src/NCollection/NCollection_Vec3.hxx
@@ -383,19 +383,19 @@ public:
return theFrom * (Element_t(1) - theT) + theTo * theT;
}
- //! Constuct DX unit vector.
+ //! Construct DX unit vector.
static NCollection_Vec3 DX()
{
return NCollection_Vec3 (Element_t(1), Element_t(0), Element_t(0));
}
- //! Constuct DY unit vector.
+ //! Construct DY unit vector.
static NCollection_Vec3 DY()
{
return NCollection_Vec3 (Element_t(0), Element_t(1), Element_t(0));
}
- //! Constuct DZ unit vector.
+ //! Construct DZ unit vector.
static NCollection_Vec3 DZ()
{
return NCollection_Vec3 (Element_t(0), Element_t(0), Element_t(1));
diff --git a/src/PCDM/PCDM_StorageDriver.hxx b/src/PCDM/PCDM_StorageDriver.hxx
index bc1e42023a..711a8c21c0 100644
--- a/src/PCDM/PCDM_StorageDriver.hxx
+++ b/src/PCDM/PCDM_StorageDriver.hxx
@@ -37,7 +37,7 @@ class Storage_Schema;
class PCDM_StorageDriver;
DEFINE_STANDARD_HANDLE(PCDM_StorageDriver, PCDM_Writer)
-//! persistent implemention of storage.
+//! persistent implementation of storage.
//!
//! The application must redefine one the two Make()
//! methods. The first one, if the application wants to
diff --git a/src/PLib/PLib.cxx b/src/PLib/PLib.cxx
index c0c1eaf45b..c867542e47 100644
--- a/src/PLib/PLib.cxx
+++ b/src/PLib/PLib.cxx
@@ -1189,7 +1189,7 @@ Standard_Integer PLib::EvalCubicHermite
//
//
// initialise it at the stage 2 of the building algorithm
- // for devided differences
+ // for divided differences
//
inverse = FirstLast[1] - FirstLast[0] ;
inverse = 1.0e0 / inverse ;
diff --git a/src/PLib/PLib.hxx b/src/PLib/PLib.hxx
index 283c6f08d3..bc51ce9ce6 100644
--- a/src/PLib/PLib.hxx
+++ b/src/PLib/PLib.hxx
@@ -153,28 +153,29 @@ public:
//! Warning: must be dimensionned properly.
Standard_EXPORT static void RationalDerivatives (const Standard_Integer DerivativesRequest, const Standard_Integer Dimension, Standard_Real& PolesDerivatives, Standard_Real& WeightsDerivatives, Standard_Real& RationalDerivates);
- //! Performs Horner method with synthethic division
- //! for derivatives
+ //! Performs Horner method with synthetic division for derivatives
//! parameter , with and .
//! PolynomialCoeff are stored in the following fashion
+ //! @code
//! c0(1) c0(2) .... c0(Dimension)
//! c1(1) c1(2) .... c1(Dimension)
//!
//! cDegree(1) cDegree(2) .... cDegree(Dimension)
+ //! @endcode
//! where the polynomial is defined as :
- //!
+ //! @code
//! 2 Degree
//! c0 + c1 X + c2 X + .... cDegree X
- //!
+ //! @endcode
//! Results stores the result in the following format
- //!
+ //! @code
//! f(1) f(2) .... f(Dimension)
//! (1) (1) (1)
//! f (1) f (2) .... f (Dimension)
//!
//! (DerivativeRequest) (DerivativeRequest)
//! f (1) f (Dimension)
- //!
+ //! @endcode
//! this just evaluates the point at parameter U
//!
//! Warning: and must be dimensioned properly
@@ -188,6 +189,7 @@ public:
//! at parameters U,V
//!
//! PolynomialCoeff are stored in the following fashion
+ //! @code
//! c00(1) .... c00(Dimension)
//! c10(1) .... c10(Dimension)
//! ....
@@ -202,21 +204,22 @@ public:
//! c1n(1) .... c1n(Dimension)
//! ....
//! cmn(1) .... cmn(Dimension)
- //!
+ //! @endcode
//! where the polynomial is defined as :
+ //! @code
//! 2 m
//! c00 + c10 U + c20 U + .... + cm0 U
//! 2 m
//! + c01 V + c11 UV + c21 U V + .... + cm1 U V
//! n m n
//! + .... + c0n V + .... + cmn U V
- //!
+ //! @endcode
//! with m = UDegree and n = VDegree
//!
//! Results stores the result in the following format
- //!
+ //! @code
//! f(1) f(2) .... f(Dimension)
- //!
+ //! @endcode
//! Warning: and must be dimensioned properly
Standard_EXPORT static void EvalPoly2Var (const Standard_Real U, const Standard_Real V, const Standard_Integer UDerivativeOrder, const Standard_Integer VDerivativeOrder, const Standard_Integer UDegree, const Standard_Integer VDegree, const Standard_Integer Dimension, Standard_Real& PolynomialCoeff, Standard_Real& Results);
@@ -225,11 +228,12 @@ public:
//! with the requested derivative order
//! Results will store things in the following format
//! with d = DerivativeOrder
- //!
+ //! @code
//! [0], [Dimension-1] : value
//! [Dimension], [Dimension + Dimension-1] : first derivative
//!
//! [d *Dimension], [d*Dimension + Dimension-1]: dth derivative
+ //! @endcode
Standard_EXPORT static Standard_Integer EvalLagrange (const Standard_Real U, const Standard_Integer DerivativeOrder, const Standard_Integer Degree, const Standard_Integer Dimension, Standard_Real& ValueArray, Standard_Real& ParameterArray, Standard_Real& Results);
//! Performs the Cubic Hermite Interpolation of
@@ -237,28 +241,37 @@ public:
//! with the requested derivative order.
//! ValueArray stores the value at the first and
//! last parameter. It has the following format :
+ //! @code
//! [0], [Dimension-1] : value at first param
//! [Dimension], [Dimension + Dimension-1] : value at last param
+ //! @endcode
//! Derivative array stores the value of the derivatives
//! at the first parameter and at the last parameter
//! in the following format
+ //! @code
//! [0], [Dimension-1] : derivative at
+ //! @endcode
//! first param
+ //! @code
//! [Dimension], [Dimension + Dimension-1] : derivative at
+ //! @endcode
//! last param
//!
//! ParameterArray stores the first and last parameter
//! in the following format :
+ //! @code
//! [0] : first parameter
//! [1] : last parameter
+ //! @endcode
//!
//! Results will store things in the following format
//! with d = DerivativeOrder
- //!
+ //! @code
//! [0], [Dimension-1] : value
//! [Dimension], [Dimension + Dimension-1] : first derivative
//!
//! [d *Dimension], [d*Dimension + Dimension-1]: dth derivative
+ //! @endcode
Standard_EXPORT static Standard_Integer EvalCubicHermite (const Standard_Real U, const Standard_Integer DerivativeOrder, const Standard_Integer Dimension, Standard_Real& ValueArray, Standard_Real& DerivativeArray, Standard_Real& ParameterArray, Standard_Real& Results);
//! This build the coefficient of Hermite's polynomes on
diff --git a/src/PLib/PLib_HermitJacobi.hxx b/src/PLib/PLib_HermitJacobi.hxx
index f44fb9daaa..b06acbe8c4 100644
--- a/src/PLib/PLib_HermitJacobi.hxx
+++ b/src/PLib/PLib_HermitJacobi.hxx
@@ -34,31 +34,36 @@ class PLib_HermitJacobi;
DEFINE_STANDARD_HANDLE(PLib_HermitJacobi, PLib_Base)
//! This class provides method to work with Jacobi Polynomials
-//! relativly to an order of constraint
+//! relatively to an order of constraint
//! q = myWorkDegree-2*(myNivConstr+1)
-//! Jk(t) for k=0,q compose the Jacobi Polynomial base relativly to the weigth W(t)
+//! Jk(t) for k=0,q compose the Jacobi Polynomial base relatively to the weigth W(t)
//! iorder is the integer value for the constraints:
//! iorder = 0 <=> ConstraintOrder = GeomAbs_C0
//! iorder = 1 <=> ConstraintOrder = GeomAbs_C1
//! iorder = 2 <=> ConstraintOrder = GeomAbs_C2
//! P(t) = H(t) + W(t) * Q(t) Where W(t) = (1-t**2)**(2*iordre+2)
//! the coefficients JacCoeff represents P(t) JacCoeff are stored as follow:
-//!
+//! @code
//! c0(1) c0(2) .... c0(Dimension)
//! c1(1) c1(2) .... c1(Dimension)
//!
//! cDegree(1) cDegree(2) .... cDegree(Dimension)
-//!
+//! @endcode
//! The coefficients
+//! @code
//! c0(1) c0(2) .... c0(Dimension)
//! c2*ordre+1(1) ... c2*ordre+1(dimension)
-//!
+//! @endcode
//! represents the part of the polynomial in the
//! Hermit's base: H(t)
+//! @code
//! H(t) = c0H00(t) + c1H01(t) + ...c(iordre)H(0 ;iorder)+ c(iordre+1)H10(t)+...
+//! @endcode
//! The following coefficients represents the part of the
//! polynomial in the Jacobi base ie Q(t)
+//! @code
//! Q(t) = c2*iordre+2 J0(t) + ...+ cDegree JDegree-2*iordre-2
+//! @endcode
class PLib_HermitJacobi : public PLib_Base
{
diff --git a/src/PLib/PLib_JacobiPolynomial.hxx b/src/PLib/PLib_JacobiPolynomial.hxx
index 2b0543e352..95acc2f63b 100644
--- a/src/PLib/PLib_JacobiPolynomial.hxx
+++ b/src/PLib/PLib_JacobiPolynomial.hxx
@@ -34,9 +34,9 @@ class PLib_JacobiPolynomial;
DEFINE_STANDARD_HANDLE(PLib_JacobiPolynomial, PLib_Base)
//! This class provides method to work with Jacobi Polynomials
-//! relativly to an order of constraint
+//! relatively to an order of constraint
//! q = myWorkDegree-2*(myNivConstr+1)
-//! Jk(t) for k=0,q compose the Jacobi Polynomial base relativly to the weigth W(t)
+//! Jk(t) for k=0,q compose the Jacobi Polynomial base relatively to the weigth W(t)
//! iorder is the integer value for the constraints:
//! iorder = 0 <=> ConstraintOrder = GeomAbs_C0
//! iorder = 1 <=> ConstraintOrder = GeomAbs_C1
@@ -76,7 +76,7 @@ public:
//! returns the Jacobi Points for Gauss integration ie
//! the positive values of the Legendre roots by increasing values
- //! NbGaussPoints is the number of points choosen for the integral
+ //! NbGaussPoints is the number of points chosen for the integral
//! computation.
//! TabPoints (0,NbGaussPoints/2)
//! TabPoints (0) is loaded only for the odd values of NbGaussPoints
@@ -89,7 +89,7 @@ public:
//! returns the Jacobi weigths for Gauss integration only for
//! the positive values of the Legendre roots in the order they
//! are given by the method Points
- //! NbGaussPoints is the number of points choosen for the integral
+ //! NbGaussPoints is the number of points chosen for the integral
//! computation.
//! TabWeights (0,NbGaussPoints/2,0,Degree)
//! TabWeights (0,.) are only loaded for the odd values of NbGaussPoints
diff --git a/src/Poly/Poly_CoherentTriangle.hxx b/src/Poly/Poly_CoherentTriangle.hxx
index b0a090498f..90e48c81a9 100644
--- a/src/Poly/Poly_CoherentTriangle.hxx
+++ b/src/Poly/Poly_CoherentTriangle.hxx
@@ -139,8 +139,7 @@ class Poly_CoherentTriangle
{ return mypLink[iLink]; }
/**
- * Retuns the index of the connection with the given triangle, or -1 if not
- * found.
+ * Returns the index of the connection with the given triangle, or -1 if not found.
*/
Standard_EXPORT Standard_Integer
FindConnection (const Poly_CoherentTriangle&) const;
diff --git a/src/Poly/Poly_CoherentTriangulation.hxx b/src/Poly/Poly_CoherentTriangulation.hxx
index a30c9415cf..dfda4b5ebb 100644
--- a/src/Poly/Poly_CoherentTriangulation.hxx
+++ b/src/Poly/Poly_CoherentTriangulation.hxx
@@ -185,7 +185,7 @@ class Poly_CoherentTriangulation : public Standard_Transient
* degenerated and therefore removed by this method.
* @param pLstRemovedNode
* Optional parameter. If defined, then it will receive the list of arrays
- * where the first number is the index of removed node and the seond -
+ * where the first number is the index of removed node and the second -
* the index of remaining node to which the mesh was reconnected.
*/
Standard_EXPORT Standard_Boolean RemoveDegenerated
diff --git a/src/Poly/Poly_MakeLoops.cxx b/src/Poly/Poly_MakeLoops.cxx
index a235a690b0..8ba09e83a7 100644
--- a/src/Poly/Poly_MakeLoops.cxx
+++ b/src/Poly/Poly_MakeLoops.cxx
@@ -408,7 +408,7 @@ void Poly_MakeLoops::markHangChain(Standard_Integer theNode, Standard_Integer th
{
// check if the current link is hanging:
// if it is outcoming from aNode1 then count the number of
- // other incoming links and vise versa;
+ // other incoming links and vice-versa;
// if the number is zero than it is hanging
const ListOfLink& aLinks = myHelper->GetAdjacentLinks (aNode1);
Standard_Integer nEdges = 0;
diff --git a/src/Poly/Poly_MakeLoops.hxx b/src/Poly/Poly_MakeLoops.hxx
index 79216540ea..c72dad62e3 100644
--- a/src/Poly/Poly_MakeLoops.hxx
+++ b/src/Poly/Poly_MakeLoops.hxx
@@ -169,7 +169,7 @@ public:
//! Set a new value of orientation of a link already added earlier.
//! It can be used with LF_None to exclude the link from consideration.
- //! Returns the old value of orienation.
+ //! Returns the old value of orientation.
Standard_EXPORT LinkFlag SetLinkOrientation
(const Link& theLink,
const LinkFlag theOrient);
diff --git a/src/Poly/Poly_Polygon3D.hxx b/src/Poly/Poly_Polygon3D.hxx
index a241fdc7b0..507461bb11 100644
--- a/src/Poly/Poly_Polygon3D.hxx
+++ b/src/Poly/Poly_Polygon3D.hxx
@@ -83,9 +83,9 @@ public:
const TColStd_Array1OfReal& Parameters() const { return myParameters->Array1(); }
//! Returns the table of the parameters associated with each node in this polygon.
- //! ChangeParameters function returnes the array as shared. Therefore if the table is selected by
- //! reference you can, by simply modifying it, directly modify
- //! the data structure of this polygon.
+ //! ChangeParameters function returns the array as shared.
+ //! Therefore if the table is selected by reference you can, by simply modifying it,
+ //! directly modify the data structure of this polygon.
TColStd_Array1OfReal& ChangeParameters() const { return myParameters->ChangeArray1(); }
//! Dumps the content of me into the stream
diff --git a/src/ProjLib/ProjLib_CompProjectedCurve.cxx b/src/ProjLib/ProjLib_CompProjectedCurve.cxx
index 65e525a39c..49c15ece7d 100644
--- a/src/ProjLib/ProjLib_CompProjectedCurve.cxx
+++ b/src/ProjLib/ProjLib_CompProjectedCurve.cxx
@@ -1539,14 +1539,14 @@ void ProjLib_CompProjectedCurve::BuildIntervals(const GeomAbs_Shape S) const
UArr = NULL,
VArr = NULL;
- // proccessing projection bounds
+ // processing projection bounds
BArr = new TColStd_HArray1OfReal(1, 2*myNbCurves);
for(i = 1; i <= myNbCurves; i++)
{
Bounds(i, BArr->ChangeValue(2*i - 1), BArr->ChangeValue(2*i));
}
- // proccessing curve discontinuities
+ // processing curve discontinuities
if(NbIntCur > 1) {
CArr = new TColStd_HArray1OfReal(1, NbIntCur - 1);
for(i = 1; i <= CArr->Length(); i++)
@@ -1555,7 +1555,7 @@ void ProjLib_CompProjectedCurve::BuildIntervals(const GeomAbs_Shape S) const
}
}
- // proccessing U-surface discontinuities
+ // processing U-surface discontinuities
TColStd_SequenceOfReal TUdisc;
for(k = 2; k <= NbIntSurU; k++) {
@@ -1620,7 +1620,7 @@ void ProjLib_CompProjectedCurve::BuildIntervals(const GeomAbs_Shape S) const
UArr->ChangeValue(i) = TUdisc(i);
}
}
- // proccessing V-surface discontinuities
+ // processing V-surface discontinuities
TColStd_SequenceOfReal TVdisc;
for(k = 2; k <= NbIntSurV; k++)
diff --git a/src/ProjLib/ProjLib_ComputeApprox.hxx b/src/ProjLib/ProjLib_ComputeApprox.hxx
index 24ea449481..032d605f0b 100644
--- a/src/ProjLib/ProjLib_ComputeApprox.hxx
+++ b/src/ProjLib/ProjLib_ComputeApprox.hxx
@@ -32,7 +32,7 @@ class Geom2d_BezierCurve;
//! Tolerance is maximal possible value of 3d deviation of 3d projection of projected curve from
//! "exact" 3d projection. Since algorithm searches 2d curve on surface, required 2d tolerance is computed
//! from 3d tolerance with help of U,V resolutions of surface.
-//! 3d and 2d tolerances have sence only for curves on surface, it defines precision of projecting and approximation
+//! 3d and 2d tolerances have sense only for curves on surface, it defines precision of projecting and approximation
//! and have nothing to do with distance between the projected curve and the surface.
class ProjLib_ComputeApprox
{
diff --git a/src/ProjLib/ProjLib_ComputeApproxOnPolarSurface.cxx b/src/ProjLib/ProjLib_ComputeApproxOnPolarSurface.cxx
index 58f9516a46..919c62655c 100644
--- a/src/ProjLib/ProjLib_ComputeApproxOnPolarSurface.cxx
+++ b/src/ProjLib/ProjLib_ComputeApproxOnPolarSurface.cxx
@@ -711,7 +711,7 @@ Handle(Geom2d_BSplineCurve) ProjLib_ComputeApproxOnPolarSurface::Perform
// if there is an initialization curve:
// - either this is a BSpline C0, with discontinuity at the same parameters of nodes
// and the sections C1 are taken
- // - or this is a curve C1 and the sections of intrest are taken otherwise the curve is created.
+ // - or this is a curve C1 and the sections of interest are taken otherwise the curve is created.
// initialization 2d
Standard_Integer nbInter2d;
diff --git a/src/ProjLib/ProjLib_ComputeApproxOnPolarSurface.hxx b/src/ProjLib/ProjLib_ComputeApproxOnPolarSurface.hxx
index 730fffd67e..536ef88a8c 100644
--- a/src/ProjLib/ProjLib_ComputeApproxOnPolarSurface.hxx
+++ b/src/ProjLib/ProjLib_ComputeApproxOnPolarSurface.hxx
@@ -35,7 +35,7 @@ class Geom2d_Curve;
//! Tolerance is maximal possible value of 3d deviation of 3d projection of projected curve from
//! "exact" 3d projection. Since algorithm searches 2d curve on surface, required 2d tolerance is computed
//! from 3d tolerance with help of U,V resolutions of surface.
-//! 3d and 2d tolerances have sence only for curves on surface, it defines precision of projecting and approximation
+//! 3d and 2d tolerances have sense only for curves on surface, it defines precision of projecting and approximation
//! and have nothing to do with distance between the projected curve and the surface.
class ProjLib_ComputeApproxOnPolarSurface
{
@@ -77,7 +77,7 @@ public:
//! Set the parameter, which defines maximal possible distance between projected curve and surface.
//! It is used only for projecting on not analytical surfaces.
- //! If theMaxDist < 0, algoritm uses default value 100.*Tolerance.
+ //! If theMaxDist < 0, algorithm uses default value 100.*Tolerance.
//! If real distance between curve and surface more then theMaxDist, algorithm stops working.
Standard_EXPORT void SetMaxDist(const Standard_Real theMaxDist);
@@ -95,7 +95,7 @@ public:
//! Parameter InitCurve2d is any rough estimation of 2d result curve.
Standard_EXPORT Handle(Geom2d_BSplineCurve) Perform (const Handle(Adaptor2d_Curve2d)& InitCurve2d, const Handle(Adaptor3d_Curve)& C, const Handle(Adaptor3d_Surface)& S);
- //! Builds initial 2d curve as BSpline with degree = 1 using Extrema algoritm.
+ //! Builds initial 2d curve as BSpline with degree = 1 using Extrema algorithm.
//! Method is used in method Perform(...).
Standard_EXPORT Handle(Adaptor2d_Curve2d) BuildInitialCurve2d (const Handle(Adaptor3d_Curve)& Curve, const Handle(Adaptor3d_Surface)& S);
diff --git a/src/ProjLib/ProjLib_PrjResolve.hxx b/src/ProjLib/ProjLib_PrjResolve.hxx
index 75ab66b1e3..7b1b257f0b 100644
--- a/src/ProjLib/ProjLib_PrjResolve.hxx
+++ b/src/ProjLib/ProjLib_PrjResolve.hxx
@@ -37,11 +37,9 @@ public:
Standard_EXPORT ProjLib_PrjResolve(const Adaptor3d_Curve& C, const Adaptor3d_Surface& S, const Standard_Integer Fix);
//! Calculates the ort from C(t) to S with a close point.
- //! The close point is defined by the parameter values
- //! U0 and V0.
- //! The function F(u,v)=distance(S(u,v),C(t)) has an
- //! extremum when gradient(F)=0. The algorithm searchs
- //! a zero near the close point.
+ //! The close point is defined by the parameter values U0 and V0.
+ //! The function F(u,v)=distance(S(u,v),C(t)) has an extremum when gradient(F)=0.
+ //! The algorithm searches a zero near the close point.
Standard_EXPORT void Perform (const Standard_Real t, const Standard_Real U, const Standard_Real V, const gp_Pnt2d& Tol, const gp_Pnt2d& Inf, const gp_Pnt2d& Sup, const Standard_Real FTol = -1, const Standard_Boolean StrictInside = Standard_False);
//! Returns True if the distance is found.
diff --git a/src/ProjLib/ProjLib_ProjectOnPlane.hxx b/src/ProjLib/ProjLib_ProjectOnPlane.hxx
index 3414d282c3..a9fb55bc15 100644
--- a/src/ProjLib/ProjLib_ProjectOnPlane.hxx
+++ b/src/ProjLib/ProjLib_ProjectOnPlane.hxx
@@ -71,12 +71,12 @@ public:
//! plane .
Standard_EXPORT ProjLib_ProjectOnPlane(const gp_Ax3& Pl, const gp_Dir& D);
- //! Sets the Curve and perform the projection. if
- //! is true, the parametrization
+ //! Sets the Curve and perform the projection.
+ //! if is true, the parametrization
//! of the Projected Curve will be the same as
- //! the parametrization of the initial curve . It
- //! meens: proj(C(u)) = PC(u) for each u. Otherwize,
- //! the parametrization may change.
+ //! the parametrization of the initial curve .
+ //! It means: proj(C(u)) = PC(u) for each u.
+ //! Otherwise, the parametrization may change.
Standard_EXPORT void Load (const Handle(Adaptor3d_Curve)& C, const Standard_Real Tolerance, const Standard_Boolean KeepParametrization = Standard_True);
Standard_EXPORT const gp_Ax3& GetPlane() const;
@@ -98,10 +98,9 @@ public:
//! intervals.
Standard_EXPORT Standard_Integer NbIntervals (const GeomAbs_Shape S) const Standard_OVERRIDE;
- //! Stores in the parameters bounding the intervals
- //! of continuity .
+ //! Stores in the parameters bounding the intervals of continuity .
//!
- //! The array must provide enough room to accomodate
+ //! The array must provide enough room to accommodate
//! for the parameters. i.e. T.Length() > NbIntervals()
Standard_EXPORT void Intervals (TColStd_Array1OfReal& T, const GeomAbs_Shape S) const Standard_OVERRIDE;
diff --git a/src/ProjLib/ProjLib_ProjectOnSurface.hxx b/src/ProjLib/ProjLib_ProjectOnSurface.hxx
index 14726366de..6e5ffa4086 100644
--- a/src/ProjLib/ProjLib_ProjectOnSurface.hxx
+++ b/src/ProjLib/ProjLib_ProjectOnSurface.hxx
@@ -33,7 +33,7 @@ public:
//! Create an empty projector.
Standard_EXPORT ProjLib_ProjectOnSurface();
- //! Create a projector normaly to the surface .
+ //! Create a projector normally to the surface .
Standard_EXPORT ProjLib_ProjectOnSurface(const Handle(Adaptor3d_Surface)& S);
Standard_EXPORT virtual ~ProjLib_ProjectOnSurface();
diff --git a/src/ProjLib/ProjLib_ProjectedCurve.hxx b/src/ProjLib/ProjLib_ProjectedCurve.hxx
index f5c14c74aa..22e447ae53 100644
--- a/src/ProjLib/ProjLib_ProjectedCurve.hxx
+++ b/src/ProjLib/ProjLib_ProjectedCurve.hxx
@@ -39,13 +39,13 @@ class Geom2d_BSplineCurve;
DEFINE_STANDARD_HANDLE(ProjLib_ProjectedCurve, Adaptor2d_Curve2d)
//! Compute the 2d-curve. Try to solve the particular
-//! case if possible. Otherwize, an approximation is
+//! case if possible. Otherwise, an approximation is
//! done. For approximation some parameters are used, including
//! required tolerance of approximation.
//! Tolerance is maximal possible value of 3d deviation of 3d projection of projected curve from
//! "exact" 3d projection. Since algorithm searches 2d curve on surface, required 2d tolerance is computed
//! from 3d tolerance with help of U,V resolutions of surface.
-//! 3d and 2d tolerances have sence only for curves on surface, it defines precision of projecting and approximation
+//! 3d and 2d tolerances have sense only for curves on surface, it defines precision of projecting and approximation
//! and have nothing to do with distance between the projected curve and the surface.
class ProjLib_ProjectedCurve : public Adaptor2d_Curve2d
{
@@ -97,7 +97,7 @@ public:
//! Set the parameter, which degines maximal possible distance between projected curve and surface.
//! It uses only for projecting on not analytical surfaces.
- //! If theMaxDist < 0, algoritm uses default value 100.*Tolerance.
+ //! If theMaxDist < 0, algorithm uses default value 100.*Tolerance.
//! If real distance between curve and surface more then theMaxDist, algorithm stops working.
Standard_EXPORT void SetMaxDist(const Standard_Real theMaxDist);
@@ -123,7 +123,7 @@ public:
//! Stores in the parameters bounding the intervals
//! of continuity .
//!
- //! The array must provide enough room to accomodate
+ //! The array must provide enough room to accommodate
//! for the parameters. i.e. T.Length() > NbIntervals()
Standard_EXPORT void Intervals (TColStd_Array1OfReal& T, const GeomAbs_Shape S) const Standard_OVERRIDE;
diff --git a/src/Prs3d/Prs3d_DimensionUnits.hxx b/src/Prs3d/Prs3d_DimensionUnits.hxx
index a40e4af391..dd519a129e 100644
--- a/src/Prs3d/Prs3d_DimensionUnits.hxx
+++ b/src/Prs3d/Prs3d_DimensionUnits.hxx
@@ -19,7 +19,7 @@
#include
//! This class provides units for two dimension groups:
-//! - lengthes (length, radius, diameter)
+//! - lengths (length, radius, diameter)
//! - angles
class Prs3d_DimensionUnits
{
diff --git a/src/Prs3d/Prs3d_Drawer.hxx b/src/Prs3d/Prs3d_Drawer.hxx
index 198009d72e..e5b383e71f 100644
--- a/src/Prs3d/Prs3d_Drawer.hxx
+++ b/src/Prs3d/Prs3d_Drawer.hxx
@@ -275,7 +275,7 @@ public:
myDeviationAngle = 20.0 * M_PI / 180.0;
}
- //! Returns true if the there is a local setting for deviation
+ //! Returns true if there is a local setting for deviation
//! angle in this framework for a specific interactive object.
Standard_Boolean HasOwnDeviationAngle() const { return myHasOwnDeviationAngle; }
diff --git a/src/PrsDim/PrsDim_AngleDimension.cxx b/src/PrsDim/PrsDim_AngleDimension.cxx
index 8e94f3a2f6..a58af9cc21 100644
--- a/src/PrsDim/PrsDim_AngleDimension.cxx
+++ b/src/PrsDim/PrsDim_AngleDimension.cxx
@@ -1171,7 +1171,7 @@ Standard_Boolean PrsDim_AngleDimension::IsValidPoints (const gp_Pnt& theFirstPoi
//=======================================================================
//function : isArrowVisible
-//purpose : compares given and internal arrows types, returns true if the the type should be shown
+//purpose : compares given and internal arrows types, returns true if the type should be shown
//=======================================================================
Standard_Boolean PrsDim_AngleDimension::isArrowVisible(const PrsDim_TypeOfAngleArrowVisibility theArrowType) const
{
diff --git a/src/PrsDim/PrsDim_DiameterDimension.hxx b/src/PrsDim/PrsDim_DiameterDimension.hxx
index 51b8710310..04a1370416 100644
--- a/src/PrsDim/PrsDim_DiameterDimension.hxx
+++ b/src/PrsDim/PrsDim_DiameterDimension.hxx
@@ -24,7 +24,7 @@
DEFINE_STANDARD_HANDLE(PrsDim_DiameterDimension, PrsDim_Dimension)
-//! Diameter dimension. Can be constructued:
+//! Diameter dimension. Can be constructed:
//! - On generic circle.
//! - On generic circle with user-defined anchor point on that circle
//! (dimension plane is oriented to follow the anchor point).
diff --git a/src/PrsDim/PrsDim_Dimension.hxx b/src/PrsDim/PrsDim_Dimension.hxx
index 85f4eb854e..bc2047b145 100644
--- a/src/PrsDim/PrsDim_Dimension.hxx
+++ b/src/PrsDim/PrsDim_Dimension.hxx
@@ -148,7 +148,7 @@ DEFINE_STANDARD_HANDLE(PrsDim_Dimension, AIS_InteractiveObject)
//! this 3d point to the set of parameters including adjusting of the dimension plane (this plane will be
//! automatic plane, NOT user-defined one).
//! If the fixed text position is set, the flag myIsFixedTextPosition is set to TRUE.
-//! ATTENSION! myIsFixedTextPosition fixes all parameters of the set from recomputing inside
+//! ATTENTION! myIsFixedTextPosition fixes all parameters of the set from recomputing inside
//! SetMeasureGeometry() methods. Parameters in dimension aspect (they are horizontal text position
//! and extension size) are adjusted on presentation computing step, user-defined values in
//! dimension aspect are not changed.
@@ -249,7 +249,7 @@ public:
Standard_EXPORT void SetCustomValue (const Standard_Real theValue);
//! Sets user-defined dimension value.
- //! Unit conversion during the display is not applyed.
+ //! Unit conversion during the display is not applied.
//! @param theValue [in] the user-defined value to display.
Standard_EXPORT void SetCustomValue (const TCollection_ExtendedString& theValue);
@@ -475,7 +475,7 @@ protected:
//! @param theCircle [out] the circle geometry.
//! @param theMiddleArcPoint [out] the middle point of the arc.
//! @param theIsClosed [out] returns TRUE if the geometry is closed circle.
- //! @return TRUE if the the circle is successfully got from the input shape.
+ //! @return TRUE if the circle is successfully returned from the input shape.
Standard_EXPORT Standard_Boolean InitCircularDimension (const TopoDS_Shape& theShape,
gp_Circ& theCircle,
gp_Pnt& theMiddleArcPoint,
diff --git a/src/PrsDim/PrsDim_EqualDistanceRelation.cxx b/src/PrsDim/PrsDim_EqualDistanceRelation.cxx
index 45ab79ac48..48a5a68e44 100644
--- a/src/PrsDim/PrsDim_EqualDistanceRelation.cxx
+++ b/src/PrsDim/PrsDim_EqualDistanceRelation.cxx
@@ -467,7 +467,7 @@ void PrsDim_EqualDistanceRelation::ComputeTwoEdgesLength( const Handle( Prs3d_Pr
gp_Circ aCirc1 = aCir1->Circ();
gp_Circ aCirc2 = aCir2->Circ();
- //To avoid circles with different orientaion
+ //To avoid circles with different orientation
Standard_Real aTol = Precision::Confusion();
if(aCirc2.Axis().IsOpposite(aCirc1.Axis(), aTol) ||
aCirc2.XAxis().IsOpposite(aCirc1.XAxis(), aTol) ||
diff --git a/src/PrsDim/PrsDim_IdenticRelation.cxx b/src/PrsDim/PrsDim_IdenticRelation.cxx
index 5dd9851be3..73c64f7d9e 100644
--- a/src/PrsDim/PrsDim_IdenticRelation.cxx
+++ b/src/PrsDim/PrsDim_IdenticRelation.cxx
@@ -476,7 +476,7 @@ void PrsDim_IdenticRelation::ComputeTwoEdgesPresentation(const Handle(Prs3d_Pres
return;
aPrs->SetInfiniteState((isInfinite1 || isInfinite2) && myExtShape != 0);
- // Treatement of the case of lines
+ // Treatment of the case of lines
if ( curv1->IsInstance(STANDARD_TYPE(Geom_Line)) && curv2->IsInstance(STANDARD_TYPE(Geom_Line)) ) {
// we take the line curv1 like support
Handle(Geom_Line) thelin;
@@ -486,7 +486,7 @@ void PrsDim_IdenticRelation::ComputeTwoEdgesPresentation(const Handle(Prs3d_Pres
ComputeTwoLinesPresentation(aPrs, thelin, firstp1, lastp1, firstp2, lastp2, isInfinite1, isInfinite2);
}
- // Treatement of the case of circles
+ // Treatment of the case of circles
else if ( curv1->IsInstance(STANDARD_TYPE(Geom_Circle)) && curv2->IsInstance(STANDARD_TYPE(Geom_Circle)) ) {
//gp_Pnt curpos;
isCircle = Standard_True; // useful for ComputeSelection
@@ -495,7 +495,7 @@ void PrsDim_IdenticRelation::ComputeTwoEdgesPresentation(const Handle(Prs3d_Pres
}
// jfa 10/10/2000
- // Treatement of the case of ellipses
+ // Treatment of the case of ellipses
else if ( curv1->IsInstance(STANDARD_TYPE(Geom_Ellipse)) && curv2->IsInstance(STANDARD_TYPE(Geom_Ellipse)) )
{
Handle(Geom_Ellipse) theEll (Handle(Geom_Ellipse)::DownCast (curv1));
@@ -577,7 +577,7 @@ void PrsDim_IdenticRelation::ComputeTwoLinesPresentation(const Handle(Prs3d_Pres
lastp2 = lastp1;
}
- Standard_Real tabRang1[4]; // array taht contains the parameters of the 4 points
+ Standard_Real tabRang1[4]; // array that contains the parameters of the 4 points
// ordered by increasing abscisses.
gp_Pnt tabRang2[4]; // array containing the points corresponding to the
diff --git a/src/PrsDim/PrsDim_LengthDimension.hxx b/src/PrsDim/PrsDim_LengthDimension.hxx
index c5000ad561..bfc227a882 100644
--- a/src/PrsDim/PrsDim_LengthDimension.hxx
+++ b/src/PrsDim/PrsDim_LengthDimension.hxx
@@ -26,7 +26,7 @@
DEFINE_STANDARD_HANDLE (PrsDim_LengthDimension, PrsDim_Dimension)
-//! Length dimension. Can be constructued:
+//! Length dimension. Can be constructed:
//! - Between two generic points.
//! - Between two vertices.
//! - Between two faces.
@@ -36,7 +36,7 @@ DEFINE_STANDARD_HANDLE (PrsDim_LengthDimension, PrsDim_Dimension)
//! In case of two points (vertices) or one linear edge the user-defined plane
//! that includes this geometry is necessary to be set.
//!
-//! In case of face-edge, edge-vertex or face-face lengthes the automatic plane
+//! In case of face-edge, edge-vertex or face-face lengths the automatic plane
//! computing is allowed. For this plane the third point is found on the
//! edge or on the face.
//!
diff --git a/src/PrsDim/PrsDim_RadiusDimension.hxx b/src/PrsDim/PrsDim_RadiusDimension.hxx
index 9eab78168f..1c9b8a2e76 100644
--- a/src/PrsDim/PrsDim_RadiusDimension.hxx
+++ b/src/PrsDim/PrsDim_RadiusDimension.hxx
@@ -23,7 +23,7 @@
DEFINE_STANDARD_HANDLE(PrsDim_RadiusDimension, PrsDim_Dimension)
-//! Radius dimension. Can be constructued:
+//! Radius dimension. Can be constructed:
//! - On generic circle.
//! - On generic circle with user-defined anchor point on that circle.
//! - On generic shape containing geometry that can be measured
diff --git a/src/PrsDim/PrsDim_Relation.hxx b/src/PrsDim/PrsDim_Relation.hxx
index 97faba8464..0012cbb7b5 100644
--- a/src/PrsDim/PrsDim_Relation.hxx
+++ b/src/PrsDim/PrsDim_Relation.hxx
@@ -178,14 +178,14 @@ protected:
Standard_EXPORT PrsDim_Relation (const PrsMgr_TypeOfPresentation3d aTypeOfPresentation3d = PrsMgr_TOP_AllView);
- //! Calculates the presentation aPres of the the edge
+ //! Calculates the presentation aPres of the edge
//! anEdge and the curve it defines, ProjCurve. The later
//! is also specified by the first point FirstP and the last point LastP.
//! The presentation includes settings for color aColor,
//! type - aProjTOL and aCallTOL - and width of line, aWidth.
Standard_EXPORT void ComputeProjEdgePresentation (const Handle(Prs3d_Presentation)& aPres, const TopoDS_Edge& anEdge, const Handle(Geom_Curve)& ProjCurve, const gp_Pnt& FirstP, const gp_Pnt& LastP, const Quantity_NameOfColor aColor = Quantity_NOC_PURPLE, const Standard_Real aWidth = 2, const Aspect_TypeOfLine aProjTOL = Aspect_TOL_DASH, const Aspect_TypeOfLine aCallTOL = Aspect_TOL_DOT) const;
- //! Calculates the presentation aPres of the the vertex
+ //! Calculates the presentation aPres of the vertex
//! aVertex and the point it defines, ProjPoint.
//! The presentation includes settings for color aColor,
//! type - aProjTOM and aCallTOL - and width of line, aWidth.
diff --git a/src/QABugs/QABugs_10.cxx b/src/QABugs/QABugs_10.cxx
index a05b613348..b8041d8b7e 100644
--- a/src/QABugs/QABugs_10.cxx
+++ b/src/QABugs/QABugs_10.cxx
@@ -117,7 +117,7 @@ static Standard_Integer OCC426 (Draw_Interpretor& di, Standard_Integer argc, con
anUnify.Build();
const TopoDS_Shape& aFuseUnif = anUnify.Shape();
- //Give the mass claculation of the shpae "aFuseUnif"
+ //Give the mass calculation of the shape "aFuseUnif"
GProp_GProps G;
BRepGProp::VolumeProperties(aFuseUnif, G);
di<<" \n";
@@ -744,7 +744,7 @@ static Standard_Integer OCC825 (Draw_Interpretor& di,Standard_Integer argc, cons
di << "*************************************************************\n";
di << " CUT 1 and CUT 2 gives entirely different results during\n";
- di << " mass computation and face triangulation, eventhough the\n";
+ di << " mass computation and face triangulation, even though the\n";
di << " two spheres are located more or less at the same position.\n";
di << "*************************************************************\n";
diff --git a/src/QABugs/QABugs_11.cxx b/src/QABugs/QABugs_11.cxx
index 4001d71067..6ab063d9f3 100644
--- a/src/QABugs/QABugs_11.cxx
+++ b/src/QABugs/QABugs_11.cxx
@@ -1109,7 +1109,7 @@ static Standard_Integer OCC22 (Draw_Interpretor& di, Standard_Integer argc, cons
// 4.1. Retrieve Shape
TopoDS_Shape anInitShape = DBRep::Get(argv[2]);
if(anInitShape.IsNull()) { di << "OCC22 FAULTY. Initial shape is not exist. Please verify input values \n"; return 0;}
- // 4.2 Rebuid retrieved shape
+ // 4.2 Rebuild retrieved shape
TopoDS_Shape aResultShape = aReshape->Apply(anInitShape);
// 4.3. Create result Draw shape
DBRep::Set(argv[1], aResultShape);
@@ -2096,7 +2096,7 @@ static Standard_Integer OCC5698 (Draw_Interpretor& di, Standard_Integer argc, co
GCPnts_AbscissaPoint(check_curve, need_length, 0).Parameter();
gp_Pnt check_pnt;
check_curve.D0(check_par,check_pnt);
- // check that points are coinsiding
+ // check that points are coinciding
Standard_Real error_dist = pnt.Distance(check_pnt);
if (error_dist > Precision::Confusion()) {
//std::cout.precision(3);
@@ -2614,7 +2614,7 @@ static Standard_Integer OCC7372 (Draw_Interpretor& di, Standard_Integer argc, co
Standard_CString CString1 = "BSplineCurve";
DrawTrSurf::Set(CString1,bspline1);
- // 4. Convers BSpline curve to Bezier segments
+ // 4. Converts BSpline curve to Bezier segments
Geom2dConvert_BSplineCurveToBezierCurve bc(bspline1);
// 5. Test the result of conversion
diff --git a/src/QABugs/QABugs_14.cxx b/src/QABugs/QABugs_14.cxx
index 6d40fbc5de..a72520c571 100644
--- a/src/QABugs/QABugs_14.cxx
+++ b/src/QABugs/QABugs_14.cxx
@@ -388,9 +388,9 @@ static Standard_Integer BUC60944 (Draw_Interpretor& di, Standard_Integer argc, c
TCollection_AsciiString out;
aPath->SystemName(out);
if(in == out)
- di << "The convertion is right.\n";
+ di << "The conversion is right.\n";
else
- di << "Faulty : The convertion is incorrect : " << out.ToCString() << "\n";
+ di << "Faulty : The conversion is incorrect : " << out.ToCString() << "\n";
di << out.ToCString() << "\n";
// std::cout << aPath->Trek() << " !" << std::endl;
return 0;
@@ -1030,7 +1030,7 @@ static Standard_Integer OCC16485 (Draw_Interpretor& di, Standard_Integer argc, c
return 1;
}
- // Create points with X co-ordinate from varying from 0. to 1000.
+ // Create points with X coordinate from varying from 0. to 1000.
// anc compute cumulative bounding box by adding boxes for all the
// points, enlarged on tolerance
diff --git a/src/QABugs/QABugs_19.cxx b/src/QABugs/QABugs_19.cxx
index 1c5cf01c06..5376508176 100644
--- a/src/QABugs/QABugs_19.cxx
+++ b/src/QABugs/QABugs_19.cxx
@@ -3696,7 +3696,7 @@ static Standard_Integer OCC25574 (Draw_Interpretor& theDI, Standard_Integer /*ar
{
// Iterate over rotations R(A)R(B)R(G) for each Euler angle Alpha, Beta, Gamma
// There are three ordered axes corresponding to three rotations.
- // Each rotation applyed with current angle around current axis.
+ // Each rotation applied with current angle around current axis.
for (int j=0; j < 3; j++)
{
// note that current axis index is obtained by parsing of enumeration name!
diff --git a/src/QABugs/QABugs_2.cxx b/src/QABugs/QABugs_2.cxx
index 815cbb96e5..251825206c 100644
--- a/src/QABugs/QABugs_2.cxx
+++ b/src/QABugs/QABugs_2.cxx
@@ -104,7 +104,7 @@ static Standard_Integer OCC527(Draw_Interpretor& di, Standard_Integer argc, cons
Standard_Real toler = BRep_Tool::Tolerance(aV);
double dist = pl.Distance(BRep_Tool::Pnt(aV));
if (dist > lmaxdist) lmaxdist = dist;
- // If section was built check distance beetwen vertexes and plane of the one
+ // If section was built check distance between vertexes and plane of the one
str[0] = 0;
if (dist > toler)
Sprintf(str, "Dist=%f, Toler=%f, Param=%f FAULTY\n", dist, toler, gzmax);
diff --git a/src/QABugs/QABugs_20.cxx b/src/QABugs/QABugs_20.cxx
index b0ca49f9cc..7c8391c77d 100644
--- a/src/QABugs/QABugs_20.cxx
+++ b/src/QABugs/QABugs_20.cxx
@@ -1654,7 +1654,7 @@ namespace Parab2d_Bug26747
//Focal length
Standard_Real FocalLength;
- //Coordiantes of the vertex
+ //Coordinates of the vertex
Standard_Real VertX, VertY;
//Parameter
@@ -3578,7 +3578,7 @@ static Standard_Integer OCC30990 (Draw_Interpretor& theDI, Standard_Integer theN
// after evaluation of points inside the spans before and after the knot,
// and ensure that result at the knot is exactly the same regardless
// of previous evaluation (i.e. the cache is updated as necessary).
- // Note: the points (D0) computed on different spans are slighly different
+ // Note: the points (D0) computed on different spans are slightly different
// due to rounding, which allows us to detect this situation without
// analysis of higher derivatives (which would show non-negligible difference).
Standard_Integer aNbErr = 0;
diff --git a/src/QABugs/QABugs_3.cxx b/src/QABugs/QABugs_3.cxx
index e9f7f30ad4..9250364b10 100644
--- a/src/QABugs/QABugs_3.cxx
+++ b/src/QABugs/QABugs_3.cxx
@@ -352,7 +352,7 @@ static Standard_Integer BUC60811(Draw_Interpretor& di, Standard_Integer argc, co
DBRep::Set("FP",FP);
-//step 2. offseting the surface.
+//step 2. offsetting the surface.
Handle(Geom_OffsetSurface) offsurf;
offsurf = new Geom_OffsetSurface(BZ1, -100);
BRepBuilderAPI_MakeFace bzf2( offsurf, Precision::Confusion() );
@@ -362,7 +362,7 @@ static Standard_Integer BUC60811(Draw_Interpretor& di, Standard_Integer argc, co
DBRep::Set("F2",F2);
//step 3. filleting the patch.
-//( I want to project wire of this patch on offseted surface above)
+//( I want to project wire of this patch on offsetted surface above)
BRepFilletAPI_MakeFillet2d fillet( FP );
TopExp_Explorer Ex;
Ex.Init(FP, TopAbs_VERTEX);
diff --git a/src/QADNaming/QADNaming_BasicCommands.cxx b/src/QADNaming/QADNaming_BasicCommands.cxx
index 45f1f51920..0892a06513 100644
--- a/src/QADNaming/QADNaming_BasicCommands.cxx
+++ b/src/QADNaming/QADNaming_BasicCommands.cxx
@@ -156,7 +156,7 @@ static Standard_Integer Getentry (Draw_Interpretor& di, Standard_Integer n, cons
TopoDS_Shape S = DBRep::Get(a[2]);
if (S.IsNull()) {
- di <<"Noone shape selected\n";
+ di <<"No shape selected\n";
di << 0;
return 0;
}
@@ -176,7 +176,7 @@ static Standard_Integer Getentry (Draw_Interpretor& di, Standard_Integer n, cons
//=======================================================================
//function : NamedShape
-//purpose : retrive label of Primitive or a Generated shape
+//purpose : retrieve label of Primitive or a Generated shape
//=======================================================================
static Standard_Integer NamedShape(Draw_Interpretor& di, Standard_Integer n, const char ** a)
@@ -188,7 +188,7 @@ static Standard_Integer NamedShape(Draw_Interpretor& di, Standard_Integer n, con
if (!DDF::GetDF(a[1],ND)) return 1;
TopoDS_Shape SS = DBRep::Get(a[2]);
if (SS.IsNull()) {
- di <<"Noone shape selected\n";
+ di <<"No shape selected\n";
di << 0;
return 0;
}
@@ -402,7 +402,7 @@ static Standard_Integer Collect (Draw_Interpretor& di,
//=======================================================================
//function : GetCreationEntry
-//purpose : retrive label of Primitive or a Generated shape
+//purpose : retrieve label of Primitive or a Generated shape
//=======================================================================
static Standard_Integer Getcreationentry (Draw_Interpretor& di, Standard_Integer n, const char ** a)
@@ -417,7 +417,7 @@ static Standard_Integer Getcreationentry (Draw_Interpretor& di, Standard_Integer
TopoDS_Shape SS = DBRep::Get(a[2]);
if (SS.IsNull()) {
- di <<"Noone shape selected\n";
+ di <<"No shape selected\n";
di << 0;
return 0;
}
diff --git a/src/Quantity/Quantity_Date.hxx b/src/Quantity/Quantity_Date.hxx
index 97ac924afc..7767d7b3c3 100644
--- a/src/Quantity/Quantity_Date.hxx
+++ b/src/Quantity/Quantity_Date.hxx
@@ -172,8 +172,8 @@ Standard_Boolean operator > (const Quantity_Date& anOther) const
Standard_EXPORT static Standard_Boolean IsValid (const Standard_Integer mm, const Standard_Integer dd, const Standard_Integer yy, const Standard_Integer hh, const Standard_Integer mn, const Standard_Integer ss, const Standard_Integer mis = 0, const Standard_Integer mics = 0);
//! Returns true if a year is a leap year.
- //! The leap years are divisable by 4 and not by 100 except
- //! the years divisable by 400.
+ //! The leap years are divisible by 4 and not by 100 except
+ //! the years divisible by 400.
static Standard_Boolean IsLeap (const Standard_Integer yy)
{
return ((yy % 4 == 0) && (yy % 100 != 0))
diff --git a/src/RWStepBasic/RWStepBasic_RWConversionBasedUnitAndAreaUnit.cxx b/src/RWStepBasic/RWStepBasic_RWConversionBasedUnitAndAreaUnit.cxx
index 5067bd6d45..c40a51a20b 100644
--- a/src/RWStepBasic/RWStepBasic_RWConversionBasedUnitAndAreaUnit.cxx
+++ b/src/RWStepBasic/RWStepBasic_RWConversionBasedUnitAndAreaUnit.cxx
@@ -37,7 +37,7 @@ void RWStepBasic_RWConversionBasedUnitAndAreaUnit::ReadStep(const Handle(StepDat
//data->NamedForComplex("AREA_UNIT",num0,num,ach);
if (!data->CheckNbParams(num,0,ach,"area_unit")) return;
- // --- Instance of plex componant ConversionBasedUnit ---
+ // --- Instance of plex component ConversionBasedUnit ---
num = data->NextForComplex(num);
if (!data->CheckNbParams(num,2,ach,"conversion_based_unit")) return;
Handle(TCollection_HAsciiString) aName;
diff --git a/src/RWStepBasic/RWStepBasic_RWConversionBasedUnitAndLengthUnit.cxx b/src/RWStepBasic/RWStepBasic_RWConversionBasedUnitAndLengthUnit.cxx
index 432e41b9b1..b5a075ad03 100644
--- a/src/RWStepBasic/RWStepBasic_RWConversionBasedUnitAndLengthUnit.cxx
+++ b/src/RWStepBasic/RWStepBasic_RWConversionBasedUnitAndLengthUnit.cxx
@@ -35,7 +35,7 @@ void RWStepBasic_RWConversionBasedUnitAndLengthUnit::ReadStep
Standard_Integer num = num0;
- // --- Instance of plex componant ConversionBasedUnit ---
+ // --- Instance of plex component ConversionBasedUnit ---
if (!data->CheckNbParams(num,2,ach,"conversion_based_unit")) return;
@@ -53,7 +53,7 @@ void RWStepBasic_RWConversionBasedUnitAndLengthUnit::ReadStep
num = data->NextForComplex(num);
- // --- Instance of plex componant LengthUnit ---
+ // --- Instance of plex component LengthUnit ---
if (!data->CheckNbParams(num,0,ach,"length_unit")) return;
@@ -80,7 +80,7 @@ void RWStepBasic_RWConversionBasedUnitAndLengthUnit::WriteStep
const Handle(StepBasic_ConversionBasedUnitAndLengthUnit)& ent) const
{
- // --- Instance of plex componant ConversionBasedUnit ---
+ // --- Instance of plex component ConversionBasedUnit ---
SW.StartEntity("CONVERSION_BASED_UNIT");
// --- field : name ---
@@ -90,7 +90,7 @@ void RWStepBasic_RWConversionBasedUnitAndLengthUnit::WriteStep
SW.Send(ent->ConversionFactor());
- // --- Instance of plex componant LengthUnit ---
+ // --- Instance of plex component LengthUnit ---
SW.StartEntity("LENGTH_UNIT");
diff --git a/src/RWStepBasic/RWStepBasic_RWConversionBasedUnitAndMassUnit.cxx b/src/RWStepBasic/RWStepBasic_RWConversionBasedUnitAndMassUnit.cxx
index 7fed805df6..7f25012441 100644
--- a/src/RWStepBasic/RWStepBasic_RWConversionBasedUnitAndMassUnit.cxx
+++ b/src/RWStepBasic/RWStepBasic_RWConversionBasedUnitAndMassUnit.cxx
@@ -46,7 +46,7 @@ void RWStepBasic_RWConversionBasedUnitAndMassUnit::ReadStep
Standard_Integer num = num0;
- // --- Instance of plex componant ConversionBasedUnit ---
+ // --- Instance of plex component ConversionBasedUnit ---
if (!data->CheckNbParams(num,2,ach,"conversion_based_unit")) return;
// --- field : name ---
Handle(TCollection_HAsciiString) aName;
@@ -59,7 +59,7 @@ void RWStepBasic_RWConversionBasedUnitAndMassUnit::ReadStep
num = data->NextForComplex(num);
- // --- Instance of plex componant MassUnit ---
+ // --- Instance of plex component MassUnit ---
if (!data->CheckNbParams(num,0,ach,"Mass_unit")) return;
num = data->NextForComplex(num);
@@ -85,13 +85,13 @@ void RWStepBasic_RWConversionBasedUnitAndMassUnit::WriteStep
(StepData_StepWriter& SW,
const Handle(StepBasic_ConversionBasedUnitAndMassUnit)& ent) const
{
- // --- Instance of plex componant ConversionBasedUnit ---
+ // --- Instance of plex component ConversionBasedUnit ---
SW.StartEntity("CONVERSION_BASED_UNIT");
// --- field : name ---
SW.Send(ent->Name());
// --- field : conversionFactor ---
SW.Send(ent->ConversionFactor());
- // --- Instance of plex componant MassUnit ---
+ // --- Instance of plex component MassUnit ---
SW.StartEntity("Mass_UNIT");
// --- Instance of common supertype NamedUnit ---
SW.StartEntity("NAMED_UNIT");
diff --git a/src/RWStepBasic/RWStepBasic_RWConversionBasedUnitAndPlaneAngleUnit.cxx b/src/RWStepBasic/RWStepBasic_RWConversionBasedUnitAndPlaneAngleUnit.cxx
index 1647342ffc..7d89770e83 100644
--- a/src/RWStepBasic/RWStepBasic_RWConversionBasedUnitAndPlaneAngleUnit.cxx
+++ b/src/RWStepBasic/RWStepBasic_RWConversionBasedUnitAndPlaneAngleUnit.cxx
@@ -63,7 +63,7 @@ void RWStepBasic_RWConversionBasedUnitAndPlaneAngleUnit::WriteStep
const Handle(StepBasic_ConversionBasedUnitAndPlaneAngleUnit)& ent) const
{
- // --- Instance of plex componant ConversionBasedUnit ---
+ // --- Instance of plex component ConversionBasedUnit ---
SW.StartEntity("CONVERSION_BASED_UNIT");
// --- field : name ---
@@ -80,7 +80,7 @@ void RWStepBasic_RWConversionBasedUnitAndPlaneAngleUnit::WriteStep
SW.Send(ent->Dimensions());
- // --- Instance of plex componant PlaneAngleUnit ---
+ // --- Instance of plex component PlaneAngleUnit ---
SW.StartEntity("PLANE_ANGLE_UNIT");
}
diff --git a/src/RWStepBasic/RWStepBasic_RWConversionBasedUnitAndRatioUnit.cxx b/src/RWStepBasic/RWStepBasic_RWConversionBasedUnitAndRatioUnit.cxx
index 563b3f66b6..5674970a90 100644
--- a/src/RWStepBasic/RWStepBasic_RWConversionBasedUnitAndRatioUnit.cxx
+++ b/src/RWStepBasic/RWStepBasic_RWConversionBasedUnitAndRatioUnit.cxx
@@ -35,7 +35,7 @@ void RWStepBasic_RWConversionBasedUnitAndRatioUnit::ReadStep
Standard_Integer num = num0;
- // --- Instance of plex componant ConversionBasedUnit ---
+ // --- Instance of plex component ConversionBasedUnit ---
if (!data->CheckNbParams(num,2,ach,"conversion_based_unit")) return;
@@ -65,7 +65,7 @@ void RWStepBasic_RWConversionBasedUnitAndRatioUnit::ReadStep
num = data->NextForComplex(num);
- // --- Instance of plex componant RatioUnit ---
+ // --- Instance of plex component RatioUnit ---
if (!data->CheckNbParams(num,0,ach,"ratio_unit")) return;
@@ -80,7 +80,7 @@ void RWStepBasic_RWConversionBasedUnitAndRatioUnit::WriteStep
const Handle(StepBasic_ConversionBasedUnitAndRatioUnit)& ent) const
{
- // --- Instance of plex componant ConversionBasedUnit ---
+ // --- Instance of plex component ConversionBasedUnit ---
SW.StartEntity("CONVERSION_BASED_UNIT");
// --- field : name ---
@@ -90,7 +90,7 @@ void RWStepBasic_RWConversionBasedUnitAndRatioUnit::WriteStep
SW.Send(ent->ConversionFactor());
- // --- Instance of plex componant RatioUnit ---
+ // --- Instance of plex component RatioUnit ---
SW.StartEntity("RATIO_UNIT");
diff --git a/src/RWStepBasic/RWStepBasic_RWConversionBasedUnitAndSolidAngleUnit.cxx b/src/RWStepBasic/RWStepBasic_RWConversionBasedUnitAndSolidAngleUnit.cxx
index 0dbb26656e..d6f0614018 100644
--- a/src/RWStepBasic/RWStepBasic_RWConversionBasedUnitAndSolidAngleUnit.cxx
+++ b/src/RWStepBasic/RWStepBasic_RWConversionBasedUnitAndSolidAngleUnit.cxx
@@ -35,7 +35,7 @@ void RWStepBasic_RWConversionBasedUnitAndSolidAngleUnit::ReadStep
Standard_Integer num = num0;
- // --- Instance of plex componant ConversionBasedUnit ---
+ // --- Instance of plex component ConversionBasedUnit ---
if (!data->CheckNbParams(num,2,ach,"conversion_based_unit")) return;
@@ -65,7 +65,7 @@ void RWStepBasic_RWConversionBasedUnitAndSolidAngleUnit::ReadStep
num = data->NextForComplex(num);
- // --- Instance of plex componant SolidAngleUnit ---
+ // --- Instance of plex component SolidAngleUnit ---
if (!data->CheckNbParams(num,0,ach,"solid_angle_unit")) return;
@@ -80,7 +80,7 @@ void RWStepBasic_RWConversionBasedUnitAndSolidAngleUnit::WriteStep
const Handle(StepBasic_ConversionBasedUnitAndSolidAngleUnit)& ent) const
{
- // --- Instance of plex componant ConversionBasedUnit ---
+ // --- Instance of plex component ConversionBasedUnit ---
SW.StartEntity("CONVERSION_BASED_UNIT");
// --- field : name ---
@@ -97,7 +97,7 @@ void RWStepBasic_RWConversionBasedUnitAndSolidAngleUnit::WriteStep
SW.Send(ent->Dimensions());
- // --- Instance of plex componant SolidAngleUnit ---
+ // --- Instance of plex component SolidAngleUnit ---
SW.StartEntity("SOLID_ANGLE_UNIT");
}
diff --git a/src/RWStepBasic/RWStepBasic_RWConversionBasedUnitAndTimeUnit.cxx b/src/RWStepBasic/RWStepBasic_RWConversionBasedUnitAndTimeUnit.cxx
index c7dd2d5c2e..4557f31f07 100644
--- a/src/RWStepBasic/RWStepBasic_RWConversionBasedUnitAndTimeUnit.cxx
+++ b/src/RWStepBasic/RWStepBasic_RWConversionBasedUnitAndTimeUnit.cxx
@@ -35,7 +35,7 @@ void RWStepBasic_RWConversionBasedUnitAndTimeUnit::ReadStep
Standard_Integer num = num0;
- // --- Instance of plex componant ConversionBasedUnit ---
+ // --- Instance of plex component ConversionBasedUnit ---
if (!data->CheckNbParams(num,2,ach,"conversion_based_unit")) return;
@@ -65,7 +65,7 @@ void RWStepBasic_RWConversionBasedUnitAndTimeUnit::ReadStep
num = data->NextForComplex(num);
- // --- Instance of plex componant TimeUnit ---
+ // --- Instance of plex component TimeUnit ---
if (!data->CheckNbParams(num,0,ach,"time_unit")) return;
@@ -80,7 +80,7 @@ void RWStepBasic_RWConversionBasedUnitAndTimeUnit::WriteStep
const Handle(StepBasic_ConversionBasedUnitAndTimeUnit)& ent) const
{
- // --- Instance of plex componant ConversionBasedUnit ---
+ // --- Instance of plex component ConversionBasedUnit ---
SW.StartEntity("CONVERSION_BASED_UNIT");
// --- field : name ---
@@ -90,7 +90,7 @@ void RWStepBasic_RWConversionBasedUnitAndTimeUnit::WriteStep
SW.Send(ent->ConversionFactor());
- // --- Instance of plex componant TimeUnit ---
+ // --- Instance of plex component TimeUnit ---
SW.StartEntity("TIME_UNIT");
diff --git a/src/RWStepBasic/RWStepBasic_RWConversionBasedUnitAndVolumeUnit.cxx b/src/RWStepBasic/RWStepBasic_RWConversionBasedUnitAndVolumeUnit.cxx
index 373b5076ff..9892ba56d6 100644
--- a/src/RWStepBasic/RWStepBasic_RWConversionBasedUnitAndVolumeUnit.cxx
+++ b/src/RWStepBasic/RWStepBasic_RWConversionBasedUnitAndVolumeUnit.cxx
@@ -34,7 +34,7 @@ void RWStepBasic_RWConversionBasedUnitAndVolumeUnit::ReadStep(const Handle(StepD
const Handle(StepBasic_ConversionBasedUnitAndVolumeUnit)& ent) const
{
Standard_Integer num = num0;
- // --- Instance of plex componant ConversionBasedUnit ---
+ // --- Instance of plex component ConversionBasedUnit ---
if (!data->CheckNbParams(num,2,ach,"conversion_based_unit")) return;
Handle(TCollection_HAsciiString) aName;
data->ReadString (num,1,"name",ach,aName);
diff --git a/src/RWStepBasic/RWStepBasic_RWSiUnitAndLengthUnit.cxx b/src/RWStepBasic/RWStepBasic_RWSiUnitAndLengthUnit.cxx
index ba0640d317..cb9ea1b17c 100644
--- a/src/RWStepBasic/RWStepBasic_RWSiUnitAndLengthUnit.cxx
+++ b/src/RWStepBasic/RWStepBasic_RWSiUnitAndLengthUnit.cxx
@@ -37,7 +37,7 @@ void RWStepBasic_RWSiUnitAndLengthUnit::ReadStep(const Handle(StepData_StepReade
Standard_Integer num = 0; // num0;
Standard_Boolean sorted = data->NamedForComplex("LENGTH_UNIT", "LNGUNT",num0,num,ach);
- // --- Instance of plex componant LengthUnit ---
+ // --- Instance of plex component LengthUnit ---
if (!data->CheckNbParams(num,0,ach,"length_unit")) return;
if (!sorted) num = 0; //pdn unsorted case
@@ -54,7 +54,7 @@ void RWStepBasic_RWSiUnitAndLengthUnit::ReadStep(const Handle(StepData_StepReade
if (!sorted) num = 0; //pdn unsorted case
data->NamedForComplex("SI_UNIT", "SUNT",num0,num,ach);
- // --- Instance of plex componant SiUnit ---
+ // --- Instance of plex component SiUnit ---
if (!data->CheckNbParams(num,2,ach,"si_unit")) return;
// --- field : prefix ---
@@ -99,7 +99,7 @@ void RWStepBasic_RWSiUnitAndLengthUnit::WriteStep(StepData_StepWriter& SW,
const Handle(StepBasic_SiUnitAndLengthUnit)& ent) const
{
- // --- Instance of plex componant LengthUnit ---
+ // --- Instance of plex component LengthUnit ---
SW.StartEntity("LENGTH_UNIT");
// --- Instance of common supertype NamedUnit ---
@@ -109,7 +109,7 @@ void RWStepBasic_RWSiUnitAndLengthUnit::WriteStep(StepData_StepWriter& SW,
// --- redefined field ---
SW.SendDerived();
- // --- Instance of plex componant SiUnit ---
+ // --- Instance of plex component SiUnit ---
SW.StartEntity("SI_UNIT");
// --- field : prefix ---
diff --git a/src/RWStepBasic/RWStepBasic_RWSiUnitAndMassUnit.cxx b/src/RWStepBasic/RWStepBasic_RWSiUnitAndMassUnit.cxx
index dcc95f781e..483ec33fa5 100644
--- a/src/RWStepBasic/RWStepBasic_RWSiUnitAndMassUnit.cxx
+++ b/src/RWStepBasic/RWStepBasic_RWSiUnitAndMassUnit.cxx
@@ -46,7 +46,7 @@ void RWStepBasic_RWSiUnitAndMassUnit::ReadStep(const Handle(StepData_StepReaderD
Standard_Integer num = 0; // num0;
Standard_Boolean sorted = data->NamedForComplex("MASS_UNIT","MSSUNT",num0,num,ach);
- // --- Instance of plex componant LengthUnit ---
+ // --- Instance of plex component LengthUnit ---
if (!data->CheckNbParams(num,0,ach,"mass_unit")) return;
if (!sorted) num = 0; //pdn unsorted case
@@ -63,7 +63,7 @@ void RWStepBasic_RWSiUnitAndMassUnit::ReadStep(const Handle(StepData_StepReaderD
if (!sorted) num = 0; //pdn unsorted case
data->NamedForComplex("SI_UNIT", "SUNT",num0,num,ach);
- // --- Instance of plex componant SiUnit ---
+ // --- Instance of plex component SiUnit ---
if (!data->CheckNbParams(num,2,ach,"si_unit")) return;
// --- field : prefix ---
@@ -108,7 +108,7 @@ void RWStepBasic_RWSiUnitAndMassUnit::WriteStep(StepData_StepWriter& SW,
const Handle(StepBasic_SiUnitAndMassUnit)& ent) const
{
- // --- Instance of plex componant LengthUnit ---
+ // --- Instance of plex component LengthUnit ---
SW.StartEntity("MASS_UNIT");
// --- Instance of common supertype NamedUnit ---
@@ -118,7 +118,7 @@ void RWStepBasic_RWSiUnitAndMassUnit::WriteStep(StepData_StepWriter& SW,
// --- redefined field ---
SW.SendDerived();
- // --- Instance of plex componant SiUnit ---
+ // --- Instance of plex component SiUnit ---
SW.StartEntity("SI_UNIT");
// --- field : prefix ---
diff --git a/src/RWStepBasic/RWStepBasic_RWSiUnitAndPlaneAngleUnit.cxx b/src/RWStepBasic/RWStepBasic_RWSiUnitAndPlaneAngleUnit.cxx
index 5f84c02a45..0515370365 100644
--- a/src/RWStepBasic/RWStepBasic_RWSiUnitAndPlaneAngleUnit.cxx
+++ b/src/RWStepBasic/RWStepBasic_RWSiUnitAndPlaneAngleUnit.cxx
@@ -44,11 +44,11 @@ void RWStepBasic_RWSiUnitAndPlaneAngleUnit::ReadStep(const Handle(StepData_StepR
data->CheckDerived(num,1,"dimensions",ach,Standard_False);
num = data->NextForComplex(num);
- // --- Instance of plex componant PlaneAngleUnit ---
+ // --- Instance of plex component PlaneAngleUnit ---
if (!data->CheckNbParams(num,0,ach,"plane_angle_unit")) return;
num = data->NextForComplex(num);
- // --- Instance of plex componant SiUnit ---
+ // --- Instance of plex component SiUnit ---
if (!data->CheckNbParams(num,2,ach,"si_unit")) return;
// --- field : prefix ---
@@ -99,10 +99,10 @@ void RWStepBasic_RWSiUnitAndPlaneAngleUnit::WriteStep(StepData_StepWriter& SW,
// --- redefined field ---
SW.SendDerived();
- // --- Instance of plex componant PlaneAngleUnit ---
+ // --- Instance of plex component PlaneAngleUnit ---
SW.StartEntity("PLANE_ANGLE_UNIT");
- // --- Instance of plex componant SiUnit ---
+ // --- Instance of plex component SiUnit ---
SW.StartEntity("SI_UNIT");
// --- field : prefix ---
diff --git a/src/RWStepBasic/RWStepBasic_RWSiUnitAndRatioUnit.cxx b/src/RWStepBasic/RWStepBasic_RWSiUnitAndRatioUnit.cxx
index d578c48d93..5353006436 100644
--- a/src/RWStepBasic/RWStepBasic_RWSiUnitAndRatioUnit.cxx
+++ b/src/RWStepBasic/RWStepBasic_RWSiUnitAndRatioUnit.cxx
@@ -42,11 +42,11 @@ void RWStepBasic_RWSiUnitAndRatioUnit::ReadStep (const Handle(StepData_StepReade
//szv#4:S4163:12Mar99 `Standard_Boolean stat1 =` not needed
data->CheckDerived(num,1,"dimensions",ach,Standard_False);
- // --- Instance of plex componant RatioUnit ---
+ // --- Instance of plex component RatioUnit ---
num = data->NextForComplex(num);
if (!data->CheckNbParams(num,0,ach,"ratio_unit")) return;
- // --- Instance of plex componant SiUnit ---
+ // --- Instance of plex component SiUnit ---
num = data->NextForComplex(num);
if (!data->CheckNbParams(num,2,ach,"si_unit")) return;
@@ -92,7 +92,7 @@ void RWStepBasic_RWSiUnitAndRatioUnit::WriteStep(StepData_StepWriter& SW,
const Handle(StepBasic_SiUnitAndRatioUnit)& ent) const
{
- // --- Instance of plex componant RatioUnit ---
+ // --- Instance of plex component RatioUnit ---
SW.StartEntity("RATIO_UNIT");
// --- Instance of common supertype NamedUnit ---
@@ -101,7 +101,7 @@ void RWStepBasic_RWSiUnitAndRatioUnit::WriteStep(StepData_StepWriter& SW,
// --- redefined field ---
SW.SendDerived();
- // --- Instance of plex componant SiUnit ---
+ // --- Instance of plex component SiUnit ---
SW.StartEntity("SI_UNIT");
// --- field : prefix ---
diff --git a/src/RWStepBasic/RWStepBasic_RWSiUnitAndSolidAngleUnit.cxx b/src/RWStepBasic/RWStepBasic_RWSiUnitAndSolidAngleUnit.cxx
index 15180e89d5..9dbf560a8a 100644
--- a/src/RWStepBasic/RWStepBasic_RWSiUnitAndSolidAngleUnit.cxx
+++ b/src/RWStepBasic/RWStepBasic_RWSiUnitAndSolidAngleUnit.cxx
@@ -43,7 +43,7 @@ void RWStepBasic_RWSiUnitAndSolidAngleUnit::ReadStep (const Handle(StepData_Step
//szv#4:S4163:12Mar99 `Standard_Boolean stat1 =` not needed
data->CheckDerived(num,1,"dimensions",ach,Standard_False);
- // --- Instance of plex componant SiUnit ---
+ // --- Instance of plex component SiUnit ---
num = data->NextForComplex(num);
if (!data->CheckNbParams(num,2,ach,"si_unit")) return;
@@ -80,7 +80,7 @@ void RWStepBasic_RWSiUnitAndSolidAngleUnit::ReadStep (const Handle(StepData_Step
return;
}
- // --- Instance of plex componant SolidAngleUnit ---
+ // --- Instance of plex component SolidAngleUnit ---
num = data->NextForComplex(num);
if (!data->CheckNbParams(num,0,ach,"solid_angle_unit")) return;
@@ -99,7 +99,7 @@ void RWStepBasic_RWSiUnitAndSolidAngleUnit::WriteStep (StepData_StepWriter& SW,
// --- redefined field ---
SW.SendDerived();
- // --- Instance of plex componant SiUnit ---
+ // --- Instance of plex component SiUnit ---
SW.StartEntity("SI_UNIT");
// --- field : prefix ---
@@ -113,7 +113,7 @@ void RWStepBasic_RWSiUnitAndSolidAngleUnit::WriteStep (StepData_StepWriter& SW,
// --- field : name ---
SW.SendEnum(writer.EncodeName(ent->Name()));
- // --- Instance of plex componant SolidAngleUnit ---
+ // --- Instance of plex component SolidAngleUnit ---
SW.StartEntity("SOLID_ANGLE_UNIT");
}
diff --git a/src/RWStepBasic/RWStepBasic_RWSiUnitAndThermodynamicTemperatureUnit.cxx b/src/RWStepBasic/RWStepBasic_RWSiUnitAndThermodynamicTemperatureUnit.cxx
index 21d18e5361..0430115e8d 100644
--- a/src/RWStepBasic/RWStepBasic_RWSiUnitAndThermodynamicTemperatureUnit.cxx
+++ b/src/RWStepBasic/RWStepBasic_RWSiUnitAndThermodynamicTemperatureUnit.cxx
@@ -54,7 +54,7 @@ void RWStepBasic_RWSiUnitAndThermodynamicTemperatureUnit::ReadStep
//szv#4:S4163:12Mar99 `Standard_Boolean stat1 =` not needed
data->CheckDerived(num,1,"dimensions",ach,Standard_False);
- // --- Instance of plex componant SiUnit ---
+ // --- Instance of plex component SiUnit ---
num = data->NextForComplex(num);
if (!data->CheckNbParams(num,2,ach,"si_unit")) return;
@@ -91,7 +91,7 @@ void RWStepBasic_RWSiUnitAndThermodynamicTemperatureUnit::ReadStep
return;
}
- // --- Instance of plex componant SolidAngleUnit ---
+ // --- Instance of plex component SolidAngleUnit ---
num = data->NextForComplex(num);
if (!data->CheckNbParams(num,0,ach,"thermodynamic_temperature_unit")) return;
@@ -116,7 +116,7 @@ void RWStepBasic_RWSiUnitAndThermodynamicTemperatureUnit::WriteStep
// --- redefined field ---
SW.SendDerived();
- // --- Instance of plex componant SiUnit ---
+ // --- Instance of plex component SiUnit ---
SW.StartEntity("SI_UNIT");
// --- field : prefix ---
@@ -130,7 +130,7 @@ void RWStepBasic_RWSiUnitAndThermodynamicTemperatureUnit::WriteStep
// --- field : name ---
SW.SendEnum(writer.EncodeName(ent->Name()));
- // --- Instance of plex componant SolidAngleUnit ---
+ // --- Instance of plex component SolidAngleUnit ---
SW.StartEntity("THERMODYNAMIC_TEMPERATURE_UNIT");
}
diff --git a/src/RWStepBasic/RWStepBasic_RWSiUnitAndTimeUnit.cxx b/src/RWStepBasic/RWStepBasic_RWSiUnitAndTimeUnit.cxx
index 8139a97b26..4c363d229c 100644
--- a/src/RWStepBasic/RWStepBasic_RWSiUnitAndTimeUnit.cxx
+++ b/src/RWStepBasic/RWStepBasic_RWSiUnitAndTimeUnit.cxx
@@ -53,7 +53,7 @@ void RWStepBasic_RWSiUnitAndTimeUnit::ReadStep (const Handle(StepData_StepReader
//szv#4:S4163:12Mar99 `Standard_Boolean stat1 =`
data->CheckDerived(num,1,"dimensions",ach,Standard_False);
- // --- Instance of plex componant SiUnit ---
+ // --- Instance of plex component SiUnit ---
num = data->NextForComplex(num);
if (!data->CheckNbParams(num,2,ach,"si_unit")) return;
@@ -90,7 +90,7 @@ void RWStepBasic_RWSiUnitAndTimeUnit::ReadStep (const Handle(StepData_StepReader
return;
}
- // --- Instance of plex componant TimeUnit ---
+ // --- Instance of plex component TimeUnit ---
num = data->NextForComplex(num);
if (!data->CheckNbParams(num,0,ach,"time_unit")) return;
@@ -108,7 +108,7 @@ void RWStepBasic_RWSiUnitAndTimeUnit::WriteStep (StepData_StepWriter& SW,
const Handle(StepBasic_SiUnitAndTimeUnit)& ent) const
{
- // --- Instance of plex componant TimeUnit ---
+ // --- Instance of plex component TimeUnit ---
//SW.StartEntity("TIME_UNIT");
// --- Instance of common supertype NamedUnit ---
@@ -118,7 +118,7 @@ void RWStepBasic_RWSiUnitAndTimeUnit::WriteStep (StepData_StepWriter& SW,
// --- redefined field ---
SW.SendDerived();
- // --- Instance of plex componant SiUnit ---
+ // --- Instance of plex component SiUnit ---
SW.StartEntity("SI_UNIT");
// --- field : prefix ---
@@ -132,7 +132,7 @@ void RWStepBasic_RWSiUnitAndTimeUnit::WriteStep (StepData_StepWriter& SW,
// --- field : name ---
SW.SendEnum(writer.EncodeName(ent->Name()));
- // --- Instance of plex componant TimeUnit ---
+ // --- Instance of plex component TimeUnit ---
SW.StartEntity("TIME_UNIT");
}
diff --git a/src/RWStepGeom/RWStepGeom_RWBSplineCurveWithKnotsAndRationalBSplineCurve.cxx b/src/RWStepGeom/RWStepGeom_RWBSplineCurveWithKnotsAndRationalBSplineCurve.cxx
index f38d385d67..3335d0ec1f 100644
--- a/src/RWStepGeom/RWStepGeom_RWBSplineCurveWithKnotsAndRationalBSplineCurve.cxx
+++ b/src/RWStepGeom/RWStepGeom_RWBSplineCurveWithKnotsAndRationalBSplineCurve.cxx
@@ -123,7 +123,7 @@ void RWStepGeom_RWBSplineCurveWithKnotsAndRationalBSplineCurve::ReadStep
// num = 0; //gka TRJ9
data->NamedForComplex("B_SPLINE_CURVE_WITH_KNOTS", "BSCWK",num0,num,ach);
- // --- Instance of plex componant BSplineCurveWithKnots ---
+ // --- Instance of plex component BSplineCurveWithKnots ---
if (!data->CheckNbParams(num,3,ach,"b_spline_curve_with_knots")) return;
@@ -185,7 +185,7 @@ void RWStepGeom_RWBSplineCurveWithKnotsAndRationalBSplineCurve::ReadStep
//num = 0;
data->NamedForComplex("RATIONAL_B_SPLINE_CURVE", "RBSC",num0,num,ach);
- // --- Instance of plex componant RationalBSplineCurve ---
+ // --- Instance of plex component RationalBSplineCurve ---
if (!data->CheckNbParams(num,1,ach,"rational_b_spline_curve")) return;
@@ -209,7 +209,7 @@ void RWStepGeom_RWBSplineCurveWithKnotsAndRationalBSplineCurve::ReadStep
//num = 0;
data->NamedForComplex("REPRESENTATION_ITEM", "RPRITM",num0,num,ach);
- // --- Instance of plex componant RepresentationItem ---
+ // --- Instance of plex component RepresentationItem ---
if (!data->CheckNbParams(num,1,ach,"representation_item")) return;
@@ -230,7 +230,7 @@ void RWStepGeom_RWBSplineCurveWithKnotsAndRationalBSplineCurve::WriteStep
const Handle(StepGeom_BSplineCurveWithKnotsAndRationalBSplineCurve)& ent) const
{
- // --- Instance of plex componant BoundedCurve ---
+ // --- Instance of plex component BoundedCurve ---
SW.StartEntity("BOUNDED_CURVE");
@@ -264,7 +264,7 @@ void RWStepGeom_RWBSplineCurveWithKnotsAndRationalBSplineCurve::WriteStep
SW.SendLogical(ent->SelfIntersect());
- // --- Instance of plex componant BSplineCurveWithKnots ---
+ // --- Instance of plex component BSplineCurveWithKnots ---
SW.StartEntity("B_SPLINE_CURVE_WITH_KNOTS");
// --- field : knotMultiplicities ---
@@ -290,15 +290,15 @@ void RWStepGeom_RWBSplineCurveWithKnotsAndRationalBSplineCurve::WriteStep
case StepGeom_ktUnspecified : SW.SendEnum (ktUnspecified); break;
}
- // --- Instance of plex componant Curve ---
+ // --- Instance of plex component Curve ---
SW.StartEntity("CURVE");
- // --- Instance of plex componant GeometricRepresentationItem ---
+ // --- Instance of plex component GeometricRepresentationItem ---
SW.StartEntity("GEOMETRIC_REPRESENTATION_ITEM");
- // --- Instance of plex componant RationalBSplineCurve ---
+ // --- Instance of plex component RationalBSplineCurve ---
SW.StartEntity("RATIONAL_B_SPLINE_CURVE");
// --- field : weightsData ---
@@ -309,7 +309,7 @@ void RWStepGeom_RWBSplineCurveWithKnotsAndRationalBSplineCurve::WriteStep
}
SW.CloseSub();
- // --- Instance of plex componant RepresentationItem ---
+ // --- Instance of plex component RepresentationItem ---
SW.StartEntity("REPRESENTATION_ITEM");
// --- field : name ---
diff --git a/src/RWStepGeom/RWStepGeom_RWBSplineSurfaceWithKnotsAndRationalBSplineSurface.cxx b/src/RWStepGeom/RWStepGeom_RWBSplineSurfaceWithKnotsAndRationalBSplineSurface.cxx
index b1556526fa..670c034a72 100644
--- a/src/RWStepGeom/RWStepGeom_RWBSplineSurfaceWithKnotsAndRationalBSplineSurface.cxx
+++ b/src/RWStepGeom/RWStepGeom_RWBSplineSurfaceWithKnotsAndRationalBSplineSurface.cxx
@@ -147,7 +147,7 @@ void RWStepGeom_RWBSplineSurfaceWithKnotsAndRationalBSplineSurface::ReadStep
// num = data->NextForComplex(num);
data->NamedForComplex("B_SPLINE_SURFACE_WITH_KNOTS", "BSSWK",num0,num,ach);
- // --- Instance of plex componant BSplineSurfaceWithKnots ---
+ // --- Instance of plex component BSplineSurfaceWithKnots ---
if (!data->CheckNbParams(num,5,ach,"b_spline_surface_with_knots")) return;
@@ -230,7 +230,7 @@ void RWStepGeom_RWBSplineSurfaceWithKnotsAndRationalBSplineSurface::ReadStep
// num = data->NextForComplex(num);
data->NamedForComplex("RATIONAL_B_SPLINE_SURFACE", "RBSS",num0,num,ach);
- // --- Instance of plex componant RationalBSplineSurface ---
+ // --- Instance of plex component RationalBSplineSurface ---
if (!data->CheckNbParams(num,1,ach,"rational_b_spline_surface")) return;
@@ -259,7 +259,7 @@ void RWStepGeom_RWBSplineSurfaceWithKnotsAndRationalBSplineSurface::ReadStep
// num = data->NextForComplex(num);
data->NamedForComplex("REPRESENTATION_ITEM", "RPRITM",num0,num,ach);
- // --- Instance of plex componant RepresentationItem ---
+ // --- Instance of plex component RepresentationItem ---
if (!data->CheckNbParams(num,1,ach,"representation_item")) return;
@@ -283,7 +283,7 @@ void RWStepGeom_RWBSplineSurfaceWithKnotsAndRationalBSplineSurface::WriteStep
const Handle(StepGeom_BSplineSurfaceWithKnotsAndRationalBSplineSurface)& ent) const
{
- // --- Instance of plex componant BoundedSurface ---
+ // --- Instance of plex component BoundedSurface ---
SW.StartEntity("BOUNDED_SURFACE");
@@ -334,7 +334,7 @@ void RWStepGeom_RWBSplineSurfaceWithKnotsAndRationalBSplineSurface::WriteStep
SW.SendLogical(ent->SelfIntersect());
- // --- Instance of plex componant BSplineSurfaceWithKnots ---
+ // --- Instance of plex component BSplineSurfaceWithKnots ---
SW.StartEntity("B_SPLINE_SURFACE_WITH_KNOTS");
// --- field : uMultiplicities ---
@@ -374,11 +374,11 @@ void RWStepGeom_RWBSplineSurfaceWithKnotsAndRationalBSplineSurface::WriteStep
case StepGeom_ktUnspecified : SW.SendEnum (ktUnspecified); break;
}
- // --- Instance of plex componant GeometricRepresentationItem ---
+ // --- Instance of plex component GeometricRepresentationItem ---
SW.StartEntity("GEOMETRIC_REPRESENTATION_ITEM");
- // --- Instance of plex componant RationalBSplineSurface ---
+ // --- Instance of plex component RationalBSplineSurface ---
SW.StartEntity("RATIONAL_B_SPLINE_SURFACE");
// --- field : weightsData ---
@@ -395,14 +395,14 @@ void RWStepGeom_RWBSplineSurfaceWithKnotsAndRationalBSplineSurface::WriteStep
}
SW.CloseSub();
- // --- Instance of plex componant RepresentationItem ---
+ // --- Instance of plex component RepresentationItem ---
SW.StartEntity("REPRESENTATION_ITEM");
// --- field : name ---
SW.Send(ent->Name());
- // --- Instance of plex componant Surface ---
+ // --- Instance of plex component Surface ---
SW.StartEntity("SURFACE");
}
diff --git a/src/RWStepGeom/RWStepGeom_RWBezierCurveAndRationalBSplineCurve.cxx b/src/RWStepGeom/RWStepGeom_RWBezierCurveAndRationalBSplineCurve.cxx
index a2d0584ce7..1ae4bac3b5 100644
--- a/src/RWStepGeom/RWStepGeom_RWBezierCurveAndRationalBSplineCurve.cxx
+++ b/src/RWStepGeom/RWStepGeom_RWBezierCurveAndRationalBSplineCurve.cxx
@@ -46,13 +46,13 @@ void RWStepGeom_RWBezierCurveAndRationalBSplineCurve::ReadStep
Standard_Integer num = num0;
- // --- Instance of plex componant BezierCurve ---
+ // --- Instance of plex component BezierCurve ---
if (!data->CheckNbParams(num,0,ach,"bezier_curve")) return;
num = data->NextForComplex(num);
- // --- Instance of plex componant BoundedCurve ---
+ // --- Instance of plex component BoundedCurve ---
if (!data->CheckNbParams(num,0,ach,"bounded_curve")) return;
@@ -114,19 +114,19 @@ void RWStepGeom_RWBezierCurveAndRationalBSplineCurve::ReadStep
num = data->NextForComplex(num);
- // --- Instance of plex componant Curve ---
+ // --- Instance of plex component Curve ---
if (!data->CheckNbParams(num,0,ach,"curve")) return;
num = data->NextForComplex(num);
- // --- Instance of plex componant GeometricRepresentationItem ---
+ // --- Instance of plex component GeometricRepresentationItem ---
if (!data->CheckNbParams(num,0,ach,"geometric_representation_item")) return;
num = data->NextForComplex(num);
- // --- Instance of plex componant RationalBSplineCurve ---
+ // --- Instance of plex component RationalBSplineCurve ---
if (!data->CheckNbParams(num,1,ach,"rational_b_spline_curve")) return;
@@ -147,7 +147,7 @@ void RWStepGeom_RWBezierCurveAndRationalBSplineCurve::ReadStep
num = data->NextForComplex(num);
- // --- Instance of plex componant RepresentationItem ---
+ // --- Instance of plex component RepresentationItem ---
if (!data->CheckNbParams(num,1,ach,"representation_item")) return;
@@ -168,11 +168,11 @@ void RWStepGeom_RWBezierCurveAndRationalBSplineCurve::WriteStep
const Handle(StepGeom_BezierCurveAndRationalBSplineCurve)& ent) const
{
- // --- Instance of plex componant BezierCurve ---
+ // --- Instance of plex component BezierCurve ---
SW.StartEntity("BEZIER_CURVE");
- // --- Instance of plex componant BoundedCurve ---
+ // --- Instance of plex component BoundedCurve ---
SW.StartEntity("BOUNDED_CURVE");
@@ -206,15 +206,15 @@ void RWStepGeom_RWBezierCurveAndRationalBSplineCurve::WriteStep
SW.SendLogical(ent->SelfIntersect());
- // --- Instance of plex componant Curve ---
+ // --- Instance of plex component Curve ---
SW.StartEntity("CURVE");
- // --- Instance of plex componant GeometricRepresentationItem ---
+ // --- Instance of plex component GeometricRepresentationItem ---
SW.StartEntity("GEOMETRIC_REPRESENTATION_ITEM");
- // --- Instance of plex componant RationalBSplineCurve ---
+ // --- Instance of plex component RationalBSplineCurve ---
SW.StartEntity("RATIONAL_B_SPLINE_CURVE");
// --- field : weightsData ---
@@ -225,7 +225,7 @@ void RWStepGeom_RWBezierCurveAndRationalBSplineCurve::WriteStep
}
SW.CloseSub();
- // --- Instance of plex componant RepresentationItem ---
+ // --- Instance of plex component RepresentationItem ---
SW.StartEntity("REPRESENTATION_ITEM");
// --- field : name ---
diff --git a/src/RWStepGeom/RWStepGeom_RWBezierSurfaceAndRationalBSplineSurface.cxx b/src/RWStepGeom/RWStepGeom_RWBezierSurfaceAndRationalBSplineSurface.cxx
index 9483eca589..9a7369dc27 100644
--- a/src/RWStepGeom/RWStepGeom_RWBezierSurfaceAndRationalBSplineSurface.cxx
+++ b/src/RWStepGeom/RWStepGeom_RWBezierSurfaceAndRationalBSplineSurface.cxx
@@ -51,13 +51,13 @@ void RWStepGeom_RWBezierSurfaceAndRationalBSplineSurface::ReadStep
Standard_Integer num = num0;
- // --- Instance of plex componant BezierSurface ---
+ // --- Instance of plex component BezierSurface ---
if (!data->CheckNbParams(num,0,ach,"bezier_surface")) return;
num = data->NextForComplex(num);
- // --- Instance of plex componant BoundedSurface ---
+ // --- Instance of plex component BoundedSurface ---
if (!data->CheckNbParams(num,0,ach,"bounded_surface")) return;
@@ -142,13 +142,13 @@ void RWStepGeom_RWBezierSurfaceAndRationalBSplineSurface::ReadStep
num = data->NextForComplex(num);
- // --- Instance of plex componant GeometricRepresentationItem ---
+ // --- Instance of plex component GeometricRepresentationItem ---
if (!data->CheckNbParams(num,0,ach,"geometric_representation_item")) return;
num = data->NextForComplex(num);
- // --- Instance of plex componant RationalBSplineSurface ---
+ // --- Instance of plex component RationalBSplineSurface ---
if (!data->CheckNbParams(num,1,ach,"rational_b_spline_surface")) return;
@@ -175,7 +175,7 @@ void RWStepGeom_RWBezierSurfaceAndRationalBSplineSurface::ReadStep
num = data->NextForComplex(num);
- // --- Instance of plex componant RepresentationItem ---
+ // --- Instance of plex component RepresentationItem ---
if (!data->CheckNbParams(num,1,ach,"representation_item")) return;
@@ -187,7 +187,7 @@ void RWStepGeom_RWBezierSurfaceAndRationalBSplineSurface::ReadStep
num = data->NextForComplex(num);
- // --- Instance of plex componant Surface ---
+ // --- Instance of plex component Surface ---
if (!data->CheckNbParams(num,0,ach,"surface")) return;
@@ -202,11 +202,11 @@ void RWStepGeom_RWBezierSurfaceAndRationalBSplineSurface::WriteStep
const Handle(StepGeom_BezierSurfaceAndRationalBSplineSurface)& ent) const
{
- // --- Instance of plex componant BezierSurface ---
+ // --- Instance of plex component BezierSurface ---
SW.StartEntity("BEZIER_SURFACE");
- // --- Instance of plex componant BoundedSurface ---
+ // --- Instance of plex component BoundedSurface ---
SW.StartEntity("BOUNDED_SURFACE");
@@ -257,11 +257,11 @@ void RWStepGeom_RWBezierSurfaceAndRationalBSplineSurface::WriteStep
SW.SendLogical(ent->SelfIntersect());
- // --- Instance of plex componant GeometricRepresentationItem ---
+ // --- Instance of plex component GeometricRepresentationItem ---
SW.StartEntity("GEOMETRIC_REPRESENTATION_ITEM");
- // --- Instance of plex componant RationalBSplineSurface ---
+ // --- Instance of plex component RationalBSplineSurface ---
SW.StartEntity("RATIONAL_B_SPLINE_SURFACE");
// --- field : weightsData ---
@@ -278,14 +278,14 @@ void RWStepGeom_RWBezierSurfaceAndRationalBSplineSurface::WriteStep
}
SW.CloseSub();
- // --- Instance of plex componant RepresentationItem ---
+ // --- Instance of plex component RepresentationItem ---
SW.StartEntity("REPRESENTATION_ITEM");
// --- field : name ---
SW.Send(ent->Name());
- // --- Instance of plex componant Surface ---
+ // --- Instance of plex component Surface ---
SW.StartEntity("SURFACE");
}
diff --git a/src/RWStepGeom/RWStepGeom_RWGeomRepContextAndGlobUnitAssCtxAndGlobUncertaintyAssCtx.cxx b/src/RWStepGeom/RWStepGeom_RWGeomRepContextAndGlobUnitAssCtxAndGlobUncertaintyAssCtx.cxx
index fdd441e696..079106facc 100644
--- a/src/RWStepGeom/RWStepGeom_RWGeomRepContextAndGlobUnitAssCtxAndGlobUncertaintyAssCtx.cxx
+++ b/src/RWStepGeom/RWStepGeom_RWGeomRepContextAndGlobUnitAssCtxAndGlobUncertaintyAssCtx.cxx
@@ -37,7 +37,7 @@ void RWStepGeom_RWGeomRepContextAndGlobUnitAssCtxAndGlobUncertaintyAssCtx::ReadS
Standard_Integer num = num0;
// -----------------------------------------------------------------
- // --- Instance of plex componant GeometricRepresentationContext ---
+ // --- Instance of plex component GeometricRepresentationContext ---
// -----------------------------------------------------------------
if (!data->CheckNbParams(num,1,ach,"geometric_representation_context")) return;
@@ -51,7 +51,7 @@ void RWStepGeom_RWGeomRepContextAndGlobUnitAssCtxAndGlobUncertaintyAssCtx::ReadS
num = data->NextForComplex(num);
// -------------------------------------------------------------------
- // --- Instance of plex componant GlobalUncertaintyAssignedContext ---
+ // --- Instance of plex component GlobalUncertaintyAssignedContext ---
// -------------------------------------------------------------------
if (!data->CheckNbParams(num,1,ach,"global_uncertainty_assigned_context")) return;
@@ -75,7 +75,7 @@ void RWStepGeom_RWGeomRepContextAndGlobUnitAssCtxAndGlobUncertaintyAssCtx::ReadS
num = data->NextForComplex(num);
// ------------------------------------------------------------
- // --- Instance of plex componant GlobalUnitAssignedContext ---
+ // --- Instance of plex component GlobalUnitAssignedContext ---
// ------------------------------------------------------------
if (!data->CheckNbParams(num,1,ach,"global_unit_assigned_context")) return;
@@ -127,7 +127,7 @@ void RWStepGeom_RWGeomRepContextAndGlobUnitAssCtxAndGlobUncertaintyAssCtx::Write
{
// -----------------------------------------------------------------
- // --- Instance of plex componant GeometricRepresentationContext ---
+ // --- Instance of plex component GeometricRepresentationContext ---
// -----------------------------------------------------------------
SW.StartEntity("GEOMETRIC_REPRESENTATION_CONTEXT");
@@ -137,7 +137,7 @@ void RWStepGeom_RWGeomRepContextAndGlobUnitAssCtxAndGlobUncertaintyAssCtx::Write
SW.Send(ent->CoordinateSpaceDimension());
// -------------------------------------------------------------------
- // --- Instance of plex componant GlobalUncertaintyAssignedContext ---
+ // --- Instance of plex component GlobalUncertaintyAssignedContext ---
// -------------------------------------------------------------------
SW.StartEntity("GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT");
@@ -151,7 +151,7 @@ void RWStepGeom_RWGeomRepContextAndGlobUnitAssCtxAndGlobUncertaintyAssCtx::Write
SW.CloseSub();
// ------------------------------------------------------------
- // --- Instance of plex componant GlobalUnitAssignedContext ---
+ // --- Instance of plex component GlobalUnitAssignedContext ---
// ------------------------------------------------------------
SW.StartEntity("GLOBAL_UNIT_ASSIGNED_CONTEXT");
diff --git a/src/RWStepGeom/RWStepGeom_RWGeometricRepresentationContextAndGlobalUnitAssignedContext.cxx b/src/RWStepGeom/RWStepGeom_RWGeometricRepresentationContextAndGlobalUnitAssignedContext.cxx
index 285930f7e2..23dd4a4404 100644
--- a/src/RWStepGeom/RWStepGeom_RWGeometricRepresentationContextAndGlobalUnitAssignedContext.cxx
+++ b/src/RWStepGeom/RWStepGeom_RWGeometricRepresentationContextAndGlobalUnitAssignedContext.cxx
@@ -35,7 +35,7 @@ void RWStepGeom_RWGeometricRepresentationContextAndGlobalUnitAssignedContext::Re
Standard_Integer num = num0;
- // --- Instance of plex componant GeometricRepresentationContext ---
+ // --- Instance of plex component GeometricRepresentationContext ---
if (!data->CheckNbParams(num,1,ach,"geometric_representation_context")) return;
@@ -47,7 +47,7 @@ void RWStepGeom_RWGeometricRepresentationContextAndGlobalUnitAssignedContext::Re
num = data->NextForComplex(num);
- // --- Instance of plex componant GlobalUnitAssignedContext ---
+ // --- Instance of plex component GlobalUnitAssignedContext ---
if (!data->CheckNbParams(num,1,ach,"global_unit_assigned_context")) return;
@@ -95,14 +95,14 @@ void RWStepGeom_RWGeometricRepresentationContextAndGlobalUnitAssignedContext::Wr
const Handle(StepGeom_GeometricRepresentationContextAndGlobalUnitAssignedContext)& ent) const
{
- // --- Instance of plex componant GeometricRepresentationContext ---
+ // --- Instance of plex component GeometricRepresentationContext ---
SW.StartEntity("GEOMETRIC_REPRESENTATION_CONTEXT");
// --- field : coordinateSpaceDimension ---
SW.Send(ent->CoordinateSpaceDimension());
- // --- Instance of plex componant GlobalUnitAssignedContext ---
+ // --- Instance of plex component GlobalUnitAssignedContext ---
SW.StartEntity("GLOBAL_UNIT_ASSIGNED_CONTEXT");
// --- field : units ---
diff --git a/src/RWStepGeom/RWStepGeom_RWGeometricRepresentationContextAndParametricRepresentationContext.cxx b/src/RWStepGeom/RWStepGeom_RWGeometricRepresentationContextAndParametricRepresentationContext.cxx
index 67f688085a..f81e9854d0 100644
--- a/src/RWStepGeom/RWStepGeom_RWGeometricRepresentationContextAndParametricRepresentationContext.cxx
+++ b/src/RWStepGeom/RWStepGeom_RWGeometricRepresentationContextAndParametricRepresentationContext.cxx
@@ -32,7 +32,7 @@ void RWStepGeom_RWGeometricRepresentationContextAndParametricRepresentationConte
Standard_Integer num = num0;
- // --- Instance of plex componant GeometricRepresentationContext ---
+ // --- Instance of plex component GeometricRepresentationContext ---
if (!data->CheckNbParams(num,1,ach,"geometric_representation_context")) return;
@@ -44,7 +44,7 @@ void RWStepGeom_RWGeometricRepresentationContextAndParametricRepresentationConte
num = data->NextForComplex(num);
- // --- Instance of plex componant ParametricRepresentationContext ---
+ // --- Instance of plex component ParametricRepresentationContext ---
if (!data->CheckNbParams(num,0,ach,"parametric_representation_context")) return;
@@ -78,14 +78,14 @@ void RWStepGeom_RWGeometricRepresentationContextAndParametricRepresentationConte
const Handle(StepGeom_GeometricRepresentationContextAndParametricRepresentationContext)& ent) const
{
- // --- Instance of plex componant GeometricRepresentationContext ---
+ // --- Instance of plex component GeometricRepresentationContext ---
SW.StartEntity("GEOMETRIC_REPRESENTATION_CONTEXT");
// --- field : coordinateSpaceDimension ---
SW.Send(ent->CoordinateSpaceDimension());
- // --- Instance of plex componant ParametricRepresentationContext ---
+ // --- Instance of plex component ParametricRepresentationContext ---
SW.StartEntity("PARAMETRIC_REPRESENTATION_CONTEXT");
diff --git a/src/RWStepGeom/RWStepGeom_RWQuasiUniformCurveAndRationalBSplineCurve.cxx b/src/RWStepGeom/RWStepGeom_RWQuasiUniformCurveAndRationalBSplineCurve.cxx
index 4e859322d1..a26853ca74 100644
--- a/src/RWStepGeom/RWStepGeom_RWQuasiUniformCurveAndRationalBSplineCurve.cxx
+++ b/src/RWStepGeom/RWStepGeom_RWQuasiUniformCurveAndRationalBSplineCurve.cxx
@@ -46,7 +46,7 @@ void RWStepGeom_RWQuasiUniformCurveAndRationalBSplineCurve::ReadStep
Standard_Integer num = num0;
- // --- Instance of plex componant BoundedCurve ---
+ // --- Instance of plex component BoundedCurve ---
if (!data->CheckNbParams(num,0,ach,"bounded_curve")) return;
@@ -108,25 +108,25 @@ void RWStepGeom_RWQuasiUniformCurveAndRationalBSplineCurve::ReadStep
num = data->NextForComplex(num);
- // --- Instance of plex componant Curve ---
+ // --- Instance of plex component Curve ---
if (!data->CheckNbParams(num,0,ach,"curve")) return;
num = data->NextForComplex(num);
- // --- Instance of plex componant GeometricRepresentationItem ---
+ // --- Instance of plex component GeometricRepresentationItem ---
if (!data->CheckNbParams(num,0,ach,"geometric_representation_item")) return;
num = data->NextForComplex(num);
- // --- Instance of plex componant QuasiUniformCurve ---
+ // --- Instance of plex component QuasiUniformCurve ---
if (!data->CheckNbParams(num,0,ach,"quasi_uniform_curve")) return;
num = data->NextForComplex(num);
- // --- Instance of plex componant RationalBSplineCurve ---
+ // --- Instance of plex component RationalBSplineCurve ---
if (!data->CheckNbParams(num,1,ach,"rational_b_spline_curve")) return;
@@ -147,7 +147,7 @@ void RWStepGeom_RWQuasiUniformCurveAndRationalBSplineCurve::ReadStep
num = data->NextForComplex(num);
- // --- Instance of plex componant RepresentationItem ---
+ // --- Instance of plex component RepresentationItem ---
if (!data->CheckNbParams(num,1,ach,"representation_item")) return;
@@ -168,7 +168,7 @@ void RWStepGeom_RWQuasiUniformCurveAndRationalBSplineCurve::WriteStep
const Handle(StepGeom_QuasiUniformCurveAndRationalBSplineCurve)& ent) const
{
- // --- Instance of plex componant BoundedCurve ---
+ // --- Instance of plex component BoundedCurve ---
SW.StartEntity("BOUNDED_CURVE");
@@ -202,19 +202,19 @@ void RWStepGeom_RWQuasiUniformCurveAndRationalBSplineCurve::WriteStep
SW.SendLogical(ent->SelfIntersect());
- // --- Instance of plex componant Curve ---
+ // --- Instance of plex component Curve ---
SW.StartEntity("CURVE");
- // --- Instance of plex componant GeometricRepresentationItem ---
+ // --- Instance of plex component GeometricRepresentationItem ---
SW.StartEntity("GEOMETRIC_REPRESENTATION_ITEM");
- // --- Instance of plex componant QuasiUniformCurve ---
+ // --- Instance of plex component QuasiUniformCurve ---
SW.StartEntity("QUASI_UNIFORM_CURVE");
- // --- Instance of plex componant RationalBSplineCurve ---
+ // --- Instance of plex component RationalBSplineCurve ---
SW.StartEntity("RATIONAL_B_SPLINE_CURVE");
// --- field : weightsData ---
@@ -225,7 +225,7 @@ void RWStepGeom_RWQuasiUniformCurveAndRationalBSplineCurve::WriteStep
}
SW.CloseSub();
- // --- Instance of plex componant RepresentationItem ---
+ // --- Instance of plex component RepresentationItem ---
SW.StartEntity("REPRESENTATION_ITEM");
// --- field : name ---
diff --git a/src/RWStepGeom/RWStepGeom_RWQuasiUniformSurfaceAndRationalBSplineSurface.cxx b/src/RWStepGeom/RWStepGeom_RWQuasiUniformSurfaceAndRationalBSplineSurface.cxx
index 22bab7b22e..bdb5d5e654 100644
--- a/src/RWStepGeom/RWStepGeom_RWQuasiUniformSurfaceAndRationalBSplineSurface.cxx
+++ b/src/RWStepGeom/RWStepGeom_RWQuasiUniformSurfaceAndRationalBSplineSurface.cxx
@@ -51,7 +51,7 @@ void RWStepGeom_RWQuasiUniformSurfaceAndRationalBSplineSurface::ReadStep
Standard_Integer num = num0;
- // --- Instance of plex componant BoundedSurface ---
+ // --- Instance of plex component BoundedSurface ---
if (!data->CheckNbParams(num,0,ach,"bounded_surface")) return;
@@ -136,19 +136,19 @@ void RWStepGeom_RWQuasiUniformSurfaceAndRationalBSplineSurface::ReadStep
num = data->NextForComplex(num);
- // --- Instance of plex componant GeometricRepresentationItem ---
+ // --- Instance of plex component GeometricRepresentationItem ---
if (!data->CheckNbParams(num,0,ach,"geometric_representation_item")) return;
num = data->NextForComplex(num);
- // --- Instance of plex componant QuasiUniformSurface ---
+ // --- Instance of plex component QuasiUniformSurface ---
if (!data->CheckNbParams(num,0,ach,"quasi_uniform_surface")) return;
num = data->NextForComplex(num);
- // --- Instance of plex componant RationalBSplineSurface ---
+ // --- Instance of plex component RationalBSplineSurface ---
if (!data->CheckNbParams(num,1,ach,"rational_b_spline_surface")) return;
@@ -175,7 +175,7 @@ void RWStepGeom_RWQuasiUniformSurfaceAndRationalBSplineSurface::ReadStep
num = data->NextForComplex(num);
- // --- Instance of plex componant RepresentationItem ---
+ // --- Instance of plex component RepresentationItem ---
if (!data->CheckNbParams(num,1,ach,"representation_item")) return;
@@ -187,7 +187,7 @@ void RWStepGeom_RWQuasiUniformSurfaceAndRationalBSplineSurface::ReadStep
num = data->NextForComplex(num);
- // --- Instance of plex componant Surface ---
+ // --- Instance of plex component Surface ---
if (!data->CheckNbParams(num,0,ach,"surface")) return;
@@ -202,7 +202,7 @@ void RWStepGeom_RWQuasiUniformSurfaceAndRationalBSplineSurface::WriteStep
const Handle(StepGeom_QuasiUniformSurfaceAndRationalBSplineSurface)& ent) const
{
- // --- Instance of plex componant BoundedSurface ---
+ // --- Instance of plex component BoundedSurface ---
SW.StartEntity("BOUNDED_SURFACE");
@@ -253,15 +253,15 @@ void RWStepGeom_RWQuasiUniformSurfaceAndRationalBSplineSurface::WriteStep
SW.SendLogical(ent->SelfIntersect());
- // --- Instance of plex componant GeometricRepresentationItem ---
+ // --- Instance of plex component GeometricRepresentationItem ---
SW.StartEntity("GEOMETRIC_REPRESENTATION_ITEM");
- // --- Instance of plex componant QuasiUniformSurface ---
+ // --- Instance of plex component QuasiUniformSurface ---
SW.StartEntity("QUASI_UNIFORM_SURFACE");
- // --- Instance of plex componant RationalBSplineSurface ---
+ // --- Instance of plex component RationalBSplineSurface ---
SW.StartEntity("RATIONAL_B_SPLINE_SURFACE");
// --- field : weightsData ---
@@ -278,14 +278,14 @@ void RWStepGeom_RWQuasiUniformSurfaceAndRationalBSplineSurface::WriteStep
}
SW.CloseSub();
- // --- Instance of plex componant RepresentationItem ---
+ // --- Instance of plex component RepresentationItem ---
SW.StartEntity("REPRESENTATION_ITEM");
// --- field : name ---
SW.Send(ent->Name());
- // --- Instance of plex componant Surface ---
+ // --- Instance of plex component Surface ---
SW.StartEntity("SURFACE");
}
diff --git a/src/RWStepGeom/RWStepGeom_RWSurfaceCurveAndBoundedCurve.cxx b/src/RWStepGeom/RWStepGeom_RWSurfaceCurveAndBoundedCurve.cxx
index a182fb6ef5..9c4e73e43c 100644
--- a/src/RWStepGeom/RWStepGeom_RWSurfaceCurveAndBoundedCurve.cxx
+++ b/src/RWStepGeom/RWStepGeom_RWSurfaceCurveAndBoundedCurve.cxx
@@ -116,7 +116,7 @@ void RWStepGeom_RWSurfaceCurveAndBoundedCurve::WriteStep
SW.StartEntity("REPRESENTATION_ITEM");
SW.Send(ent->Name());
- // --- Instance of plex componant BoundedCurve ---
+ // --- Instance of plex component BoundedCurve ---
SW.StartEntity("SURFACE_CURVE");
// --- own field : curve3d ---
diff --git a/src/RWStepGeom/RWStepGeom_RWUniformCurveAndRationalBSplineCurve.cxx b/src/RWStepGeom/RWStepGeom_RWUniformCurveAndRationalBSplineCurve.cxx
index 3e2bca483c..3b287f3b46 100644
--- a/src/RWStepGeom/RWStepGeom_RWUniformCurveAndRationalBSplineCurve.cxx
+++ b/src/RWStepGeom/RWStepGeom_RWUniformCurveAndRationalBSplineCurve.cxx
@@ -46,7 +46,7 @@ void RWStepGeom_RWUniformCurveAndRationalBSplineCurve::ReadStep
Standard_Integer num = num0;
- // --- Instance of plex componant BoundedCurve ---
+ // --- Instance of plex component BoundedCurve ---
if (!data->CheckNbParams(num,0,ach,"bounded_curve")) return;
@@ -108,19 +108,19 @@ void RWStepGeom_RWUniformCurveAndRationalBSplineCurve::ReadStep
num = data->NextForComplex(num);
- // --- Instance of plex componant Curve ---
+ // --- Instance of plex component Curve ---
if (!data->CheckNbParams(num,0,ach,"curve")) return;
num = data->NextForComplex(num);
- // --- Instance of plex componant GeometricRepresentationItem ---
+ // --- Instance of plex component GeometricRepresentationItem ---
if (!data->CheckNbParams(num,0,ach,"geometric_representation_item")) return;
num = data->NextForComplex(num);
- // --- Instance of plex componant RationalBSplineCurve ---
+ // --- Instance of plex component RationalBSplineCurve ---
if (!data->CheckNbParams(num,1,ach,"rational_b_spline_curve")) return;
@@ -141,7 +141,7 @@ void RWStepGeom_RWUniformCurveAndRationalBSplineCurve::ReadStep
num = data->NextForComplex(num);
- // --- Instance of plex componant RepresentationItem ---
+ // --- Instance of plex component RepresentationItem ---
if (!data->CheckNbParams(num,1,ach,"representation_item")) return;
@@ -153,7 +153,7 @@ void RWStepGeom_RWUniformCurveAndRationalBSplineCurve::ReadStep
num = data->NextForComplex(num);
- // --- Instance of plex componant UniformCurve ---
+ // --- Instance of plex component UniformCurve ---
if (!data->CheckNbParams(num,0,ach,"uniform_curve")) return;
@@ -168,7 +168,7 @@ void RWStepGeom_RWUniformCurveAndRationalBSplineCurve::WriteStep
const Handle(StepGeom_UniformCurveAndRationalBSplineCurve)& ent) const
{
- // --- Instance of plex componant BoundedCurve ---
+ // --- Instance of plex component BoundedCurve ---
SW.StartEntity("BOUNDED_CURVE");
@@ -202,15 +202,15 @@ void RWStepGeom_RWUniformCurveAndRationalBSplineCurve::WriteStep
SW.SendLogical(ent->SelfIntersect());
- // --- Instance of plex componant Curve ---
+ // --- Instance of plex component Curve ---
SW.StartEntity("CURVE");
- // --- Instance of plex componant GeometricRepresentationItem ---
+ // --- Instance of plex component GeometricRepresentationItem ---
SW.StartEntity("GEOMETRIC_REPRESENTATION_ITEM");
- // --- Instance of plex componant RationalBSplineCurve ---
+ // --- Instance of plex component RationalBSplineCurve ---
SW.StartEntity("RATIONAL_B_SPLINE_CURVE");
// --- field : weightsData ---
@@ -221,14 +221,14 @@ void RWStepGeom_RWUniformCurveAndRationalBSplineCurve::WriteStep
}
SW.CloseSub();
- // --- Instance of plex componant RepresentationItem ---
+ // --- Instance of plex component RepresentationItem ---
SW.StartEntity("REPRESENTATION_ITEM");
// --- field : name ---
SW.Send(ent->Name());
- // --- Instance of plex componant UniformCurve ---
+ // --- Instance of plex component UniformCurve ---
SW.StartEntity("UNIFORM_CURVE");
}
diff --git a/src/RWStepGeom/RWStepGeom_RWUniformSurfaceAndRationalBSplineSurface.cxx b/src/RWStepGeom/RWStepGeom_RWUniformSurfaceAndRationalBSplineSurface.cxx
index c1373cdbb0..66cb836c09 100644
--- a/src/RWStepGeom/RWStepGeom_RWUniformSurfaceAndRationalBSplineSurface.cxx
+++ b/src/RWStepGeom/RWStepGeom_RWUniformSurfaceAndRationalBSplineSurface.cxx
@@ -51,7 +51,7 @@ void RWStepGeom_RWUniformSurfaceAndRationalBSplineSurface::ReadStep
Standard_Integer num = num0;
- // --- Instance of plex componant BoundedSurface ---
+ // --- Instance of plex component BoundedSurface ---
if (!data->CheckNbParams(num,0,ach,"bounded_surface")) return;
@@ -136,13 +136,13 @@ void RWStepGeom_RWUniformSurfaceAndRationalBSplineSurface::ReadStep
num = data->NextForComplex(num);
- // --- Instance of plex componant GeometricRepresentationItem ---
+ // --- Instance of plex component GeometricRepresentationItem ---
if (!data->CheckNbParams(num,0,ach,"geometric_representation_item")) return;
num = data->NextForComplex(num);
- // --- Instance of plex componant RationalBSplineSurface ---
+ // --- Instance of plex component RationalBSplineSurface ---
if (!data->CheckNbParams(num,1,ach,"rational_b_spline_surface")) return;
@@ -169,7 +169,7 @@ void RWStepGeom_RWUniformSurfaceAndRationalBSplineSurface::ReadStep
num = data->NextForComplex(num);
- // --- Instance of plex componant RepresentationItem ---
+ // --- Instance of plex component RepresentationItem ---
if (!data->CheckNbParams(num,1,ach,"representation_item")) return;
@@ -181,13 +181,13 @@ void RWStepGeom_RWUniformSurfaceAndRationalBSplineSurface::ReadStep
num = data->NextForComplex(num);
- // --- Instance of plex componant Surface ---
+ // --- Instance of plex component Surface ---
if (!data->CheckNbParams(num,0,ach,"surface")) return;
num = data->NextForComplex(num);
- // --- Instance of plex componant UniformSurface ---
+ // --- Instance of plex component UniformSurface ---
if (!data->CheckNbParams(num,0,ach,"uniform_surface")) return;
@@ -202,7 +202,7 @@ void RWStepGeom_RWUniformSurfaceAndRationalBSplineSurface::WriteStep
const Handle(StepGeom_UniformSurfaceAndRationalBSplineSurface)& ent) const
{
- // --- Instance of plex componant BoundedSurface ---
+ // --- Instance of plex component BoundedSurface ---
SW.StartEntity("BOUNDED_SURFACE");
@@ -253,11 +253,11 @@ void RWStepGeom_RWUniformSurfaceAndRationalBSplineSurface::WriteStep
SW.SendLogical(ent->SelfIntersect());
- // --- Instance of plex componant GeometricRepresentationItem ---
+ // --- Instance of plex component GeometricRepresentationItem ---
SW.StartEntity("GEOMETRIC_REPRESENTATION_ITEM");
- // --- Instance of plex componant RationalBSplineSurface ---
+ // --- Instance of plex component RationalBSplineSurface ---
SW.StartEntity("RATIONAL_B_SPLINE_SURFACE");
// --- field : weightsData ---
@@ -274,18 +274,18 @@ void RWStepGeom_RWUniformSurfaceAndRationalBSplineSurface::WriteStep
}
SW.CloseSub();
- // --- Instance of plex componant RepresentationItem ---
+ // --- Instance of plex component RepresentationItem ---
SW.StartEntity("REPRESENTATION_ITEM");
// --- field : name ---
SW.Send(ent->Name());
- // --- Instance of plex componant Surface ---
+ // --- Instance of plex component Surface ---
SW.StartEntity("SURFACE");
- // --- Instance of plex componant UniformSurface ---
+ // --- Instance of plex component UniformSurface ---
SW.StartEntity("UNIFORM_SURFACE");
}
diff --git a/src/RWStepRepr/RWStepRepr_RWShapeRepresentationRelationshipWithTransformation.cxx b/src/RWStepRepr/RWStepRepr_RWShapeRepresentationRelationshipWithTransformation.cxx
index 26432aefb4..552d719ff0 100644
--- a/src/RWStepRepr/RWStepRepr_RWShapeRepresentationRelationshipWithTransformation.cxx
+++ b/src/RWStepRepr/RWStepRepr_RWShapeRepresentationRelationshipWithTransformation.cxx
@@ -34,7 +34,7 @@ void RWStepRepr_RWShapeRepresentationRelationshipWithTransformation::ReadStep
// REPR_RLTS,REPR_RLTS_WITH_TR,SHAPE_REPR_RLTS
// But same fields as RepresentationRelationshipWithTransformation
- // --- Instance of plex componant RepresentationRelationship ---
+ // --- Instance of plex component RepresentationRelationship ---
Standard_Integer num = 0; // num0;
data->NamedForComplex("REPRESENTATION_RELATIONSHIP", "RPRRLT",num0,num,ach);
@@ -68,7 +68,7 @@ void RWStepRepr_RWShapeRepresentationRelationshipWithTransformation::ReadStep
//szv#4:S4163:12Mar99 `Standard_Boolean stat4 =` not needed
data->ReadEntity(num, 4,"rep_2", ach, STANDARD_TYPE(StepRepr_Representation), aRep2);
- // --- Instance of plex componant RepresentationRelationshipWithTransformation ---
+ // --- Instance of plex component RepresentationRelationshipWithTransformation ---
data->NamedForComplex("REPRESENTATION_RELATIONSHIP_WITH_TRANSFORMATION", "RRWT",num0,num,ach);
if (!data->CheckNbParams(num,1,ach,"representation_relationship_with_transformation")) return;
@@ -79,7 +79,7 @@ void RWStepRepr_RWShapeRepresentationRelationshipWithTransformation::ReadStep
//szv#4:S4163:12Mar99 `Standard_Boolean stat5 =` not needed
data->ReadEntity(num,1,"transformation_operator",ach,aTrans);
- // --- Instance of plex componant ShapeRepresentationRelationship ---
+ // --- Instance of plex component ShapeRepresentationRelationship ---
data->NamedForComplex("SHAPE_REPRESENTATION_RELATIONSHIP", "SHRPRL",num0,num,ach);
if (!data->CheckNbParams(num,0,ach,"shape_representation_relationship")) return;
@@ -95,7 +95,7 @@ void RWStepRepr_RWShapeRepresentationRelationshipWithTransformation::WriteStep
(StepData_StepWriter& SW,
const Handle(StepRepr_ShapeRepresentationRelationshipWithTransformation)& ent) const
{
- // --- Instance of plex componant RepresentationRelationship ---
+ // --- Instance of plex component RepresentationRelationship ---
SW.StartEntity ("REPRESENTATION_RELATIONSHIP");
@@ -116,12 +116,12 @@ void RWStepRepr_RWShapeRepresentationRelationshipWithTransformation::WriteStep
SW.Send(ent->Rep2());
- // --- Instance of plex componant RepresentationRelationshipWithTransformation ---
+ // --- Instance of plex component RepresentationRelationshipWithTransformation ---
SW.StartEntity ("REPRESENTATION_RELATIONSHIP_WITH_TRANSFORMATION");
SW.Send(ent->TransformationOperator().Value());
- // --- Instance of plex componant ShapeRepresentationRelationship ---
+ // --- Instance of plex component ShapeRepresentationRelationship ---
SW.StartEntity ("SHAPE_REPRESENTATION_RELATIONSHIP");
}
diff --git a/src/RWStepShape/RWStepShape_RWAngularLocation.cxx b/src/RWStepShape/RWStepShape_RWAngularLocation.cxx
index 46b0133b32..34d9099c9b 100644
--- a/src/RWStepShape/RWStepShape_RWAngularLocation.cxx
+++ b/src/RWStepShape/RWStepShape_RWAngularLocation.cxx
@@ -67,8 +67,8 @@ void RWStepShape_RWAngularLocation::ReadStep (const Handle(StepData_StepReaderDa
// Own fields of AngularLocation
// PTV 16.09.2000
-// defaul value set as StepShape_Small, cause there wasn`t default value, but may be situation when
-// value will not be initialized and returnd in ent->Init.
+// default value set as StepShape_Small, cause there wasn`t default value, but may be situation when
+// value will not be initialized and returned in ent->Init.
StepShape_AngleRelator aAngleSelection = StepShape_Small;
if (data->ParamType (num, 5) == Interface_ParamEnum) {
Standard_CString text = data->ParamCValue(num, 5);
diff --git a/src/RWStepShape/RWStepShape_RWAngularSize.cxx b/src/RWStepShape/RWStepShape_RWAngularSize.cxx
index 7105837250..c6b0a4a41a 100644
--- a/src/RWStepShape/RWStepShape_RWAngularSize.cxx
+++ b/src/RWStepShape/RWStepShape_RWAngularSize.cxx
@@ -55,8 +55,8 @@ void RWStepShape_RWAngularSize::ReadStep (const Handle(StepData_StepReaderData)&
// Own fields of AngularSize
// PTV 16.09.2000
-// defaul value set as StepShape_Small, cause there wasn`t default value, but may be situation when
-// value will not be initialized and returnd in ent->Init.
+// default value set as StepShape_Small, cause there wasn`t default value, but may be situation when
+// value will not be initialized and returned in ent->Init.
StepShape_AngleRelator aAngleSelection = StepShape_Small;
if (data->ParamType (num, 3) == Interface_ParamEnum) {
diff --git a/src/RWStepShape/RWStepShape_RWDefinitionalRepresentationAndShapeRepresentation.cxx b/src/RWStepShape/RWStepShape_RWDefinitionalRepresentationAndShapeRepresentation.cxx
index b835caaadf..a48511dbcb 100644
--- a/src/RWStepShape/RWStepShape_RWDefinitionalRepresentationAndShapeRepresentation.cxx
+++ b/src/RWStepShape/RWStepShape_RWDefinitionalRepresentationAndShapeRepresentation.cxx
@@ -38,7 +38,7 @@ void RWStepShape_RWDefinitionalRepresentationAndShapeRepresentation::ReadStep
num = data->NextForComplex(num);
- // --- Instance of plex componant definitional_representation ---
+ // --- Instance of plex component definitional_representation ---
if (!data->CheckNbParams(num,3,ach,"representation")) return;
@@ -80,7 +80,7 @@ void RWStepShape_RWDefinitionalRepresentationAndShapeRepresentation::WriteStep
const Handle(StepShape_DefinitionalRepresentationAndShapeRepresentation)& ent) const
{
- // --- Instance of plex componant ConversionBasedUnit ---
+ // --- Instance of plex component ConversionBasedUnit ---
SW.StartEntity("DEFINITIONAL_REPRESENTATION");
@@ -102,7 +102,7 @@ void RWStepShape_RWDefinitionalRepresentationAndShapeRepresentation::WriteStep
SW.Send(ent->ContextOfItems());
- // --- Instance of plex componant LengthUnit ---
+ // --- Instance of plex component LengthUnit ---
SW.StartEntity("SHAPE_REPRESENTATION");
diff --git a/src/RWStepShape/RWStepShape_RWEdgeCurve.cxx b/src/RWStepShape/RWStepShape_RWEdgeCurve.cxx
index d0a0535f93..ffe9bd5746 100644
--- a/src/RWStepShape/RWStepShape_RWEdgeCurve.cxx
+++ b/src/RWStepShape/RWStepShape_RWEdgeCurve.cxx
@@ -135,7 +135,7 @@ void RWStepShape_RWEdgeCurve::Check
Standard_Boolean Cumulated1, Cumulated2;
// 1- First Vertex != LastVertex but First VertexPoint == Last VertexPoint
- // Remark : time comsuming process but useful !
+ // Remark : time consuming process but useful !
// If this append, we can drop one of the two vertices and replace it
// everywhere it is referenced. Side effect : tolerance problem !!!
diff --git a/src/RWStepShape/RWStepShape_RWFacetedBrepAndBrepWithVoids.cxx b/src/RWStepShape/RWStepShape_RWFacetedBrepAndBrepWithVoids.cxx
index 7c652a85fb..09ff9b755a 100644
--- a/src/RWStepShape/RWStepShape_RWFacetedBrepAndBrepWithVoids.cxx
+++ b/src/RWStepShape/RWStepShape_RWFacetedBrepAndBrepWithVoids.cxx
@@ -36,7 +36,7 @@ void RWStepShape_RWFacetedBrepAndBrepWithVoids::ReadStep
Standard_Integer num = num0;
- // --- Instance of plex componant BrepWithVoids ---
+ // --- Instance of plex component BrepWithVoids ---
if (!data->CheckNbParams(num,1,ach,"brep_with_voids")) return;
@@ -58,13 +58,13 @@ void RWStepShape_RWFacetedBrepAndBrepWithVoids::ReadStep
num = data->NextForComplex(num);
- // --- Instance of plex componant FacetedBrep ---
+ // --- Instance of plex component FacetedBrep ---
if (!data->CheckNbParams(num,0,ach,"faceted_brep")) return;
num = data->NextForComplex(num);
- // --- Instance of plex componant GeometricRepresentationItem ---
+ // --- Instance of plex component GeometricRepresentationItem ---
if (!data->CheckNbParams(num,0,ach,"geometric_representation_item")) return;
@@ -82,7 +82,7 @@ void RWStepShape_RWFacetedBrepAndBrepWithVoids::ReadStep
num = data->NextForComplex(num);
- // --- Instance of plex componant RepresentationItem ---
+ // --- Instance of plex component RepresentationItem ---
if (!data->CheckNbParams(num,1,ach,"representation_item")) return;
@@ -95,7 +95,7 @@ void RWStepShape_RWFacetedBrepAndBrepWithVoids::ReadStep
num = data->NextForComplex(num);
- // --- Instance of plex componant SolidModel ---
+ // --- Instance of plex component SolidModel ---
if (!data->CheckNbParams(num,0,ach,"solid_model")) return;
@@ -110,7 +110,7 @@ void RWStepShape_RWFacetedBrepAndBrepWithVoids::WriteStep
const Handle(StepShape_FacetedBrepAndBrepWithVoids)& ent) const
{
- // --- Instance of plex componant BrepWithVoids ---
+ // --- Instance of plex component BrepWithVoids ---
SW.StartEntity("BREP_WITH_VOIDS");
// --- field : voids ---
@@ -121,11 +121,11 @@ void RWStepShape_RWFacetedBrepAndBrepWithVoids::WriteStep
}
SW.CloseSub();
- // --- Instance of plex componant FacetedBrep ---
+ // --- Instance of plex component FacetedBrep ---
SW.StartEntity("FACETED_BREP");
- // --- Instance of plex componant GeometricRepresentationItem ---
+ // --- Instance of plex component GeometricRepresentationItem ---
SW.StartEntity("GEOMETRIC_REPRESENTATION_ITEM");
@@ -136,14 +136,14 @@ void RWStepShape_RWFacetedBrepAndBrepWithVoids::WriteStep
SW.Send(ent->Outer());
- // --- Instance of plex componant RepresentationItem ---
+ // --- Instance of plex component RepresentationItem ---
SW.StartEntity("REPRESENTATION_ITEM");
// --- field : name ---
SW.Send(ent->Name());
- // --- Instance of plex componant SolidModel ---
+ // --- Instance of plex component SolidModel ---
SW.StartEntity("SOLID_MODEL");
}
diff --git a/src/RWStepShape/RWStepShape_RWLoopAndPath.cxx b/src/RWStepShape/RWStepShape_RWLoopAndPath.cxx
index 8ea93520f8..0b4f899995 100644
--- a/src/RWStepShape/RWStepShape_RWLoopAndPath.cxx
+++ b/src/RWStepShape/RWStepShape_RWLoopAndPath.cxx
@@ -35,13 +35,13 @@ void RWStepShape_RWLoopAndPath::ReadStep
Standard_Integer num = num0;
- // --- Instance of plex componant Loop ---
+ // --- Instance of plex component Loop ---
if (!data->CheckNbParams(num,0,ach,"loop")) return;
num = data->NextForComplex(num);
- // --- Instance of plex componant Path ---
+ // --- Instance of plex component Path ---
if (!data->CheckNbParams(num,1,ach,"path")) return;
@@ -62,7 +62,7 @@ void RWStepShape_RWLoopAndPath::ReadStep
num = data->NextForComplex(num);
- // --- Instance of plex componant RepresentationItem ---
+ // --- Instance of plex component RepresentationItem ---
if (!data->CheckNbParams(num,1,ach,"representation_item")) return;
@@ -89,11 +89,11 @@ void RWStepShape_RWLoopAndPath::WriteStep
const Handle(StepShape_LoopAndPath)& ent) const
{
- // --- Instance of plex componant Loop ---
+ // --- Instance of plex component Loop ---
SW.StartEntity("LOOP");
- // --- Instance of plex componant Path ---
+ // --- Instance of plex component Path ---
SW.StartEntity("PATH");
// --- field : edgeList ---
@@ -104,7 +104,7 @@ void RWStepShape_RWLoopAndPath::WriteStep
}
SW.CloseSub();
- // --- Instance of plex componant RepresentationItem ---
+ // --- Instance of plex component RepresentationItem ---
SW.StartEntity("REPRESENTATION_ITEM");
// --- field : name ---
diff --git a/src/RWStepShape/RWStepShape_RWMeasureRepresentationItemAndQualifiedRepresentationItem.cxx b/src/RWStepShape/RWStepShape_RWMeasureRepresentationItemAndQualifiedRepresentationItem.cxx
index 267ecb0687..d6b2028a03 100644
--- a/src/RWStepShape/RWStepShape_RWMeasureRepresentationItemAndQualifiedRepresentationItem.cxx
+++ b/src/RWStepShape/RWStepShape_RWMeasureRepresentationItemAndQualifiedRepresentationItem.cxx
@@ -35,7 +35,7 @@ void RWStepShape_RWMeasureRepresentationItemAndQualifiedRepresentationItem::Read
// Complex Entity : MeasureReprItem + QualifiedreprItem : so, add ReprItem
- // --- Instance of plex componant : MeasureReprItem
+ // --- Instance of plex component : MeasureReprItem
Standard_Integer num = 0;
data->NamedForComplex("MEASURE_REPRESENTATION_ITEM","MSRPIT",num0,num,ach);
@@ -53,7 +53,7 @@ void RWStepShape_RWMeasureRepresentationItemAndQualifiedRepresentationItem::Read
data->ReadEntity (num, 2, "unit_component", ach, aUnitComponent);
- // --- Instance of plex componant : QualifiedReprItem
+ // --- Instance of plex component : QualifiedReprItem
data->NamedForComplex("QUALIFIED_REPRESENTATION_ITEM","QLRPIT",num0,num,ach);
@@ -76,7 +76,7 @@ void RWStepShape_RWMeasureRepresentationItemAndQualifiedRepresentationItem::Read
}
- // --- Instance of plex componant : RepresentationItem
+ // --- Instance of plex component : RepresentationItem
data->NamedForComplex("REPRESENTATION_ITEM","RPRITM",num0,num,ach);
@@ -99,7 +99,7 @@ void RWStepShape_RWMeasureRepresentationItemAndQualifiedRepresentationItem::Writ
{
// Complex Entity : MeasureReprItem + QualifiedreprItem : so, add ReprItem
- // --- Instance of plex componant : MeasureReprItem
+ // --- Instance of plex component : MeasureReprItem
SW.StartEntity ("MEASURE_REPRESENTATION_ITEM");
@@ -109,7 +109,7 @@ void RWStepShape_RWMeasureRepresentationItemAndQualifiedRepresentationItem::Writ
// --- inherited from measure_with_unit : unit_component ---
SW.Send(ent->Measure()->UnitComponent().Value());
- // --- Instance of plex componant : QualifiedReprItem
+ // --- Instance of plex component : QualifiedReprItem
SW.StartEntity ("QUALIFIED_REPRESENTATION_ITEM");
@@ -119,7 +119,7 @@ void RWStepShape_RWMeasureRepresentationItemAndQualifiedRepresentationItem::Writ
for (i = 1; i <= nbq; i ++) SW.Send (ent->QualifiersValue(i).Value());
SW.CloseSub();
- // --- Instance of plex componant : ReprsentationItem
+ // --- Instance of plex component : RepresentationItem
SW.StartEntity ("REPRESENTATION_ITEM");
diff --git a/src/RWStl/RWStl_Reader.cxx b/src/RWStl/RWStl_Reader.cxx
index b7f939ef7c..e67bc8ee4d 100644
--- a/src/RWStl/RWStl_Reader.cxx
+++ b/src/RWStl/RWStl_Reader.cxx
@@ -231,7 +231,7 @@ Standard_Boolean RWStl_Reader::IsAscii (Standard_IStream& theStream,
// adapted from Standard_CString.cxx
#ifdef __APPLE__
- // There are a lot of *_l functions availalbe on Mac OS X - we use them
+ // There are a lot of *_l functions available on Mac OS X - we use them
#define SAVE_TL()
#elif defined(_MSC_VER)
// MSVCRT has equivalents with slightly different syntax
@@ -359,7 +359,7 @@ Standard_Boolean RWStl_Reader::ReadAscii (Standard_IStream& theStream,
gp_XYZ aReadVertex;
if (!ReadVertex (aLine, aReadVertex.ChangeCoord (1), aReadVertex.ChangeCoord (2), aReadVertex.ChangeCoord (3)))
{
- Message::SendFail (TCollection_AsciiString ("Error: cannot read vertex co-ordinates at line ") + aNbLine);
+ Message::SendFail (TCollection_AsciiString ("Error: cannot read vertex coordinates at line ") + aNbLine);
return false;
}
aVertex[i] = aReadVertex;
diff --git a/src/Resource/Resource_Unicode.cxx b/src/Resource/Resource_Unicode.cxx
index ca3570a4d6..827a32e9ac 100644
--- a/src/Resource/Resource_Unicode.cxx
+++ b/src/Resource/Resource_Unicode.cxx
@@ -48,7 +48,7 @@ void Resource_Unicode::ConvertSJISToUnicode(const Standard_CString fromstr,TColl
if (issjis1(*currentstr)) {
ph = ((unsigned int) *currentstr);
- // Be Carefull with first and second !!
+ // Be Careful with first and second !!
currentstr++;
@@ -80,7 +80,7 @@ void Resource_Unicode::ConvertEUCToUnicode(const Standard_CString fromstr,TColle
if (iseuc(*currentstr)) {
ph = ((unsigned int) *currentstr);
- // Be Carefull with first and second !!
+ // Be Careful with first and second !!
currentstr++;
@@ -111,7 +111,7 @@ void Resource_Unicode::ConvertGBToUnicode(const Standard_CString fromstr,TCollec
if (isshift(*currentstr)) {
ph = ((unsigned int) *currentstr);
- // Be Carefull with first and second !!
+ // Be Careful with first and second !!
currentstr++;
diff --git a/src/SHMessage/SHAPE.fr b/src/SHMessage/SHAPE.fr
index 1913c58085..a4fe385e81 100755
--- a/src/SHMessage/SHAPE.fr
+++ b/src/SHMessage/SHAPE.fr
@@ -167,7 +167,7 @@ L'Orientation du/des shell(s) dans le solida ete corrigee
Solide avec connexions incorrectes, divise en plusieurs parties
!
.FixAdvFace.FixLoopWire.MSG0
-Wire was splitted on several wires
+Wire was split on several wires
!
.FixAdvFace..MSG5
!
diff --git a/src/SHMessage/SHAPE.us b/src/SHMessage/SHAPE.us
index 2eaf53ba6b..9a76c4fd41 100755
--- a/src/SHMessage/SHAPE.us
+++ b/src/SHMessage/SHAPE.us
@@ -167,7 +167,7 @@ Orientation of shell(s) in solid was corrected
Improperly connected solid split into several parts
!
.FixAdvFace.FixLoopWire.MSG0
-Wire was splitted on several wires
+Wire was split on several wires
!
.FixAdvFace..MSG5
!
diff --git a/src/SHMessage/SHMessage_SHAPE_us.pxx b/src/SHMessage/SHMessage_SHAPE_us.pxx
index d688889886..d3deb0348a 100644
--- a/src/SHMessage/SHMessage_SHAPE_us.pxx
+++ b/src/SHMessage/SHMessage_SHAPE_us.pxx
@@ -170,7 +170,7 @@ static const char SHMessage_SHAPE_us[] =
"Improperly connected solid split into several parts\n"
"!\n"
".FixAdvFace.FixLoopWire.MSG0\n"
- "Wire was splitted on several wires\n"
+ "Wire was split on several wires\n"
"!\n"
".FixAdvFace..MSG5\n"
"!\n"
diff --git a/src/STEPCAFControl/STEPCAFControl_Reader.cxx b/src/STEPCAFControl/STEPCAFControl_Reader.cxx
index ba9dc91bc1..ed31a819e4 100644
--- a/src/STEPCAFControl/STEPCAFControl_Reader.cxx
+++ b/src/STEPCAFControl/STEPCAFControl_Reader.cxx
@@ -906,12 +906,12 @@ Handle(STEPCAFControl_ExternFile) STEPCAFControl_Reader::ReadExternFile (const S
//=======================================================================
//function : findStyledSR
-//purpose : auxilary
+//purpose : auxiliary
//=======================================================================
static void findStyledSR(const Handle(StepVisual_StyledItem) &style,
Handle(StepShape_ShapeRepresentation)& aSR)
{
- // search Shape Represenatation for component styled item
+ // search Shape Representation for component styled item
for (Standard_Integer j = 1; j <= style->NbStyles(); j++) {
Handle(StepVisual_PresentationStyleByContext) PSA =
Handle(StepVisual_PresentationStyleByContext)::DownCast(style->StylesValue(j));
@@ -930,7 +930,7 @@ static void findStyledSR(const Handle(StepVisual_StyledItem) &style,
//=======================================================================
//function : propagateColorToParts
-//purpose : auxilary, propagate color styles from assemblies to parts
+//purpose : auxiliary, propagate color styles from assemblies to parts
//=======================================================================
static void propagateColorToParts(const Handle(XCAFDoc_ShapeTool)& theSTool,
@@ -1575,7 +1575,7 @@ static Standard_Boolean findNextSHUOlevel(const Handle(XSControl_WorkSession) &W
//=======================================================================
//function : setSHUOintoDoc
-//purpose : auxilary
+//purpose : auxiliary
//=======================================================================
static TDF_Label setSHUOintoDoc(const Handle(XSControl_WorkSession) &WS,
const Handle(StepRepr_SpecifiedHigherUsageOccurrence)& SHUO,
@@ -2175,7 +2175,7 @@ void readConnectionPoints(const Handle(XSControl_TransferReader)& theTR,
//=======================================================================
//function : ReadDatums
-//purpose : auxilary
+//purpose : auxiliary
//=======================================================================
static Standard_Boolean ReadDatums(const Handle(XCAFDoc_ShapeTool) &STool,
const Handle(XCAFDoc_DimTolTool) &DGTTool,
@@ -2586,7 +2586,7 @@ Standard_Boolean STEPCAFControl_Reader::setDatumToXCAF(const Handle(StepDimTol_D
//=======================================================================
//function : ReadDatums
-//purpose : auxilary
+//purpose : auxiliary
//=======================================================================
Standard_Boolean STEPCAFControl_Reader::readDatumsAP242(const Handle(Standard_Transient)& theEnt,
const TDF_Label theGDTL,
@@ -2825,7 +2825,7 @@ TDF_Label STEPCAFControl_Reader::createGDTObjectInXCAF(const Handle(Standard_Tra
{
if (anAtr->IsKind(STANDARD_TYPE(StepRepr_AllAroundShapeAspect)))
{
- // if applyed AllAround Modifier
+ // if applied AllAround Modifier
isAllAround = Standard_True;
}
// dimensions and default tolerances
@@ -3193,7 +3193,7 @@ TDF_Label STEPCAFControl_Reader::createGDTObjectInXCAF(const Handle(Standard_Tra
//=======================================================================
//function : convertAngleValue
-//purpose : auxilary
+//purpose : auxiliary
//=======================================================================
void convertAngleValue(
const STEPConstruct_UnitContext& anUnitCtx,
@@ -3202,7 +3202,7 @@ void convertAngleValue(
// convert radian to deg
Standard_Real aFact = anUnitCtx.PlaneAngleFactor() * 180 / M_PI;
// in order to avoid inaccuracy of calculation perform conversion
- // only if aFact not eqaul 1 with some precision
+ // only if aFact not equal 1 with some precision
if (fabs(1. - aFact) > Precision::Confusion())
{
aVal = aVal * aFact;
@@ -4079,7 +4079,7 @@ Standard_Boolean STEPCAFControl_Reader::ReadGDTs(const Handle(XSControl_WorkSess
//=======================================================================
//function : FindSolidForPDS
-//purpose : auxilary
+//purpose : auxiliary
//=======================================================================
static Handle(StepShape_SolidModel) FindSolidForPDS(const Handle(StepRepr_ProductDefinitionShape) &PDS,
diff --git a/src/STEPCAFControl/STEPCAFControl_Writer.cxx b/src/STEPCAFControl/STEPCAFControl_Writer.cxx
index 30646bc99b..b9ca23fb60 100644
--- a/src/STEPCAFControl/STEPCAFControl_Writer.cxx
+++ b/src/STEPCAFControl/STEPCAFControl_Writer.cxx
@@ -249,7 +249,7 @@
// added by skl 12.02.2004 for writing materials
//=======================================================================
//function : GetLabelName
-//purpose : auxilary function: take name of label and append it to str
+//purpose : auxiliary function: take name of label and append it to str
//=======================================================================
static Standard_Boolean GetLabelName (const TDF_Label &L, Handle(TCollection_HAsciiString) &str)
{
@@ -535,13 +535,13 @@ Standard_Boolean STEPCAFControl_Writer::Transfer (STEPControl_Writer &writer,
TDF_LabelSequence comp;
- //For case when only part of assemby structure should be written in the document
+ //For case when only part of assembly structure should be written in the document
//if specified label is component of the assembly then
//in order to save location of this component in the high-level assembly
- //and save name of high-level assembly it is necessary to represent structure of high-level assembly
- //as assembly with one component specified by current label.
+ //and save name of high-level assembly it is necessary to represent structure of high-level assembly
+ //as assembly with one component specified by current label.
//For that compound containing only specified component is binded to the label of the high-level assembly.
- //The such way full structure of high-level assembly was replaced on the assembly contaning one component.
+ //The such way full structure of high-level assembly was replaced on the assembly containing one component.
//For case when free shape reference is (located root) also create an auxiliary assembly.
if ( XCAFDoc_ShapeTool::IsReference ( L ) )
{
@@ -624,7 +624,7 @@ Standard_Boolean STEPCAFControl_Writer::Transfer (STEPControl_Writer &writer,
return Standard_False;
writer.WS()->ComputeGraph(Standard_True );// added by skl 03.11.2003 since we use
- // writer.Transfer() wihtout compute graph
+ // writer.Transfer() without compute graph
// write names
if ( GetNameMode() )
@@ -879,7 +879,7 @@ Standard_Boolean STEPCAFControl_Writer::WriteExternRefs (const Handle(XSControl_
//=======================================================================
//function : FindEntities
-//purpose : auxilary
+//purpose : auxiliary
//=======================================================================
static Standard_Integer FindEntities (const Handle(Transfer_FinderProcess) &FP,
const TopoDS_Shape &S,
@@ -940,7 +940,7 @@ static Standard_Integer FindEntities (const Handle(Transfer_FinderProcess) &FP,
//=======================================================================
//function : getStyledItem
-//purpose : auxilary
+//purpose : auxiliary
//=======================================================================
static Standard_Boolean getStyledItem(const TopoDS_Shape& S,
const Handle(XCAFDoc_ShapeTool)& STool,
@@ -992,7 +992,7 @@ static Standard_Boolean getStyledItem(const TopoDS_Shape& S,
for (Standard_Integer jsi = 1; jsi <= aSelItm->NbStyles() && !found; jsi++) {
const Handle(StepVisual_PresentationStyleAssignment)& aFatherPSA = aSelItm->StylesValue(jsi);
- // check for PSA for top-level (not Presentation style by contex for NAUO)
+ // check for PSA for top-level (not Presentation style by context for NAUO)
if (aFatherPSA.IsNull() || aFatherPSA->IsKind(STANDARD_TYPE(StepVisual_PresentationStyleByContext)))
continue;
resSelItem = aSelItm;
@@ -1007,7 +1007,7 @@ static Standard_Boolean getStyledItem(const TopoDS_Shape& S,
//=======================================================================
//function : setDefaultInstanceColor
-//purpose : auxilary
+//purpose : auxiliary
//=======================================================================
static Standard_Boolean setDefaultInstanceColor (const Handle(StepVisual_StyledItem) &aSelItm,
Handle(StepVisual_PresentationStyleAssignment)& PSA)
@@ -1015,7 +1015,7 @@ static Standard_Boolean setDefaultInstanceColor (const Handle(StepVisual_StyledI
Standard_Boolean found = Standard_False;
for (Standard_Integer jsi = 1; jsi <= aSelItm->NbStyles() && !found; jsi++) {
Handle(StepVisual_PresentationStyleAssignment) aFatherPSA = aSelItm->StylesValue(jsi);
- // check for PSA for top-level (not Presentation style by contex for NAUO)
+ // check for PSA for top-level (not Presentation style by context for NAUO)
if (aFatherPSA.IsNull() || aFatherPSA->IsKind(STANDARD_TYPE(StepVisual_PresentationStyleByContext)))
return Standard_False;
@@ -1053,7 +1053,7 @@ static Standard_Boolean setDefaultInstanceColor (const Handle(StepVisual_StyledI
//=======================================================================
//function : MakeSTEPStyles
-//purpose : auxilary
+//purpose : auxiliary
//=======================================================================
static void MakeSTEPStyles (STEPConstruct_Styles &Styles,
const TopoDS_Shape &S,
@@ -1346,7 +1346,7 @@ Standard_Boolean STEPCAFControl_Writer::WriteColors (const Handle(XSControl_Work
} //end of work with CDSR
}
if ( !isVisible ) {
- // create invisibility item and refer for stiledItem
+ // create invisibility item and refer for styledItem
Handle(StepVisual_Invisibility) Invsblt = new StepVisual_Invisibility();
Handle(StepVisual_HArray1OfInvisibleItem) HInvsblItm =
new StepVisual_HArray1OfInvisibleItem (1,Styles.NbStyles());
@@ -1670,7 +1670,7 @@ Standard_Boolean STEPCAFControl_Writer::WriteLayers (const Handle(XSControl_Work
// PTV 23.01.2003 add the invisibility AFTER adding layer into the model.
// add the invisibility for the layer
if (isLinv) {
- // Invisibility Item for containig invisible layers.
+ // Invisibility Item for containing invisible layers.
Handle(StepVisual_HArray1OfInvisibleItem) HInvsblItm = new StepVisual_HArray1OfInvisibleItem (1,1);
StepVisual_InvisibleItem InvIt;
InvIt.SetValue( StepLayerAs );
@@ -1687,7 +1687,7 @@ Standard_Boolean STEPCAFControl_Writer::WriteLayers (const Handle(XSControl_Work
//=======================================================================
//function : getSHUOstyle
-//purpose : auxilary
+//purpose : auxiliary
//=======================================================================
static Standard_Boolean getSHUOstyle(const TDF_Label& aSHUOlab,
const Handle(XCAFDoc_ColorTool)& CTool,
@@ -1727,7 +1727,7 @@ static Standard_Boolean getSHUOstyle(const TDF_Label& aSHUOlab,
//=======================================================================
//function : getProDefinitionOfNAUO
-//purpose : auxilary
+//purpose : auxiliary
//=======================================================================
static Standard_Boolean getProDefinitionOfNAUO(const Handle(XSControl_WorkSession)& WS,
const TopoDS_Shape& theShape,
@@ -1774,7 +1774,7 @@ static Standard_Boolean getProDefinitionOfNAUO(const Handle(XSControl_WorkSessio
//=======================================================================
//function : writeSHUO
-//purpose : auxilary
+//purpose : auxiliary
//=======================================================================
static Standard_Boolean writeSHUO (const Handle(XCAFDoc_GraphNode)& theSHUO,
const Handle(XCAFDoc_ShapeTool)& theSTool,
@@ -1878,7 +1878,7 @@ static Standard_Boolean writeSHUO (const Handle(XCAFDoc_GraphNode)& theSHUO,
//=======================================================================
//function : createSHUOStyledItem
-//purpose : auxilary
+//purpose : auxiliary
//=======================================================================
static Standard_Boolean createSHUOStyledItem (const XCAFPrs_Style& style,
const Handle(StepRepr_ProductDefinitionShape)& PDS,
@@ -1986,7 +1986,7 @@ static Standard_Boolean createSHUOStyledItem (const XCAFPrs_Style& style,
else {
WS->Model()->AddWithRefs ( STEPstyle ); // add as root to the model, but it is not good
#ifdef OCCT_DEBUG
- std::cout << "Warning: " << __FILE__ << ": adds styled item of SHUO as root, casue cannot find MDGPR" << std::endl;
+ std::cout << "Warning: " << __FILE__ << ": adds styled item of SHUO as root, cause cannot find MDGPR" << std::endl;
#endif
}
// create invisibility item for the styled item
@@ -1996,7 +1996,7 @@ static Standard_Boolean createSHUOStyledItem (const XCAFPrs_Style& style,
setDefaultInstanceColor(override, PSA);
}
- // create invisibility item and refer for stiledItem
+ // create invisibility item and refer for styledItem
Handle(StepVisual_Invisibility) Invsblt = new StepVisual_Invisibility();
Handle(StepVisual_HArray1OfInvisibleItem) HInvsblItm =
new StepVisual_HArray1OfInvisibleItem (1,1);
@@ -2027,7 +2027,7 @@ Standard_Boolean STEPCAFControl_Writer::WriteSHUOs (const Handle(XSControl_WorkS
Handle(XCAFDoc_VisMaterialTool) aMatTool = XCAFDoc_DocumentTool::VisMaterialTool( labels(1) );
if (CTool.IsNull() )
return Standard_False;
- // map of transfered SHUO
+ // map of transferred SHUO
TColStd_MapOfTransient aMapOfMainSHUO;
// Iterate on requested shapes
for ( Standard_Integer i=1; i <= labels.Length(); i++ ) {
@@ -2102,7 +2102,7 @@ Standard_Boolean STEPCAFControl_Writer::WriteSHUOs (const Handle(XSControl_WorkS
//=======================================================================
//function : FindPDSforDGT
-//purpose : auxilary: find PDS for AdvancedFace or EdgeCurve for creation
+//purpose : auxiliary: find PDS for AdvancedFace or EdgeCurve for creation
// needed ShapeAspect in D> structure
//=======================================================================
static Standard_Boolean FindPDSforDGT(const Interface_Graph &aGraph,
@@ -2177,7 +2177,7 @@ static Standard_Boolean FindPDSforDGT(const Interface_Graph &aGraph,
//=======================================================================
//function : FindPDS
-//purpose : auxilary: find Product_definition_shape entity for given entity
+//purpose : auxiliary: find Product_definition_shape entity for given entity
//=======================================================================
static Handle(StepRepr_ProductDefinitionShape) FindPDS(const Interface_Graph &theGraph,
const Handle(Standard_Transient) &theEnt,
@@ -4016,7 +4016,7 @@ Standard_Boolean STEPCAFControl_Writer::WriteDGTsAP242 (const Handle(XSControl_W
//=======================================================================
//function : FindPDSforRI
-//purpose : auxilary:
+//purpose : auxiliary:
//=======================================================================
static Standard_Boolean FindPDSforRI(const Interface_Graph &aGraph,
const Handle(Standard_Transient) &ent,
diff --git a/src/STEPConstruct/STEPConstruct_Assembly.hxx b/src/STEPConstruct/STEPConstruct_Assembly.hxx
index 9f321b14ae..5bee240a49 100644
--- a/src/STEPConstruct/STEPConstruct_Assembly.hxx
+++ b/src/STEPConstruct/STEPConstruct_Assembly.hxx
@@ -36,7 +36,7 @@ class Interface_Graph;
//! basic data : a ShapeRepresentation, a Location ...
//!
//! Three ways of coding such item from a ShapeRepresentation :
-//! - do nothing : i.e. informations for assembly are ignored
+//! - do nothing : i.e. information for assembly are ignored
//! - create a MappedItem
//! - create a RepresentationRelationship (WithTransformation)
class STEPConstruct_Assembly
diff --git a/src/STEPConstruct/STEPConstruct_ExternRefs.cxx b/src/STEPConstruct/STEPConstruct_ExternRefs.cxx
index a6773ece07..78a469267b 100644
--- a/src/STEPConstruct/STEPConstruct_ExternRefs.cxx
+++ b/src/STEPConstruct/STEPConstruct_ExternRefs.cxx
@@ -199,7 +199,7 @@ Standard_Boolean STEPConstruct_ExternRefs::LoadExternRefs ()
for (Standard_Integer adri = 1; adri <= aSeqOfADR.Length(); adri++) {
Handle(StepAP214_AppliedDocumentReference) ADR =
Handle(StepAP214_AppliedDocumentReference)::DownCast(aSeqOfADR.Value(adri));
- // looking for Product Definition Formation and exlude excess PDWAD from aSeqOfPDWAD
+ // looking for Product Definition Formation and exclude excess PDWAD from aSeqOfPDWAD
Handle(StepBasic_ProductDefinitionWithAssociatedDocuments) aPDWAD;
findPDWADandExcludeExcess( ADR, aSeqOfPDWAD, Graph(), aPDWAD );
@@ -223,7 +223,7 @@ Standard_Boolean STEPConstruct_ExternRefs::LoadExternRefs ()
}
// search for Document file
Handle(StepBasic_DocumentFile) DocFile;
- if ( aPDWAD.IsNull() ) { // shoudnot be begin from TRJ11
+ if ( aPDWAD.IsNull() ) { // shouldn't begin from TRJ11
// lookinf from ADR
subs4 = Graph().Shareds(ADR);
} else
@@ -326,7 +326,7 @@ Standard_CString STEPConstruct_ExternRefs::FileName (const Standard_Integer num)
Handle(StepAP214_AppliedDocumentReference)::DownCast ( myAEIAs(num) );
// PTV 28.01.2003 CAX-IF TRJ11, file ext_ref_master.stp
- // serach document file name by long chain ADR->D<-DPE->PDF<-PDWAD->DF
+ // search document file name by long chain ADR->D<-DPE->PDF<-PDWAD->DF
Handle(StepBasic_ProductDefinitionWithAssociatedDocuments) aPDWAD;
// create an empty aSeqOfPDWAD
TColStd_SequenceOfTransient aSeqOfPDWAD;
@@ -335,7 +335,7 @@ Standard_CString STEPConstruct_ExternRefs::FileName (const Standard_Integer num)
// search for Document file
Interface_EntityIterator subs4;
- if ( aPDWAD.IsNull() ) { // shoudnot be begin from TRJ11
+ if ( aPDWAD.IsNull() ) { // shouldn't begin from TRJ11
// lookinf from ADR
subs4 = Graph().Shareds(ADR);
} else
@@ -842,7 +842,7 @@ Standard_Boolean STEPConstruct_ExternRefs::addAP214ExterRef (const Handle(StepAP
// create new product definition formation
Handle(StepBasic_ProductDefinitionFormation) PDF = new StepBasic_ProductDefinitionFormation;
- // name id taked from exapmle Standard_ExtString_ref_master.stp
+ // name id taked from example Standard_ExtString_ref_master.stp
Handle(TCollection_HAsciiString) PDF_ID = new TCollection_HAsciiString("1");
PDF->Init( PDF_ID, EmptyString, Product );
diff --git a/src/STEPConstruct/STEPConstruct_Part.hxx b/src/STEPConstruct/STEPConstruct_Part.hxx
index c6aafd1488..bf2cee7afa 100644
--- a/src/STEPConstruct/STEPConstruct_Part.hxx
+++ b/src/STEPConstruct/STEPConstruct_Part.hxx
@@ -36,8 +36,8 @@ class StepRepr_ProductDefinitionShape;
//! Provides tools for creating STEP structures associated
-//! with part (SDR), such as PRODUCT, PDF etc., as requied
-//! by current schema
+//! with part (SDR), such as PRODUCT, PDF etc., as
+//! required by current schema
//! Also allows to investigate and modify this data
class STEPConstruct_Part
{
diff --git a/src/STEPConstruct/STEPConstruct_Styles.cxx b/src/STEPConstruct/STEPConstruct_Styles.cxx
index 9356606171..b57aa6e87e 100644
--- a/src/STEPConstruct/STEPConstruct_Styles.cxx
+++ b/src/STEPConstruct/STEPConstruct_Styles.cxx
@@ -402,7 +402,7 @@ Standard_Boolean STEPConstruct_Styles::LoadInvisStyles (Handle(TColStd_HSequence
Handle(Interface_InterfaceModel) model = Model();
Standard_Integer nb = model->NbEntities();
Handle(Standard_Type) tInvisibility = STANDARD_TYPE(StepVisual_Invisibility);
- // serach for invisibility
+ // search for invisibility
for (Standard_Integer i = 1; i <= nb; i ++) {
Handle(Standard_Transient) enti = model->Value(i);
if ( enti->DynamicType() != tInvisibility )
diff --git a/src/STEPConstruct/STEPConstruct_Styles.hxx b/src/STEPConstruct/STEPConstruct_Styles.hxx
index 6a92031f81..bb2ed58671 100644
--- a/src/STEPConstruct/STEPConstruct_Styles.hxx
+++ b/src/STEPConstruct/STEPConstruct_Styles.hxx
@@ -110,7 +110,7 @@ public:
//! (which bring styles) and fills sequence of styles
Standard_EXPORT Standard_Boolean LoadStyles();
- //! Searches the STEP model for the INISIBILITY enteties
+ //! Searches the STEP model for the INISIBILITY entities
//! (which bring styles) and fills out sequence of styles
Standard_EXPORT Standard_Boolean LoadInvisStyles (Handle(TColStd_HSequenceOfTransient)& InvSyles) const;
diff --git a/src/STEPConstruct/STEPConstruct_UnitContext.cxx b/src/STEPConstruct/STEPConstruct_UnitContext.cxx
index 7804a95218..f2ffd2d9a2 100644
--- a/src/STEPConstruct/STEPConstruct_UnitContext.cxx
+++ b/src/STEPConstruct/STEPConstruct_UnitContext.cxx
@@ -65,7 +65,7 @@ STEPConstruct_UnitContext::STEPConstruct_UnitContext()
{
lengthDone = planeAngleDone = solidAngleDone = hasUncertainty =
areaDone = volumeDone = Standard_False;
- //pdn file r_47-sd.stp initalize field.
+ //pdn file r_47-sd.stp initialize field.
theUncertainty = RealLast();
}
@@ -85,7 +85,7 @@ void STEPConstruct_UnitContext::Init(const Standard_Real Tol3d)
Handle(TCollection_HAsciiString) contextType =
new TCollection_HAsciiString("3D Context with UNIT and UNCERTAINTY");
- // Units : LengthUnit and PlaneAngleUnit (no SolidAngleUnit appliable)
+ // Units : LengthUnit and PlaneAngleUnit (no SolidAngleUnit applicable)
Handle(StepBasic_NamedUnit) lengthUnit;
Standard_CString uName = 0;
diff --git a/src/STEPConstruct/STEPConstruct_UnitContext.hxx b/src/STEPConstruct/STEPConstruct_UnitContext.hxx
index 5b53280cd0..e1faad8f60 100644
--- a/src/STEPConstruct/STEPConstruct_UnitContext.hxx
+++ b/src/STEPConstruct/STEPConstruct_UnitContext.hxx
@@ -108,7 +108,7 @@ public:
//! This message can then be added as warning for transfer
Standard_EXPORT Standard_CString StatusMessage (const Standard_Integer status) const;
- //! Convert SI prefix defined by enumertaion to corresponding
+ //! Convert SI prefix defined by enumeration to corresponding
//! real factor (e.g. 1e6 for mega)
Standard_EXPORT static Standard_Real ConvertSiPrefix (const StepBasic_SiPrefix aPrefix);
diff --git a/src/STEPControl/STEPControl_ActorRead.cxx b/src/STEPControl/STEPControl_ActorRead.cxx
index deddf54571..3e0c3b7def 100644
--- a/src/STEPControl/STEPControl_ActorRead.cxx
+++ b/src/STEPControl/STEPControl_ActorRead.cxx
@@ -272,7 +272,7 @@ Standard_Boolean STEPControl_ActorRead::Recognize
// ============================================================================
// Method : STEPControl_ActorRead::Transfer
-// Purpose : recursive method that acces to the root entities and start the
+// Purpose : recursive method that accesses the root entities and starts the
// mapping
// ============================================================================
@@ -809,7 +809,7 @@ Handle(TransferBRep_ShapeBinder) STEPControl_ActorRead::TransferEntity(
sout<<" -- Actor : case ShapeRepr. NbItems="<AddFail(start,"Exeption is raised. Entity was not translated.");
+ TP->AddFail(start,"Exception is raised. Entity was not translated.");
TP->Bind(start, shbinder);
return shbinder;
}
@@ -1594,7 +1594,7 @@ Handle(TransferBRep_ShapeBinder) STEPControl_ActorRead::TransferEntity
}
catch(Standard_Failure const&)
{
- TP->AddFail(fs,"Exeption is raised. Entity was not translated.");
+ TP->AddFail(fs,"Exception is raised. Entity was not translated.");
sb.Nullify();
TP->Bind(fs, sb);
return sb;
diff --git a/src/STEPControl/STEPControl_ActorRead.hxx b/src/STEPControl/STEPControl_ActorRead.hxx
index 22cae5b63b..cebac50190 100644
--- a/src/STEPControl/STEPControl_ActorRead.hxx
+++ b/src/STEPControl/STEPControl_ActorRead.hxx
@@ -63,16 +63,16 @@ class STEPControl_ActorRead : public Transfer_ActorOfTransientProcess
public:
-
+
Standard_EXPORT STEPControl_ActorRead();
-
+
Standard_EXPORT virtual Standard_Boolean Recognize (const Handle(Standard_Transient)& start) Standard_OVERRIDE;
-
+
Standard_EXPORT virtual Handle(Transfer_Binder) Transfer
(const Handle(Standard_Transient)& start,
const Handle(Transfer_TransientProcess)& TP,
const Message_ProgressRange& theProgress = Message_ProgressRange()) Standard_OVERRIDE;
-
+
//! theUseTrsf - special flag for using Axis2Placement from ShapeRepresentation for transform root shape
Standard_EXPORT Handle(Transfer_Binder) TransferShape (
const Handle(Standard_Transient)& start,
@@ -80,20 +80,20 @@ public:
const Standard_Boolean isManifold = Standard_True,
const Standard_Boolean theUseTrsf = Standard_False,
const Message_ProgressRange& theProgress = Message_ProgressRange());
-
+
//! set units and tolerances context by given ShapeRepresentation
Standard_EXPORT void PrepareUnits (const Handle(StepRepr_Representation)& rep, const Handle(Transfer_TransientProcess)& TP);
-
+
//! reset units and tolerances context to default
//! (mm, radians, read.precision.val, etc.)
Standard_EXPORT void ResetUnits();
-
+
//! Computes transformation defined by two axis placements (in MAPPED_ITEM
//! or ITEM_DEFINED_TRANSFORMATION) taking into account their
//! representation contexts (i.e. units, which may be different)
//! Returns True if transformation is computed and is not an identity.
Standard_EXPORT Standard_Boolean ComputeTransformation (const Handle(StepGeom_Axis2Placement3d)& Origin, const Handle(StepGeom_Axis2Placement3d)& Target, const Handle(StepRepr_Representation)& OrigContext, const Handle(StepRepr_Representation)& TargContext, const Handle(Transfer_TransientProcess)& TP, gp_Trsf& Trsf);
-
+
//! Computes transformation defined by given
//! REPRESENTATION_RELATIONSHIP_WITH_TRANSFORMATION
Standard_EXPORT Standard_Boolean ComputeSRRWT (const Handle(StepRepr_RepresentationRelationship)& SRR, const Handle(Transfer_TransientProcess)& TP, gp_Trsf& Trsf);
@@ -105,7 +105,7 @@ public:
protected:
-
+
//! Transfers product definition entity
//! theUseTrsf - special flag for using Axis2Placement from ShapeRepresentation for transform root shape
Standard_EXPORT Handle(TransferBRep_ShapeBinder) TransferEntity (
@@ -113,13 +113,13 @@ protected:
const Handle(Transfer_TransientProcess)& TP,
const Standard_Boolean theUseTrsf = Standard_False,
const Message_ProgressRange& theProgress = Message_ProgressRange());
-
- //! Transfers next assembly usage occurence entity
+
+ //! Transfers next assembly usage occurrence entity
Standard_EXPORT Handle(TransferBRep_ShapeBinder) TransferEntity
(const Handle(StepRepr_NextAssemblyUsageOccurrence)& NAUO,
const Handle(Transfer_TransientProcess)& TP,
const Message_ProgressRange& theProgress = Message_ProgressRange());
-
+
//! Transfers shape representation entity
//! theUseTrsf - special flag for using Axis2Placement from ShapeRepresentation for transform root shape
Standard_EXPORT Handle(TransferBRep_ShapeBinder) TransferEntity (
@@ -128,13 +128,13 @@ protected:
Standard_Boolean& isBound,
const Standard_Boolean theUseTrsf = Standard_False,
const Message_ProgressRange& theProgress = Message_ProgressRange());
-
+
//! Transfers context dependent shape representation entity
Standard_EXPORT Handle(TransferBRep_ShapeBinder) TransferEntity
(const Handle(StepShape_ContextDependentShapeRepresentation)& CDSR,
const Handle(Transfer_TransientProcess)& TP,
const Message_ProgressRange& theProgress = Message_ProgressRange());
-
+
//! Transfers shape representation relationship entity
//! theUseTrsf - special flag for using Axis2Placement from ShapeRepresentation for transform root shape
Standard_EXPORT Handle(TransferBRep_ShapeBinder) TransferEntity (
@@ -143,20 +143,20 @@ protected:
const Standard_Integer nbrep = 0,
const Standard_Boolean theUseTrsf = Standard_False,
const Message_ProgressRange& theProgress = Message_ProgressRange());
-
+
//! Transfers geometric representation item entity such as ManifoldSolidBRep ,...etc
Standard_EXPORT Handle(TransferBRep_ShapeBinder) TransferEntity
(const Handle(StepGeom_GeometricRepresentationItem)& git,
const Handle(Transfer_TransientProcess)& TP,
const Standard_Boolean isManifold,
const Message_ProgressRange& theProgress);
-
+
//! Transfers mapped item
Standard_EXPORT Handle(TransferBRep_ShapeBinder) TransferEntity
(const Handle(StepRepr_MappedItem)& mapit,
const Handle(Transfer_TransientProcess)& TP,
const Message_ProgressRange& theProgress);
-
+
//! Transfers FaceSurface entity
Standard_EXPORT Handle(TransferBRep_ShapeBinder) TransferEntity
(const Handle(StepShape_FaceSurface)& fs,
@@ -165,8 +165,8 @@ protected:
Handle(TransferBRep_ShapeBinder) TransferEntity( const Handle(StepRepr_ConstructiveGeometryRepresentationRelationship)& theCGRR,
const Handle(Transfer_TransientProcess)& theTP);
-
- //! Tranlates file by old way when CDSR are roots . Acts only if "read.step.product_mode" is equal Off.
+
+ //! Translates file by old way when CDSR are roots . Acts only if "read.step.product_mode" is equal Off.
Standard_EXPORT Handle(TransferBRep_ShapeBinder) OldWay
(const Handle(Standard_Transient)& start,
const Handle(Transfer_TransientProcess)& TP,
@@ -176,9 +176,9 @@ protected:
private:
-
+
Standard_EXPORT TopoDS_Shell closeIDEASShell (const TopoDS_Shell& shell, const TopTools_ListOfShape& closingShells);
-
+
Standard_EXPORT void computeIDEASClosings (const TopoDS_Compound& comp, TopTools_IndexedDataMapOfShapeListOfShape& shellClosingMap);
StepToTopoDS_NMTool myNMTool;
diff --git a/src/STEPControl/STEPControl_ActorWrite.cxx b/src/STEPControl/STEPControl_ActorWrite.cxx
index 54295e1030..cf3b6dd0d7 100644
--- a/src/STEPControl/STEPControl_ActorWrite.cxx
+++ b/src/STEPControl/STEPControl_ActorWrite.cxx
@@ -581,7 +581,7 @@ static void UpdateMap (const TopoDS_Shape &shape,
}
*/
-// PTV 16.09.2002 added for transfering vertices.
+// PTV 16.09.2002 added for transferring vertices.
static Standard_Boolean transferVertex (const Handle(Transfer_FinderProcess)& FP,
Handle(StepShape_HArray1OfGeometricSetSelect)& aGSS,
const TopoDS_Shape& aShVrtx,
@@ -621,7 +621,7 @@ Handle(Transfer_Binder) STEPControl_ActorWrite::TransferShape
Handle(TransferBRep_ShapeMapper) mapper = Handle(TransferBRep_ShapeMapper)::DownCast(start);
Handle(Transfer_Binder) binder;
- // Indicates whether to use an exising NMSSR to write items to (ss; 13.11.2010)
+ // Indicates whether to use an existing NMSSR to write items to (ss; 13.11.2010)
Standard_Boolean useExistingNMSSR = Standard_False;
if (mapper.IsNull()) return binder;
@@ -1063,7 +1063,7 @@ Handle(Transfer_Binder) STEPControl_ActorWrite::TransferShape
// modified by PTV 16.09.2002 OCC725
else if (aShape.ShapeType() == TopAbs_COMPOUND ||
aShape.ShapeType() == TopAbs_VERTEX) {
- // it is compund with solo vertices.
+ // it is compound with solo vertices.
Standard_Integer aNbVrtx = 0;
Standard_Integer curNb = 0;
TopExp_Explorer anExp (aShape, TopAbs_VERTEX);
@@ -1080,7 +1080,7 @@ Handle(Transfer_Binder) STEPControl_ActorWrite::TransferShape
Handle(StepShape_GeometricCurveSet) aGCSet =
new StepShape_GeometricCurveSet;
aGCSet->SetName(empty);
- // iterates on compound with vertices and trances each vertex
+ // iterates on compound with vertices and traces each vertex
for ( anExp.ReInit() ; anExp.More(); anExp.Next() ) {
TopoDS_Shape aVertex = anExp.Current();
if ( aVertex.ShapeType() != TopAbs_VERTEX )
diff --git a/src/STEPControl/STEPControl_Controller.cxx b/src/STEPControl/STEPControl_Controller.cxx
index 1e611de35f..ceb1d99b81 100644
--- a/src/STEPControl/STEPControl_Controller.cxx
+++ b/src/STEPControl/STEPControl_Controller.cxx
@@ -191,7 +191,7 @@ STEPControl_Controller::STEPControl_Controller ()
Interface_Static::Init ("XSTEP","write.step.sequence",'t',"ToSTEP");
Interface_Static::Init ("XSTEP","read.step.sequence",'t',"FromSTEP");
- // ika 28.07.16: Paremeter to read all top level solids and shells,
+ // ika 28.07.16: Parameter to read all top level solids and shells,
// should be used only in case of invalid shape_representation without links to shapes.
Interface_Static::Init("step", "read.step.all.shapes", 'e', "");
Interface_Static::Init("step", "read.step.all.shapes", '&', "enum 0");
diff --git a/src/SWDRAW/SWDRAW_ShapeUpgrade.cxx b/src/SWDRAW/SWDRAW_ShapeUpgrade.cxx
index 839d4d15b9..e0d534deed 100644
--- a/src/SWDRAW/SWDRAW_ShapeUpgrade.cxx
+++ b/src/SWDRAW/SWDRAW_ShapeUpgrade.cxx
@@ -266,7 +266,7 @@ static Standard_Integer DT_ShapeConvertRev (Draw_Interpretor& di,
return 0;
}
else {
- // not a face: we can use the empty consturctor.
+ // not a face: we can use the empty constructor.
ShapeUpgrade_ShapeDivideContinuity theTool;
Standard_Real Tol=Draw::Atof(a[n-1]);
theTool.SetTolerance(Tol);
diff --git a/src/Select3D/Select3D_SensitiveCircle.cxx b/src/Select3D/Select3D_SensitiveCircle.cxx
index 0eea1fa5cc..df02327e56 100644
--- a/src/Select3D/Select3D_SensitiveCircle.cxx
+++ b/src/Select3D/Select3D_SensitiveCircle.cxx
@@ -29,7 +29,7 @@ namespace
{
// Check if number of points is invalid.
// In this case myPolyg raises Standard_ConstructionError
- // exception (look constructor bellow).
+ // exception (see constructor below).
if (theNbPnts <= 0)
return 0;
diff --git a/src/ShapeAnalysis/ShapeAnalysis.cxx b/src/ShapeAnalysis/ShapeAnalysis.cxx
index 3efe42d207..acc8a75be6 100644
--- a/src/ShapeAnalysis/ShapeAnalysis.cxx
+++ b/src/ShapeAnalysis/ShapeAnalysis.cxx
@@ -117,7 +117,7 @@ Standard_Real ShapeAnalysis::AdjustToPeriod(const Standard_Real Val,
//=======================================================================
//function : ReverceSeq
-//purpose : auxilary
+//purpose : auxiliary
//=======================================================================
template
static inline void ReverseSeq (HSequence& Seq)
diff --git a/src/ShapeAnalysis/ShapeAnalysis_CheckSmallFace.hxx b/src/ShapeAnalysis/ShapeAnalysis_CheckSmallFace.hxx
index 50da1a3848..d1c8727306 100644
--- a/src/ShapeAnalysis/ShapeAnalysis_CheckSmallFace.hxx
+++ b/src/ShapeAnalysis/ShapeAnalysis_CheckSmallFace.hxx
@@ -57,7 +57,7 @@ public:
//! to allow recovering connectivities after fixing or removing
//! the small faces or parts of faces
//! Enchains various checks on a face
- //! inshell : to compute more informations, relevant to topology
+ //! inshell : to compute more information, relevant to topology
Standard_EXPORT ShapeAnalysis_CheckSmallFace();
//! Checks if a Face is as a Spot
@@ -86,7 +86,7 @@ public:
//! tolerance, given or some of those of E1 and E2
Standard_EXPORT Standard_Boolean CheckStripEdges (const TopoDS_Edge& E1, const TopoDS_Edge& E2, const Standard_Real tol, Standard_Real& dmax) const;
- //! Searchs for two and only two edges up tolerance
+ //! Searches for two and only two edges up tolerance
//! Returns True if OK, false if not 2 edges
//! If True, returns the two edges and their maximum distance
Standard_EXPORT Standard_Boolean FindStripEdges (const TopoDS_Face& F, TopoDS_Edge& E1, TopoDS_Edge& E2, const Standard_Real tol, Standard_Real& dmax);
diff --git a/src/ShapeAnalysis/ShapeAnalysis_Edge.hxx b/src/ShapeAnalysis/ShapeAnalysis_Edge.hxx
index d39aca0aa2..7437b07d6d 100644
--- a/src/ShapeAnalysis/ShapeAnalysis_Edge.hxx
+++ b/src/ShapeAnalysis/ShapeAnalysis_Edge.hxx
@@ -185,8 +185,8 @@ public:
//! Checks the first edge is overlapped with second edge.
//! If distance between two edges is less then theTolOverlap
- //! edges is overlapped.
- //! theDomainDis - length of part of edges on wich edges is overlapped.
+ //! edges are overlapped.
+ //! theDomainDis - length of part of edges on which edges are overlapped.
Standard_EXPORT Standard_Boolean CheckOverlapping (const TopoDS_Edge& theEdge1, const TopoDS_Edge& theEdge2, Standard_Real& theTolOverlap, const Standard_Real theDomainDist = 0.0);
diff --git a/src/ShapeAnalysis/ShapeAnalysis_Geom.hxx b/src/ShapeAnalysis/ShapeAnalysis_Geom.hxx
index b036ef9511..2ba7d39d8a 100644
--- a/src/ShapeAnalysis/ShapeAnalysis_Geom.hxx
+++ b/src/ShapeAnalysis/ShapeAnalysis_Geom.hxx
@@ -43,7 +43,7 @@ public:
//! plane and given points
Standard_EXPORT static Standard_Boolean NearestPlane (const TColgp_Array1OfPnt& Pnts, gp_Pln& aPln, Standard_Real& Dmax);
- //! Builds transfromation object out of matrix.
+ //! Builds transformation object out of matrix.
//! Matrix must be 3 x 4.
//! Unit is used as multiplier.
Standard_EXPORT static Standard_Boolean PositionTrsf (const Handle(TColStd_HArray2OfReal)& coefs, gp_Trsf& trsf, const Standard_Real unit, const Standard_Real prec);
diff --git a/src/ShapeAnalysis/ShapeAnalysis_ShapeContents.hxx b/src/ShapeAnalysis/ShapeAnalysis_ShapeContents.hxx
index 9d9d346c28..f4d63fb9b9 100644
--- a/src/ShapeAnalysis/ShapeAnalysis_ShapeContents.hxx
+++ b/src/ShapeAnalysis/ShapeAnalysis_ShapeContents.hxx
@@ -38,7 +38,7 @@ public:
//! Initialize fields and call ClearFlags()
Standard_EXPORT ShapeAnalysis_ShapeContents();
- //! Clears all accumulated statictics
+ //! Clears all accumulated statistics
Standard_EXPORT void Clear();
//! Clears all flags
diff --git a/src/ShapeAnalysis/ShapeAnalysis_Surface.cxx b/src/ShapeAnalysis/ShapeAnalysis_Surface.cxx
index 4098564634..935e0436de 100644
--- a/src/ShapeAnalysis/ShapeAnalysis_Surface.cxx
+++ b/src/ShapeAnalysis/ShapeAnalysis_Surface.cxx
@@ -1404,7 +1404,7 @@ Standard_Real ShapeAnalysis_Surface::UVFromIso(const gp_Pnt& P3d, const Standard
//std::cout<<"Adaptor3d()->Surface().GetType() = "<Surface().GetType()<.
- //! That means, that it is not neccessary for to be in the
+ //! That means, that it is not necessary for to be in the
//! range [1, NbSingularities] but must be not greater than
//! possible (see ComputeSingularities).
//! The returned characteristics are:
@@ -192,7 +192,7 @@ public:
//! computed.
//! The pcurve (p2d1, p2d2) is considered as degenerate if:
//! - max distance in 3d is less than
- //! - max distance in 2d is at least times greather than
+ //! - max distance in 2d is at least times greater than
//! the Resolution computed from max distance in 3d
//! (max3d < tol && max2d > ratio * Resolution(max3d))
//! NOTE: should be >1 (e.g. 10)
@@ -268,7 +268,7 @@ public:
//! If >0. and distance between solution and
//! P3D is greater than , that solution is considered
//! as bad, and ValueOfUV() is used.
- //! If not succeded, calls ValueOfUV()
+ //! If not succeeded, calls ValueOfUV()
Standard_EXPORT gp_Pnt2d NextValueOfUV (const gp_Pnt2d& p2dPrev,
const gp_Pnt& P3D,
const Standard_Real preci,
diff --git a/src/ShapeAnalysis/ShapeAnalysis_TransferParametersProj.cxx b/src/ShapeAnalysis/ShapeAnalysis_TransferParametersProj.cxx
index 5aebbf3953..fe5e483517 100644
--- a/src/ShapeAnalysis/ShapeAnalysis_TransferParametersProj.cxx
+++ b/src/ShapeAnalysis/ShapeAnalysis_TransferParametersProj.cxx
@@ -237,7 +237,7 @@ Standard_Real ShapeAnalysis_TransferParametersProj::Perform(const Standard_Real
//=======================================================================
//function : CorrectParameter
-//purpose : auxilary
+//purpose : auxiliary
//=======================================================================
static Standard_Real CorrectParameter(const Handle(Geom2d_Curve) crv,
const Standard_Real param)
diff --git a/src/ShapeAnalysis/ShapeAnalysis_TransferParametersProj.hxx b/src/ShapeAnalysis/ShapeAnalysis_TransferParametersProj.hxx
index 39dc6745a9..b5cdf72233 100644
--- a/src/ShapeAnalysis/ShapeAnalysis_TransferParametersProj.hxx
+++ b/src/ShapeAnalysis/ShapeAnalysis_TransferParametersProj.hxx
@@ -47,7 +47,7 @@ class ShapeAnalysis_TransferParametersProj : public ShapeAnalysis_TransferParame
public:
- //! Creats empty constructor.
+ //! Creates empty constructor.
Standard_EXPORT ShapeAnalysis_TransferParametersProj();
Standard_EXPORT ShapeAnalysis_TransferParametersProj(const TopoDS_Edge& E, const TopoDS_Face& F);
diff --git a/src/ShapeAnalysis/ShapeAnalysis_Wire.cxx b/src/ShapeAnalysis/ShapeAnalysis_Wire.cxx
index da17a10097..2500521779 100644
--- a/src/ShapeAnalysis/ShapeAnalysis_Wire.cxx
+++ b/src/ShapeAnalysis/ShapeAnalysis_Wire.cxx
@@ -807,7 +807,7 @@ Standard_Boolean ShapeAnalysis_Wire::CheckDegenerated (const Standard_Integer nu
//pdn allows to insert two sequences of degenerated edges (on separate bounds of surfaces)
if ( n1 != n2 && BRep_Tool::Degenerated ( E1 ) &&
! sae.HasPCurve ( E1, Face() ) ) {
- //:abv 13.05.02: OCC320 - fail (to remove edge) if two consequtive degenerated edges w/o pcurves
+ //:abv 13.05.02: OCC320 - fail (to remove edge) if two consecutive degenerated edges w/o pcurves
if ( BRep_Tool::Degenerated ( E2 ) )
myStatus |= ShapeExtend::EncodeStatus (ShapeExtend_FAIL2);
return Standard_False;
@@ -931,7 +931,7 @@ Standard_Boolean ShapeAnalysis_Wire::CheckDegenerated (const Standard_Integer nu
//#84 rln 18.03.99 if pcurve is not degenerate anymore, the fix is postponned
//to ShapeFix_Wire::FixLacking
if ( ! mySurf->IsDegenerated ( p2d1, p2d2, precVtx, 10. ) ) { //:s1 abv 22 Apr 99: PRO7226 #489490 //smh#9
- //:abv 24.05.02: OCC320 - fail (to remove edge) if two consequtive degenerated edges w/o pcurves
+ //:abv 24.05.02: OCC320 - fail (to remove edge) if two consecutive degenerated edges w/o pcurves
if ( BRep_Tool::Degenerated ( E2 ) )
myStatus |= ShapeExtend::EncodeStatus (ShapeExtend_FAIL2);
return Standard_False;
@@ -1235,7 +1235,7 @@ Standard_Boolean ShapeAnalysis_Wire::CheckIntersectingEdges (const Standard_Inte
//:64 abv 25 Dec 97: Attention!
// Since Intersection algorithm is not symmetrical, for consistency with BRepCheck
- // edge with lower order number shoud be intersecting with edge with higher one
+ // edge with lower order number should be intersecting with edge with higher one
// i.e., for intersection of last and first edges, they should go in reversed order
// Example: entity #38285 from bug CSR #CTS17806
// NOTE: Tr1 and Tr2 are not reordered because they are used in the same manner
diff --git a/src/ShapeAnalysis/ShapeAnalysis_Wire.hxx b/src/ShapeAnalysis/ShapeAnalysis_Wire.hxx
index e089326fe2..3bce04c331 100644
--- a/src/ShapeAnalysis/ShapeAnalysis_Wire.hxx
+++ b/src/ShapeAnalysis/ShapeAnalysis_Wire.hxx
@@ -70,7 +70,7 @@ DEFINE_STANDARD_HANDLE(ShapeAnalysis_Wire, Standard_Transient)
//!
//! The methods of the given class match to ones of the class
//! ShapeFix_Wire, e.g., CheckSmall and FixSmall.
-//! This class also includes some auxilary methods
+//! This class also includes some auxiliary methods
//! (e.g., CheckOuterBound, etc.),
//! which have no pair in ShapeFix_Wire.
//!
@@ -84,7 +84,7 @@ DEFINE_STANDARD_HANDLE(ShapeAnalysis_Wire, Standard_Transient)
//! corresponding Status... method.
//! The 'advanced' functions share the single status field which
//! contains the result of the last performed 'advanced' method.
-//! It is quried by the method LastCheckStatus().
+//! It is queried by the method LastCheckStatus().
//!
//! In order to prepare an analyzer, it is necessary to load a wire,
//! set face and precision.
@@ -156,7 +156,7 @@ public:
const Handle(ShapeAnalysis_Surface)& Surface() const;
//! Performs all the checks in the following order :
- //! CheckOrder, CheckSmall, CheckConected, CheckEdgeCurves,
+ //! CheckOrder, CheckSmall, CheckConnected, CheckEdgeCurves,
//! CheckDegenerated, CheckSelfIntersection, CheckLacking,
//! CheckClosed
//! Returns: True if at least one method returned True;
@@ -178,7 +178,7 @@ public:
//! Returns: True if at least one small edge was detected
Standard_EXPORT Standard_Boolean CheckSmall (const Standard_Real precsmall = 0.0);
- //! Checks edges geometry (consitency of 2d and 3d senses, adjasment
+ //! Checks edges geometry (consistency of 2d and 3d senses, adjasment
//! of curves to the vertices, etc.).
//! The order of the checks :
//! Call ShapeAnalysis_Wire to check:
@@ -245,7 +245,7 @@ public:
//! FAIL : algorithm failed (could not detect order)
Standard_EXPORT Standard_Boolean CheckOrder (ShapeAnalysis_WireOrder& sawo, const Standard_Boolean isClosed = Standard_True, const Standard_Boolean mode3d = Standard_True);
- //! Checks connected edges (num-th and preceeding).
+ //! Checks connected edges (num-th and preceding).
//! Tests with starting preci from or with if
//! it is greater.
//! Considers Vertices.
@@ -286,7 +286,7 @@ public:
Standard_EXPORT Standard_Boolean CheckSeam (const Standard_Integer num);
//! Checks for degenerated edge between two adjacent ones.
- //! Fills parameters dgnr1 and dgnr2 with points in paramterical
+ //! Fills parameters dgnr1 and dgnr2 with points in parametric
//! space that correspond to the singularity (either gap that
//! needs to be filled by degenerated edge or that already filled)
//! Returns: False if no singularity or edge is already degenerated,
@@ -309,7 +309,7 @@ public:
//! Checks gap between edges in 3D (3d curves).
//! Checks the distance between ends of 3d curves of the num-th
- //! and preceeding edge.
+ //! and preceding edge.
//! The distance can be queried by MinDistance3d.
//!
//! Returns: True if status is DONE
@@ -321,7 +321,7 @@ public:
//! Checks gap between edges in 2D (pcurves).
//! Checks the distance between ends of pcurves of the num-th
- //! and preceeding edge.
+ //! and preceding edge.
//! The distance can be queried by MinDistance2d.
//!
//! Returns: True if status is DONE
@@ -436,8 +436,8 @@ public:
//! Status:
//! DONE1 : If follows , direct sense (normal)
//! DONE2 : If follows , but if reversed
- //! DONE3 : If preceeds , direct sense
- //! DONE4 : If preceeds , but if reversed
+ //! DONE3 : If precedes , direct sense
+ //! DONE4 : If precedes , but if reversed
//! FAIL1 : If is neither an edge nor a wire
//! FAIL2 : If cannot be connected to
//!
@@ -464,7 +464,7 @@ public:
//! Remark: First method CheckShapeConnect calls this one
Standard_EXPORT Standard_Boolean CheckShapeConnect (Standard_Real& tailhead, Standard_Real& tailtail, Standard_Real& headtail, Standard_Real& headhead, const TopoDS_Shape& shape, const Standard_Real prec = 0.0);
- //! Checks existance of loop on wire and return vertices wich are loop vertices
+ //! Checks existence of loop on wire and return vertices which are loop vertices
//! (vertices belonging to a few pairs of edges)
Standard_EXPORT Standard_Boolean CheckLoop (TopTools_IndexedMapOfShape& aMapLoopVertices, TopTools_DataMapOfShapeListOfShape& aMapVertexEdges, TopTools_MapOfShape& aMapSmallEdges, TopTools_MapOfShape& aMapSeemEdges);
@@ -494,7 +494,7 @@ public:
Standard_Boolean StatusLoop (const ShapeExtend_Status Status) const;
- //! Querying the status of the LAST perfomed 'Advanced' checking procedure
+ //! Querying the status of the LAST performed 'Advanced' checking procedure
Standard_Boolean LastCheckStatus (const ShapeExtend_Status Status) const;
//! Returns the last lowest distance in 3D computed by
diff --git a/src/ShapeAnalysis/ShapeAnalysis_WireOrder.hxx b/src/ShapeAnalysis/ShapeAnalysis_WireOrder.hxx
index 22a3576475..551f80dfc6 100644
--- a/src/ShapeAnalysis/ShapeAnalysis_WireOrder.hxx
+++ b/src/ShapeAnalysis/ShapeAnalysis_WireOrder.hxx
@@ -64,7 +64,7 @@ public:
Standard_EXPORT ShapeAnalysis_WireOrder(const Standard_Boolean mode3d, const Standard_Real tol);
//! Sets new values. Clears the connexion list
- //! If changes, also clears the edge list (else, doesnt)
+ //! If changes, also clears the edge list (else, doesn't)
Standard_EXPORT void SetMode (const Standard_Boolean mode3d, const Standard_Real tol);
//! Returns the working tolerance
@@ -121,7 +121,7 @@ public:
//! Returns the values of the couple , as 2D values
Standard_EXPORT void XY (const Standard_Integer num, gp_XY& start2d, gp_XY& end2d) const;
- //! Returns the gap between a couple and its preceeding
+ //! Returns the gap between a couple and its preceding
//! is considered ordered
//! If = 0 (D), returns the greatest gap found
Standard_EXPORT Standard_Real Gap (const Standard_Integer num = 0) const;
diff --git a/src/ShapeAnalysis/ShapeAnalysis_WireVertex.hxx b/src/ShapeAnalysis/ShapeAnalysis_WireVertex.hxx
index e3475c4dec..1fbfbb3710 100644
--- a/src/ShapeAnalysis/ShapeAnalysis_WireVertex.hxx
+++ b/src/ShapeAnalysis/ShapeAnalysis_WireVertex.hxx
@@ -41,7 +41,7 @@ class gp_XYZ;
//! The Wire has formerly been loaded in a ShapeExtend_WireData
//! For each Vertex, a status and some data can be attached
//! (case found, position and parameters)
-//! Then, these informations can be used to fix problems
+//! Then, these information can be used to fix problems
class ShapeAnalysis_WireVertex
{
public:
@@ -62,10 +62,10 @@ public:
//! Sets the precision for work
//! Analysing: for each Vertex, comparison between the end of the
- //! preceeding edge and the start of the following edge
+ //! preceding edge and the start of the following edge
//! Each Vertex rank corresponds to the End Vertex of the Edge of
//! same rank, in the ShapeExtend_WireData. I.E. for Vertex ,
- //! Edge is the preceeding one, is the following one
+ //! Edge is the preceding one, is the following one
Standard_EXPORT void SetPrecision (const Standard_Real preci);
Standard_EXPORT void Analyze();
@@ -79,18 +79,18 @@ public:
//! Records status "Close Coords" (at the Precision of )
Standard_EXPORT void SetClose (const Standard_Integer num);
- //! is the End of preceeding Edge, and its projection on the
+ //! is the End of preceding Edge, and its projection on the
//! following one lies on it at the Precision of
//! gives the parameter on the following edge
Standard_EXPORT void SetEnd (const Standard_Integer num, const gp_XYZ& pos, const Standard_Real ufol);
//! is the Start of following Edge, its projection on the
- //! preceeding one lies on it at the Precision of
- //! gives the parameter on the preceeding edge
+ //! preceding one lies on it at the Precision of
+ //! gives the parameter on the preceding edge
Standard_EXPORT void SetStart (const Standard_Integer num, const gp_XYZ& pos, const Standard_Real upre);
//! is the Intersection of both Edges
- //! is the parameter on preceeding edge, on
+ //! is the parameter on preceding edge, on
//! following edge
Standard_EXPORT void SetInters (const Standard_Integer num, const gp_XYZ& pos, const Standard_Real upre, const Standard_Real ufol);
@@ -123,14 +123,14 @@ public:
//! Returns the recorded status for a vertex
//! With its recorded position and parameters on both edges
//! These values are relevant regarding the status:
- //! Status Meaning Position Preceeding Following
+ //! Status Meaning Position Preceding Following
//! 0 Same no no no
//! 1 SameCoord no no no
//! 2 Close no no no
//! 3 End yes no yes
//! 4 Start yes yes no
//! 5 Inters yes yes yes
- //! -1 Disjoined no no no
+ //! -1 Disjoined no no no
Standard_EXPORT Standard_Integer Data (const Standard_Integer num, gp_XYZ& pos, Standard_Real& upre, Standard_Real& ufol) const;
//! For a given status, returns the rank of the vertex which
diff --git a/src/ShapeBuild/ShapeBuild_Edge.cxx b/src/ShapeBuild/ShapeBuild_Edge.cxx
index 90383dec12..feee4e8224 100644
--- a/src/ShapeBuild/ShapeBuild_Edge.cxx
+++ b/src/ShapeBuild/ShapeBuild_Edge.cxx
@@ -549,7 +549,7 @@ Handle(Geom2d_Curve) ShapeBuild_Edge::TransformPCurve(const Handle(Geom2d_Curve)
if(result->IsKind(STANDARD_TYPE(Geom2d_Conic))) {
//gp_Pln pln(gp_Pnt(0,0,0),gp_Dir(0,0,1));
//Handle(Geom_Curve) curve = GeomAPI::To3d(result,pln);
- Handle(Geom2d_Curve) tcurve = new Geom2d_TrimmedCurve(result,aFirst,aLast); //protection agains parabols ets
+ Handle(Geom2d_Curve) tcurve = new Geom2d_TrimmedCurve(result,aFirst,aLast); //protection against parabols ets
Geom2dConvert_ApproxCurve approx (tcurve, Precision::Approximation(),
GeomAbs_C1, 100, 6 );
if ( approx.HasResult() )
diff --git a/src/ShapeBuild/ShapeBuild_ReShape.hxx b/src/ShapeBuild/ShapeBuild_ReShape.hxx
index 06ae83df81..9c37ffbcb5 100644
--- a/src/ShapeBuild/ShapeBuild_ReShape.hxx
+++ b/src/ShapeBuild/ShapeBuild_ReShape.hxx
@@ -60,7 +60,7 @@ public:
//!
//! gives the level of type until which requests are taken
//! into account. For subshapes of the type no rebuild
- //! and futher exploring are done.
+ //! and further exploring are done.
//! ACTUALLY, NOT IMPLEMENTED BELOW TopAbs_FACE
//!
//! says how to do on a SOLID,SHELL ... if one of its
@@ -76,7 +76,7 @@ public:
//!
//! gives the level of type until which requests are taken
//! into account. For subshapes of the type no rebuild
- //! and futher exploring are done.
+ //! and further exploring are done.
//!
//! NOTE: each subshape can be replaced by shape of the same type
//! or by shape containing only shapes of that type (for
diff --git a/src/ShapeConstruct/ShapeConstruct.cxx b/src/ShapeConstruct/ShapeConstruct.cxx
index ca873ab849..4d8e71d1a6 100644
--- a/src/ShapeConstruct/ShapeConstruct.cxx
+++ b/src/ShapeConstruct/ShapeConstruct.cxx
@@ -79,7 +79,7 @@ Handle(Geom_BSplineCurve) ShapeConstruct::ConvertCurveToBSpline(const Handle(Geo
if(C3D->IsKind(STANDARD_TYPE(Geom_Conic)))
MaxDeg = Min(MaxDeg,6);
- Handle(Geom_Curve) tcurve = new Geom_TrimmedCurve(C3D,First,Last); //protection agains parabols ets
+ Handle(Geom_Curve) tcurve = new Geom_TrimmedCurve(C3D,First,Last); //protection against parabols ets
try {
OCC_CATCH_SIGNALS
GeomConvert_ApproxCurve approx (tcurve, Tol3d, Continuity, MaxSegments, MaxDeg);
@@ -115,7 +115,7 @@ Handle(Geom2d_BSplineCurve) ShapeConstruct::ConvertCurveToBSpline(const Handle(G
{
Handle(Geom2d_BSplineCurve) aBSpline2d;
if(C2D->IsKind(STANDARD_TYPE(Geom2d_Conic))) {
- Handle(Geom2d_Curve) tcurve = new Geom2d_TrimmedCurve(C2D,First,Last); //protection agains parabols ets
+ Handle(Geom2d_Curve) tcurve = new Geom2d_TrimmedCurve(C2D,First,Last); //protection against parabols ets
Geom2dConvert_ApproxCurve approx (tcurve, Tol2d, Continuity, MaxSegments, MaxDegree);
if ( approx.HasResult() )
aBSpline2d = approx.Curve();
@@ -241,7 +241,7 @@ Handle(Geom_BSplineSurface) ShapeConstruct::ConvertSurfaceToBSpline(const Handle
#ifdef OCCT_DEBUG
Standard_Integer nbOfSpan = (anApprox.Surface()->NbUKnots()-1)*(anApprox.Surface()->NbVKnots()-1);
std::cout << "\terror = " << anApprox.MaxError() << "\tspans = " << nbOfSpan << std::endl;
- std::cout << " Surface is aproximated with continuity " << (GeomAbs_Shape)cnt <0 && myCashe3d[0].Distance(points(1)) > myCashe3d[0].Distance(points(nbrPnt)) &&
myCashe3d[0].Distance(points(nbrPnt)) ul) { firstX -= Up; pnt2d (1).SetX(firstX); }
}
- // shift first point, according to cashe
+ // shift first point, according to cache
if (mySurf->Surface()->IsUPeriodic() && isFromCashe) {
Standard_Real aMinParam = uf, aMaxParam = ul;
while (aMinParam > aSavedPoint.X()) {
@@ -1230,7 +1230,7 @@ Standard_Boolean ShapeConstruct_ProjectCurveOnSurface::PerformByProjLib(Handle(G
while (firstY < vf) { firstY += Vp; pnt2d (1).SetY(firstY); }
while (firstY > vl) { firstY -= Vp; pnt2d (1).SetY(firstY); }
}
- // shift first point, according to cashe
+ // shift first point, according to cache
if (mySurf->Surface()->IsVPeriodic() && isFromCashe) {
Standard_Real aMinParam = vf, aMaxParam = vl;
while (aMinParam > aSavedPoint.Y()) {
@@ -1470,7 +1470,7 @@ Standard_Boolean ShapeConstruct_ProjectCurveOnSurface::PerformByProjLib(Handle(G
}
}
- //:q9: fill cashe
+ //:q9: fill cache
myNbCashe = 2;
if(ChangeCycle) { // msv 10.08.04: avoid using of uninitialised field
//if(myCashe3d[0].Distance(points(1))>Precision::Confusion() &&
diff --git a/src/ShapeConstruct/ShapeConstruct_ProjectCurveOnSurface.hxx b/src/ShapeConstruct/ShapeConstruct_ProjectCurveOnSurface.hxx
index 539083067b..c4cf5ad752 100644
--- a/src/ShapeConstruct/ShapeConstruct_ProjectCurveOnSurface.hxx
+++ b/src/ShapeConstruct/ShapeConstruct_ProjectCurveOnSurface.hxx
@@ -101,7 +101,7 @@ public:
//! Default value is True
Standard_EXPORT Standard_Integer& AdjustOverDegenMode();
- //! Returns the status of last Peform
+ //! Returns the status of last Perform
Standard_EXPORT Standard_Boolean Status (const ShapeExtend_Status theStatus) const;
//! Computes the projection of 3d curve onto a surface using the
diff --git a/src/ShapeCustom/ShapeCustom_BSplineRestriction.cxx b/src/ShapeCustom/ShapeCustom_BSplineRestriction.cxx
index fa14cf4261..0745e84b1e 100644
--- a/src/ShapeCustom/ShapeCustom_BSplineRestriction.cxx
+++ b/src/ShapeCustom/ShapeCustom_BSplineRestriction.cxx
@@ -686,7 +686,7 @@ Standard_Boolean ShapeCustom_BSplineRestriction::ConvertSurface(const Handle(Geo
std::cout << " iteration = " << i
<< "\terror = " << anApprox.MaxError()
<< "\tspans = " << nbOfSpan << std::endl;
- std::cout<< " Surface is aproximated with continuity " << IntegerToGeomAbsShape(Min(aCU,aCV)) <GMaxDegree(); continue;}
else {
#ifdef OCCT_DEBUG
- std::cout<<" Approximation iteration out. Surface is not aproximated." << std::endl;
+ std::cout<<" Approximation iteration out. Surface is not approximated." << std::endl;
#endif
return Standard_False;
}
@@ -893,7 +893,7 @@ Standard_Boolean ShapeCustom_BSplineRestriction::ConvertCurve(const Handle(Geom_
if (aCurve->IsKind(STANDARD_TYPE(Geom_Conic)) && myParameters->ConvertCurve3d()) {
Handle(Geom_BSplineCurve) aBSpline;
- Handle(Geom_Curve) tcurve = new Geom_TrimmedCurve(aCurve,First,Last); //protection agains parabols ets
+ Handle(Geom_Curve) tcurve = new Geom_TrimmedCurve(aCurve,First,Last); //protection against parabols ets
GeomConvert_ApproxCurve approx (tcurve, myTol3d/*Precision::Approximation()*/, myContinuity2d, myNbMaxSeg, 6 );
if ( approx.HasResult() )
aBSpline = approx.Curve();
@@ -1201,7 +1201,7 @@ Standard_Boolean ShapeCustom_BSplineRestriction::ConvertCurve2d(const Handle(Geo
if (aCurve->IsKind(STANDARD_TYPE(Geom2d_Conic)) && myParameters->ConvertCurve2d()) {
Handle(Geom2d_BSplineCurve) aBSpline2d;
- Handle(Geom2d_Curve) tcurve = new Geom2d_TrimmedCurve(aCurve,First,Last); //protection agains parabols ets
+ Handle(Geom2d_Curve) tcurve = new Geom2d_TrimmedCurve(aCurve,First,Last); //protection against parabols ets
Geom2dConvert_ApproxCurve approx (tcurve, myTol2d,myContinuity2d,myNbMaxSeg , 6 );
if ( approx.HasResult() )
aBSpline2d = approx.Curve();
diff --git a/src/ShapeCustom/ShapeCustom_BSplineRestriction.hxx b/src/ShapeCustom/ShapeCustom_BSplineRestriction.hxx
index 1f0f6bfe40..b4d3d1ecd1 100644
--- a/src/ShapeCustom/ShapeCustom_BSplineRestriction.hxx
+++ b/src/ShapeCustom/ShapeCustom_BSplineRestriction.hxx
@@ -39,7 +39,7 @@ class gp_Pnt;
class ShapeCustom_BSplineRestriction;
DEFINE_STANDARD_HANDLE(ShapeCustom_BSplineRestriction, ShapeCustom_Modification)
-//! this tool intended for aproximation surfaces, curves and pcurves with
+//! this tool intended for approximation surfaces, curves and pcurves with
//! specified degree , max number of segments, tolerance 2d, tolerance 3d. Specified
//! continuity can be reduced if approximation with specified continuity was not done.
class ShapeCustom_BSplineRestriction : public ShapeCustom_Modification
@@ -51,10 +51,10 @@ public:
//! Empty constructor.
Standard_EXPORT ShapeCustom_BSplineRestriction();
- //! Initializes with specified parameters of aproximation.
+ //! Initializes with specified parameters of approximation.
Standard_EXPORT ShapeCustom_BSplineRestriction(const Standard_Boolean anApproxSurfaceFlag, const Standard_Boolean anApproxCurve3dFlag, const Standard_Boolean anApproxCurve2dFlag, const Standard_Real aTol3d, const Standard_Real aTol2d, const GeomAbs_Shape aContinuity3d, const GeomAbs_Shape aContinuity2d, const Standard_Integer aMaxDegree, const Standard_Integer aNbMaxSeg, const Standard_Boolean Degree, const Standard_Boolean Rational);
- //! Initializes with specified parameters of aproximation.
+ //! Initializes with specified parameters of approximation.
Standard_EXPORT ShapeCustom_BSplineRestriction(const Standard_Boolean anApproxSurfaceFlag, const Standard_Boolean anApproxCurve3dFlag, const Standard_Boolean anApproxCurve2dFlag, const Standard_Real aTol3d, const Standard_Real aTol2d, const GeomAbs_Shape aContinuity3d, const GeomAbs_Shape aContinuity2d, const Standard_Integer aMaxDegree, const Standard_Integer aNbMaxSeg, const Standard_Boolean Degree, const Standard_Boolean Rational, const Handle(ShapeCustom_RestrictionParameters)& aModes);
//! Returns Standard_True if the face has been
@@ -92,54 +92,54 @@ public:
//! are not significant.
//!
//! is the new edge created from .
- //! is the new face created from . They may be usefull.
+ //! is the new face created from . They may be useful.
Standard_EXPORT Standard_Boolean NewCurve2d (const TopoDS_Edge& E, const TopoDS_Face& F, const TopoDS_Edge& NewE, const TopoDS_Face& NewF, Handle(Geom2d_Curve)& C, Standard_Real& Tol) Standard_OVERRIDE;
//! Returns Standard_True if the surface has been modified.
- //! if flag IsOf equals Standard_True Offset surfaces are aproximated to Offset
+ //! if flag IsOf equals Standard_True Offset surfaces are approximated to Offset
//! if Standard_False to BSpline
Standard_EXPORT Standard_Boolean ConvertSurface (const Handle(Geom_Surface)& aSurface, Handle(Geom_Surface)& S, const Standard_Real UF, const Standard_Real UL, const Standard_Real VF, const Standard_Real VL, const Standard_Boolean IsOf = Standard_True);
//! Returns Standard_True if the curve has been modified.
- //! if flag IsOf equals Standard_True Offset curves are aproximated to Offset
+ //! if flag IsOf equals Standard_True Offset curves are approximated to Offset
//! if Standard_False to BSpline
Standard_EXPORT Standard_Boolean ConvertCurve (const Handle(Geom_Curve)& aCurve, Handle(Geom_Curve)& C, const Standard_Boolean IsConvert, const Standard_Real First, const Standard_Real Last, Standard_Real& TolCur, const Standard_Boolean IsOf = Standard_True);
//! Returns Standard_True if the pcurve has been modified.
- //! if flag IsOf equals Standard_True Offset pcurves are aproximated to Offset
+ //! if flag IsOf equals Standard_True Offset pcurves are approximated to Offset
//! if Standard_False to BSpline
Standard_EXPORT Standard_Boolean ConvertCurve2d (const Handle(Geom2d_Curve)& aCurve, Handle(Geom2d_Curve)& C, const Standard_Boolean IsConvert, const Standard_Real First, const Standard_Real Last, Standard_Real& TolCur, const Standard_Boolean IsOf = Standard_True);
- //! Sets tolerance of aproximation for curve3d and surface
+ //! Sets tolerance of approximation for curve3d and surface
void SetTol3d (const Standard_Real Tol3d);
- //! Sets tolerance of aproximation for curve2d
+ //! Sets tolerance of approximation for curve2d
void SetTol2d (const Standard_Real Tol2d);
//! Returns (modifiable) the flag which defines whether the
- //! surface is aproximated.
+ //! surface is approximated.
Standard_Boolean& ModifyApproxSurfaceFlag();
//! Returns (modifiable) the flag which defines whether the
- //! curve3d is aproximated.
+ //! curve3d is approximated.
Standard_Boolean& ModifyApproxCurve3dFlag();
- //! Returns (modifiable) the flag which defines whether the curve2d is aproximated.
+ //! Returns (modifiable) the flag which defines whether the curve2d is approximated.
Standard_Boolean& ModifyApproxCurve2dFlag();
- //! Sets continuity3d for aproximation curve3d and surface.
+ //! Sets continuity3d for approximation curve3d and surface.
void SetContinuity3d (const GeomAbs_Shape Continuity3d);
- //! Sets continuity3d for aproximation curve2d.
+ //! Sets continuity3d for approximation curve2d.
void SetContinuity2d (const GeomAbs_Shape Continuity2d);
- //! Sets max degree for aproximation.
+ //! Sets max degree for approximation.
void SetMaxDegree (const Standard_Integer MaxDegree);
- //! Sets max number of segments for aproximation.
+ //! Sets max number of segments for approximation.
void SetMaxNbSegments (const Standard_Integer MaxNbSegments);
- //! Sets priority for aproximation curves and surface.
+ //! Sets priority for approximation curves and surface.
//! If Degree is True approximation is made with degree less
//! then specified MaxDegree at the expense of number of spanes.
//! If Degree is False approximation is made with number of
@@ -162,13 +162,13 @@ public:
//! what geometry should be converted to BSplines.
void SetRestrictionParameters (const Handle(ShapeCustom_RestrictionParameters)& aModes);
- //! Returns error for aproximation curve3d.
+ //! Returns error for approximation curve3d.
Standard_Real Curve3dError() const;
- //! Returns error for aproximation curve2d.
+ //! Returns error for approximation curve2d.
Standard_Real Curve2dError() const;
- //! Returns error for aproximation surface.
+ //! Returns error for approximation surface.
Standard_Real SurfaceError() const;
Standard_EXPORT Standard_Boolean NewPoint (const TopoDS_Vertex& V, gp_Pnt& P, Standard_Real& Tol) Standard_OVERRIDE;
@@ -177,10 +177,10 @@ public:
Standard_EXPORT GeomAbs_Shape Continuity (const TopoDS_Edge& E, const TopoDS_Face& F1, const TopoDS_Face& F2, const TopoDS_Edge& NewE, const TopoDS_Face& NewF1, const TopoDS_Face& NewF2) Standard_OVERRIDE;
- //! Returns error for aproximation surface, curve3d and curve2d.
+ //! Returns error for approximation surface, curve3d and curve2d.
Standard_EXPORT Standard_Real MaxErrors (Standard_Real& aCurve3dErr, Standard_Real& aCurve2dErr) const;
- //! Returns number for aproximation surface, curve3d and curve2d.
+ //! Returns number for approximation surface, curve3d and curve2d.
Standard_EXPORT Standard_Integer NbOfSpan() const;
diff --git a/src/ShapeCustom/ShapeCustom_ConvertToBSpline.hxx b/src/ShapeCustom/ShapeCustom_ConvertToBSpline.hxx
index 3ae0eda192..918b1e1d3b 100644
--- a/src/ShapeCustom/ShapeCustom_ConvertToBSpline.hxx
+++ b/src/ShapeCustom/ShapeCustom_ConvertToBSpline.hxx
@@ -38,7 +38,7 @@ class ShapeCustom_ConvertToBSpline;
DEFINE_STANDARD_HANDLE(ShapeCustom_ConvertToBSpline, ShapeCustom_Modification)
//! implement a modification for BRepTools
-//! Modifier algortihm. Converts Surface of
+//! Modifier algorithm. Converts Surface of
//! Linear Exctrusion, Revolution and Offset
//! surfaces into BSpline Surface according to
//! flags.
@@ -50,17 +50,17 @@ public:
Standard_EXPORT ShapeCustom_ConvertToBSpline();
- //! Sets mode for convertion of Surfaces of Linear
+ //! Sets mode for conversion of Surfaces of Linear
//! extrusion.
Standard_EXPORT void SetExtrusionMode (const Standard_Boolean extrMode);
- //! Sets mode for convertion of Surfaces of Revolution.
+ //! Sets mode for conversion of Surfaces of Revolution.
Standard_EXPORT void SetRevolutionMode (const Standard_Boolean revolMode);
- //! Sets mode for convertion of Offset surfaces.
+ //! Sets mode for conversion of Offset surfaces.
Standard_EXPORT void SetOffsetMode (const Standard_Boolean offsetMode);
- //! Sets mode for convertion of Plane surfaces.
+ //! Sets mode for conversion of Plane surfaces.
Standard_EXPORT void SetPlaneMode (const Standard_Boolean planeMode);
//! Returns Standard_True if the face has been
@@ -95,7 +95,7 @@ public:
//! are not significant.
//!
//! is the new edge created from .
- //! is the new face created from . They may be usefull.
+ //! is the new face created from . They may be useful.
Standard_EXPORT Standard_Boolean NewCurve2d (const TopoDS_Edge& E, const TopoDS_Face& F, const TopoDS_Edge& NewE, const TopoDS_Face& NewF, Handle(Geom2d_Curve)& C, Standard_Real& Tol) Standard_OVERRIDE;
//! Returns Standard_True if the Vertex has a new
diff --git a/src/ShapeCustom/ShapeCustom_ConvertToRevolution.hxx b/src/ShapeCustom/ShapeCustom_ConvertToRevolution.hxx
index 963669e891..3035ccbad1 100644
--- a/src/ShapeCustom/ShapeCustom_ConvertToRevolution.hxx
+++ b/src/ShapeCustom/ShapeCustom_ConvertToRevolution.hxx
@@ -38,7 +38,7 @@ class ShapeCustom_ConvertToRevolution;
DEFINE_STANDARD_HANDLE(ShapeCustom_ConvertToRevolution, ShapeCustom_Modification)
//! implements a modification for the BRepTools
-//! Modifier algortihm. Converts all elementary
+//! Modifier algorithm. Converts all elementary
//! surfaces into surfaces of revolution.
class ShapeCustom_ConvertToRevolution : public ShapeCustom_Modification
{
@@ -80,7 +80,7 @@ public:
//! are not significant.
//!
//! is the new edge created from .
- //! is the new face created from . They may be usefull.
+ //! is the new face created from . They may be useful.
Standard_EXPORT Standard_Boolean NewCurve2d (const TopoDS_Edge& E, const TopoDS_Face& F, const TopoDS_Edge& NewE, const TopoDS_Face& NewF, Handle(Geom2d_Curve)& C, Standard_Real& Tol) Standard_OVERRIDE;
//! Returns Standard_True if the Vertex has a new
diff --git a/src/ShapeCustom/ShapeCustom_DirectModification.hxx b/src/ShapeCustom/ShapeCustom_DirectModification.hxx
index b1eecaf58e..537127a2b7 100644
--- a/src/ShapeCustom/ShapeCustom_DirectModification.hxx
+++ b/src/ShapeCustom/ShapeCustom_DirectModification.hxx
@@ -38,7 +38,7 @@ class ShapeCustom_DirectModification;
DEFINE_STANDARD_HANDLE(ShapeCustom_DirectModification, ShapeCustom_Modification)
//! implements a modification for the BRepTools
-//! Modifier algortihm. Will redress indirect
+//! Modifier algorithm. Will redress indirect
//! surfaces.
class ShapeCustom_DirectModification : public ShapeCustom_Modification
{
@@ -80,7 +80,7 @@ public:
//! are not significant.
//!
//! is the new edge created from .
- //! is the new face created from . They may be usefull.
+ //! is the new face created from . They may be useful.
Standard_EXPORT Standard_Boolean NewCurve2d (const TopoDS_Edge& E, const TopoDS_Face& F, const TopoDS_Edge& NewE, const TopoDS_Face& NewF, Handle(Geom2d_Curve)& C, Standard_Real& Tol) Standard_OVERRIDE;
//! Returns Standard_True if the Vertex has a new
diff --git a/src/ShapeCustom/ShapeCustom_Surface.hxx b/src/ShapeCustom/ShapeCustom_Surface.hxx
index 049be4d318..a298107857 100644
--- a/src/ShapeCustom/ShapeCustom_Surface.hxx
+++ b/src/ShapeCustom/ShapeCustom_Surface.hxx
@@ -26,9 +26,9 @@
class Geom_Surface;
-//! Converts a surface to the analitical form with given
+//! Converts a surface to the analytical form with given
//! precision. Conversion is done only the surface is bspline
-//! of bezier and this can be approximed by some analytical
+//! of bezier and this can be approximated by some analytical
//! surface with that precision.
class ShapeCustom_Surface
{
diff --git a/src/ShapeCustom/ShapeCustom_SweptToElementary.cxx b/src/ShapeCustom/ShapeCustom_SweptToElementary.cxx
index 9d8e744fe9..15d5d0a393 100644
--- a/src/ShapeCustom/ShapeCustom_SweptToElementary.cxx
+++ b/src/ShapeCustom/ShapeCustom_SweptToElementary.cxx
@@ -62,7 +62,7 @@ ShapeCustom_SweptToElementary::ShapeCustom_SweptToElementary()
//=======================================================================
//function : IsToConvert
-//purpose : auxilary (Analyze surface: is it to be converted?)
+//purpose : auxiliary (Analyze surface: is it to be converted?)
//=======================================================================
static Standard_Boolean IsToConvert (const Handle(Geom_Surface) &S,
Handle(Geom_SweptSurface) &SS)
diff --git a/src/ShapeCustom/ShapeCustom_SweptToElementary.hxx b/src/ShapeCustom/ShapeCustom_SweptToElementary.hxx
index 4a9b51ea6f..a3d8c954ae 100644
--- a/src/ShapeCustom/ShapeCustom_SweptToElementary.hxx
+++ b/src/ShapeCustom/ShapeCustom_SweptToElementary.hxx
@@ -37,7 +37,7 @@ class ShapeCustom_SweptToElementary;
DEFINE_STANDARD_HANDLE(ShapeCustom_SweptToElementary, ShapeCustom_Modification)
//! implements a modification for the BRepTools
-//! Modifier algortihm. Converts all elementary
+//! Modifier algorithm. Converts all elementary
//! surfaces into surfaces of revolution.
class ShapeCustom_SweptToElementary : public ShapeCustom_Modification
{
@@ -79,7 +79,7 @@ public:
//! are not significant.
//!
//! is the new edge created from .
- //! is the new face created from . They may be usefull.
+ //! is the new face created from . They may be useful.
Standard_EXPORT Standard_Boolean NewCurve2d (const TopoDS_Edge& E, const TopoDS_Face& F, const TopoDS_Edge& NewE, const TopoDS_Face& NewF, Handle(Geom2d_Curve)& C, Standard_Real& Tol) Standard_OVERRIDE;
//! Returns Standard_True if the Vertex has a new
diff --git a/src/ShapeExtend/ShapeExtend_Status.hxx b/src/ShapeExtend/ShapeExtend_Status.hxx
index 8b67fa41af..c1b71dae65 100644
--- a/src/ShapeExtend/ShapeExtend_Status.hxx
+++ b/src/ShapeExtend/ShapeExtend_Status.hxx
@@ -55,7 +55,7 @@
//! The method failed, case 6
//! The method failed, case 7
//! The method failed, case 8
-//! The mathod failed (any of FAIL# occured)
+//! The method failed (any of FAIL# occurred)
enum ShapeExtend_Status
{
ShapeExtend_OK,
diff --git a/src/ShapeExtend/ShapeExtend_WireData.cxx b/src/ShapeExtend/ShapeExtend_WireData.cxx
index 3bdaeb4be6..4ef48536af 100644
--- a/src/ShapeExtend/ShapeExtend_WireData.cxx
+++ b/src/ShapeExtend/ShapeExtend_WireData.cxx
@@ -303,7 +303,7 @@ void ShapeExtend_WireData::Add (const Handle(ShapeExtend_WireData) &wire,
}
}
- //non-manifold edges for non-manifold wire shoud be added at end
+ //non-manifold edges for non-manifold wire should be added at end
for (i=1; i <=aNMEdges.Length(); i++)
myEdges->Append(aNMEdges.Value(i));
diff --git a/src/ShapeExtend/ShapeExtend_WireData.hxx b/src/ShapeExtend/ShapeExtend_WireData.hxx
index 09790ee6d1..68b9280cac 100644
--- a/src/ShapeExtend/ShapeExtend_WireData.hxx
+++ b/src/ShapeExtend/ShapeExtend_WireData.hxx
@@ -63,31 +63,31 @@ class ShapeExtend_WireData : public Standard_Transient
public:
-
+
//! Empty constructor, creates empty wire with no edges
Standard_EXPORT ShapeExtend_WireData();
-
+
//! Constructor initializing the data from TopoDS_Wire. Calls Init(wire,chained).
Standard_EXPORT ShapeExtend_WireData(const TopoDS_Wire& wire, const Standard_Boolean chained = Standard_True, const Standard_Boolean theManifoldMode = Standard_True);
-
+
//! Copies data from another WireData
Standard_EXPORT void Init (const Handle(ShapeExtend_WireData)& other);
-
+
//! Loads an already existing wire
//! If is True (default), edges are added in the
//! sequence as they are explored by TopoDS_Iterator
//! Else, if is False, wire is explored by
//! BRepTools_WireExplorer and it is guaranteed that edges will
- //! be sequencially connected.
+ //! be sequentially connected.
//! Remark : In the latter case it can happen that not all edges
//! will be found (because of limitations of
//! BRepTools_WireExplorer for disconnected wires and wires
//! with seam edges).
Standard_EXPORT Standard_Boolean Init (const TopoDS_Wire& wire, const Standard_Boolean chained = Standard_True, const Standard_Boolean theManifoldMode = Standard_True);
-
+
//! Clears data about Wire.
Standard_EXPORT void Clear();
-
+
//! Computes the list of seam edges
//! By default (direct call), computing is enforced
//! For indirect call (from IsSeam) it is redone only if not yet
@@ -97,10 +97,10 @@ public:
//! Each sense has its own PCurve, the one for FORWARD
//! must be set in first
Standard_EXPORT void ComputeSeams (const Standard_Boolean enforce = Standard_True);
-
+
//! Does a circular permutation in order to set th edge last
Standard_EXPORT void SetLast (const Standard_Integer num);
-
+
//! When the wire contains at least one degenerated edge, sets it
//! as last one
//! Note : It is useful to process pcurves, for instance, while the pcurve
@@ -108,7 +108,7 @@ public:
//! it is computed after the other edges have been computed and
//! chained.
Standard_EXPORT void SetDegeneratedLast();
-
+
//! Adds an edge to a wire, being defined (not yet ended)
//! This is the plain, basic, function to add an edge
//! = 0 (D): Appends at end
@@ -116,18 +116,18 @@ public:
//! else, Insert before
//! Remark : Null Edge is simply ignored
Standard_EXPORT void Add (const TopoDS_Edge& edge, const Standard_Integer atnum = 0);
-
+
//! Adds an entire wire, considered as a list of edges
//! Remark : The wire is assumed to be ordered (TopoDS_Iterator
//! is used)
Standard_EXPORT void Add (const TopoDS_Wire& wire, const Standard_Integer atnum = 0);
-
+
//! Adds a wire in the form of WireData
Standard_EXPORT void Add (const Handle(ShapeExtend_WireData)& wire, const Standard_Integer atnum = 0);
-
+
//! Adds an edge or a wire invoking corresponding method Add
Standard_EXPORT void Add (const TopoDS_Shape& shape, const Standard_Integer atnum = 0);
-
+
//! Adds an edge to start or end of , according to
//! 0: at end, as direct
//! 1: at end, as reversed
@@ -135,7 +135,7 @@ public:
//! 3: at start, as reversed
//! < 0: no adding
Standard_EXPORT void AddOriented (const TopoDS_Edge& edge, const Standard_Integer mode);
-
+
//! Adds a wire to start or end of , according to
//! 0: at end, as direct
//! 1: at end, as reversed
@@ -143,64 +143,64 @@ public:
//! 3: at start, as reversed
//! < 0: no adding
Standard_EXPORT void AddOriented (const TopoDS_Wire& wire, const Standard_Integer mode);
-
+
//! Adds an edge or a wire invoking corresponding method
//! AddOriented
Standard_EXPORT void AddOriented (const TopoDS_Shape& shape, const Standard_Integer mode);
-
+
//! Removes an Edge, given its rank. By default removes the last edge.
Standard_EXPORT void Remove (const Standard_Integer num = 0);
-
+
//! Replaces an edge at the given
//! rank number with new one. Default is last edge ( = 0).
Standard_EXPORT void Set (const TopoDS_Edge& edge, const Standard_Integer num = 0);
-
+
//! Reverses the sense of the list and the orientation of each Edge
//! This method should be called when either wire has no seam edges
//! or face is not available
Standard_EXPORT void Reverse();
-
+
//! Reverses the sense of the list and the orientation of each Edge
//! The face is necessary for swapping pcurves for seam edges
//! (first pcurve corresponds to orientation FORWARD, and second to
//! REVERSED; when edge is reversed, pcurves must be swapped)
//! If face is NULL, no swapping is performed
Standard_EXPORT void Reverse (const TopoDS_Face& face);
-
+
//! Returns the count of currently recorded edges
Standard_EXPORT Standard_Integer NbEdges() const;
-
+
//! Returns the count of currently recorded non-manifold edges
Standard_EXPORT Standard_Integer NbNonManifoldEdges() const;
-
+
//! Returns th nonmanifold Edge
Standard_EXPORT TopoDS_Edge NonmanifoldEdge (const Standard_Integer num) const;
-
+
//! Returns sequence of non-manifold edges
//! This sequence can be not empty if wire data set in manifold mode but
//! initial wire has INTERNAL orientation or contains INTERNAL edges
Standard_EXPORT Handle(TopTools_HSequenceOfShape) NonmanifoldEdges() const;
-
+
//! Returns mode defining manifold wire data or not.
//! If manifold that nonmanifold edges will not be not
//! consider during operations(previous behaviour)
//! and they will be added only in result wire
//! else non-manifold edges will consider during operations
Standard_EXPORT Standard_Boolean& ManifoldMode();
-
+
//! Returns th Edge
Standard_EXPORT TopoDS_Edge Edge (const Standard_Integer num) const;
-
+
//! Returns the index of the edge
//! If the edge is a seam the orientation is also checked
//! Returns 0 if the edge is not found in the list
Standard_EXPORT Standard_Integer Index (const TopoDS_Edge& edge);
-
+
//! Tells if an Edge is seam (see ComputeSeams)
//! An edge is considered as seam if it presents twice in
//! the edge list, once as FORWARD and once as REVERSED.
Standard_EXPORT Standard_Boolean IsSeam (const Standard_Integer num);
-
+
//! Makes TopoDS_Wire using
//! BRep_Builder (just creates the TopoDS_Wire object and adds
//! all edges into it). This method should be called when
@@ -209,7 +209,7 @@ public:
//! vertices. In case if adjacent edges do not share the same
//! vertices the resulting TopoDS_Wire will be invalid.
Standard_EXPORT TopoDS_Wire Wire() const;
-
+
//! Makes TopoDS_Wire using
//! BRepAPI_MakeWire. Class BRepAPI_MakeWire merges
//! geometrically coincided vertices and can disturb
diff --git a/src/ShapeFix/ShapeFix.cxx b/src/ShapeFix/ShapeFix.cxx
index a302efa04f..cb14852548 100644
--- a/src/ShapeFix/ShapeFix.cxx
+++ b/src/ShapeFix/ShapeFix.cxx
@@ -297,7 +297,7 @@ TopoDS_Shape ShapeFix::RemoveSmallEdges (TopoDS_Shape& Shape,
//=======================================================================
//function : ReplaceVertex
-//purpose : auxilary for FixVertexPosition
+//purpose : auxiliary for FixVertexPosition
//=======================================================================
static TopoDS_Edge ReplaceVertex(const TopoDS_Edge& theEdge,
const gp_Pnt theP,
@@ -327,7 +327,7 @@ static TopoDS_Edge ReplaceVertex(const TopoDS_Edge& theEdge,
//=======================================================================
//function : getNearPoint
-//purpose : auxilary for FixVertexPosition
+//purpose : auxiliary for FixVertexPosition
//=======================================================================
static Standard_Real getNearPoint(const TColgp_SequenceOfPnt& aSeq1,
const TColgp_SequenceOfPnt& aSeq2,
@@ -360,7 +360,7 @@ static Standard_Real getNearPoint(const TColgp_SequenceOfPnt& aSeq1,
//=======================================================================
//function : getNearestEdges
-//purpose : auxilary for FixVertexPosition
+//purpose : auxiliary for FixVertexPosition
//=======================================================================
static Standard_Boolean getNearestEdges(TopTools_ListOfShape& theLEdges,
const TopoDS_Vertex theVert,
diff --git a/src/ShapeFix/ShapeFix_ComposeShell.cxx b/src/ShapeFix/ShapeFix_ComposeShell.cxx
index 8dd22ff2eb..7feb87e3d3 100644
--- a/src/ShapeFix/ShapeFix_ComposeShell.cxx
+++ b/src/ShapeFix/ShapeFix_ComposeShell.cxx
@@ -283,7 +283,7 @@ Standard_Boolean ShapeFix_ComposeShell::Status (const ShapeExtend_Status status)
//=======================================================================
//function : PointLineDeviation
-//purpose : auxilary
+//purpose : auxiliary
//=======================================================================
// Return (signed) deviation of point from line
static Standard_Real PointLineDeviation (const gp_Pnt2d &p, const gp_Lin2d &line)
@@ -295,7 +295,7 @@ static Standard_Real PointLineDeviation (const gp_Pnt2d &p, const gp_Lin2d &line
//=======================================================================
//function : PointLinePosition
-//purpose : auxilary
+//purpose : auxiliary
//=======================================================================
// Define position of point relative to line
static Standard_Integer PointLinePosition (const gp_Pnt2d &p, const gp_Lin2d &line,
@@ -307,7 +307,7 @@ static Standard_Integer PointLinePosition (const gp_Pnt2d &p, const gp_Lin2d &li
//=======================================================================
//function : PointLinePosition
-//purpose : auxilary
+//purpose : auxiliary
//=======================================================================
// Define position of point relative to line
static Standard_Integer PointLinePosition (const gp_Pnt2d &p, const gp_Lin2d &line)
@@ -318,7 +318,7 @@ static Standard_Integer PointLinePosition (const gp_Pnt2d &p, const gp_Lin2d &li
//=======================================================================
//function : ParamPointsOnLine
-//purpose : auxilary
+//purpose : auxiliary
//=======================================================================
// Compute parameter of point on line
static inline Standard_Real ParamPointOnLine (const gp_Pnt2d &p, const gp_Lin2d &line)
@@ -328,7 +328,7 @@ static inline Standard_Real ParamPointOnLine (const gp_Pnt2d &p, const gp_Lin2d
//=======================================================================
//function : ParamPointsOnLine
-//purpose : auxilary
+//purpose : auxiliary
//=======================================================================
// Compute parameter of two points on line (as intersection of segment)
static Standard_Real ParamPointsOnLine (const gp_Pnt2d &p1, const gp_Pnt2d &p2,
@@ -354,7 +354,7 @@ static Standard_Real ParamPointsOnLine (const gp_Pnt2d &p1, const gp_Pnt2d &p2,
//=======================================================================
//function : ProjectPointOnLine
-//purpose : auxilary
+//purpose : auxiliary
//=======================================================================
// Compute projection of point on line
static inline gp_Pnt2d ProjectPointOnLine (const gp_Pnt2d &p, const gp_Lin2d &line)
@@ -364,7 +364,7 @@ static inline gp_Pnt2d ProjectPointOnLine (const gp_Pnt2d &p, const gp_Lin2d &li
//=======================================================================
//function : ApplyContext
-//purpose : auxilary
+//purpose : auxiliary
//=======================================================================
// Apply context to one edge in the wire and put result into this wire
static Standard_Integer ApplyContext (ShapeFix_WireSegment &wire,
@@ -415,7 +415,7 @@ static Standard_Integer ApplyContext (ShapeFix_WireSegment &wire,
//=======================================================================
//function : IsCoincided
-//purpose : auxilary
+//purpose : auxiliary
//=======================================================================
// check points coincidence
static inline Standard_Boolean IsCoincided (const gp_Pnt2d &p1, const gp_Pnt2d &p2,
@@ -433,7 +433,7 @@ static inline Standard_Boolean IsCoincided (const gp_Pnt2d &p1, const gp_Pnt2d &
//=======================================================================
//function : GetPatchIndex
-//purpose : auxilary
+//purpose : auxiliary
//=======================================================================
// computes index for the patch by given parameter Param
@@ -504,7 +504,7 @@ void ShapeFix_ComposeShell::LoadWires (ShapeFix_SequenceOfWireSegment &seqw) con
if(isNonManifold)
{
Handle(ShapeExtend_WireData) sbwd = new ShapeExtend_WireData ( wire ,Standard_True,Standard_False);
- //pdn protection againts of wires w/o edges
+ //pdn protection against wires w/o edges
Standard_Integer nbEdges = sbwd->NbEdges();
if(nbEdges)
{
@@ -516,7 +516,7 @@ void ShapeFix_ComposeShell::LoadWires (ShapeFix_SequenceOfWireSegment &seqw) con
else
{
//splitting wires containing manifold and non-manifold parts on a separate
- //wire segment
+ //wire segment
Handle(ShapeExtend_WireData) sbwdM = new ShapeExtend_WireData();
Handle(ShapeExtend_WireData) sbwdNM = new ShapeExtend_WireData();
sbwdNM->ManifoldMode() = Standard_False;
@@ -721,7 +721,7 @@ Standard_Integer ShapeFix_ComposeShell::ComputeCode (const Handle(ShapeExtend_Wi
//=======================================================================
//function : DistributeSplitPoints
-//purpose : auxilary
+//purpose : auxiliary
//=======================================================================
// After applying context to (seam) edge, distribute its indices on new edges,
// according to their parameters on that edge
@@ -753,7 +753,7 @@ static void DistributeSplitPoints (const Handle(ShapeExtend_WireData) &sbwd,
//=======================================================================
//function : CheckByCurve3d
-//purpose : auxilary
+//purpose : auxiliary
//=======================================================================
static Standard_Integer CheckByCurve3d (const gp_Pnt &pos,
const Handle(Geom_Curve) &c3d,
@@ -769,7 +769,7 @@ static Standard_Integer CheckByCurve3d (const gp_Pnt &pos,
//=======================================================================
//function : DefinePatch
-//purpose : auxilary
+//purpose : auxiliary
//=======================================================================
static void DefinePatch (ShapeFix_WireSegment &wire, const Standard_Integer code,
const Standard_Boolean isCutByU, const Standard_Integer cutIndex,
@@ -788,7 +788,7 @@ static void DefinePatch (ShapeFix_WireSegment &wire, const Standard_Integer code
//=======================================================================
//function : GetGridResolution
-//purpose : auxilary
+//purpose : auxiliary
//=======================================================================
static Standard_Real GetGridResolution(const Handle(TColStd_HArray1OfReal) SplitValues,
const Standard_Integer cutIndex)
@@ -828,7 +828,7 @@ ShapeFix_WireSegment ShapeFix_ComposeShell::SplitWire (ShapeFix_WireSegment &wir
// Processing edge by edge (assuming that split points are sorted along the wire)
for ( Standard_Integer i = 1; i <= wire.NbEdges(); i++ ) {
- // for already splitted seam edge, redistribute its splitting points
+ // for already split seam edge, redistribute its splitting points
Standard_Integer nsplit = ApplyContext ( wire, i, Context() );
if ( nsplit !=1 ) {
DistributeSplitPoints ( wire.WireData(), myFace, i, nsplit, indexes, values );
@@ -1052,7 +1052,7 @@ ShapeFix_WireSegment ShapeFix_ComposeShell::SplitWire (ShapeFix_WireSegment &wir
}
else vertices.Append ( V );
- // When edge is about to be splitted, copy end vertices to protect
+ // When edge is about to be split, copy end vertices to protect
// original shape from increasing tolerance after fixing SameParameter
if ( ! splitted ) {
//smh#8
@@ -1732,12 +1732,12 @@ void ShapeFix_ComposeShell::SplitByGrid (ShapeFix_SequenceOfWireSegment &seqw)
Standard_Real Umin,Umax,Vmin,Vmax;
myGrid->Bounds(Umin,Umax,Vmin,Vmax);
- //value of precision to define number of patch should be the same as used in the definitin position of point realtively to seam edge (TOLINT)
+ //value of precision to define number of patch should be the same as used in the definitin position of point relatively to seam edge (TOLINT)
Standard_Real pprec = TOLINT;//::Precision::PConfusion();
Standard_Integer i = 1;
if(myClosedMode)
{
- //for closed mode when only one patch exist and location of the splitting line is coinsident with first joint value
+ //for closed mode when only one patch exist and location of the splitting line is coincident with first joint value
//Therefore in this case it is necessary to move all wire segments in the range of the patch between first and last joint
//values. Then all wire segments are lie between -period and period in order to have valid split ranges after splitting.
//Because for closed mode cut index always equal to 1 and parts of segments after splitting always should have index either (0,1) or (1,2).
@@ -1930,7 +1930,7 @@ void ShapeFix_ComposeShell::BreakWires (ShapeFix_SequenceOfWireSegment &seqw)
//=======================================================================
//function : IsShortSegment
-//purpose : auxilary
+//purpose : auxiliary
//=======================================================================
// BUC60035 2053: check if wire segment is very short (in order not to skip it)
// 0 - long
@@ -1976,7 +1976,7 @@ static Standard_Integer IsShortSegment (const ShapeFix_WireSegment &seg,
//=======================================================================
//function : IsSamePatch
-//purpose : auxilary
+//purpose : auxiliary
//=======================================================================
static Standard_Boolean IsSamePatch (const ShapeFix_WireSegment wire,
const Standard_Integer NU,
@@ -2269,7 +2269,7 @@ void ShapeFix_ComposeShell::CollectWires (ShapeFix_SequenceOfWireSegment &wires,
// Check if some wires are short in 3d (lie entirely inside one vertex),
// and if yes try to merge them with others
- //pdn The short seqments are stil plased in "in" sequence.
+ //pdn The short seqments are still placed in "in" sequence.
for ( i=1; i <= seqw.Length(); i++ ) {
if ( shorts(i) != 1 ||
diff --git a/src/ShapeFix/ShapeFix_ComposeShell.hxx b/src/ShapeFix/ShapeFix_ComposeShell.hxx
index 3b8195a358..83c927c876 100644
--- a/src/ShapeFix/ShapeFix_ComposeShell.hxx
+++ b/src/ShapeFix/ShapeFix_ComposeShell.hxx
@@ -67,7 +67,7 @@ DEFINE_STANDARD_HANDLE(ShapeFix_ComposeShell, ShapeFix_Root)
//! lines in the periodic direction, as necessary to split all
//! the wires (whole parametrical range of a face)
//! In this mode, some regularization procedures are performed
-//! (indexation of splitted segments by patch numbers), and it is
+//! (indexation of split segments by patch numbers), and it is
//! expected to be more reliable and robust in case of bad shapes
//!
//! - if ClosedMode is True, when everything on a periodic surfaces
@@ -116,7 +116,7 @@ public:
//! resulting shape; the only result is filled context
//! where splittings are recorded.
//!
- //! NOTE: If edge is splitted, it is replaced by wire, and
+ //! NOTE: If edge is split, it is replaced by wire, and
//! order of edges in the wire corresponds to FORWARD orientation
//! of the edge.
Standard_EXPORT void SplitEdges();
@@ -169,13 +169,13 @@ protected:
//! Splits edges in the wire by given indices of edges and
//! parameters on them. Returns resulting wire and vertices
- //! corresponding to splitting parameters. If two consequtive
+ //! corresponding to splitting parameters. If two consecutive
//! splitting points are too near one to another (with tolerance
//! of edge), edge is divided in single point. In the same way,
//! splitting which is too near to end of edge, is not applied
//! (end vertex is returned instead).
//!
- //! NOTE: If edge is splitted, it is replaced by wire, and
+ //! NOTE: If edge is split, it is replaced by wire, and
//! order of edges in the wire corresponds to FORWARD orientation
//! of the edge.
Standard_EXPORT ShapeFix_WireSegment SplitWire (ShapeFix_WireSegment& wire, TColStd_SequenceOfInteger& indexes, const TColStd_SequenceOfReal& values, TopTools_SequenceOfShape& vertices, const TColStd_SequenceOfInteger& segcodes, const Standard_Boolean cutbyu, const Standard_Integer cutindex);
@@ -225,7 +225,7 @@ protected:
//! After that, each wire segment lies on its own patch of grid.
Standard_EXPORT void BreakWires (ShapeFix_SequenceOfWireSegment& seqw);
- //! Collect set of wire segments (already splitted) into closed
+ //! Collect set of wire segments (already split) into closed
//! wires. This is done by traversing all the segments in allowed
//! directions, starting only from the REVERSED and FORWARD and
//! taking EXTERNAL as necessary in fork points. Forks are detected
diff --git a/src/ShapeFix/ShapeFix_Edge.cxx b/src/ShapeFix/ShapeFix_Edge.cxx
index 1cbde04eba..c33d230813 100644
--- a/src/ShapeFix/ShapeFix_Edge.cxx
+++ b/src/ShapeFix/ShapeFix_Edge.cxx
@@ -187,11 +187,11 @@ Standard_Boolean ShapeFix_Edge::FixAddPCurve (const TopoDS_Edge& edge,
//#12 rln 17/03/98 making this method to be more general : if a curve is
//parallel to one iso let us translate it parallely in the direction to another
//iso (which is located farther from aC2d). Thus, the requirement for closeness
-//to the surface bounds may be avoid.
+//to the surface bounds may be avoided.
//For example, instead of Abs(theLoc.X()-uf) <= Tol) ... elseif (...-ul..)...
//the comparison if (Abs(theLoc.X()-uf) <= Abs(theLoc.X()-ul)) .... can be used.
-//The reason of this fix #12 is that seam is not sure to lie on the bound :
+//The reason for fix #12 is that seam is not certain to lie on the bound :
//if a surface is periodic the whole contour may be shifted (e.g. ProSTEP,
//file ug_exhaust-A.stp entity #284920)
@@ -265,7 +265,7 @@ static Handle(Geom2d_Curve) TranslatePCurve (const Handle(Geom_Surface)& aSurf,
return theNewL2d;
}
*/
- // Other case not yet implemented
+ // TODO Other case not yet implemented
#ifdef OCCT_DEBUG
std::cout << "TranslatePCurve not performed" << std::endl;
#endif
@@ -391,7 +391,7 @@ static Handle(Geom2d_Curve) TranslatePCurve (const Handle(Geom_Surface)& aSurf,
oldFirst += shift;
oldLast += shift;
}
- //pdn 30.06.2000 work arounf on beziers
+ //pdn 30.06.2000 work around on beziers
Standard_Real oldFirstCurve1 = oldFirst, oldLastCurve1 = oldLast;
if(Curve2dPtr->IsKind(STANDARD_TYPE(Geom2d_BezierCurve))) {
diff --git a/src/ShapeFix/ShapeFix_EdgeProjAux.cxx b/src/ShapeFix/ShapeFix_EdgeProjAux.cxx
index f2183264d4..2c3100198e 100644
--- a/src/ShapeFix/ShapeFix_EdgeProjAux.cxx
+++ b/src/ShapeFix/ShapeFix_EdgeProjAux.cxx
@@ -282,7 +282,7 @@ void ShapeFix_EdgeProjAux::Init2d (const Standard_Real preci)
cf = theCurve2d->FirstParameter();
cl = theCurve2d->LastParameter();
- //pdn cutting pcurve by suface bounds
+ //pdn cutting pcurve by surface bounds
if (Precision::IsInfinite(cf)||Precision::IsInfinite(cl)) {
if(theCurve2d->IsKind(STANDARD_TYPE(Geom2d_Line))) {
Standard_Real uf,ul,vf,vl;
@@ -357,7 +357,7 @@ void ShapeFix_EdgeProjAux::Init2d (const Standard_Real preci)
else {
cf=-10000;
cl= 10000;
- //pdn not cutted by bounds
+ //pdn not cut by bounds
#ifdef OCCT_DEBUG
std::cout<<"Infinite Surface"<1) {
#ifdef OCCT_DEBUG
- std::cout<<"Wire was splitted on "< 1)
- SendWarning ( wire, Message_Msg ( "FixAdvFace.FixLoopWire.MSG0" ) );// Wire was splitted on several wires
+ SendWarning ( wire, Message_Msg ( "FixAdvFace.FixLoopWire.MSG0" ) );// Wire was split on several wires
myStatus |= ShapeExtend::EncodeStatus ( ShapeExtend_DONE7 );
fixed = Standard_True;
Standard_Integer k=1;
@@ -801,9 +801,9 @@ static Standard_Real FindBestInterval (TColgp_SequenceOfPnt2d &intervals)
//=======================================================================
//function : FixAddNaturalBound
-//purpose :
+//purpose :
//=======================================================================
-// Detect missing natural bounary on spherical surfaces and add it if
+// Detect missing natural boundary on spherical surfaces and add it if
// necessary
//pdn 981202: add natural bounds if missing (on sphere only)
//:abv 28.08.01: rewritten and extended for toruses
@@ -859,7 +859,7 @@ Standard_Boolean ShapeFix_Face::FixAddNaturalBound()
if ( !IsSurfaceUVPeriodic (mySurf->Adaptor3d()) || ShapeAnalysis::IsOuterBound (myFace) )
return Standard_False;
- // Collect informations on free intervals in U and V
+ // Collect information on free intervals in U and V
TColgp_SequenceOfPnt2d intU, intV, centers;
Standard_Real SUF, SUL, SVF, SVL;
mySurf->Bounds(SUF, SUL, SVF, SVL);
@@ -1419,7 +1419,7 @@ Standard_Boolean ShapeFix_Face::FixOrientation(TopTools_DataMapOfShapeListOfShap
//=======================================================================
//function : CheckWire
-//purpose : auxilary for FixMissingSeam
+//purpose : auxiliary for FixMissingSeam
//=======================================================================
//:i7 abv 18 Sep 98: ProSTEP TR9 r0501-ug.stp: algorithm of fixing missing seam changed
// test whether the wire is opened on period of periodical surface
@@ -1675,7 +1675,7 @@ Standard_Boolean ShapeFix_Face::FixMissingSeam()
B.Add ( S, w2 );
ShapeAnalysis::GetFaceUVBounds (TopoDS::Face(S), m2[0][0], m2[0][1], m2[1][0], m2[1][1]);
- // For the case when surface is closed only in one direction it is necesary to check
+ // For the case when surface is closed only in one direction it is necessary to check
// validity of orientation of the open wires in parametric space.
// In case of U closed surface wire with minimal V coordinate should be directed in positive direction by U
// In case of V closed surface wire with minimal U coordinate should be directed in negative direction by V
@@ -2196,7 +2196,7 @@ Standard_Boolean ShapeFix_Face::FixLoopWire(TopTools_SequenceOfShape& aResWires)
if(isDone && aResWires.Length() >1)
{
#ifdef OCCT_DEBUG
- std::cout<<"Wire was splitted on "<Apply(myShape);
- //Fixing of missing pcurves on new edges, if thay were inserted
+ //Fixing of missing pcurves on new edges, if they were inserted
if (done)
{
if (myShape.IsNull()) return myShape;
@@ -455,25 +455,25 @@ ShapeFix_FixSmallFace::ShapeFix_FixSmallFace()
}
}
if (theFirstVer.IsNull() || theSecondVer.IsNull()) return theNewEdge;
- //Cretate new edge
+ //Create new edge
theBuilder.MakeEdge(theNewEdge);
Standard_Real f, l, fp1, lp1/*, fp2, lp2*/;
TopLoc_Location loc;
Handle(Geom_Curve) the3dcurve;
the3dcurve = BRep_Tool::Curve(E1, f, l);
Handle(Geom2d_Curve) the2dcurve1, the2dcurve2, thenew1, thenew2;
- if (!F1.IsNull())
+ if (!F1.IsNull())
{
the2dcurve1 = BRep_Tool::CurveOnSurface(E1, F1, fp1, lp1);
- if(!the2dcurve1.IsNull() && fp1!=f && lp1!=l) GeomLib::SameRange(Precision::Confusion(), the2dcurve1, fp1, lp1, f, l, thenew1);
+ if(!the2dcurve1.IsNull() && fp1!=f && lp1!=l) GeomLib::SameRange(Precision::Confusion(), the2dcurve1, fp1, lp1, f, l, thenew1);
}
-
- /* if (!F2.IsNull())
+
+ /* if (!F2.IsNull())
{
the2dcurve2 = BRep_Tool::CurveOnSurface(E2, F2, fp2, lp2);
- if(!the2dcurve2.IsNull()) GeomLib::SameRange(Precision::Confusion(), the2dcurve2, fp2, lp2, f, l, thenew2);
+ if(!the2dcurve2.IsNull()) GeomLib::SameRange(Precision::Confusion(), the2dcurve2, fp2, lp2, f, l, thenew2);
}*/
-
+
Standard_Real maxdev;
if ((BRep_Tool::Tolerance(theFirstVer))<=(BRep_Tool::Tolerance(theSecondVer)))
maxdev = (BRep_Tool::Tolerance(theSecondVer));
diff --git a/src/ShapeFix/ShapeFix_IntersectionTool.cxx b/src/ShapeFix/ShapeFix_IntersectionTool.cxx
index c7e500c0bd..e5f268724a 100644
--- a/src/ShapeFix/ShapeFix_IntersectionTool.cxx
+++ b/src/ShapeFix/ShapeFix_IntersectionTool.cxx
@@ -209,7 +209,7 @@ Standard_Boolean ShapeFix_IntersectionTool::CutEdge(const TopoDS_Edge &edge,
if(tc->BasisCurve()->IsKind(STANDARD_TYPE(Geom2d_Line))) {
BRep_Builder B;
B.Range(edge,Min(pend,cut),Max(pend,cut));
- if( Abs(pend-lp)Replace(tmpShape,aSol);
tmpShape = aSol;
}
@@ -485,7 +485,7 @@ Standard_Boolean ShapeFix_Solid::Perform(const Message_ProgressRange& theProgres
TopTools_SequenceOfShape aSeqShells;
TopTools_IndexedMapOfShape aMapSolids;
if(CreateSolids(aResShape,aMapSolids)) {
- SendWarning (Message_Msg ("FixAdvSolid.FixOrientation.MSG20"));// Orientaion of shell was corrected..
+ SendWarning (Message_Msg ("FixAdvSolid.FixOrientation.MSG20"));// Orientation of shell was corrected..
if(aMapSolids.Extent() ==1) {
TopoDS_Shape aResSol = aMapSolids.FindKey(1);
if(aResShape.ShapeType() == TopAbs_SHELL && myCreateOpenSolidMode) {
diff --git a/src/ShapeFix/ShapeFix_SplitTool.cxx b/src/ShapeFix/ShapeFix_SplitTool.cxx
index 44b774c2e2..b50cdebdd0 100644
--- a/src/ShapeFix/ShapeFix_SplitTool.cxx
+++ b/src/ShapeFix/ShapeFix_SplitTool.cxx
@@ -217,7 +217,7 @@ Standard_Boolean ShapeFix_SplitTool::CutEdge(const TopoDS_Edge &edge,
if(tc->BasisCurve()->IsKind(STANDARD_TYPE(Geom2d_Line))) {
BRep_Builder B;
B.Range(edge,Min(pend,cut),Max(pend,cut));
- if( Abs(pend-lp)0 ) { // supposed that edge is SP
#ifdef OCCT_DEBUG
- std::cout << "Edge going over singularity detected; splitted" << std::endl;
+ std::cout << "Edge going over singularity detected; split" << std::endl;
#endif
Standard_Boolean isFwd = ( E.Orientation() == TopAbs_FORWARD );
E.Orientation ( TopAbs_FORWARD );
@@ -1024,7 +1024,7 @@ Standard_Boolean ShapeFix_Wire::FixSelfIntersection()
boxes(i) = box;
}
}
-
+
Standard_Boolean isFail = Standard_False, isDone = Standard_False;
for(Standard_Integer num1 = 1; num1 < nb-1; num1++) {
Standard_Integer fin = (num1 == 1 ? nb-1 : nb);
@@ -1035,15 +1035,15 @@ Standard_Boolean ShapeFix_Wire::FixSelfIntersection()
isDone |= LastFixStatus ( ShapeExtend_DONE1 );
}
}
-
+
if(isFail)
myStatusSelfIntersection |= ShapeExtend::EncodeStatus ( ShapeExtend_FAIL3 );
if(isDone)
myStatusSelfIntersection |= ShapeExtend::EncodeStatus ( ShapeExtend_DONE5 );
#ifdef OCCT_DEBUG
if (StatusSelfIntersection (ShapeExtend_DONE5))
- std::cout << "Warning: ShapeFix_Wire::FixSelfIntersection: Non ajacent intersection fixed" << std::endl;
-#endif
+ std::cout << "Warning: ShapeFix_Wire::FixSelfIntersection: Non adjacent intersection fixed" << std::endl;
+#endif
*/
}
@@ -2354,7 +2354,7 @@ Standard_Boolean ShapeFix_Wire::FixSelfIntersectingEdge (const Standard_Integer
//=======================================================================
//function : ComputeLocalDeviation
-//purpose : auxilary
+//purpose : auxiliary
//=======================================================================
static Standard_Real ComputeLocalDeviation (const TopoDS_Edge &edge,
const gp_Pnt &pint,const gp_Pnt &pnt,
@@ -2657,7 +2657,7 @@ Standard_Boolean ShapeFix_Wire::FixIntersectingEdges (const Standard_Integer num
//function : FixIntersectingEdges
//purpose :
//=======================================================================
-//pdn 17.03.99 fixing non ajacent intersection by increasing tolerance of vertex
+//pdn 17.03.99 fixing non adjacent intersection by increasing tolerance of vertex
Standard_Boolean ShapeFix_Wire::FixIntersectingEdges (const Standard_Integer num1,
const Standard_Integer num2)
diff --git a/src/ShapeFix/ShapeFix_Wire.hxx b/src/ShapeFix/ShapeFix_Wire.hxx
index a266bc218b..c3fa62a6c4 100644
--- a/src/ShapeFix/ShapeFix_Wire.hxx
+++ b/src/ShapeFix/ShapeFix_Wire.hxx
@@ -62,7 +62,7 @@ DEFINE_STANDARD_HANDLE(ShapeFix_Wire, ShapeFix_Root)
//! curve to vertices, or recomputing curves of the edge)
//!
//! When fix can be made in more than one way (e.g., either
-//! by increasing tolerance or shifting a vertex), it is choosen
+//! by increasing tolerance or shifting a vertex), it is chosen
//! according to the flags:
//! ModifyTopologyMode - allows modification of the topology.
//! This flag can be set when fixing a wire on
@@ -338,12 +338,12 @@ public:
//! - what is smaller), it should be removed
//! It can be with no problem if its two vertices are the same
//! Else, if lockvtx is False, it is removed and its end vertex
- //! is put on the preceeding edge
+ //! is put on the preceding edge
//! But if lockvtx is True, this edge must be kept ...
Standard_EXPORT Standard_Boolean FixSmall (const Standard_Integer num, const Standard_Boolean lockvtx, const Standard_Real precsmall);
- //! Fixes connected edges (preceeding and current)
- //! Forces Vertices (end of preceeding-begin of current) to be
+ //! Fixes connected edges (preceding and current)
+ //! Forces Vertices (end of preceding-begin of current) to be
//! the same one
//! Tests with starting preci or, if given greater,
//! If is -1 then MaxTolerance() is taken.
@@ -430,7 +430,7 @@ public:
Standard_Boolean StatusNotches (const ShapeExtend_Status status) const;
- //! Querying the status of perfomed API fixing procedures
+ //! Querying the status of performed API fixing procedures
//! Each Status..() methods gives information about the last call to
//! the corresponding Fix..() method of API level:
//! OK : no problems detected; nothing done
diff --git a/src/ShapeFix/ShapeFix_Wire_1.cxx b/src/ShapeFix/ShapeFix_Wire_1.cxx
index b07e969260..c8fb6b3e8a 100644
--- a/src/ShapeFix/ShapeFix_Wire_1.cxx
+++ b/src/ShapeFix/ShapeFix_Wire_1.cxx
@@ -293,7 +293,7 @@ static Standard_Real AdjustOnPeriodic3d (const Handle(Geom_Curve)& c,
if (convert)
{
- // Check that gap satisfies the precision - in this case no convertation produced
+ // Check that gap satisfies the precision - in this case no conversion produced
if (cpnt1.Distance(vpnt) < preci && cpnt2.Distance(vpnt) < preci)
return Standard_False;
@@ -499,7 +499,7 @@ static Standard_Real AdjustOnPeriodic3d (const Handle(Geom_Curve)& c,
u2 = Proj.Parameter(index);
}
}
- // Ajust parameters on periodic curves
+ // Adjust parameters on periodic curves
u1 = AdjustOnPeriodic3d(c1,reversed1,first1,last1,u1);
u2 = AdjustOnPeriodic3d(c2,!reversed2,first2,last2,u2);
// Check points to satisfy distance criterium
@@ -549,7 +549,7 @@ static Standard_Real AdjustOnPeriodic3d (const Handle(Geom_Curve)& c,
for (Standard_Integer i=1; i<=Extr.NbExtrema(); i++)
{
Extr.Parameters(i,uu1,uu2);
- // Ajust parameters on periodic curves
+ // Adjust parameters on periodic curves
uu1 = AdjustOnPeriodic3d(c1,reversed1,first1,last1,uu1);
uu2 = AdjustOnPeriodic3d(c2,!reversed2,first2,last2,uu2);
pp1 = c1->Value(uu1); pp2 = c2->Value(uu2);
@@ -582,7 +582,7 @@ static Standard_Real AdjustOnPeriodic3d (const Handle(Geom_Curve)& c,
Extr.Parameters(index1,uu1,uu2);
}
else Extr.LowerDistanceParameters(uu1,uu2);
- // Ajust parameters on periodic curves
+ // Adjust parameters on periodic curves
uu1 = AdjustOnPeriodic3d(c1,reversed1,first1,last1,uu1);
uu2 = AdjustOnPeriodic3d(c2,!reversed2,first2,last2,uu2);
// Check points to satisfy distance criterium
@@ -602,7 +602,7 @@ static Standard_Real AdjustOnPeriodic3d (const Handle(Geom_Curve)& c,
}
}
}
-
+
try
{
OCC_CATCH_SIGNALS
@@ -648,7 +648,7 @@ static Standard_Real AdjustOnPeriodic3d (const Handle(Geom_Curve)& c,
}
}
}
-
+
if (done1 || done2)
{
@@ -701,7 +701,7 @@ static Standard_Real AdjustOnPeriodic3d (const Handle(Geom_Curve)& c,
Context()->Replace(aOldV,anewV);
}
}
-
+
Context()->Replace(E1,newE1);
sbwd->Set(newE1,n1);
}
@@ -717,7 +717,7 @@ static Standard_Real AdjustOnPeriodic3d (const Handle(Geom_Curve)& c,
SFST.SetTolerance(newE2,::Precision::Confusion(),TopAbs_EDGE);
B.SameRange(newE2,Standard_False);
// B.SameParameter(newE2,Standard_False);
-
+
//To keep NM vertices belonging initial edges
TopoDS_Iterator aItv(E2,Standard_False);
for( ; aItv.More(); aItv.Next()) {
@@ -744,7 +744,7 @@ static Standard_Real AdjustOnPeriodic3d (const Handle(Geom_Curve)& c,
//=======================================================================
//function : FixGap2d
-//purpose :
+//purpose :
//=======================================================================
static Standard_Real AdjustOnPeriodic2d (const Handle(Geom2d_Curve)& pc,
@@ -819,19 +819,19 @@ static Standard_Real AdjustOnPeriodic2d (const Handle(Geom2d_Curve)& pc,
Standard_Real first1, last1, first2, last2;
if (reversed1)
{
- first1 = clast1; last1 = cfirst1;
+ first1 = clast1; last1 = cfirst1;
}
- else
+ else
{
- first1 = cfirst1; last1 = clast1;
+ first1 = cfirst1; last1 = clast1;
}
- if (reversed2)
+ if (reversed2)
{
- first2 = clast2; last2 = cfirst2;
+ first2 = clast2; last2 = cfirst2;
}
- else
+ else
{
- first2 = cfirst2; last2 = clast2;
+ first2 = cfirst2; last2 = clast2;
}
Handle(Geom2d_Curve) pc1 = PC1, pc2 = PC2;
@@ -840,14 +840,14 @@ static Standard_Real AdjustOnPeriodic2d (const Handle(Geom2d_Curve)& pc,
Standard_Boolean basic = Standard_False;
Standard_Boolean trimmed1 = Standard_False, offset1 = Standard_False;
Standard_Real offval1 = 0.;
- while (!basic)
+ while (!basic)
{
- if (pc1->IsKind(STANDARD_TYPE(Geom2d_TrimmedCurve)))
+ if (pc1->IsKind(STANDARD_TYPE(Geom2d_TrimmedCurve)))
{
pc1 = Handle(Geom2d_TrimmedCurve)::DownCast(pc1)->BasisCurve();
trimmed1 = Standard_True;
}
- else if (pc1->IsKind(STANDARD_TYPE(Geom2d_OffsetCurve)))
+ else if (pc1->IsKind(STANDARD_TYPE(Geom2d_OffsetCurve)))
{
Handle(Geom2d_OffsetCurve) oc = Handle(Geom2d_OffsetCurve)::DownCast(pc1);
pc1 = oc->BasisCurve();
@@ -1150,7 +1150,7 @@ static Standard_Real AdjustOnPeriodic2d (const Handle(Geom2d_Curve)& pc,
if (flag1==1) IP = IS.FirstPoint();
else IP = IS.LastPoint();
}
- // Ajust parameters on periodic curves
+ // Adjust parameters on periodic curves
Standard_Real u1 = AdjustOnPeriodic2d(pc1,reversed1,first1,last1,
IP.ParamOnFirst());
Standard_Real u2 = AdjustOnPeriodic2d(pc2,!reversed2,first2,last2,
@@ -1177,7 +1177,7 @@ static Standard_Real AdjustOnPeriodic2d (const Handle(Geom2d_Curve)& pc,
{
Standard_Real u1, u2;
Extr.LowerDistanceParameters(u1,u2);
- // Ajust parameters on periodic curves
+ // Adjust parameters on periodic curves
u1 = AdjustOnPeriodic2d(pc1,reversed1,first1,last1,u1);
u2 = AdjustOnPeriodic2d(pc2,!reversed2,first2,last2,u2);
// Check points to satisfy distance criterium
@@ -1232,7 +1232,7 @@ static Standard_Real AdjustOnPeriodic2d (const Handle(Geom2d_Curve)& pc,
u2 = Proj.Parameter(index);
}
}
- // Ajust parameters on periodic curves
+ // Adjust parameters on periodic curves
u1 = AdjustOnPeriodic2d(pc1,reversed1,first1,last1,u1);
u2 = AdjustOnPeriodic2d(pc2,!reversed2,first2,last2,u2);
// Process special case of projection
@@ -1283,7 +1283,7 @@ static Standard_Real AdjustOnPeriodic2d (const Handle(Geom2d_Curve)& pc,
if (cpnt1.Distance(ipnt2) ::Precision::PConfusion())
diff --git a/src/ShapeFix/ShapeFix_Wireframe.cxx b/src/ShapeFix/ShapeFix_Wireframe.cxx
index 0b1bdf0057..465c5f8941 100644
--- a/src/ShapeFix/ShapeFix_Wireframe.cxx
+++ b/src/ShapeFix/ShapeFix_Wireframe.cxx
@@ -541,10 +541,10 @@ Standard_Boolean ShapeFix_Wireframe::CheckSmallEdges(TopTools_MapOfShape& theSma
if (theEdgeList.Extent()) theFaceWithSmall.Bind(facet,theEdgeList);
}
- //========================================================================
- // Author : enk
- // Purpose: Analizing of shape for small edges , if edge don't lie on face
- //========================================================================
+ //=========================================================================
+ // Author : enk
+ // Purpose: Analyzing of shape for small edges, if edge doesn't lie on face
+ //=========================================================================
for (TopExp_Explorer expw1(myShape,TopAbs_WIRE,TopAbs_FACE); expw1.More(); expw1.Next())
{
SAW.SetPrecision(Precision());
@@ -1021,7 +1021,7 @@ Standard_Boolean ShapeFix_Wireframe::MergeSmallEdges(TopTools_MapOfShape& theSma
}
else
{
- //gka protection aginst removing circles
+ //gka protection against removing circles
TopoDS_Edge ed = (take_next ? edge1 : edge2);
ShapeAnalysis_Edge sae;
Handle(Geom_Curve) c3d;
@@ -1469,7 +1469,7 @@ Standard_Boolean ShapeFix_Wireframe::MergeSmallEdges(TopTools_MapOfShape& theSma
}
else
{
- //gka protection aginst removing circles
+ //gka protection against removing circles
TopoDS_Edge ed = (take_next ? edge1 : edge2);
ShapeAnalysis_Edge sae;
Handle(Geom_Curve) c3d;
diff --git a/src/ShapeProcess/ShapeProcess_OperLibrary.hxx b/src/ShapeProcess/ShapeProcess_OperLibrary.hxx
index 108f062bbd..c086a7675f 100644
--- a/src/ShapeProcess/ShapeProcess_OperLibrary.hxx
+++ b/src/ShapeProcess/ShapeProcess_OperLibrary.hxx
@@ -57,7 +57,7 @@ public:
//! Applies BRepTools_Modification to a shape,
//! taking into account sharing of components of compounds.
- //! if theMutableInput vat is set to true then imput shape S
+ //! if theMutableInput vat is set to true then input shape S
//! can be modified during the modification process.
Standard_EXPORT static TopoDS_Shape ApplyModifier (const TopoDS_Shape& S,
const Handle(ShapeProcess_ShapeContext)& context,
diff --git a/src/ShapeUpgrade/ShapeUpgrade.hxx b/src/ShapeUpgrade/ShapeUpgrade.hxx
index 5459e92dbd..71bb627b9c 100644
--- a/src/ShapeUpgrade/ShapeUpgrade.hxx
+++ b/src/ShapeUpgrade/ShapeUpgrade.hxx
@@ -60,49 +60,34 @@ class ShapeUpgrade_RemoveInternalWires;
class ShapeUpgrade_UnifySameDomain;
-//! This package provides tools
-//! for splitting and converting shapes by some criteria. It
-//! provides modifications of the kind when one topological
-//! object can be converted or splitted to several ones. In
-//! particular this package contains high level API classes which perform:
+//! This package provides tools for splitting and converting shapes by some criteria.
+//! It provides modifications of the kind when one topological
+//! object can be converted or split in to several ones.
+//! In particular this package contains high level API classes which perform:
//! converting geometry of shapes up to given continuity,
//! splitting revolutions by U to segments less than given value,
-//! converting to beziers,
-//! splitting closed faces.
+//! converting to beziers, splitting closed faces.
class ShapeUpgrade
{
public:
DEFINE_STANDARD_ALLOC
-
//! Unifies same domain faces and edges of specified shape
- Standard_EXPORT static Standard_Boolean C0BSplineToSequenceOfC1BSplineCurve (const Handle(Geom_BSplineCurve)& BS, Handle(TColGeom_HSequenceOfBoundedCurve)& seqBS);
-
+ Standard_EXPORT static Standard_Boolean C0BSplineToSequenceOfC1BSplineCurve (const Handle(Geom_BSplineCurve)& BS,
+ Handle(TColGeom_HSequenceOfBoundedCurve)& seqBS);
+
//! Converts C0 B-Spline curve into sequence of C1 B-Spline curves.
- //! This method splits B-Spline at the knots with multiplicities
- //! equal to degree, i.e. unlike method
- //! GeomConvert::C0BSplineToArrayOfC1BSplineCurve this one does not
- //! use any tolerance and therefore does not change the geometry of
- //! B-Spline.
- //! Returns True if C0 B-Spline was successfully splitted, else
- //! returns False (if BS is C1 B-Spline).
- Standard_EXPORT static Standard_Boolean C0BSplineToSequenceOfC1BSplineCurve (const Handle(Geom2d_BSplineCurve)& BS, Handle(TColGeom2d_HSequenceOfBoundedCurve)& seqBS);
-
-
-
-
-protected:
-
-
-
-
+ //! This method splits B-Spline at the knots with multiplicities equal to degree,
+ //! i.e. unlike method GeomConvert::C0BSplineToArrayOfC1BSplineCurve
+ //! this one does not use any tolerance and therefore does not change the geometry of B-Spline.
+ //! Returns True if C0 B-Spline was successfully split,
+ //! else returns False (if BS is C1 B-Spline).
+ Standard_EXPORT static Standard_Boolean C0BSplineToSequenceOfC1BSplineCurve (const Handle(Geom2d_BSplineCurve)& BS,
+ Handle(TColGeom2d_HSequenceOfBoundedCurve)& seqBS);
private:
-
-
-
friend class ShapeUpgrade_Tool;
friend class ShapeUpgrade_EdgeDivide;
friend class ShapeUpgrade_ClosedEdgeDivide;
@@ -138,10 +123,4 @@ friend class ShapeUpgrade_UnifySameDomain;
};
-
-
-
-
-
-
#endif // _ShapeUpgrade_HeaderFile
diff --git a/src/ShapeUpgrade/ShapeUpgrade_ClosedFaceDivide.cxx b/src/ShapeUpgrade/ShapeUpgrade_ClosedFaceDivide.cxx
index a411d69737..07b335441e 100644
--- a/src/ShapeUpgrade/ShapeUpgrade_ClosedFaceDivide.cxx
+++ b/src/ShapeUpgrade/ShapeUpgrade_ClosedFaceDivide.cxx
@@ -180,7 +180,7 @@ Standard_Boolean ShapeUpgrade_ClosedFaceDivide::SplitSurface()
isUSplit = Standard_True;
}
#ifdef OCCT_DEBUG
- else std::cout << "Warning: SU_ClosedFaceDivide: Thin face, not splitted" << std::endl;
+ else std::cout << "Warning: SU_ClosedFaceDivide: Thin face, not split" << std::endl;
#endif
}
}
@@ -201,7 +201,7 @@ Standard_Boolean ShapeUpgrade_ClosedFaceDivide::SplitSurface()
isUSplit = Standard_False;
}
#ifdef OCCT_DEBUG
- else std::cout << "Warning: SU_ClosedFaceDivide: Thin face, not splitted" << std::endl;
+ else std::cout << "Warning: SU_ClosedFaceDivide: Thin face, not split" << std::endl;
#endif
}
}
diff --git a/src/ShapeUpgrade/ShapeUpgrade_ClosedFaceDivide.hxx b/src/ShapeUpgrade/ShapeUpgrade_ClosedFaceDivide.hxx
index 1b73d0af8c..db34cc82dd 100644
--- a/src/ShapeUpgrade/ShapeUpgrade_ClosedFaceDivide.hxx
+++ b/src/ShapeUpgrade/ShapeUpgrade_ClosedFaceDivide.hxx
@@ -37,7 +37,6 @@ class ShapeUpgrade_ClosedFaceDivide : public ShapeUpgrade_FaceDivide
public:
-
//! Creates empty constructor.
Standard_EXPORT ShapeUpgrade_ClosedFaceDivide();
@@ -48,35 +47,20 @@ public:
//! from source face.
Standard_EXPORT virtual Standard_Boolean SplitSurface() Standard_OVERRIDE;
- //! Sets the number of cutting lines by which closed face
- //! will be splitted. The resulting faces will be num+1.
+ //! Sets the number of cutting lines by which closed face will be split.
+ //! The resulting faces will be num+1.
Standard_EXPORT void SetNbSplitPoints (const Standard_Integer num);
//! Returns the number of splitting points
Standard_EXPORT Standard_Integer GetNbSplitPoints() const;
-
-
DEFINE_STANDARD_RTTIEXT(ShapeUpgrade_ClosedFaceDivide,ShapeUpgrade_FaceDivide)
-protected:
-
-
-
-
private:
-
Standard_Integer myNbSplit;
-
};
-
-
-
-
-
-
#endif // _ShapeUpgrade_ClosedFaceDivide_HeaderFile
diff --git a/src/ShapeUpgrade/ShapeUpgrade_ConvertCurve2dToBezier.cxx b/src/ShapeUpgrade/ShapeUpgrade_ConvertCurve2dToBezier.cxx
index 7e2f45bed9..ee833c04c4 100644
--- a/src/ShapeUpgrade/ShapeUpgrade_ConvertCurve2dToBezier.cxx
+++ b/src/ShapeUpgrade/ShapeUpgrade_ConvertCurve2dToBezier.cxx
@@ -134,7 +134,7 @@ void ShapeUpgrade_ConvertCurve2dToBezier::Compute()
Handle(Geom2d_BSplineCurve) aBSpline2d;
Standard_Real Shift = 0.;
if(myCurve->IsKind(STANDARD_TYPE(Geom2d_Conic))) {
- Handle(Geom2d_Curve) tcurve = new Geom2d_TrimmedCurve(myCurve,First,Last); //protection agains parabols ets
+ Handle(Geom2d_Curve) tcurve = new Geom2d_TrimmedCurve(myCurve,First,Last); //protection against parabols ets
Geom2dConvert_ApproxCurve approx (tcurve, Precision::Approximation(),
GeomAbs_C1, 100, 6 );
if ( approx.HasResult() )
diff --git a/src/ShapeUpgrade/ShapeUpgrade_ConvertCurve2dToBezier.hxx b/src/ShapeUpgrade/ShapeUpgrade_ConvertCurve2dToBezier.hxx
index a635c9a879..80e36d2f7e 100644
--- a/src/ShapeUpgrade/ShapeUpgrade_ConvertCurve2dToBezier.hxx
+++ b/src/ShapeUpgrade/ShapeUpgrade_ConvertCurve2dToBezier.hxx
@@ -35,35 +35,24 @@ class ShapeUpgrade_ConvertCurve2dToBezier : public ShapeUpgrade_SplitCurve2d
public:
-
//! Empty constructor.
Standard_EXPORT ShapeUpgrade_ConvertCurve2dToBezier();
-
+
//! Converts curve into a list of beziers, and stores the
//! splitting parameters on original curve.
Standard_EXPORT virtual void Compute() Standard_OVERRIDE;
-
+
//! Splits a list of beziers computed by Compute method according
//! the split values and splitting parameters.
Standard_EXPORT virtual void Build (const Standard_Boolean Segment) Standard_OVERRIDE;
-
- //! Returns the list of splitted parameters in original curve
- //! parametrisation.
+
+ //! Returns the list of split parameters in original curve parametrisation.
Standard_EXPORT Handle(TColStd_HSequenceOfReal) SplitParams() const;
-
-
-
DEFINE_STANDARD_RTTIEXT(ShapeUpgrade_ConvertCurve2dToBezier,ShapeUpgrade_SplitCurve2d)
-protected:
-
-
-
-
private:
-
//! Returns the list of bezier curves correspondent to original
//! curve.
Standard_EXPORT Handle(TColGeom2d_HSequenceOfCurve) Segments() const;
@@ -71,13 +60,6 @@ private:
Handle(TColGeom2d_HSequenceOfCurve) mySegments;
Handle(TColStd_HSequenceOfReal) mySplitParams;
-
};
-
-
-
-
-
-
#endif // _ShapeUpgrade_ConvertCurve2dToBezier_HeaderFile
diff --git a/src/ShapeUpgrade/ShapeUpgrade_ConvertCurve3dToBezier.cxx b/src/ShapeUpgrade/ShapeUpgrade_ConvertCurve3dToBezier.cxx
index 802e1d557a..ff37b00514 100644
--- a/src/ShapeUpgrade/ShapeUpgrade_ConvertCurve3dToBezier.cxx
+++ b/src/ShapeUpgrade/ShapeUpgrade_ConvertCurve3dToBezier.cxx
@@ -117,7 +117,7 @@ void ShapeUpgrade_ConvertCurve3dToBezier::Compute()
Handle(Geom_BSplineCurve) aBSpline;
Standard_Real Shift = 0.;
if(myCurve->IsKind(STANDARD_TYPE(Geom_Conic))) {
- Handle(Geom_Curve) tcurve = new Geom_TrimmedCurve(myCurve,First,Last); //protection agains parabols ets
+ Handle(Geom_Curve) tcurve = new Geom_TrimmedCurve(myCurve,First,Last); //protection against parabols ets
GeomConvert_ApproxCurve approx (tcurve, Precision::Approximation(),
GeomAbs_C1, 100, 6 );
if ( approx.HasResult() )
diff --git a/src/ShapeUpgrade/ShapeUpgrade_ConvertCurve3dToBezier.hxx b/src/ShapeUpgrade/ShapeUpgrade_ConvertCurve3dToBezier.hxx
index ff5da44eac..55946c969f 100644
--- a/src/ShapeUpgrade/ShapeUpgrade_ConvertCurve3dToBezier.hxx
+++ b/src/ShapeUpgrade/ShapeUpgrade_ConvertCurve3dToBezier.hxx
@@ -35,7 +35,6 @@ class ShapeUpgrade_ConvertCurve3dToBezier : public ShapeUpgrade_SplitCurve3d
public:
-
//! Empty constructor
Standard_EXPORT ShapeUpgrade_ConvertCurve3dToBezier();
@@ -65,23 +64,13 @@ public:
//! the split values and splitting parameters.
Standard_EXPORT virtual void Build (const Standard_Boolean Segment) Standard_OVERRIDE;
- //! Returns the list of splitted parameters in original curve
- //! parametrisation.
+ //! Returns the list of split parameters in original curve parametrisation.
Standard_EXPORT Handle(TColStd_HSequenceOfReal) SplitParams() const;
-
-
-
DEFINE_STANDARD_RTTIEXT(ShapeUpgrade_ConvertCurve3dToBezier,ShapeUpgrade_SplitCurve3d)
-protected:
-
-
-
-
private:
-
//! Returns the list of bezier curves correspondent to original
//! curve.
Standard_EXPORT Handle(TColGeom_HSequenceOfCurve) Segments() const;
@@ -92,14 +81,8 @@ private:
Standard_Boolean myCircleMode;
Standard_Boolean myConicMode;
-
};
-
#include
-
-
-
-
#endif // _ShapeUpgrade_ConvertCurve3dToBezier_HeaderFile
diff --git a/src/ShapeUpgrade/ShapeUpgrade_FaceDivide.cxx b/src/ShapeUpgrade/ShapeUpgrade_FaceDivide.cxx
index 9e6b94b939..15e7093602 100644
--- a/src/ShapeUpgrade/ShapeUpgrade_FaceDivide.cxx
+++ b/src/ShapeUpgrade/ShapeUpgrade_FaceDivide.cxx
@@ -150,7 +150,7 @@ Standard_Boolean ShapeUpgrade_FaceDivide::SplitSurface ()
SplitSurf->Init ( surf, Uf, Ul, Vf, Vl );
SplitSurf->Perform(mySegmentMode);
- // If surface was neither splitted nor modified, do nothing
+ // If surface was neither split nor modified, do nothing
if ( ! SplitSurf->Status ( ShapeExtend_DONE ) ) return Standard_False;
// if surface was modified, force copying all vertices (and edges as consequence)
diff --git a/src/ShapeUpgrade/ShapeUpgrade_FaceDivide.hxx b/src/ShapeUpgrade/ShapeUpgrade_FaceDivide.hxx
index b03577badd..5653bfa294 100644
--- a/src/ShapeUpgrade/ShapeUpgrade_FaceDivide.hxx
+++ b/src/ShapeUpgrade/ShapeUpgrade_FaceDivide.hxx
@@ -88,11 +88,11 @@ public:
//! Queries the status of last call to Perform
//! OK : no splitting was done (or no call to Perform)
- //! DONE1: some edges were splitted
- //! DONE2: surface was splitted
+ //! DONE1: some edges were split
+ //! DONE2: surface was split
//! DONE3: surface was modified without splitting
//! FAIL1: some fails encountered during splitting wires
- //! FAIL2: face cannot be splitted
+ //! FAIL2: face cannot be split
Standard_EXPORT Standard_Boolean Status (const ShapeExtend_Status status) const;
//! Sets the tool for splitting surfaces.
diff --git a/src/ShapeUpgrade/ShapeUpgrade_RemoveLocations.hxx b/src/ShapeUpgrade/ShapeUpgrade_RemoveLocations.hxx
index 6f1aa863f6..5a75b6a03e 100644
--- a/src/ShapeUpgrade/ShapeUpgrade_RemoveLocations.hxx
+++ b/src/ShapeUpgrade/ShapeUpgrade_RemoveLocations.hxx
@@ -37,13 +37,13 @@ class ShapeUpgrade_RemoveLocations : public Standard_Transient
public:
- //! Empy constructor
+ //! Empty constructor
Standard_EXPORT ShapeUpgrade_RemoveLocations();
//! Removes all location correspodingly to RemoveLevel.
Standard_EXPORT Standard_Boolean Remove (const TopoDS_Shape& theShape);
- //! Returns shape with removed locatins.
+ //! Returns shape with removed locations.
TopoDS_Shape GetResult() const;
//! sets level starting with that location will be removed,
diff --git a/src/ShapeUpgrade/ShapeUpgrade_ShapeDivide.hxx b/src/ShapeUpgrade/ShapeUpgrade_ShapeDivide.hxx
index 7298495969..b4b4f85e88 100644
--- a/src/ShapeUpgrade/ShapeUpgrade_ShapeDivide.hxx
+++ b/src/ShapeUpgrade/ShapeUpgrade_ShapeDivide.hxx
@@ -97,9 +97,9 @@ public:
//! Queries the status of last call to Perform
//! OK : no splitting was done (or no call to Perform)
- //! DONE1: some edges were splitted
- //! DONE2: surface was splitted
- //! FAIL1: some errors occured
+ //! DONE1: some edges were split
+ //! DONE2: surface was split
+ //! FAIL1: some errors occurred
Standard_EXPORT Standard_Boolean Status (const ShapeExtend_Status status) const;
//! Sets the tool for splitting faces.
diff --git a/src/ShapeUpgrade/ShapeUpgrade_SplitCurve3dContinuity.cxx b/src/ShapeUpgrade/ShapeUpgrade_SplitCurve3dContinuity.cxx
index 8900e21db3..a8da8a2158 100644
--- a/src/ShapeUpgrade/ShapeUpgrade_SplitCurve3dContinuity.cxx
+++ b/src/ShapeUpgrade/ShapeUpgrade_SplitCurve3dContinuity.cxx
@@ -177,7 +177,7 @@ void ShapeUpgrade_SplitCurve3dContinuity::Compute()
// if (ShapeUpgrade::Debug()) std::cout<<". Correction at Knot "<LastUKnotIndex()-1;
iknot--;
diff --git a/src/ShapeUpgrade/ShapeUpgrade_UnifySameDomain.cxx b/src/ShapeUpgrade/ShapeUpgrade_UnifySameDomain.cxx
index cec3dbd159..92acbda395 100644
--- a/src/ShapeUpgrade/ShapeUpgrade_UnifySameDomain.cxx
+++ b/src/ShapeUpgrade/ShapeUpgrade_UnifySameDomain.cxx
@@ -116,7 +116,7 @@ static Standard_Real TrueValueOfOffset(const Standard_Real theValue,
//=======================================================================
//function : UpdateBoundaries
-//purpose : auxilary
+//purpose : auxiliary
//=======================================================================
static void UpdateBoundaries(const Handle(Geom2d_Curve)& thePCurve,
const Standard_Real theFirst,
@@ -524,7 +524,7 @@ static Standard_Boolean FindClosestPoints(const TopoDS_Edge& theEdge1,
//=======================================================================
//function : ReconstructMissedSeam
-//purpose : auxilary
+//purpose : auxiliary
//=======================================================================
static void ReconstructMissedSeam(const TopTools_SequenceOfShape& theEdges,
const TopTools_SequenceOfShape& theRemovedEdges,
@@ -740,7 +740,7 @@ static void ReconstructMissedSeam(const TopTools_SequenceOfShape& theEdges,
//=======================================================================
//function : SameSurf
-//purpose : auxilary
+//purpose : auxiliary
//=======================================================================
static Standard_Boolean SameSurf(const Handle(Geom_Surface)& theS1, const Handle(Geom_Surface)& theS2)
{
@@ -876,7 +876,7 @@ static Standard_Boolean SameSurf(const Handle(Geom_Surface)& theS1, const Handle
}
//=======================================================================
//function : TransformPCurves
-//purpose : auxilary
+//purpose : auxiliary
//=======================================================================
static void TransformPCurves(const TopoDS_Face& theRefFace,
const TopoDS_Face& theFace,
@@ -1004,7 +1004,7 @@ static void TransformPCurves(const TopoDS_Face& theRefFace,
//=======================================================================
//function : AddPCurves
-//purpose : auxilary
+//purpose : auxiliary
//=======================================================================
static void AddPCurves(const TopTools_SequenceOfShape& theFaces,
const TopoDS_Face& theRefFace,
@@ -1029,7 +1029,7 @@ static void AddPCurves(const TopTools_SequenceOfShape& theFaces,
//=======================================================================
//function : AddOrdinaryEdges
-//purpose : auxilary
+//purpose : auxiliary
//=======================================================================
// adds edges from the shape to the sequence
// seams and equal edges are dropped
@@ -1081,7 +1081,7 @@ static Standard_Boolean AddOrdinaryEdges(TopTools_SequenceOfShape& edges,
//=======================================================================
//function : getCylinder
-//purpose : auxilary
+//purpose : auxiliary
//=======================================================================
static Standard_Boolean getCylinder(Handle(Geom_Surface)& theInSurface,
gp_Cylinder& theOutCylinder)
@@ -1140,7 +1140,7 @@ static Standard_Boolean getCylinder(Handle(Geom_Surface)& theInSurface,
//=======================================================================
//function : ClearRts
-//purpose : auxilary
+//purpose : auxiliary
//=======================================================================
static Handle(Geom_Surface) ClearRts(const Handle(Geom_Surface)& aSurface)
{
@@ -1396,7 +1396,7 @@ static TopoDS_Edge GlueEdgesWithPCurves(const TopTools_SequenceOfShape& aChain,
PrevEdge = anEdge;
}
Handle(TColGeom_HArray1OfBSplineCurve) concatcurve; //array of the concatenated curves
- Handle(TColStd_HArray1OfInteger) ArrayOfIndices; //array of the remining Vertex
+ Handle(TColStd_HArray1OfInteger) ArrayOfIndices; //array of the remaining Vertex
Standard_Boolean closed_flag = Standard_False;
GeomConvert::ConcatC1(tab_c3d,
tabtolvertex,
@@ -1443,7 +1443,7 @@ static TopoDS_Edge GlueEdgesWithPCurves(const TopTools_SequenceOfShape& aChain,
PrevEdge = anEdge;
}
Handle(TColGeom2d_HArray1OfBSplineCurve) concatc2d; //array of the concatenated curves
- Handle(TColStd_HArray1OfInteger) ArrayOfInd2d; //array of the remining Vertex
+ Handle(TColStd_HArray1OfInteger) ArrayOfInd2d; //array of the remaining Vertex
closed_flag = Standard_False;
Geom2dConvert::ConcatC1(tab_c2d,
tabtolvertex,
@@ -1696,7 +1696,7 @@ void ShapeUpgrade_UnifySameDomain::UnionPCurves(const TopTools_SequenceOfShape&
}
Handle(TColGeom2d_HArray1OfBSplineCurve) concatc2d; //array of the concatenated curves
- Handle(TColStd_HArray1OfInteger) ArrayOfInd2d; //array of the remining Vertex
+ Handle(TColStd_HArray1OfInteger) ArrayOfInd2d; //array of the remaining Vertex
Standard_Boolean aClosedFlag = Standard_False;
Geom2dConvert::ConcatC1(tab_c2d,
tabtolvertex,
@@ -2059,7 +2059,7 @@ Standard_Boolean ShapeUpgrade_UnifySameDomain::MergeSubSeq(const TopTools_Sequen
}
if(NeedUnion) {
#ifdef OCCT_DEBUG
- std::cout<<"can not make analitical union => make approximation"< make approximation"< CoordTol &&
- Abs(DiffU - Uperiod) > CoordTol) //may be is is a deg.vertex
+ Abs(DiffU - Uperiod) > CoordTol) //may be it is a deg.vertex
continue;
if (Vperiod != 0. &&
DiffV > CoordTol &&
- Abs(DiffV - Vperiod) > CoordTol) //may be is is a deg.vertex
+ Abs(DiffV - Vperiod) > CoordTol) //may be it is a deg.vertex
continue;
//Check: may be and