1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-14 13:30:48 +03:00

0031939: Coding - correction of spelling errors in comments [part 4]

Fix various typos

Fixed via `codespell v2.1.dev
This commit is contained in:
luz paz
2020-12-16 11:58:16 +03:00
committed by bugmaster
parent 7fb9d6d573
commit 0177fe2617
196 changed files with 476 additions and 1351 deletions

View File

@@ -936,7 +936,7 @@ void IntAna_IntQuadQuad::Perform(const gp_Cone& Cone,
// f(z,to)=B(to)*z + C(to)=0, B(to)!=0.
//
// z=-C(to)/B(to) is one and only
// solution inspite of the fact that D(t)>0 for any value of t.
// solution in spite of the fact that D(t)>0 for any value of t.
//
if(to<NewMax && to>NewMin) {
//-----------------------------------------------------------------

View File

@@ -89,13 +89,11 @@ public:
//! Returns the point of range N.
Standard_EXPORT const gp_Pnt& Point (const Standard_Integer N) const;
//! Returns the paramaters on the "explicit quadric"
//! (i.e the cylinder or the cone, the
//! first argument given to the constructor) of the
//! point of range N.
//! Returns the parameters on the "explicit quadric"
//! (i.e the cylinder or the cone, the first argument given to the constructor) of the point of range N.
Standard_EXPORT void Parameters (const Standard_Integer N, Standard_Real& U1, Standard_Real& U2) const;
//! Returns True if the Curve I shares its last bound
//! with another curve.
Standard_EXPORT Standard_Boolean HasNextCurve (const Standard_Integer I) const;
@@ -124,15 +122,12 @@ public:
//! same point.
Standard_EXPORT Standard_Integer PreviousCurve (const Standard_Integer I, Standard_Boolean& theOpposite) const;
protected:
//! Set the next and previous fields. Private method.
Standard_EXPORT void InternalSetNextAndPrevious();
protected:
Standard_Boolean done;
Standard_Boolean identical;
@@ -146,20 +141,8 @@ protected:
Standard_Real myEpsilon;
Standard_Real myEpsilonCoeffPolyNull;
private:
};
#include <IntAna_IntQuadQuad.lxx>
#endif // _IntAna_IntQuadQuad_HeaderFile

View File

@@ -1511,7 +1511,7 @@ IntAna_QuadQuadGeo::IntAna_QuadQuadGeo(const gp_Cylinder& Cyl,
// 3
else if (aDA1A2<aTol2) {
//
// When apices are coinsided there can be 3 possible cases
// When apices are coincided there can be 3 possible cases
// 3.1 - empty solution (iRet=0)
// 3.2 - one line when cone1 touches cone2 (iRet=1)
// 3.3 - two lines when cone1 intersects cone2 (iRet=2)

View File

@@ -152,43 +152,43 @@ public:
//! Intersects a two spheres.
Standard_EXPORT void Perform (const gp_Sphere& Sph1, const gp_Sphere& Sph2, const Standard_Real Tol);
//! Creates the intersection beween a Sphere and a Cone.
//! Creates the intersection between a Sphere and a Cone.
Standard_EXPORT IntAna_QuadQuadGeo(const gp_Sphere& Sph, const gp_Cone& Con, const Standard_Real Tol);
//! Intersects a sphere and a cone.
Standard_EXPORT void Perform (const gp_Sphere& Sph, const gp_Cone& Con, const Standard_Real Tol);
//! Creates the intersection beween two cones.
//! Creates the intersection between two cones.
Standard_EXPORT IntAna_QuadQuadGeo(const gp_Cone& Con1, const gp_Cone& Con2, const Standard_Real Tol);
//! Intersects two cones.
Standard_EXPORT void Perform (const gp_Cone& Con1, const gp_Cone& Con2, const Standard_Real Tol);
//! Creates the intersection beween plane and torus.
//! Creates the intersection between plane and torus.
Standard_EXPORT IntAna_QuadQuadGeo(const gp_Pln& Pln, const gp_Torus& Tor, const Standard_Real Tol);
//! Intersects plane and torus.
Standard_EXPORT void Perform (const gp_Pln& Pln, const gp_Torus& Tor, const Standard_Real Tol);
//! Creates the intersection beween cylinder and torus.
//! Creates the intersection between cylinder and torus.
Standard_EXPORT IntAna_QuadQuadGeo(const gp_Cylinder& Cyl, const gp_Torus& Tor, const Standard_Real Tol);
//! Intersects cylinder and torus.
Standard_EXPORT void Perform (const gp_Cylinder& Cyl, const gp_Torus& Tor, const Standard_Real Tol);
//! Creates the intersection beween cone and torus.
//! Creates the intersection between cone and torus.
Standard_EXPORT IntAna_QuadQuadGeo(const gp_Cone& Con, const gp_Torus& Tor, const Standard_Real Tol);
//! Intersects cone and torus.
Standard_EXPORT void Perform (const gp_Cone& Con, const gp_Torus& Tor, const Standard_Real Tol);
//! Creates the intersection beween sphere and torus.
//! Creates the intersection between sphere and torus.
Standard_EXPORT IntAna_QuadQuadGeo(const gp_Sphere& Sph, const gp_Torus& Tor, const Standard_Real Tol);
//! Intersects sphere and torus.
Standard_EXPORT void Perform (const gp_Sphere& Sph, const gp_Torus& Tor, const Standard_Real Tol);
//! Creates the intersection beween two toruses.
//! Creates the intersection between two toruses.
Standard_EXPORT IntAna_QuadQuadGeo(const gp_Torus& Tor1, const gp_Torus& Tor2, const Standard_Real Tol);
//! Intersects two toruses.
@@ -200,7 +200,7 @@ public:
//! Returns the type of intersection.
IntAna_ResultType TypeInter() const;
//! Returns the number of interesections.
//! Returns the number of intersections.
//! The possible intersections are :
//! - 1 point
//! - 1 or 2 line(s)