mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
0031939: Coding - correction of spelling errors in comments [part 3]
Fix various typos Fixed via `codespell v2.1.dev0`
This commit is contained in:
@@ -346,7 +346,7 @@ void GeomLib::DensifyArray1OfReal(const Standard_Integer MinNumPoints,
|
||||
if (MinNumPoints > InParameters.Length()) {
|
||||
|
||||
//
|
||||
// checks the paramaters are in increasing order
|
||||
// checks the parameters are in increasing order
|
||||
//
|
||||
for (ii = InParameters.Lower() ; ii < InParameters.Upper() ; ii++) {
|
||||
if (InParameters(ii) > InParameters(ii+1)) {
|
||||
@@ -892,7 +892,7 @@ void GeomLib::SameRange(const Standard_Real Tolerance,
|
||||
return;
|
||||
}
|
||||
|
||||
// the parametrisation lentgh must at least be the same.
|
||||
// the parametrisation length must at least be the same.
|
||||
if (Abs(LastOnCurve - FirstOnCurve - RequestedLast + RequestedFirst)
|
||||
<= Tolerance)
|
||||
{
|
||||
@@ -2019,7 +2019,7 @@ static Standard_Boolean CanBeTreated(Handle(Geom_BSplineSurface)& BSurf)
|
||||
|
||||
//=======================================================================
|
||||
//class : law_evaluator
|
||||
//purpose : usefull to estimate the value of a function of 2 variables
|
||||
//purpose : useful to estimate the value of a function of 2 variables
|
||||
//=======================================================================
|
||||
|
||||
class law_evaluator : public BSplSLib_EvaluatorFunction
|
||||
@@ -2759,8 +2759,8 @@ Standard_Boolean GeomLib::IsBzVClosed (const Handle(Geom_BezierSurface)& S,
|
||||
//function : CompareWeightPoles
|
||||
//purpose : Checks if thePoles1(i)*theW1(i) is equal to thePoles2(i)*theW2(i)
|
||||
// with tolerance theTol.
|
||||
// It is necessary for not rational B-splines and Bezier curves
|
||||
// to set theW1 and theW2 adresses to zero.
|
||||
// It is necessary for non-rational B-splines and Bezier curves
|
||||
// to set theW1 and theW2 addresses to zero.
|
||||
//=======================================================================
|
||||
static Standard_Boolean CompareWeightPoles(const TColgp_Array1OfPnt& thePoles1,
|
||||
const TColStd_Array1OfReal* const theW1,
|
||||
|
@@ -135,7 +135,7 @@ public:
|
||||
//! Tol is used to determine singular cases.
|
||||
Standard_EXPORT static void AxeOfInertia (const TColgp_Array1OfPnt& Points, gp_Ax2& Axe, Standard_Boolean& IsSingular, const Standard_Real Tol = 1.0e-7);
|
||||
|
||||
//! Compute principale axes of inertia, and dispertion
|
||||
//! Compute principale axes of inertia, and dispersion
|
||||
//! value of some points.
|
||||
Standard_EXPORT static void Inertia (const TColgp_Array1OfPnt& Points, gp_Pnt& Bary, gp_Dir& XDir, gp_Dir& YDir, Standard_Real& Xgap, Standard_Real& YGap, Standard_Real& ZGap);
|
||||
|
||||
@@ -146,7 +146,7 @@ public:
|
||||
//!
|
||||
//! This method makes uniform NumPoints segments S1,...SNumPoints out
|
||||
//! of the segment defined by the first parameter and the
|
||||
//! last parameter ofthe InParameter ; keeps only one
|
||||
//! last parameter of the InParameter ; keeps only one
|
||||
//! point of the InParameters set of parameter in each of
|
||||
//! the uniform segments taking care of the first and the
|
||||
//! last parameters. For the ith segment the element of
|
||||
@@ -172,13 +172,13 @@ public:
|
||||
//! the maximum of the evaluated distance
|
||||
Standard_EXPORT static void EvalMaxParametricDistance (const Adaptor3d_Curve& Curve, const Adaptor3d_Curve& AReferenceCurve, const Standard_Real Tolerance, const TColStd_Array1OfReal& Parameters, Standard_Real& MaxDistance);
|
||||
|
||||
//! this will compute the maximum distancef at the parameters
|
||||
//! this will compute the maximum distance at the parameters
|
||||
//! given in the Parameters array by projecting from the Curve
|
||||
//! to the reference curve and taking the minimum distance
|
||||
//! Than the maximum will be taken on those minimas.
|
||||
Standard_EXPORT static void EvalMaxDistanceAlongParameter (const Adaptor3d_Curve& Curve, const Adaptor3d_Curve& AReferenceCurve, const Standard_Real Tolerance, const TColStd_Array1OfReal& Parameters, Standard_Real& MaxDistance);
|
||||
|
||||
//! Cancel,on the boudaries,the denominator first derivative
|
||||
//! Cancel,on the boundaries,the denominator first derivative
|
||||
//! in the directions wished by the user and set its value to 1.
|
||||
Standard_EXPORT static void CancelDenominatorDerivative (Handle(Geom_BSplineSurface)& BSurf, const Standard_Boolean UDirection, const Standard_Boolean VDirection);
|
||||
|
||||
|
@@ -30,10 +30,10 @@ public:
|
||||
|
||||
DEFINE_STANDARD_ALLOC
|
||||
|
||||
//! Default contructor
|
||||
//! Default constructor
|
||||
Standard_EXPORT GeomLib_CheckCurveOnSurface(void);
|
||||
|
||||
//! Contructor
|
||||
//! Constructor
|
||||
Standard_EXPORT
|
||||
GeomLib_CheckCurveOnSurface(const Handle(Geom_Curve)& theCurve,
|
||||
const Handle(Geom_Surface)& theSurface,
|
||||
|
Reference in New Issue
Block a user