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

0031939: Coding - correction of spelling errors in comments

Fix various typos

Fixed via `codespell v2.0.dev`
This commit is contained in:
luz paz
2020-11-13 10:46:02 -05:00
committed by bugmaster
parent 81ff49158a
commit 21c7c45701
262 changed files with 488 additions and 488 deletions

View File

@@ -144,19 +144,19 @@ protected:
private:
//! Is internaly used by <AddFillet>.
//! Is internally used by <AddFillet>.
//! Warning: <TrimE1>, <TrimE2>, <Fillet> has sense only if the
//! status <status> is equal to <IsDone>
Standard_EXPORT void ComputeFillet (const TopoDS_Vertex& V, const TopoDS_Edge& E1, const TopoDS_Edge& E2, const Standard_Real Radius, TopoDS_Edge& TrimE1, TopoDS_Edge& TrimE2, TopoDS_Edge& Fillet);
//! Is internaly used by <AddChamfer>. The chamfer is
//! Is internally used by <AddChamfer>. The chamfer is
//! computed from a vertex, two edges and two
//! distances
//! Warning: <TrimE1>, <TrimE2> and <Chamfer> has sense only if
//! if the status <status> is equal to <IsDone>
Standard_EXPORT void ComputeChamfer (const TopoDS_Vertex& V, const TopoDS_Edge& E1, const TopoDS_Edge& E2, const Standard_Real D1, const Standard_Real D2, TopoDS_Edge& TrimE1, TopoDS_Edge& TrimE2, TopoDS_Edge& Chamfer);
//! Is internaly used by <AddChamfer>. The chamfer is
//! Is internally used by <AddChamfer>. The chamfer is
//! computed from an edge, a vertex, a distance
//! and an angle
//! Warning: <TrimE1>, <TrimE2>, and <Chamfer> has
@@ -164,7 +164,7 @@ private:
//! <IsDone>
Standard_EXPORT void ComputeChamfer (const TopoDS_Vertex& V, const TopoDS_Edge& E1, const Standard_Real D, const Standard_Real Ang, const TopoDS_Edge& E2, TopoDS_Edge& TrimE1, TopoDS_Edge& TrimE2, TopoDS_Edge& Chamfer);
//! Is internaly used by <ComputeFillet>.
//! Is internally used by <ComputeFillet>.
//! <NewExtr1> and <NewExtr2> will contains the new
//! extremities of <AdjEdge1> and <AdjEdge2>
//! Warning: The returned edge has sense only if the status
@@ -175,14 +175,14 @@ private:
//! <BothEdgesDegenerated>
Standard_EXPORT TopoDS_Edge BuildFilletEdge (const TopoDS_Vertex& V, const TopoDS_Edge& AdjEdge1, const TopoDS_Edge& AdjEdge2, const Standard_Real Radius, TopoDS_Vertex& NewExtr1, TopoDS_Vertex& NewExtr2);
//! Is internaly used by <ComputeFillet>.
//! Is internally used by <ComputeFillet>.
//! <NewExtr1> and <NewExtr2> will contains the new
//! extremities of <AdjEdge1> and <AdjEdge2>
//! Warning: The returned edge has sense only if the status
//! <status> is equal to <IsDone>
Standard_EXPORT TopoDS_Edge BuildChamferEdge (const TopoDS_Vertex& V, const TopoDS_Edge& AdjEdge1, const TopoDS_Edge& AdjEdge2, const Standard_Real D1, const Standard_Real D2, TopoDS_Vertex& NewExtr1, TopoDS_Vertex& NewExtr2);
//! Is internaly used by <ComputeFillet>.
//! Is internally used by <ComputeFillet>.
//! <NewExtr1> and <NewExtr2> will contains the new
//! extremities of <AdjEdge1> and <AdjEdge2>
//! Warning: The returned edge has sense only if the status

View File

@@ -113,7 +113,7 @@ Standard_Boolean ChFi2d_FilletAPI::IsAnalytical(const TopoDS_Edge& theEdge1,
(AC2.GetType() == GeomAbs_Line || AC2.GetType() == GeomAbs_Circle))
{
// The edges are lines or arcs of circle.
// Now check wether they have a common point.
// Now check whether they have a common point.
gp_Pnt p11 = AC1.Value(AC1.FirstParameter());
gp_Pnt p12 = AC1.Value(AC1.LastParameter());
gp_Pnt p21 = AC2.Value(AC2.FirstParameter());

View File

@@ -507,7 +507,7 @@ int ChFi2d_FilletAlgo::NbResults(const gp_Pnt& thePoint)
return nb;
}
// returns result (fillet edge, modified edge1, modified edge2), neares to the given point <thePoint>
// returns result (fillet edge, modified edge1, modified edge2), nearest to the given point <thePoint>
TopoDS_Edge ChFi2d_FilletAlgo::Result(const gp_Pnt& thePoint, TopoDS_Edge& theEdge1, TopoDS_Edge& theEdge2, const int iSolution)
{
TopoDS_Edge aResult;

View File

@@ -87,18 +87,18 @@ public:
Standard_EXPORT Standard_Boolean Perform(const Standard_Real theRadius);
//! Returns number of possible solutions.
//! <thePoint> chooses a particular fillet in case of several fillets
//! <thePoint> chooses a particular fillet in case of several fillets
//! may be constructed (for example, a circle intersecting a segment in 2 points).
//! Put the intersecting (or common) point of the edges.
Standard_EXPORT Standard_Integer NbResults(const gp_Pnt& thePoint);
//! Returns result (fillet edge, modified edge1, modified edge2),
//! neares to the given point <thePoint> if iSolution == -1.
//! <thePoint> chooses a particular fillet in case of several fillets
//! Returns result (fillet edge, modified edge1, modified edge2),
//! nearest to the given point <thePoint> if iSolution == -1.
//! <thePoint> chooses a particular fillet in case of several fillets
//! may be constructed (for example, a circle intersecting a segment in 2 points).
//! Put the intersecting (or common) point of the edges.
Standard_EXPORT TopoDS_Edge Result(const gp_Pnt& thePoint,
TopoDS_Edge& theEdge1, TopoDS_Edge& theEdge2,
Standard_EXPORT TopoDS_Edge Result(const gp_Pnt& thePoint,
TopoDS_Edge& theEdge1, TopoDS_Edge& theEdge2,
const Standard_Integer iSolution = -1);
private:
@@ -107,7 +107,7 @@ private:
void FillPoint(FilletPoint*, const Standard_Real theLimit);
//! Computes the derivative value of the function in the current point.
//! <theDiffStep> is small step for approximate derivative computation
//! <theFront> is direction of the step: from or reverced
//! <theFront> is direction of the step: from or reversed
void FillDiff(FilletPoint*, Standard_Real theDiffStep, Standard_Boolean theFront);
//! Using Newton methods computes optimal point, that can be root of the
//! function taking into account two input points, functions value and derivatives.