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 5]
Fix various typos Fixed via `codespell v2.1.dev
This commit is contained in:
@@ -43,7 +43,7 @@ class ChFi2d_Builder;
|
||||
//! the fillet edge for any type of edges including
|
||||
//! ellipses and b-splines.
|
||||
//! The edges may even have no common point.
|
||||
//! ChFi2d_ChamferAPI - an algoroithm for construction of chamfers
|
||||
//! ChFi2d_ChamferAPI - an algorithm for construction of chamfers
|
||||
//! between two linear edges of a plane.
|
||||
//!
|
||||
//! The algorithms ChFi2d_AnaFilletAlgo and ChFi2d_FilletAlgo may be used directly
|
||||
|
@@ -17,29 +17,23 @@
|
||||
#ifndef _ChFi2d_ConstructionError_HeaderFile
|
||||
#define _ChFi2d_ConstructionError_HeaderFile
|
||||
|
||||
//! error that can occur during the
|
||||
//! fillet construction on planar wire//! the face is not planar//! the face is null//! the two faces used for the initialisation are
|
||||
//! uncompatible.//! the parameters as distances or angle for
|
||||
//! chamfer are less or equal to zero.//! the initialization has been succesfull.//! the algorithm could not find a solution.//! the vertex given to locate the fillet or the
|
||||
//! chamfer is not connected to 2 edges.//! the two edges connected to the vertex are tangent.//! the first edge is degenerated.//! the last edge is degenerated.//! the two edges are degenerated.//! One or the two edges connected to the vertex
|
||||
//! is a fillet or a chamfer
|
||||
//! One or the two edges connected to the vertex
|
||||
//! is not a line or a circle
|
||||
//! Error that can occur during the fillet construction on planar wire.
|
||||
enum ChFi2d_ConstructionError
|
||||
{
|
||||
ChFi2d_NotPlanar,
|
||||
ChFi2d_NoFace,
|
||||
ChFi2d_InitialisationError,
|
||||
ChFi2d_ParametersError,
|
||||
ChFi2d_Ready,
|
||||
ChFi2d_IsDone,
|
||||
ChFi2d_ComputationError,
|
||||
ChFi2d_ConnexionError,
|
||||
ChFi2d_TangencyError,
|
||||
ChFi2d_FirstEdgeDegenerated,
|
||||
ChFi2d_LastEdgeDegenerated,
|
||||
ChFi2d_BothEdgesDegenerated,
|
||||
ChFi2d_NotAuthorized
|
||||
ChFi2d_NotPlanar, //!< the face is not planar
|
||||
ChFi2d_NoFace, //!< the face is null
|
||||
ChFi2d_InitialisationError, //!< the two faces used for the initialisation are uncompatible
|
||||
ChFi2d_ParametersError, //!< the parameters as distances or angle for chamfer are less or equal to zero
|
||||
ChFi2d_Ready, //!< the initialization has been successful
|
||||
ChFi2d_IsDone,
|
||||
ChFi2d_ComputationError, //!< the algorithm could not find a solution
|
||||
ChFi2d_ConnexionError, //!< the vertex given to locate the fillet or the chamfer is not connected to 2 edges
|
||||
ChFi2d_TangencyError, //!< the two edges connected to the vertex are tangent
|
||||
ChFi2d_FirstEdgeDegenerated, //!< the first edge is degenerated
|
||||
ChFi2d_LastEdgeDegenerated, //!< the last edge is degenerated
|
||||
ChFi2d_BothEdgesDegenerated, //!< the two edges are degenerated
|
||||
ChFi2d_NotAuthorized //!< One or the two edges connected to the vertex is a fillet or a chamfer;
|
||||
//! One or the two edges connected to the vertex is not a line or a circle
|
||||
};
|
||||
|
||||
#endif // _ChFi2d_ConstructionError_HeaderFile
|
||||
|
@@ -51,10 +51,9 @@ class FilletPoint;
|
||||
//! 3. Using Newton search method take the point on the segment where function
|
||||
//! value is most close to zero. If it is not enough close, step 2 and 3 are
|
||||
//! repeated taking as start or end point the found point.
|
||||
//! 4. If solution is found, result is created on point on root of the function
|
||||
//! (as a start point), point of the projection onto second curve (as an end
|
||||
//! point) and center of arc in found center. Initial edges are cutted by
|
||||
//! the start and end point of tangency.
|
||||
//! 4. If solution is found, result is created on point on root of the function (as a start point),
|
||||
//! point of the projection onto second curve (as an end point) and center of arc in found center.
|
||||
//! Initial edges are cut by the start and end point of tangency.
|
||||
class ChFi2d_FilletAlgo
|
||||
{
|
||||
public:
|
||||
@@ -115,7 +114,7 @@ private:
|
||||
//! Stores roots in myResultParams.
|
||||
void PerformNewton(FilletPoint*, FilletPoint*);
|
||||
//! Splits segment by the parameter and calls Newton method for both segments.
|
||||
//! It supplies recursive iterations of the Newthon methods calls
|
||||
//! It supplies recursive iterations of the Newton methods calls
|
||||
//! (PerformNewton calls this function and this calls Netwton two times).
|
||||
Standard_Boolean ProcessPoint(FilletPoint*, FilletPoint*, Standard_Real);
|
||||
|
||||
|
Reference in New Issue
Block a user