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 4]
Fix various typos Fixed via `codespell v2.1.dev
This commit is contained in:
@@ -299,7 +299,7 @@ Handle(Geom2d_Curve) IGESToBRep_BasicCurve::Transfer2dBasicCurve
|
||||
//=======================================================================
|
||||
//
|
||||
// A,B,C,D,E,F are the coefficients recorded in IGES. a,b,c,d,e,f are used to
|
||||
// simplify the equations of convertion. They are already used in Euclid.
|
||||
// simplify the equations of conversion. They are already used in Euclid.
|
||||
|
||||
Handle(Geom_Curve) IGESToBRep_BasicCurve::TransferConicArc
|
||||
(const Handle(IGESGeom_ConicArc)& st)
|
||||
@@ -1378,7 +1378,7 @@ Handle(Geom_BSplineCurve) IGESToBRep_BasicCurve::TransferCopiousData
|
||||
if (!(FormNb==11 || FormNb==12 || FormNb==63)) {
|
||||
Message_Msg msg1240("IGES_1240");
|
||||
SendWarning( start, msg1240);
|
||||
// "Copious Data : Form number is different from 11, 12 or 63 so the vector treatement is skipped");
|
||||
// "Copious Data : Form number is different from 11, 12 or 63 so the vector treatment is skipped");
|
||||
}
|
||||
|
||||
Standard_Integer NbPoints = start->NbPoints();
|
||||
@@ -1478,7 +1478,7 @@ Handle(Geom2d_BSplineCurve) IGESToBRep_BasicCurve::Transfer2dCopiousData(const H
|
||||
if (!(FormNb==11 || FormNb==12 || FormNb==63)) {
|
||||
Message_Msg msg1240("IGES_1240");
|
||||
SendWarning( start, msg1240);
|
||||
// "Copious Data : Form number is different from 11, 12 or 63 so the vector treatement is skipped");
|
||||
// "Copious Data : Form number is different from 11, 12 or 63 so the vector treatment is skipped");
|
||||
}
|
||||
|
||||
Standard_Integer NbPoints = start->NbPoints();
|
||||
|
@@ -545,7 +545,7 @@ Handle(Geom_BSplineSurface) IGESToBRep_BasicSurface::TransferSplineSurface
|
||||
// case 3 :
|
||||
// AddWarning ( start, "Degree is not compatible with code boundary type , C0 is not guaranteed)");
|
||||
//case 2 :
|
||||
// AddWarning ( start, "Degree is not compatible with code boundary type , C0 is guaranted)");
|
||||
// AddWarning ( start, "Degree is not compatible with code boundary type , C0 is guaranteed)");
|
||||
default :
|
||||
break;
|
||||
}
|
||||
|
@@ -41,7 +41,6 @@ class Geom_BSplineSurface;
|
||||
class IGESGeom_SplineSurface;
|
||||
class IGESGeom_BSplineSurface;
|
||||
|
||||
|
||||
//! Provides methods to transfer basic geometric surface entities
|
||||
//! from IGES to CASCADE.
|
||||
//! These can be :
|
||||
@@ -53,7 +52,6 @@ public:
|
||||
|
||||
DEFINE_STANDARD_ALLOC
|
||||
|
||||
|
||||
//! Creates a tool BasicSurface ready to run, with
|
||||
//! epsilons set to 1.E-04, TheModeTopo to True, the
|
||||
//! optimization of the continuity to False.
|
||||
@@ -65,60 +63,31 @@ public:
|
||||
|
||||
//! Creates a tool BasicSurface ready to run.
|
||||
Standard_EXPORT IGESToBRep_BasicSurface(const Standard_Real eps, const Standard_Real epsGeom, const Standard_Real epsCoeff, const Standard_Boolean mode, const Standard_Boolean modeapprox, const Standard_Boolean optimized);
|
||||
|
||||
//! Returns Surface from Geom if the last transfer has
|
||||
//! succeded.
|
||||
|
||||
//! Returns Surface from Geom if the last transfer has succeeded.
|
||||
Standard_EXPORT Handle(Geom_Surface) TransferBasicSurface (const Handle(IGESData_IGESEntity)& start);
|
||||
|
||||
//! Returns Plane from Geom if the transfer has
|
||||
//! succeded.
|
||||
|
||||
//! Returns Plane from Geom if the transfer has succeeded.
|
||||
Standard_EXPORT Handle(Geom_Plane) TransferPlaneSurface (const Handle(IGESSolid_PlaneSurface)& start);
|
||||
|
||||
//! Returns CylindricalSurface from Geom if the transfer has
|
||||
//! succeded.
|
||||
|
||||
//! Returns CylindricalSurface from Geom if the transfer has succeeded.
|
||||
Standard_EXPORT Handle(Geom_CylindricalSurface) TransferRigthCylindricalSurface (const Handle(IGESSolid_CylindricalSurface)& start);
|
||||
|
||||
//! Returns ConicalSurface from Geom if the transfer has
|
||||
//! succeded.
|
||||
|
||||
//! Returns ConicalSurface from Geom if the transfer has succeeded.
|
||||
Standard_EXPORT Handle(Geom_ConicalSurface) TransferRigthConicalSurface (const Handle(IGESSolid_ConicalSurface)& start);
|
||||
|
||||
//! Returns SphericalSurface from Geom if the transfer has
|
||||
//! succeded.
|
||||
|
||||
//! Returns SphericalSurface from Geom if the transfer has succeeded.
|
||||
Standard_EXPORT Handle(Geom_SphericalSurface) TransferSphericalSurface (const Handle(IGESSolid_SphericalSurface)& start);
|
||||
|
||||
//! Returns SphericalSurface from Geom if the transfer has
|
||||
//! succeded.
|
||||
|
||||
//! Returns SphericalSurface from Geom if the transfer has succeeded.
|
||||
Standard_EXPORT Handle(Geom_ToroidalSurface) TransferToroidalSurface (const Handle(IGESSolid_ToroidalSurface)& start);
|
||||
|
||||
//! Returns BSplineSurface from Geom if the transfer has
|
||||
//! succeded.
|
||||
|
||||
//! Returns BSplineSurface from Geom if the transfer has succeeded.
|
||||
Standard_EXPORT Handle(Geom_BSplineSurface) TransferSplineSurface (const Handle(IGESGeom_SplineSurface)& start);
|
||||
|
||||
//! Returns BSplineSurface from Geom if the transfer has
|
||||
//! succeded.
|
||||
|
||||
//! Returns BSplineSurface from Geom if the transfer has succeeded.
|
||||
Standard_EXPORT Handle(Geom_BSplineSurface) TransferBSplineSurface (const Handle(IGESGeom_BSplineSurface)& start);
|
||||
|
||||
|
||||
|
||||
|
||||
protected:
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
private:
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#endif // _IGESToBRep_BasicSurface_HeaderFile
|
||||
|
@@ -14,7 +14,7 @@
|
||||
// 22.12.98 dce S3767
|
||||
// 21.12.98 rln, gka S4054
|
||||
//#74 rln,pdn 11.03.99 S4135: Setting minimum and maximum tolerances according to static parameters
|
||||
// sln 13.06.2002 OCC448 : Correction in method TransferGeometry to avoid transfering invisiable sub entities
|
||||
// sln 13.06.2002 OCC448 : Correction in method TransferGeometry to avoid transferring invisible sub entities
|
||||
|
||||
#include <BRep_Builder.hxx>
|
||||
#include <BRepLib.hxx>
|
||||
@@ -238,7 +238,7 @@ TopoDS_Shape IGESToBRep_CurveAndSurface::TransferGeometry
|
||||
// Declaration of messages//
|
||||
// DCE 22/12/98
|
||||
//Message_Msg msg1005("IGES_1005"); // Software error : start IsNull.
|
||||
//Message_Msg msg1015("IGES_1015"); // invalid type or execption raising (software error).
|
||||
//Message_Msg msg1015("IGES_1015"); // invalid type or exception raising (software error).
|
||||
//Message_Msg msg1010("IGES_1010"); // Not sameparameter.
|
||||
// Message_Msg msg1015("IGES_1015");
|
||||
//Message_Msg msg210 ("XSTEP_210");
|
||||
@@ -256,8 +256,8 @@ TopoDS_Shape IGESToBRep_CurveAndSurface::TransferGeometry
|
||||
Handle(TCollection_HAsciiString) label = GetModel()->StringLabel(start);
|
||||
//Standard_Integer typeNumber = start->TypeNumber();
|
||||
|
||||
// sln 13.06.2002 OCC448: Avoid transfering invisiable sub entities which
|
||||
// logicaly depend on the one
|
||||
// sln 13.06.2002 OCC448: Avoid transferring invisible sub entities which
|
||||
// logically depend on the one
|
||||
Standard_Integer onlyvisible = Interface_Static::IVal("read.iges.onlyvisible");
|
||||
|
||||
if (IGESToBRep::IsCurveAndSurface(start)) {
|
||||
|
@@ -13,7 +13,7 @@
|
||||
|
||||
//pdn 11.01.99 including <stdio.h> for compilation on NT
|
||||
//#70 rln 03.03.99 syntax correction
|
||||
// sln 11.06.2002 OCC448 : Initialize "read.onlyvisiable" parameter to control transfering invisiable sub entities which logicaly depend on the grouping entities
|
||||
// sln 11.06.2002 OCC448 : Initialize "read.onlyvisiable" parameter to control transferring invisible sub entities which logically depend on the grouping entities
|
||||
|
||||
#include <BRep_Builder.hxx>
|
||||
#include <BRepLib.hxx>
|
||||
@@ -166,7 +166,7 @@ Standard_Integer IGESToBRep_Reader::LoadFile (const Standard_CString filename)
|
||||
// Nb warning in global section.
|
||||
|
||||
Standard_Integer nbWarn = 0,nbFail = 0;
|
||||
// Add the number of warning on enities :
|
||||
// Add the number of warning on entities :
|
||||
Interface_CheckTool cht (model,protocol);
|
||||
Interface_CheckIterator anIter = cht.CompleteCheckList();
|
||||
for(anIter.Start(); anIter.More(); anIter.Next()) {
|
||||
@@ -316,7 +316,7 @@ static Standard_Boolean EncodeRegul (const TopoDS_Shape& sh)
|
||||
// shape in its internal list
|
||||
//=======================================================================
|
||||
|
||||
// coment as unused PTV 18.09.2000
|
||||
// comment as unused PTV 18.09.2000
|
||||
// static void UpdateMap (const Handle(Transfer_TransientProcess)& map,
|
||||
// const BRepTools_Modifier& modifier)
|
||||
// {
|
||||
|
Reference in New Issue
Block a user