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

0031939: Coding - correction of spelling errors in comments [part 2]

Fix various typos

Fixed via `codespell v2.0.dev`
This commit is contained in:
luz paz
2020-11-30 12:55:48 +03:00
committed by kgv
parent d66f7c0fa2
commit a110c4a377
106 changed files with 211 additions and 207 deletions

View File

@@ -80,7 +80,7 @@ void GeoAlgo_Sol::Build(const TColgp_SequenceOfXYZ& seqOfXYZ)
//Filling plate
Plate_Plate myPlate;
std::cout<<" * Nunber of points = "<< nbPnt << std::endl;
std::cout<<" * Number of points = "<< nbPnt << std::endl;
for (i=1; i<= nbPnt; i++) {
gp_Pnt ptProj(seqOfXYZ.Value(i).X(), seqOfXYZ.Value(i).Y(), 0. );
gp_Vec aVec( ptProj, seqOfXYZ.Value(i));

View File

@@ -48,7 +48,7 @@ void GeomSources::PreProcess(CGeometryDoc* aDoc,DisplayType aDisplayType)
aDoc->Put2DOnTop(false);
// both on top
// send the message Title Horizontaly to the child of doc main frame
// send the message Title Horizontally to the child of doc main frame
CGeometryApp* TheAppli = (CGeometryApp*)AfxGetApp();
CMainFrame* TheMainFrame= (CMainFrame*)TheAppli->m_pMainWnd;
::SendMessage(TheMainFrame->m_hWndMDIClient, WM_MDITILE, 0, 0);

View File

@@ -19,7 +19,7 @@ static char THIS_FILE[] = __FILE__;
#define WAIT_A_LITTLE WaitForInput(500)
#define MAX_PARAM 1000 // if a surface parameter is infinite, it is assingned
#define MAX_PARAM 1000 // if a surface parameter is infinite, it is assigned
// this value in order to display the "infinit" object in the viewer.
/////////////////////////////////////////////////////////////////////////////
@@ -1134,7 +1134,7 @@ void CGeometryDoc::OnCreateSol()
//================================================================
// Function : fixParam
// Purpose : assings a finite value to theParam if it intinite
// Purpose : assigns a finite value to theParam if it's infinite
// (equal to +- Precision::Infinite())
//================================================================
static Standard_Boolean fixParam(Standard_Real& theParam)