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 10]
Fix various typos via codespell.
This commit is contained in:
@@ -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++)
|
||||
|
@@ -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
|
||||
{
|
||||
|
@@ -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;
|
||||
|
@@ -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);
|
||||
|
||||
|
@@ -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.
|
||||
|
@@ -71,12 +71,12 @@ public:
|
||||
//! plane <Pl>.
|
||||
Standard_EXPORT ProjLib_ProjectOnPlane(const gp_Ax3& Pl, const gp_Dir& D);
|
||||
|
||||
//! Sets the Curve and perform the projection. if
|
||||
//! <KeepParametrization> is true, the parametrization
|
||||
//! Sets the Curve and perform the projection.
|
||||
//! if <KeepParametrization> is true, the parametrization
|
||||
//! of the Projected Curve <PC> will be the same as
|
||||
//! the parametrization of the initial curve <C>. It
|
||||
//! meens: proj(C(u)) = PC(u) for each u. Otherwize,
|
||||
//! the parametrization may change.
|
||||
//! the parametrization of the initial curve <C>.
|
||||
//! 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 <T> the parameters bounding the intervals
|
||||
//! of continuity <S>.
|
||||
//! Stores in <T> the parameters bounding the intervals of continuity <S>.
|
||||
//!
|
||||
//! 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;
|
||||
|
||||
|
@@ -33,7 +33,7 @@ public:
|
||||
//! Create an empty projector.
|
||||
Standard_EXPORT ProjLib_ProjectOnSurface();
|
||||
|
||||
//! Create a projector normaly to the surface <S>.
|
||||
//! Create a projector normally to the surface <S>.
|
||||
Standard_EXPORT ProjLib_ProjectOnSurface(const Handle(Adaptor3d_Surface)& S);
|
||||
|
||||
Standard_EXPORT virtual ~ProjLib_ProjectOnSurface();
|
||||
|
@@ -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 <T> the parameters bounding the intervals
|
||||
//! of continuity <S>.
|
||||
//!
|
||||
//! 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;
|
||||
|
||||
|
Reference in New Issue
Block a user