]> OCCT Git - occt-copy.git/commitdiff
0031939: Coding - correction of spelling errors in comments [part 2]
authorluz paz <luzpaz@users.noreply.github.com>
Mon, 30 Nov 2020 09:55:48 +0000 (12:55 +0300)
committerkgv <kgv@opencascade.com>
Mon, 30 Nov 2020 11:04:03 +0000 (14:04 +0300)
Fix various typos

Fixed via `codespell v2.0.dev`

106 files changed:
CMakeLists.txt
adm/cmake/cotire.cmake
adm/cmake/occt_toolkit.cmake
adm/cmake/tcl.cmake
adm/cmake/tk.cmake
adm/genproj.tcl
adm/occaux.tcl
adm/templates/custom.build.bat.in
adm/templates/custom.build.sh.in
adm/templates/env.bat.in
adm/templates/env.build.sh.in
adm/templates/env.install.sh.in
adm/upgrade.tcl
dox/upgrade/upgrade.md
dox/user_guides/draw_test_harness/draw_test_harness.md
samples/CSharp/WPF_D3D/OCCViewer.cs
samples/CSharp/WPF_D3D/Simple Styles.xaml
samples/CSharp/WPF_WinForms/OCCViewer.cs
samples/CSharp/WPF_WinForms/Simple Styles.xaml
samples/CSharp/WinForms/Form2.cs
samples/OCCTOverview/code/TopologySamples.cxx
samples/mfc/standard/01_Geometry/res/Geometry.rc
samples/mfc/standard/01_Geometry/src/GeoAlgo_Sol.cxx
samples/mfc/standard/01_Geometry/src/GeomSources.cpp
samples/mfc/standard/01_Geometry/src/GeometryDoc.cpp
samples/mfc/standard/02_Modeling/res/Modeling.rc
samples/mfc/standard/02_Modeling/src/ModelingDoc.cpp
samples/mfc/standard/04_Viewer3d/src/OCCDemo_Presentation.cpp
samples/mfc/standard/04_Viewer3d/src/OffsetDlg.cpp
samples/mfc/standard/04_Viewer3d/src/TexturesExt_Presentation.cpp
samples/mfc/standard/04_Viewer3d/src/Viewer3dDoc.cpp
samples/mfc/standard/05_ImportExport/src/ImportExportDoc.cpp
samples/mfc/standard/06_Ocaf/src/OcafDoc.cpp
samples/mfc/standard/06_Ocaf/src/TOcafFunction_CutDriver.cxx
samples/mfc/standard/06_Ocaf/src/TOcaf_Application.cxx
samples/mfc/standard/06_Ocaf/src/TOcaf_Commands.cxx
samples/mfc/standard/07_Triangulation/src/OCCDemo_Presentation.cpp
samples/mfc/standard/08_HLR/README.txt
samples/mfc/standard/08_HLR/src/SelectionDialog.cpp
samples/mfc/standard/08_HLR/src/SelectionDialog.h
samples/mfc/standard/10_Convert/src/OCCDemo_Presentation.cpp
samples/mfc/standard/10_Convert/src/WNT/OCCDemo.cpp
samples/mfc/standard/10_Convert/src/WNT/ResultDialog.cpp
samples/mfc/standard/10_Convert/src/WNT/ResultDialog.h
samples/mfc/standard/Common/OCC_3dDoc.cpp
samples/ocafsamples/TDocStd_Sample.cxx
samples/ocafsamples/TPrsStd_Sample.cxx
samples/qt/FuncDemo/src/FThread.cpp
samples/qt/FuncDemo/src/SimpleDriver.cpp
samples/qt/Interface/src/Translate.cxx
samples/qt/OCCTOverview/ReadMe.md
samples/tcl/ModelingDemo.tcl
samples/tcl/VisualizationDemo.tcl
samples/tcl/cpu.tcl
samples/tcl/drill.tcl
samples/webgl/WasmOcctView.cpp
samples/xaml/CMakeLists.txt
tools/CMakeLists.txt
tools/Convert/Convert_TransientShape.hxx
tools/DFBrowser/DFBrowser_AttributePaneStack.hxx
tools/DFBrowser/DFBrowser_Item.hxx
tools/DFBrowser/DFBrowser_Module.cxx
tools/DFBrowser/DFBrowser_Module.hxx
tools/DFBrowser/DFBrowser_ThreadItemSearch.hxx
tools/DFBrowser/DFBrowser_TreeLevelLineModel.hxx
tools/DFBrowser/DFBrowser_TreeLevelView.hxx
tools/DFBrowser/DFBrowser_TreeLevelViewModel.hxx
tools/DFBrowser/DFBrowser_Window.hxx
tools/DFBrowserPane/DFBrowserPane_AttributePane.hxx
tools/DFBrowserPane/DFBrowserPane_AttributePaneModel.hxx
tools/DFBrowserPane/DFBrowserPane_HelperArray.hxx
tools/DFBrowserPane/DFBrowserPane_HelperExport.hxx
tools/DFBrowserPane/DFBrowserPane_ItemRole.hxx
tools/DFBrowserPane/DFBrowserPane_TableView.hxx
tools/DFBrowserPaneXDE/DFBrowserPaneXDE_AttributePaneCreator.hxx
tools/DFBrowserPaneXDE/DFBrowserPaneXDE_XCAFDocDatum.cxx
tools/ShapeView/ShapeView_ItemShape.hxx
tools/ShapeView/ShapeView_OpenFileViewModel.hxx
tools/ShapeView/ShapeView_VisibilityState.hxx
tools/ShapeView/ShapeView_Window.hxx
tools/TInspector/TInspector_Communicator.hxx
tools/TInspector/TInspector_OpenFileViewModel.hxx
tools/TInspector/TInspector_Window.hxx
tools/TInspectorAPI/TInspectorAPI_Communicator.hxx
tools/TInspectorAPI/TInspectorAPI_PluginParameters.hxx
tools/ToolsDraw/ToolsDraw.cxx
tools/ToolsDraw/ToolsDraw.hxx
tools/TreeModel/TreeModel_ContextMenu.hxx
tools/TreeModel/TreeModel_ItemBase.hxx
tools/TreeModel/TreeModel_ItemProperties.hxx
tools/TreeModel/TreeModel_ItemStream.hxx
tools/TreeModel/TreeModel_ModelBase.hxx
tools/TreeModel/TreeModel_Tools.hxx
tools/TreeModel/TreeModel_VisibilityState.hxx
tools/VInspector/VInspector_ItemBase.hxx
tools/VInspector/VInspector_Window.hxx
tools/View/View_DisplayPreview.hxx
tools/View/View_Displayer.hxx
tools/View/View_PreviewParameters.hxx
tools/View/View_ToolBar.hxx
tools/View/View_Widget.hxx
tools/View/View_Window.hxx
tools/ViewControl/ViewControl_PropertyView.hxx
tools/ViewControl/ViewControl_Table.hxx
tools/ViewControl/ViewControl_TableModel.hxx
tools/ViewControl/ViewControl_TableModelValues.hxx

index 100d61339d4d16e7b2acc5ad4e912725f8b2b3db..b8c22b2c8647e74a22a83f2983ad400d19390779 100644 (file)
@@ -219,7 +219,7 @@ if (NOT DEFINED INSTALL_DIR_BIN)
   endif()
 endif()
 
-# define folder contaning all shell/batch scripts
+# define folder containing all shell/batch scripts
 if (NOT DEFINED INSTALL_DIR_SCRIPT)
   if ("${INSTALL_DIR_LAYOUT}" STREQUAL "Unix")
     set (INSTALL_DIR_SCRIPT "${INSTALL_DIR_BIN}" CACHE PATH "${INSTALL_DIR_SCRIPT_DESCR}")
@@ -311,7 +311,7 @@ if (NOT DEFINED INSTALL_DIR_DOC)
   endif()
 endif()
 
-# define folder contaning CMake configuration files
+# define folder containing CMake configuration files
 if (NOT DEFINED INSTALL_DIR_CMAKE)
   if ("${INSTALL_DIR_LAYOUT}" STREQUAL "Unix")
     if (INSTALL_DIR_WITH_VERSION)
index 6cf0cb66a5e918c8755b48391313b517f3604808..f0916e21f438599cfdc1b91159bdcb9f7a2a7239 100644 (file)
@@ -2402,7 +2402,7 @@ function (cotire_setup_target_pch_usage _languages _target _wholeTarget)
                        message (STATUS "add_custom_command: TARGET ${_target} PRE_BUILD ${_cmds}")
                endif()
                # because CMake PRE_BUILD command does not support dependencies,
-               # we check dependencies explicity in cotire script mode when the pre-build action is run
+               # we check dependencies explicitly in cotire script mode when the pre-build action is run
                add_custom_command(
                        TARGET "${_target}"
                        PRE_BUILD ${_cmds}
index 796050594b088836b3b824804504204cd2dee423..12d6cd6025b5c8e7b577fb4098f026557f5ddd9d 100644 (file)
@@ -95,7 +95,7 @@ foreach (OCCT_PACKAGE ${USED_PACKAGES})
           # Note: files are generated in original source directory (not in patch!)
           set (FLEX_BISON_TARGET_DIR "${CMAKE_SOURCE_DIR}/${RELATIVE_SOURCES_DIR}/${OCCT_PACKAGE}")
 
-          # choose apropriate extension for generated files: "cxx" if source file contains
+          # choose appropriate extension for generated files: "cxx" if source file contains
           # instruction to generate C++ code, "c" otherwise
           set (BISON_OUTPUT_FILE_EXT "c")
           set (FLEX_OUTPUT_FILE_EXT "c")
index f9cb8938df1a7d469921ff9cf811d5b4e4cdd73e..77359a6204001e1c3ff5cf41f7c2cff4fc30f5b7 100644 (file)
@@ -245,7 +245,7 @@ if (BUILD_SHARED_LIBS)
       install (DIRECTORY "${3RDPARTY_TCL_LIBRARY_DIR}/tcl8"                    DESTINATION "${INSTALL_DIR_LIB}")
       install (DIRECTORY "${3RDPARTY_TCL_LIBRARY_DIR}/tcl${TCL_TCLSH_VERSION}" DESTINATION "${INSTALL_DIR_LIB}")
     else()
-      message (STATUS "\nWarning: tclX.X subdir won't be copyied during the installation process.")
+      message (STATUS "\nWarning: tclX.X subdir won't be copied during the installation process.")
       message (STATUS "Try seeking tcl within another folder by changing 3RDPARTY_TCL_DIR variable.")
     endif()
 
index 5e6d4299f35170be40f366fd489b9fe4d7c0fac8..a30081270cb53437477a0f74c8fb65a522a0df20 100644 (file)
@@ -250,7 +250,7 @@ if (BUILD_SHARED_LIBS)
       # tk is required to install in lib folder (without)
       install (DIRECTORY "${3RDPARTY_TK_LIBRARY_DIR}/tk${TCL_TCLSH_VERSION}"  DESTINATION "${INSTALL_DIR_LIB}")
     else()
-      message (STATUS "\nWarning: tkX.X subdir won't be copyied during the installation process.")
+      message (STATUS "\nWarning: tkX.X subdir won't be copied during the installation process.")
       message (STATUS "Try seeking tk within another folder by changing 3RDPARTY_TK_DIR variable.")
     endif()
 
index 8a077ae8d502040c76c83ee44f9eb5b0483219d2..d3a5c8a9333c4d103d274dd95b2069478a88c1b3 100644 (file)
@@ -1885,7 +1885,7 @@ proc osutils:vcproj { theVcVer isUWP theOutDir theToolKit theGuidsMap theSrcDir
           set written([file tail $aSrcFile]) 1
           append aFilesSection [osutils:vcxproj:cxxfile $aSrcFile $needparam 3]
         } else {
-          puts "Warning : in vcproj more than one occurences for [file tail $aSrcFile]"
+          puts "Warning : in vcproj more than one occurrences for [file tail $aSrcFile]"
         }
         if { ! [info exists aVcFilesCxx($xlo)] } { lappend aVcFilesCxx(units) $xlo }
         lappend aVcFilesCxx($xlo) $aSrcFile
@@ -1895,7 +1895,7 @@ proc osutils:vcproj { theVcVer isUWP theOutDir theToolKit theGuidsMap theSrcDir
           set written([file tail $aHxxFile]) 1
           append aFilesSection [osutils:vcxproj:hxxfile $aHxxFile]
         } else {
-          puts "Warning : in vcproj more than one occurences for [file tail $aHxxFile]"
+          puts "Warning : in vcproj more than one occurrences for [file tail $aHxxFile]"
         }
         if { ! [info exists aVcFilesHxx($xlo)] } { lappend aVcFilesHxx(units) $xlo }
         lappend aVcFilesHxx($xlo) $aHxxFile
@@ -1905,7 +1905,7 @@ proc osutils:vcproj { theVcVer isUWP theOutDir theToolKit theGuidsMap theSrcDir
           set written([file tail $aGenFile]) 1
           append aFilesSection [osutils:vcxproj:cxxfile $aGenFile $needparam 5]
         } else {
-          puts "Warning : in vcproj more than one occurences for [file tail $aGenFile]"
+          puts "Warning : in vcproj more than one occurrences for [file tail $aGenFile]"
         }
         if { ! [info exists aVcFilesCxx($xlo)] } { lappend aVcFilesCxx(units) $xlo }
         lappend aVcFilesCxx($xlo) $aGenFile
@@ -1919,7 +1919,7 @@ proc osutils:vcproj { theVcVer isUWP theOutDir theToolKit theGuidsMap theSrcDir
           set written([file tail $aSrcFile]) 1
           append aFilesSection [osutils:vcproj:file $theVcVer $aSrcFile $needparam]
         } else {
-          puts "Warning : in vcproj more than one occurences for [file tail $aSrcFile]"
+          puts "Warning : in vcproj more than one occurrences for [file tail $aSrcFile]"
         }
       }
       append aFilesSection "\t\t\t</Filter>\n"
@@ -2128,7 +2128,7 @@ proc osutils:vcprojx { theVcVer isUWP theOutDir theToolKit theGuidsMap theSrcDir
         append aFilesSection "\t\t\t</Filter>"
       }
     } else {
-      puts "Warning : in vcproj there are more than one occurences for [file tail $f]"
+      puts "Warning : in vcproj there are more than one occurrences for [file tail $f]"
     }
     #puts "$aProjTmpl $aFilesSection"
     set anIncPaths "..\\..\\..\\inc"
@@ -2326,7 +2326,7 @@ proc osutils:cbptk { theCmpl theOutDir theToolKit thePlatform} {
         set written([file tail $aSrcFile]) 1
         lappend aTKSrcFiles "../../../[wokUtils:FILES:wtail $aSrcFile 3]"
       } else {
-        puts "Warning : more than one occurences for [file tail $aSrcFile]"
+        puts "Warning : more than one occurrences for [file tail $aSrcFile]"
       }
     }
 
@@ -2446,7 +2446,7 @@ proc osutils:cbpx { theCmpl theOutDir theToolKit thePlatform } {
       set written([file tail $aSrcFile]) 1
       lappend aTKSrcFiles "../../../[wokUtils:FILES:wtail $aSrcFile 3]"
     } else {
-      puts "Warning : in cbp there are more than one occurences for [file tail $aSrcFile]"
+      puts "Warning : in cbp there are more than one occurrences for [file tail $aSrcFile]"
     }
 
     # macros for correct DLL exports
@@ -2946,7 +2946,7 @@ proc osutils:xcdtk:sources {theToolKit theTargetType theSrcFileRefSection theGro
         append aSrcFileGuids      "\t\t\t\t$aGuidsMap($aSrcFile) ,\n"
         append aSrcFileRefGuids   "\t\t\t\t$aGuidsMap($aSrcFileRef) ,\n"
       } else {
-        puts "Warning : more than one occurences for [file tail $aSrcFile]"
+        puts "Warning : more than one occurrences for [file tail $aSrcFile]"
       }
     }
 
@@ -3008,26 +3008,26 @@ proc osutils:xcdtk { theOutDir theToolKit theGuidsMap theIsStatic thePlatform {t
   set aUserDataDir "${aToolkitDir}/xcuserdata"
   wokUtils:FILES:mkdir $aUserDataDir
   if { ! [file exists $aUserDataDir] } {
-    puts stderr "Error: Could not create xcuserdata directorty in \"$aToolkitDir\""
+    puts stderr "Error: Could not create xcuserdata directory in \"$aToolkitDir\""
     return
   }
 
   set aUserDataDir "${aUserDataDir}/${aUsername}.xcuserdatad"
   wokUtils:FILES:mkdir $aUserDataDir
   if { ! [file exists $aUserDataDir] } {
-    puts stderr "Error: Could not create ${aUsername}.xcuserdatad directorty in \"$aToolkitDir\"/xcuserdata"
+    puts stderr "Error: Could not create ${aUsername}.xcuserdatad directory in \"$aToolkitDir\"/xcuserdata"
     return
   }
 
   set aSchemesDir "${aUserDataDir}/xcschemes"
   wokUtils:FILES:mkdir $aSchemesDir
   if { ! [file exists $aSchemesDir] } {
-    puts stderr "Error: Could not create xcschemes directorty in \"$aUserDataDir\""
+    puts stderr "Error: Could not create xcschemes directory in \"$aUserDataDir\""
     return
   }
   # End of folders creation.
 
-  # Generating GUID for tookit.
+  # Generating GUID for toolkit.
   upvar $theGuidsMap aGuidsMap
   if { ! [info exists aGuidsMap($theToolKit)] } {
     set aGuidsMap($theToolKit) [OS:genGUID "xcd"]
@@ -3460,26 +3460,26 @@ proc osutils:xcdx { theOutDir theExecutable theGuidsMap } {
   set aUserDataDir "${anExecutableDir}/xcuserdata"
   wokUtils:FILES:mkdir $aUserDataDir
   if { ! [file exists $aUserDataDir] } {
-    puts stderr "Error: Could not create xcuserdata directorty in \"$anExecutableDir\""
+    puts stderr "Error: Could not create xcuserdata directory in \"$anExecutableDir\""
     return
   }
 
   set aUserDataDir "${aUserDataDir}/${aUsername}.xcuserdatad"
   wokUtils:FILES:mkdir $aUserDataDir
   if { ! [file exists $aUserDataDir] } {
-    puts stderr "Error: Could not create ${aUsername}.xcuserdatad directorty in \"$anExecutableDir\"/xcuserdata"
+    puts stderr "Error: Could not create ${aUsername}.xcuserdatad directory in \"$anExecutableDir\"/xcuserdata"
     return
   }
 
   set aSchemesDir "${aUserDataDir}/xcschemes"
   wokUtils:FILES:mkdir $aSchemesDir
   if { ! [file exists $aSchemesDir] } {
-    puts stderr "Error: Could not create xcschemes directorty in \"$aUserDataDir\""
+    puts stderr "Error: Could not create xcschemes directory in \"$aUserDataDir\""
     return
   }
   # End folders creation.
 
-  # Generating GUID for tookit.
+  # Generating GUID for toolkit.
   upvar $theGuidsMap aGuidsMap
   if { ! [info exists aGuidsMap($theExecutable)] } {
     set aGuidsMap($theExecutable) [OS:genGUID "xcd"]
index d41af9aa667933d9ff5009c646ae630400db133b..97217b3b3d4bde92fc8af0f8811f60a19ca5c968 100644 (file)
@@ -635,7 +635,7 @@ proc OCCDoc_MakeMainPage {outDir outFile modules {theProductsDir ""} } {
     foreach mod $modules {
         puts $fd "\\li \\subpage [string tolower $module_prefix$mod]"
     }
-    # insert modules relationship diagramm
+    # insert modules relationship diagram
     puts $fd "\\dotfile [OCCDoc_CreateModulesDependencyGraph $outDir/html schema_all_modules $modules $module_prefix]"
     puts $fd "**/\n"
   }
index c03a7fc0d42c75e5bd9d93b05e3c78a393df5ef7..39ad45085be94285588d43eb80ff76d1894b485b 100644 (file)
@@ -40,7 +40,7 @@ if /I "%VCVER%" == "@COMPILER@" (
     set "CSF_OCCTTestsPath=@CMAKE_SOURCE_DIR@/tests"
     set "CSF_OCCTDocPath=@CMAKE_SOURCE_DIR@/doc"
 
-    rem for compatability with external application using CASROOT
+    rem for compatibility with external application using CASROOT
     set "CASROOT=@CMAKE_SOURCE_DIR@"
   ) 
 )
index 002a8549515b73a7f2a29d77c5d4fc78e8b1f8af..1f3d2018bea0e67243a2705f7d55f54f6e2a543a 100644 (file)
@@ -29,7 +29,7 @@ if [ "$1" == "@BIN_LETTER@" ]; then
     export CSF_OCCTTestsPath="@CMAKE_SOURCE_DIR@/tests"
     export CSF_OCCTDocPath="@CMAKE_SOURCE_DIR@/doc"
 
-    # for compatability with external application using CASROOT
+    # for compatibility with external application using CASROOT
     export CASROOT="@CMAKE_SOURCE_DIR@"
   fi
 fi
index ab85ae16f822fd988169b2b5e8ca23a82ab502d3..94e8db5cea9847e8bbdc33d20eaa55821cd93db5 100644 (file)
@@ -115,7 +115,7 @@ if /I "%VCFMT%" == "vc9" (
   exit
 )
 
-rem ----- For compatability with external application using CASROOT -----
+rem ----- For compatibility with external application using CASROOT -----
 if ["%CASROOT%"] == [""] set "CASROOT=%SCRIPTROOT%"
 
 rem ----- Define path to 3rdparty products -----
index 4e6f2f26d2adee156dea55d6456207016de5d908..7e11c6299e2a467fe3256bfc0dbde33e04002e17 100644 (file)
@@ -2,7 +2,7 @@
 
 aScriptPath=${BASH_SOURCE%/*}; if [ -d "${aScriptPath}" ]; then cd "$aScriptPath"; fi; aScriptPath="$PWD";
 
-# ----- For compatability with external application using CASROOT -----
+# ----- For compatibility with external application using CASROOT -----
 if [ "${CASROOT}" == "" ]; then
   export CASROOT="${aScriptPath}"
 fi
index 07f203b4ebda60eae8d3d367c12fada1dad40add..bdb2dec2fbbb594dff4f557783fabc14c335f344 100644 (file)
@@ -2,7 +2,7 @@
 
 aScriptPath=${BASH_SOURCE%/*}; if [ -d "${aScriptPath}" ]; then cd "$aScriptPath"; fi; aScriptPath="$PWD";
 
-# ----- For compatability with external application using CASROOT -----
+# ----- For compatibility with external application using CASROOT -----
 if [ "${CASROOT}" == "" ]; then
   export CASROOT="@INSTALL_DIR@"
 fi
index 77030716d61126e06302f86b0abedc41df42f09a..86171655115c275a64e490d2d5e457cdd5256592 100644 (file)
@@ -52,7 +52,7 @@ proc HelpInformation {} {
   loginfo "  -$ArgName(Rename)      - apply renaming of classes"
   loginfo ""
   loginfo "Advanced options:"
-  loginfo "  -$ArgName(CompatibleMode)      - preserve old RTTI macros for compatability with OCCT 6.x"
+  loginfo "  -$ArgName(CompatibleMode)      - preserve old RTTI macros for compatibility with OCCT 6.x"
   loginfo "  -$ArgName(CheckOnly)       - do check only, no modifications will be made"
   loginfo "  -$ArgName(WLog)        - show gui log of upgrade process"
   loginfo "  -$ArgName(Log)=<file path> - put the log into a file"
index f8221fc810bb56413d13a9b61d36777bdd08dc97..7a8e804c2e9c34d6e421ff41615ebd88d804db63 100644 (file)
@@ -1225,7 +1225,7 @@ Management of highlight attributes has been revised and might require modificati
 
 @subsection upgrade_720_implicit_viewer_update Elimination of implicit 3D Viewer updates
 
-Most AIS_InteractiveContext methods are defined with a flag to update viewer immediatly or not.
+Most AIS_InteractiveContext methods are defined with a flag to update viewer immediately or not.
 Within previous version of OCCT, this argument had default value TRUE.
 While immediate viewer updates are useful for beginners (the result is displayed as soon as possible),
 this approach is inefficent for batch viewer updates, and having default value as TRUE
index d746707c3a72dd7aa7e344a57e60c684db1a473d..22641fa72b3a6c9032f09118ba6f382d125ce4f7 100644 (file)
@@ -2456,7 +2456,7 @@ vdimension name {-angle|-length|-radius|-diameter} -shapes shape1 [shape2 [shape
 
 Builds angle, length, radius or diameter dimension interactive object **name**.
 
-**Attension:** length dimension can't be built without working plane.
+**Attention:** length dimension can't be built without working plane.
 
 **Example:** 
 ~~~~~
@@ -6243,7 +6243,7 @@ Code letters are not case-sensitive.
 
 **Example:** 
 ~~~~~
-# to create a trianglular plane using a vertex at the 
+# to create a triangular plane using a vertex at the
 origin, in the xy plane 
 profile p O 0 0 0 X 1 Y 0 x 1 y 1 
 ~~~~~
@@ -6833,7 +6833,7 @@ trotate [name ...] x y z dx dy dz angle
 **ttranslate** translates a set of shapes by a given vector, and **trotate** rotates them by a given angle around an axis. Both commands only modify the location of the shape. 
 When creating multiple shapes, the same location is used for all the shapes. (See *toto.tcl* example below. Note that the code of this file can also be directly executed in interactive mode.) 
 
-Locations are very economic in the data structure because multiple occurences of an object share the topological description. 
+Locations are very economic in the data structure because multiple occurrences of an object share the topological description.
 
 **Example:** 
 ~~~~~
@@ -7999,7 +7999,7 @@ Computes a draft angle surface from a wire. The surface is determined by the dra
 
   * The draft angle is measured in radians.
   * The draft direction is determined by the argument -INTERNAL
-  * The argument Ri/Ro deftermines wether the corner edges of the draft surfaces are angular or rounded.
+  * The argument Ri/Ro deftermines whether the corner edges of the draft surfaces are angular or rounded.
   * Arguments that can be used to define the surface distance are:
    * length, a defined distance
    * shape, until the surface contacts a shape
@@ -10752,7 +10752,11 @@ Syntax:
 projpcurve <edge> <face>  <Tol> <X> <Y> <Z> [<start_param>]
 ~~~~~
 
-**projpcurve** returns the projection of a given point on a given curve on surface. The curve on surface is defined by giving the edge and face names. Edge must have curve 2D repesentation on the face. Optional parameter <i>\<start_param\></i> is any parameter of pcurve, which is used by algoritm as start point for searching projection of given point with help of local Extrema algorithm. If this parameter is not set, algorithm uses whole parametric interval of pcurve for searching projection.   
+**projpcurve** returns the projection of a given point on a given curve on surface.
+The curve on surface is defined by giving the edge and face names.
+Edge must have curve 2D repesentation on the face.
+Optional parameter <i>\<start_param\></i> is any parameter of pcurve, which is used by algorithm as start point for searching projection of given point with help of local Extrema algorithm.
+If this parameter is not set, algorithm uses whole parametric interval of pcurve for searching projection.
 
 **Example:** 
 
index eb6df776f4dc795a2da206f0eea6d6ca2b0e1e21..7ec4355bad48930448f664064f622e1075c4f284 100644 (file)
@@ -131,7 +131,7 @@ namespace IE_WPF_D3D
 
         if (!View.TranslateModel (aFileName, aFormat, true))
         {
-          MessageBox.Show ("Cann't read this file", "Error!", MessageBoxButtons.OK, MessageBoxIcon.Warning);
+          MessageBox.Show ("Can't read this file", "Error!", MessageBoxButtons.OK, MessageBoxIcon.Warning);
         }
       }
       View.ZoomAllView ();
@@ -453,7 +453,7 @@ namespace IE_WPF_D3D
 
         if (Keyboard.IsKeyDown (Key.LeftCtrl) || Keyboard.IsKeyDown (Key.RightCtrl))
         {
-          // start the dinamic zooming....
+          // start the dynamic zooming....
           CurrentMode = CurrentAction3d.CurAction3d_DynamicZooming;
         }
         else
index b130cea6063454d6ecaa2a95e8c482f9762d62a4..3be3f557c06201e453cdb33ce7d02465b01f9b99 100644 (file)
@@ -3,7 +3,7 @@
        <!-- SimpleStyles.XAML defines a set of control styles which are simplified starting points for creating your own controls -->
        
        <!-- Brushes : These are used to define the color for background, foreground, selection, enabled etc of all controls
-       If you want to change the color of a control you can just chnage the brush; if you want to add a new shape or change arrangement then also edit the template -->
+       If you want to change the color of a control you can just change the brush; if you want to add a new shape or change arrangement then also edit the template -->
        
        <!-- NormalBrush is used as the Background for SimpleButton, SimpleRepeatButton -->
        <LinearGradientBrush x:Key="NormalBrush" EndPoint="0,1" StartPoint="0,0">
                                                </Grid.RowDefinitions>
                                                <ScrollContentPresenter Grid.Column="0" Grid.Row="0" Margin="{TemplateBinding Padding}" Content="{TemplateBinding Content}" ContentTemplate="{TemplateBinding ContentTemplate}" CanContentScroll="{TemplateBinding CanContentScroll}"/>
                                                
-                                               <!-- The visibility of the ScrollBars is controlled by the implementation fo the control -->
+                                               <!-- The visibility of the ScrollBars is controlled by the implementation of the control -->
                                                <ScrollBar Visibility="{TemplateBinding ComputedHorizontalScrollBarVisibility}" Grid.Column="0" Grid.Row="1" x:Name="PART_HorizontalScrollBar" Style="{DynamicResource SimpleScrollBar}" Orientation="Horizontal" Value="{Binding Path=HorizontalOffset, Mode=OneWay, RelativeSource={RelativeSource TemplatedParent}}" ViewportSize="{TemplateBinding ViewportWidth}" Minimum="0" Maximum="{TemplateBinding ScrollableWidth}" />
                                                <ScrollBar Visibility="{TemplateBinding ComputedVerticalScrollBarVisibility}" Grid.Column="1" Grid.Row="0" x:Name="PART_VerticalScrollBar" Style="{DynamicResource SimpleScrollBar}" Orientation="Vertical" Value="{Binding Path=VerticalOffset, Mode=OneWay, RelativeSource={RelativeSource TemplatedParent}}" ViewportSize="{TemplateBinding ViewportHeight}" Minimum="0" Maximum="{TemplateBinding ScrollableHeight}" />
                                        </Grid>
        </Style>
        
        <!--Simple Simple Slider
-       Similiar to ScrollBar this template uses Track to layout the draggable Thumb which has an up and down repeat button
+       Similar to ScrollBar this template uses Track to layout the draggable Thumb which has an up and down repeat button
        It uses Simple SliderThumb and SimpleScrollRepeatButtonStyle for the page up and down repeat buttons -->
        <Style x:Key="SimpleSlider" TargetType="{x:Type Slider}">
                <Setter Property="Background" Value="{DynamicResource LightBrush}"/>
index 20d12c1042e14e7cdee634dbc1d86b79a5416c6f..733ae7204ba67dece323461276848111fd3329f3 100644 (file)
@@ -207,7 +207,7 @@ namespace IE_WPF_WinForms
                 Cursor = System.Windows.Forms.Cursors.WaitCursor;
                 if ( !View.TranslateModel( aFileName, aFormat, true ) )
                 {
-                    MessageBox.Show( "Cann't read this file", "Error!", MessageBoxButtons.OK, MessageBoxIcon.Warning );
+                    MessageBox.Show( "Can't read this file", "Error!", MessageBoxButtons.OK, MessageBoxIcon.Warning );
                 }
                 Cursor = System.Windows.Forms.Cursors.Default;
             }
@@ -570,7 +570,7 @@ namespace IE_WPF_WinForms
                 myYmax = e.Y;
                 if ( CurrentPressedKey == CurrentPressedKey.CurPressedKey_Ctrl )
                 {
-                    // start the dinamic zooming....
+                    // start the dynamic zooming....
                     CurrentMode = CurrentAction3d.CurAction3d_DynamicZooming;
                 }
                 else
index b130cea6063454d6ecaa2a95e8c482f9762d62a4..3be3f557c06201e453cdb33ce7d02465b01f9b99 100644 (file)
@@ -3,7 +3,7 @@
        <!-- SimpleStyles.XAML defines a set of control styles which are simplified starting points for creating your own controls -->
        
        <!-- Brushes : These are used to define the color for background, foreground, selection, enabled etc of all controls
-       If you want to change the color of a control you can just chnage the brush; if you want to add a new shape or change arrangement then also edit the template -->
+       If you want to change the color of a control you can just change the brush; if you want to add a new shape or change arrangement then also edit the template -->
        
        <!-- NormalBrush is used as the Background for SimpleButton, SimpleRepeatButton -->
        <LinearGradientBrush x:Key="NormalBrush" EndPoint="0,1" StartPoint="0,0">
                                                </Grid.RowDefinitions>
                                                <ScrollContentPresenter Grid.Column="0" Grid.Row="0" Margin="{TemplateBinding Padding}" Content="{TemplateBinding Content}" ContentTemplate="{TemplateBinding ContentTemplate}" CanContentScroll="{TemplateBinding CanContentScroll}"/>
                                                
-                                               <!-- The visibility of the ScrollBars is controlled by the implementation fo the control -->
+                                               <!-- The visibility of the ScrollBars is controlled by the implementation of the control -->
                                                <ScrollBar Visibility="{TemplateBinding ComputedHorizontalScrollBarVisibility}" Grid.Column="0" Grid.Row="1" x:Name="PART_HorizontalScrollBar" Style="{DynamicResource SimpleScrollBar}" Orientation="Horizontal" Value="{Binding Path=HorizontalOffset, Mode=OneWay, RelativeSource={RelativeSource TemplatedParent}}" ViewportSize="{TemplateBinding ViewportWidth}" Minimum="0" Maximum="{TemplateBinding ScrollableWidth}" />
                                                <ScrollBar Visibility="{TemplateBinding ComputedVerticalScrollBarVisibility}" Grid.Column="1" Grid.Row="0" x:Name="PART_VerticalScrollBar" Style="{DynamicResource SimpleScrollBar}" Orientation="Vertical" Value="{Binding Path=VerticalOffset, Mode=OneWay, RelativeSource={RelativeSource TemplatedParent}}" ViewportSize="{TemplateBinding ViewportHeight}" Minimum="0" Maximum="{TemplateBinding ScrollableHeight}" />
                                        </Grid>
        </Style>
        
        <!--Simple Simple Slider
-       Similiar to ScrollBar this template uses Track to layout the draggable Thumb which has an up and down repeat button
+       Similar to ScrollBar this template uses Track to layout the draggable Thumb which has an up and down repeat button
        It uses Simple SliderThumb and SimpleScrollRepeatButtonStyle for the page up and down repeat buttons -->
        <Style x:Key="SimpleSlider" TargetType="{x:Type Slider}">
                <Setter Property="Background" Value="{DynamicResource LightBrush}"/>
index f6e82dade366f6757623fefef43f787b879be0af..4c7b7920e4b8f6abc73b357683c853e85aad8f83 100644 (file)
@@ -307,7 +307,7 @@ namespace IE_WinForms
           myXmin = e.X; myYmin = e.Y;
           myXmax = e.X; myYmax = e.Y;
           if (myCurrentPressedKey == CurrentPressedKey.CurPressedKey_Ctrl)
-            // start the dinamic zooming....
+            // start the dynamic zooming....
             myCurrentMode = CurrentAction3d.CurAction3d_DynamicZooming;
           else
           {
@@ -678,7 +678,7 @@ namespace IE_WinForms
           return;
         this.Cursor = System.Windows.Forms.Cursors.WaitCursor;
         if (!myOCCTProxy.TranslateModel(filename, theformat, true))
-          MessageBox.Show("Cann't read this file", "Error!",
+          MessageBox.Show("Can't read this file", "Error!",
                   MessageBoxButtons.OK, MessageBoxIcon.Warning);
         this.Cursor = System.Windows.Forms.Cursors.Default;
       }
@@ -734,7 +734,7 @@ namespace IE_WinForms
           return;
         this.Cursor = System.Windows.Forms.Cursors.WaitCursor;
         if (!myOCCTProxy.TranslateModel(filename, theformat, false))
-          MessageBox.Show("Cann't write this file", "Error!",
+          MessageBox.Show("Can't write this file", "Error!",
                   MessageBoxButtons.OK, MessageBoxIcon.Warning);
         this.Cursor = System.Windows.Forms.Cursors.Default;
       }
index 17c4cc2dcc3030a5d40fc0134fc5da2c7a78f39a..65f0e38a2d548ebdefb6e1b5517dd1b4c09e4f08 100644 (file)
@@ -1409,7 +1409,7 @@ void TopologySamples::Offset3dSample()
   aTria.Add(aVertC);
   aTria.Close();
   TopoDS_Wire aWire = aTria.Wire();
-  myResult << "Trianglular wire was created in yellow" << std::endl;
+  myResult << "Triangular wire was created in yellow" << std::endl;
 
   Handle(AIS_ColoredShape) anAisWire = new AIS_ColoredShape(aWire);
   anAisWire->SetColor(Quantity_Color(Quantity_NOC_YELLOW));
@@ -1430,7 +1430,7 @@ void TopologySamples::Offset3dSample()
     {
       // Get result.
       TopoDS_Shape aResult = anAlgo.Shape();
-      myResult << "#" << i << " : Offest = " << anOffset << " Altitude = " << anAltitude
+      myResult << "#" << i << " : Offset = " << anOffset << " Altitude = " << anAltitude
                << ". Result is in red." << std::endl;
 
       Handle(AIS_ColoredShape) anAisResult = new AIS_ColoredShape(aResult);
index 8a06c633c091da0528e6794a694cb81fc2b637f7..911ea1c21d51d8e19ec56d3d1f04e6f61afccf02 100755 (executable)
@@ -285,7 +285,7 @@ BEGIN
     ID_BUTTON_Test_25       " Interpolate a curve from points\nInterpolate a curve"
     ID_BUTTON_Test_26       " Calculate the extreme points between curves\nExtreme points"
     ID_BUTTON_Test_27       " Build offset curves\nOffset curves"
-    ID_BUTTON_Test_28       " Build a line passing trough two points\nLine"
+    ID_BUTTON_Test_28       " Build a line passing through two points\nLine"
     ID_BUTTON_Test_29       " Build a bisector\nBisector"
     ID_BUTTON_Test_30       " Build a line passing through a point and tangent to a circle\nBuild a tangent line"
     ID_BUTTON_Test_31       " Build tangent circles\nTangent circles"
@@ -296,11 +296,11 @@ BEGIN
     ID_BUTTON_Test_33       " Build B-Spline curves\nB-Spline curves"
     ID_BUTTON_Test_34       " Test the average shape of points\nTest points"
     ID_BUTTON_Test_35       " Intersection between curve and surface\nIntersection between curve and surface"
-    ID_BUTTON_Test_36       " Build entitys from geometric transformations\nGeometric transformations"
+    ID_BUTTON_Test_36       " Build entities from geometric transformations\nGeometric transformations"
     ID_BUTTON_Test_37       " Test the average shape of points\nTest points"
     ID_BUTTON_Test_38       " Build surfaces by filling curves\nFill curves"
     ID_BUTTON_Test_39       " Build a constrained surface from curves\nConstrained surface"
-    ID_BUTTON_Test_40       " Build pipe from basis entitys\nPipe"
+    ID_BUTTON_Test_40       " Build pipe from basis entities\nPipe"
     ID_BUTTON_Test_41       " Split a B-Spline surface\nSplit a B-Spline surface"
     ID_BUTTON_Test_42       " Build Bezier surface\nBezier surface"
     ID_BUTTON_Test_43       " Build offset surfaces\nOffset surfaces"
index e29b87012457ad288912bb179f3710c45a0ad40e..bcbc40ee43ed18c6df2bcfd36603718f979a1ff7 100755 (executable)
@@ -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));
index 91557132809affb159a2f2ab601cad7b654357c6..3be3305fa426da4ac7afcd26e08a9e518b05338d 100755 (executable)
@@ -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);
index 968d34666a85ba6c4210898e12b3d6720119dd32..552437e22112e2f650d9e37b161303698f1b2b83 100755 (executable)
@@ -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)
index 8c133ecc5cb8ad9a159c49aa5edfd5c2a63720bb..904e3bfc00618a6dd6d70be3377478baf0eeccad 100755 (executable)
@@ -343,13 +343,13 @@ BEGIN
     ID_FACE                 "Make face\nFace"
     ID_SHELL                "Make a shell from a geometric surface\nShell"
     ID_COMPOUND             "Make a compound\nCompound"
-    ID_SEWING               "Sew contigous faces\nSewing"
+    ID_SEWING               "Sew contiguous faces\nSewing"
     ID_BUILDER              "Create a shape with a builder\nBuilder"
 END
 
 STRINGTABLE 
 BEGIN
-    ID_GEOMETRIE            "Tools to recover the geometrie\nTools"
+    ID_GEOMETRIE            "Tools to recover the geometry\nTools"
     ID_EXPLORER             "Explode a shape in faces\nExplorer"
     ID_VALID                "Check Validity\nCheck Validity"
     ID_LINEAR               "Compute Linear Properties\nLinear Properties"
index 4481c82a7b4735a4a5e22d224eef8f271935627a..d8192d164ff216d64bf0dd30edde466e4c396dcb 100755 (executable)
@@ -4085,7 +4085,7 @@ void CModelingDoc::OnGeometrie()
                myAISContext->Remove (aListIterator.Value(), Standard_False);
        }
 
-       //geometrie of a vertex
+       //geometry of a vertex
        TopoDS_Vertex aVertex = BRepBuilderAPI_MakeVertex(gp_Pnt(0,120,70));
        gp_Pnt GeometricPoint = BRep_Tool::Pnt(aVertex);
 
@@ -4094,7 +4094,7 @@ void CModelingDoc::OnGeometrie()
        Fit();
        Sleep (500);
 
-       //geometrie of an edge
+       //geometry of an edge
        TopoDS_Edge anEdge = BRepBuilderAPI_MakeEdge(gp_Pnt(100,50,250),gp_Pnt(-30,-100,-50));
        Handle(AIS_Shape) yellow = new AIS_Shape(anEdge);
        myAISContext->SetWidth(yellow,2,Standard_False);
@@ -4115,7 +4115,7 @@ void CModelingDoc::OnGeometrie()
                Sleep (500);
        }
                
-       //geometrie of a face
+       //geometry of a face
        gp_Pnt P(-20,-20,-20);
        gp_Vec V(0,0,1);
        Handle(Geom_Plane) Pi=new Geom_Plane(P,V);
@@ -4146,11 +4146,11 @@ void CModelingDoc::OnGeometrie()
 
    TCollection_AsciiString Message ("\
        \n\
-///////geometrie of a vertex   \n\
+///////geometry of a vertex    \n\
 TopoDS_Vertex aVertex = BRepBuilderAPI_MakeVertex(gp_Pnt(0,120,70));   \n\
 gp_Pnt GeometricPoint = BRep_Tool::Pnt(aVertex);       \n\
 \n\
-///////geometrie of an edge    \n\
+///////geometry of an edge     \n\
 TopoDS_Edge anEdge = BRepBuilderAPI_MakeEdge(gp_Pnt(100,50,250),gp_Pnt(-30,-100,-50)); \n\
 \n\
 TopLoc_Location location;      \n\
@@ -4163,7 +4163,7 @@ if (!aLine.IsNull()) {    \n\
        Handle (AIS_Line) DispLine = new AIS_Line(aLine);       \n\
 }      \n\
                \n\
-///////geometrie of a face     \n\
+///////geometry of a face      \n\
 gp_Pnt P(-20,-20,-20); \n\
 gp_Vec V(0,0,1);       \n\
 Handle(Geom_Plane) Pi=new Geom_Plane(P,V);     \n\
@@ -4180,7 +4180,7 @@ if (!aPlane.IsNull()) {   \n\
 \n\
 \n");
 
-       PocessTextInDialog("Recover the geometrie of vertex, edge and face ", Message);
+       PocessTextInDialog("Recover the geometry of vertex, edge and face ", Message);
 
 
 }
index 6afea3c7fc44714310f573ce0dac4c5d0287e9e6..10b73db8e901231a09d00ed55eb8d29918fbcaf2 100755 (executable)
@@ -26,7 +26,7 @@
 #include <gp_Pln.hxx>
 #include <Geom_OffsetCurve.hxx>
 
-#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.
 
 
@@ -53,7 +53,7 @@ Standard_Boolean OCCDemo_Presentation::WaitForInput (unsigned long aMilliSeconds
 
 //================================================================
 // 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)
index 8162759941a10bcea0d77908344ccb5fa2e316cc..9084dd3af62f1ce76d4b1839b91e57f1d42d6b0e 100755 (executable)
@@ -139,7 +139,7 @@ void COffsetDlg::SetOffsets(Standard_Real theFactor, Standard_Real theUnits)
                if (aAISContext->IsDisplayed(aAISContext->SelectedInteractive())) OneOrMoreCurrentIsDisplayed=true;
 
        if(OneOrMoreCurrentIsDisplayed){
-               // A small trick to avoid complier error (C2668).
+               // A small trick to avoid compiler error (C2668).
                const Handle(AIS_InteractiveObject)& anIOOverlappedBox = aOverlappedBox;
                const Handle(AIS_InteractiveObject)& anIOBox = aBox;
                if((aAISContext->IsSelected(anIOOverlappedBox) || aAISContext->IsSelected(anIOBox))
@@ -149,7 +149,7 @@ void COffsetDlg::SetOffsets(Standard_Real theFactor, Standard_Real theUnits)
                        //myDoc -> AddTextInDialog(Message);
                }
 
-               // A small trick to avoid complier error (C2668).
+               // A small trick to avoid compiler error (C2668).
                const Handle(AIS_InteractiveObject)& anIOOverlappedCylinder = aOverlappedCylinder;
                const Handle(AIS_InteractiveObject)& anIOCylinder = aCylinder;
                if((aAISContext->IsSelected(anIOOverlappedCylinder) || aAISContext->IsSelected(anIOCylinder))
@@ -159,7 +159,7 @@ void COffsetDlg::SetOffsets(Standard_Real theFactor, Standard_Real theUnits)
                        //myDoc -> AddTextInDialog(Message);
                }
 
-               // A small trick to avoid complier error (C2668).
+               // A small trick to avoid compiler error (C2668).
                const Handle(AIS_InteractiveObject)& anIOOverlappedSphere = aOverlappedSphere;
                const Handle(AIS_InteractiveObject)& anIOSphere = aSphere;
                if((aAISContext->IsSelected(anIOOverlappedSphere) || aAISContext->IsSelected(anIOSphere))
index 27048c1c0bb2dc6199ddee29466133e7a9068588..a2b00f7a5d19a881712c239679a45d664d78f8fe 100755 (executable)
@@ -334,7 +334,7 @@ void TexturesExt_Presentation::sampleKitchen()
 
   moveScale(aShape);
 
-  // draw kitchen room whithout one wall (to better see the insides)
+  // draw kitchen room without one wall (to better see the insides)
   TopTools_IndexedMapOfShape aFaces;
   TopExp::MapShapes(aShape, TopAbs_FACE, aFaces);  
   Standard_Integer nbFaces = aFaces.Extent();
index 7e36e17153736988cd6ed1dcf9402021269ecf18..66f357d46fde44851edf65525476041534478ed6 100755 (executable)
@@ -403,7 +403,7 @@ void CViewer3dDoc::OnUpdateOverlappedBox(CCmdUI* pCmdUI)
 
 void CViewer3dDoc::OnObjectRemove()
 {
-  // A small trick to avoid complier error (C2668).
+  // A small trick to avoid compiler error (C2668).
   const Handle(AIS_InteractiveObject)& aBox = myBox;
   if(myAISContext->IsSelected (aBox))
     myBox.Nullify();
index c6a544db8116722b20945e1d885ec338b8d0f544..eaca832d19f017e0479b02d4924ee6c4ac6b8350 100755 (executable)
@@ -72,7 +72,7 @@ void CImportExportDoc::Serialize(CArchive& ar)
 {
        if (ar.IsStoring())
        {
-               // Put the curent CColoredShape in the archive
+               // Put the current CColoredShape in the archive
                ar << m_pcoloredshapeList;
        }
        else
index 4b84cba2d00083ed07c7d8f4de60b1bbdd0c3fb3..a5d6824b57f5badeeef66fbd0d2ec013aa1ddda8 100755 (executable)
@@ -233,7 +233,7 @@ void COcafDoc::OnCreatebox()
  \n\
 Handle(TDocStd_Document) D = GetOcafDoc(); \n\
  \n\
-//  Openning a new command (for undo/redo) \n\
+//  Opening a new command (for undo/redo) \n\
 D->NewCommand(); \n\
  \n\
 TOcaf_Commands TSC(D->Main()); \n\
@@ -290,7 +290,7 @@ void COcafDoc::OnCreatecyl()
  \n\
 Handle(TDocStd_Document) D = GetOcafDoc(); \n\
  \n\
-//  Openning a new command (for undo/redo) \n\
+//  Opening a new command (for undo/redo) \n\
 D->NewCommand(); \n\
  \n\
 TOcaf_Commands TSC(D->Main()); \n\
@@ -421,7 +421,7 @@ z=curReal->Get(); \n\
 Handle(TDataStd_Name) stdName; \n\
 LabObject.FindAttribute(TDataStd_Name::GetID(),stdName); \n\
  \n\
-//  Openning a new command \n\
+//  Opening a new command \n\
 D->NewCommand(); \n\
  \n\
 TOcaf_Commands TSC(LabObject); \n\
@@ -504,7 +504,7 @@ z=curReal->Get(); \n\
 Handle(TDataStd_Name) stdName; \n\
 LabObject.FindAttribute(TDataStd_Name::GetID(),stdName); \n\
  \n\
-//  Openning a new command \n\
+//  Opening a new command \n\
 D->NewCommand(); \n\
  \n\
 TOcaf_Commands TSC(LabObject); \n\
@@ -757,7 +757,7 @@ void COcafDoc::OnCut()
 Handle(TDocStd_Document) D = GetOcafDoc(); \n\
 TDF_Label L = D->Main(); \n\
  \n\
-//  Openning a new command\n\
+//  Opening a new command\n\
 D->NewCommand(); \n\
  \n\
 TOcaf_Commands TSC(D->Main()); \n\
@@ -839,7 +839,7 @@ void COcafDoc::OnObjectDelete()
   \n\
  Handle(TDocStd_Document) D = GetOcafDoc(); \n\
   \n\
- //  Openning a new command\n\
+ //  Opening a new command\n\
  D->NewCommand(); \n\
   \n\
  // Getting the  TPrsStd_AISPresentation of the selected object\n\
@@ -1118,7 +1118,7 @@ BOOL COcafDoc::OnOpenDocument(LPCTSTR lpszPathName)
  \n\
  Handle(TOcaf_Application) m_App= ((COcafApp*)AfxGetApp())->GetApp(); \n\
  \n\
-//  Openning the OCAF document from the TPath file\n\
+//  Opening the OCAF document from the TPath file\n\
 m_App->Open((TCollection_ExtendedString) TPath,myOcafDoc); \n\
  \n\
 //  Creation of a new TPrsStd_AISViewer connected to the current V3d_Viewer\n\
index d7220add62eb0867b494f0a577813b980fa5eae0..66cbebef26196510222f6b841498b6fa706dd479 100755 (executable)
@@ -126,7 +126,7 @@ Standard_Integer TOcafFunction_CutDriver::Execute(Handle(TFunction_Logbook)& /*l
 // STEP 2:
        // Let's call for algorithm computing a cut operation:
        BRepAlgoAPI_Cut mkCut(OriginalShape, ToolShape);
-       // Let's check if the Cut has been successfull:
+       // Let's check if the Cut has been successful:
        if (!mkCut.IsDone()) 
        {
                MessageBoxW (NULL, L"Cut not done.", L"Cut Function Driver", MB_ICONERROR);
index 60a3835d84955a962fc8e6a4bf784e615c59d5b7..8e05e69de52be362cba2cf395b1fe8af489431bf 100755 (executable)
@@ -2,7 +2,7 @@
 // Created:    Mon Jul  3  2000
 // Author:     J Mazars
 
-//Modified by Sergey RUIN (An instanciation of the drivers)
+//Modified by Sergey RUIN (An instantiation of the drivers)
 
 #include <stdafx.h>
 #include <TOcaf_Application.hxx>
@@ -24,15 +24,15 @@ IMPLEMENT_STANDARD_RTTIEXT (TOcaf_Application, TDocStd_Application)
 
 TOcaf_Application::TOcaf_Application()
 {
-  // Instanciate a TOcafFunction_BoxDriver and add it to the TFunction_DriverTable
+  // Instantiate a TOcafFunction_BoxDriver and add it to the TFunction_DriverTable
   TFunction_DriverTable::Get()->AddDriver (TOcafFunction_BoxDriver::GetID(),
                                            new TOcafFunction_BoxDriver());
 
-  // Instanciate a TOcafFunction_Cyl  Driver and add it to the TFunction_DriverTable
+  // Instantiate a TOcafFunction_Cyl  Driver and add it to the TFunction_DriverTable
   TFunction_DriverTable::Get()->AddDriver (TOcafFunction_CylDriver::GetID(),
                                            new TOcafFunction_CylDriver());
 
-  // Instanciate a TOcafFunction_CutDriver and add it to the TFunction_DriverTable
+  // Instantiate a TOcafFunction_CutDriver and add it to the TFunction_DriverTable
   Handle(TOcafFunction_CutDriver) myCutDriver = new TOcafFunction_CutDriver();
   TFunction_DriverTable::Get()->AddDriver (TOcafFunction_CutDriver::GetID(),
                                            new TOcafFunction_CutDriver());
index 1f956b63552877b568a70cf573c172be07b54a44..745668cbf596368d6ec3664300000c12094e8577 100755 (executable)
@@ -83,7 +83,7 @@ TDF_Label TOcaf_Commands::CreateBox(Standard_Real x, Standard_Real y, Standard_R
        TDataStd_Name::Set(L, Name);
 
        
-       // Instanciate a TFunction_Function attribute connected to the current box driver
+       // Instantiate a TFunction_Function attribute connected to the current box driver
        // and attach it to the data structure as an attribute of the Box Label
        Handle(TFunction_Function) myFunction = TFunction_Function::Set(L, TOcafFunction_BoxDriver::GetID());
 
@@ -138,7 +138,7 @@ TDF_Label TOcaf_Commands::CreateCyl(Standard_Real x, Standard_Real y, Standard_R
        TDataStd_Name::Set(L, Name);
 
 
-       // Instanciate a TFunction_Function attribute connected to the current cylinder driver
+       // Instantiate a TFunction_Function attribute connected to the current cylinder driver
        // and attach it to the data structure as an attribute of the Cylinder Label
        Handle(TFunction_Function) myFunction = TFunction_Function::Set(L, TOcafFunction_CylDriver::GetID());
 
@@ -230,7 +230,7 @@ TDF_Label TOcaf_Commands::ModifyBox(Standard_Real x, Standard_Real y, Standard_R
        myBoxDriver->Init(MainLab);
        if (myBoxDriver->MustExecute(log))
        {
-               // Set the box touched, it will be usefull to recompute an object which used this box as attribute
+               // Set the box touched, it will be useful to recompute an object which used this box as attribute
                log->SetTouched(MainLab);
                if(myBoxDriver->Execute(log))
                        MessageBox (NULL, L"Recompute failed", L"Modify box", MB_ICONEXCLAMATION);
@@ -305,7 +305,7 @@ TDF_Label TOcaf_Commands::ModifyCyl(Standard_Real x, Standard_Real y, Standard_R
        myCylDriver->Init(MainLab);
        if (myCylDriver->MustExecute(log))
        {
-               // Set the cylinder touched, it will be usefull to recompute an object which used this cylinder as attribute
+               // Set the cylinder touched, it will be useful to recompute an object which used this cylinder as attribute
                log->SetTouched(MainLab);
                if(myCylDriver->Execute(log))
                        MessageBoxW (NULL, L"Recompute failed", L"Modify cylinder", MB_ICONEXCLAMATION);
@@ -339,7 +339,7 @@ TDF_Label TOcaf_Commands::Cut(TDF_Label ObjectLab, TDF_Label ToolObjectLab)
        TDataStd_Name::Set(L, ObjectName->Get());
 
 
-       // Instanciate a TFunction_Function attribute connected to the current cut driver
+       // Instantiate a TFunction_Function attribute connected to the current cut driver
        // and attach it to the data structure as an attribute of the Result Label
        Handle(TFunction_Function) myFunction = TFunction_Function::Set(L, TOcafFunction_CutDriver::GetID());
 
index b3660bf1550b5b53f90d7087157004e915b608a8..fb4968a7f80de7c08bae3c1a3f73c32d998d35b4 100755 (executable)
@@ -27,7 +27,7 @@
 #include <gp_Pln.hxx>
 #include <Geom_OffsetCurve.hxx>
 
-#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.
 
 
@@ -54,7 +54,7 @@ Standard_Boolean OCCDemo_Presentation::WaitForInput (unsigned long aMilliSeconds
 
 //================================================================
 // 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)
index a74515a3c6cb135c42bbf8dd1813ab6366995c0c..75e9190174efd25c91e3587e93a1a78bd4eb2079 100644 (file)
@@ -1,5 +1,5 @@
 HLR sample demonstrates hidden line removal algorithm.
-It supports exact and polygonal HLR algorihms.
+It supports exact and polygonal HLR algorithms.
 
 To try HLR you need to follow some steps:
 1) to import model, which will displayed in 3d view.
index a9f28d0c4f7db5b59e898bd7137ae9033bdef2a1..b0f275ec18850c98f7449c1b4d62e663113b48a4 100644 (file)
@@ -189,7 +189,7 @@ void CSelectionDialog::UpdateViews()
   Apply();
   // Update viewer
   myDoc->FitAll2DViews (Standard_False);
-  // Check the selection: if no object : disable all possiblity.
+  // Check the selection: if no object : disable all possibility.
   ShowHideButton (OneOrMoreFound);
   OnDisplay (true);
 }
@@ -227,7 +227,7 @@ void CSelectionDialog::OnGetSelectedShapes()
   // Update viewer
   myDoc->FitAll2DViews (Standard_False);
 
-  // Check the selection: if no object : disable all possiblity.
+  // Check the selection: if no object : disable all possibility.
   ShowHideButton (OneOrMoreFound);
   OnDisplay (true);
 }
index eb0fedbb159bb40df01b24949e459cdfd6df0fd6..7aa6eeb0570234dd892d4082df51fcd0e90ca41d 100755 (executable)
@@ -27,7 +27,7 @@ public:
 
   const Handle(ISession2D_Shape) DiplayableShape() { return myDisplayableShape; }
 
-  // Updates in dialog view and main 2d nad 3d views shapes for which HLR presentations are going to be displayed in 2d view.
+  // Updates in dialog view and main 2d and 3d views shapes for which HLR presentations are going to be displayed in 2d view.
   void UpdateViews();
 
   // Dialog Data
index b6c40ccf1d4facba039febc67891951593fe4a3f..ed10730739a41d23975af960accc32ca54fe3d90 100755 (executable)
@@ -26,7 +26,7 @@
 #include <gp_Pln.hxx>
 #include <Geom_OffsetCurve.hxx>
 
-#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.
 
 
@@ -55,7 +55,7 @@ Standard_Boolean OCCDemo_Presentation::WaitForInput (unsigned long aMilliSeconds
 
 //================================================================
 // 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)
index f84d37e510f4f5ee240c1301b9ed992a6fa6b35c..f43f375f7a0fbb37336772475d7049767f7a3de1 100755 (executable)
@@ -97,7 +97,7 @@ BOOL COCCDemoApp::InitInstance()
        aDoc->GetResultDialog()->ShowWindow(SW_HIDE);
   aDoc->GetResultDialog()->Initialize();
 
-  // resize the result dialog, so no clipping occures when user
+  // resize the result dialog, so no clipping occurs when user
   // resizes the dialog manually
   // position the result dialog to the left bottom corner of the view
   CRect aDlgRect, aViewRect;
index c54135bfde3667addc7cdd5aae932a9f920118a6..90d6ab94217809af70a209c1ff2b743b75fe8440 100755 (executable)
@@ -123,7 +123,7 @@ void CResultDialog::Initialize()
 }
 
 
-// OnSize is a message handler of WM_SIZE messge, 
+// OnSize is a message handler of WM_SIZE message,
 // it is reimplemented in order to reposition the buttons
 // (keep them always in the bottom part of the dialog)
 // and resize the rich edit controls as user resized THIS dialog.
index 22a45a2faf5652992d1588c4745bbcb5666d7f5b..688fb14bb2cb8fe9a5455254388827786334a3b6 100755 (executable)
@@ -47,7 +47,7 @@ protected:
        afx_msg void OnCopyAllToClipboard();
        virtual void OnCancel();
 
-  // OnSize is a message handler of WM_SIZE messge, 
+  // OnSize is a message handler of WM_SIZE message,
   // it is reimplemented in order to reposition the buttons
   // (keep them always in the bottom part of the dialog)
   // and resize the rich edit controls as user resized THIS dialog.
index b93b36862d38a09e9d2b466e432bd2832858d3d0..b5eb41f5d8335177a5d63bef74c37c75d6f6c0bb 100755 (executable)
@@ -84,7 +84,7 @@ void OCC_3dDoc::SetDialogTitle(TCollection_AsciiString theTitle)
 
 void OCC_3dDoc::OnObjectAddDimensions() 
 {
-  //Add dimentions dialog is opened here
+  //Add dimensions dialog is opened here
   myDimensionDlg.ShowWindow(SW_SHOW);
   myDimensionDlg.UpdateStandardMode ();
 }
index 6514a08b12736b2c5c4cb2ab35c640619b375a34..d7f7f70c928e5acac537d930919c765df7693765 100644 (file)
@@ -34,7 +34,7 @@ static void Sample()
 
   Handle(TDocStd_Application) app = new TDocStd_Application;
   
-  //...Creating the new document (document conatins a framework) 
+  //...Creating the new document (document contains a framework)
 
   Handle(TDocStd_Document) doc;
   app->NewDocument("Standard", doc);
@@ -88,9 +88,9 @@ static void Sample()
   //Coping content of a document to another document with possibility update copy in future
 
   XLinkTool.CopyWithLink(target,source); //Now target document has a copy of source document , the copy also has
-                                                 //a link to have possibility update content of the copy if orginal changed
+                                                 //a link to have possibility update content of the copy if original changed
 
-  //...Something is chaneged in source document
+  //...Something is changed in source document
 
   //Updating copy in target document 
 
index a94a4abe227bebccac09dce7921f0293af0dfaeb..d87ff7a519d325b548050f5b5daaa6c54b795e79 100644 (file)
@@ -65,7 +65,7 @@ static void Sample()
 
   //Getting AIS_InteractiveContext from TPrsStd_AISViewer may be done in two ways: 
 
-  //1. If we have already gotten TPrsStd_AISViewer attribute (strored in a variable <aisviewer>)
+  //1. If we have already gotten TPrsStd_AISViewer attribute (stored in a variable <aisviewer>)
   Handle(AIS_InteractiveContext) context1 = aisviewer->GetInteractiveContext();
  
   //2. Getting AIS_InteractiveContext directly
@@ -184,16 +184,16 @@ static void Sample()
     P->Display(Standard_True); 
     TPrsStd_AISViewer::Update(ShapeLabel);  //Update presenation of the attribute in a viewer's window
 
-    //Getting Standard_GUID of attribute with which TPrsStd_AISPresentation attribute is associeted
+    //Getting Standard_GUID of attribute with which TPrsStd_AISPresentation attribute is associated
 
     Standard_GUID guid = P->GetDriverGUID();
 
-    //Setting a color to the displayd attribute
+    //Setting a color to the displayed attribute
 
     P->SetColor(Quantity_NOC_RED);
     TPrsStd_AISViewer::Update(ShapeLabel);  //Update viewer to make changes visible to user
 
-    //Getting transparency the displayd attribute
+    //Getting transparency the displayed attribute
 
     Standard_Real transparency = P->Transparency();
 
index 3a639432dbc713894ffdc0f3424cf12b0a5e1558..c18b7c4fbc65bbde15d09e3e79eb8234c5a0e987 100644 (file)
@@ -99,7 +99,7 @@ void FThread::run()
             const int ret = D->Execute(log);
             if (ret == 0)
             {
-                // Successfuly executed!
+                // Successfully executed!
                 itr.SetStatus(L, TFunction_ES_Succeeded);
 
                 TDF_LabelList res;
index 2cf82dadaceeb5336a6081ce9ca9675f947c44df..46b425bee44a89be3eedc24f25f7cf7730672be5 100644 (file)
@@ -75,7 +75,7 @@ Standard_Integer SimpleDriver::Execute(Handle(TFunction_Logbook)& ) const
     int i = 0;
     while (++i < 10000 * times)
     {
-        // Call any fucntions taking much time.
+        // Call any functions taking much time.
         // It is necessary to "see" the execution of a function in real time.
         BRepPrimAPI_MakeSphere mkSphere(100.0);
         mkSphere.Build();
index 54f6b16d9811b25883c75155406a23861236de97..b27b89fcce1b22ab93b7bf01c712a790fe73e301 100755 (executable)
@@ -281,7 +281,7 @@ Handle(TopTools_HSequenceOfShape) Translate::getShapes( const Handle(AIS_Interac
 }
 
 /*!
-    Selects a file from standard dialog acoording to selection 'filter'
+    Selects a file from standard dialog according to selection 'filter'
 */
 QString Translate::selectFileName( const int format, const bool import )
 {
index 99fae6050bf7b537eaa3d7567d265bce6e73fefb..55f7f0a9588473cd872a208431877995dd2ed952 100644 (file)
@@ -10,7 +10,7 @@ The directory <i> samples/qt/OCCTOverview </i> contains the folders and files of
 * File **genproj.bat** to denerate MS Visual Studio project.
 * File **msvc.bat**  to run MS Visual Studio project.
 * File **make.sh** to build of the application on Linux.
-* Files **run.bat** and **run.sh** to runn the application.
+* Files **run.bat** and **run.sh** to run the application.
 * Files **env.bat** and **custom.bat** are called from *genproj.bat*, *msvc.bat*, *run.bat*.
   File *custom.bat* should be defined by user to provide paths to QT directory and OCCT installation directory (see *custom.bat.template*).
 * **src** and **res** directories provide source and resources files.
@@ -49,10 +49,10 @@ The directory <i> samples/OCCTOverview/code </i> contains the source code of sam
 4. How to use the OCCT Overview application:
 ---------------------------------
 
-* To select a samples categogy use the *Category* menu.
+* To select a samples category use the *Category* menu.
 * To run concrete sample using the menu to the right of the category menu.
-* See on a souce code in the *Sample code* window. Ð¡opy the code if needed.
-* See on a sample output in the *Output* window if it exist.
+* See the source code in the *Sample code* window. Ð¡opy the code if needed.
+* See the sample output in the *Output* window if it exist.
 * Zoom, pan and rotate a geometry in the mail window using the mouse.
 
 See hints how to use the mouse in down hints panel.
index 92769ec407f709c381f7d607fc5b1ae0eb8239f1..e433a4de0bfda074e6a79b4891c5e1e802745666 100644 (file)
@@ -97,7 +97,7 @@ sage " "
 
 nexplode result f
 offsetshape r result -1 0.0001 result_17
-sage " Creating a cylinder and positionning it"
+sage " Creating a cylinder and positioning it"
 sage "    pcylinder cyl 2 300"
 sage "    trotate cyl cyl 0 0 0  1 0 0 45"
 sage "    ttranslate cyl cyl 0 7.5 0"
index 0d5f4180b2d3cf01567dbd0b8e26d5a6b372da30..a156ff221950d19715007ec0bf02910b637a3295 100644 (file)
@@ -104,7 +104,7 @@ sage " Creating a prism"
 sage "    prism rr p 0 0 20"
 sage " "
 prism rr p 0 0 20
-sage " Change some attributs : MATERIAL , TRANSPARENCY"
+sage " Change some attributes : MATERIAL , TRANSPARENCY"
 sage "    vsetmaterial rr PLASTIC"
 sage "    vsetcolor rr RED"
 sage "    vsettransparency result 0.5"
@@ -142,7 +142,7 @@ vfit
 vsetcolor r MATRABLUE
 vsettransparency r 0
 
-sage " Creating a cylinder and positionning it"
+sage " Creating a cylinder and positioning it"
 sage "    pcylinder cyl 2 300"
 sage "    trotate cyl cyl 0 0 0  1 0 0 45"
 sage "    ttranslate cyl cyl 0 7.5 0"
index 4b46725341b6e8ee6caf3353b86f0dee606854f9..a8bebfa9e0e0a6f120e9ff2eb53830feb83a7d11 100644 (file)
@@ -1,5 +1,5 @@
 # Sample model of Intel i7-4790 CPU
-# Dimensions are taken from specs and foto found in Internet
+# Dimensions are taken from specs and photo found in Internet
 
 #Category: XDE
 #Title: Intel i7-4790 CPU
@@ -170,7 +170,7 @@ for {set ipad 1; set iplace 0} {$ipad <= $nbpads && $iplace < 1600} {incr ipad;
 }
 
 # round and square contact pads on top side
-# note re-use of rpad object used for bootom round pads
+# note re-use of rpad object used for bottom round pads
 eval compound [lrepeat 8 rpad] crpads
 set lrpad [explode crpads]
 ttranslate crpads_1 25.3  8.4  -0.1
index 35082d7f5187b076be022539862509ed66b2573c..6c94899817375cd00fe90c75b337ffe6edc58f15 100644 (file)
@@ -76,7 +76,7 @@ vertex vf0 x0 y0 z0
 vertex vf1 x1 y1 z1
 
 # -- variant: replace curve by arc with start at x0,y0,z0 and end at x1,y1,z1,
-# -- such that tanget at start point is along Y
+# -- such that tangent at start point is along Y
 #dset Rflute ((x1-x0)*(x1-x0)+(y1-y0)*(y1-y0))/(2*(x1-x0))
 #circle aflute x0+Rflute y0 0  0 0 1  Rflute
 #mkedge sflute_1 aflute vf0 vf1
index aa5e67228cdddcb3888bf8a82f5c1379437b4af4..f8e770b8dbd01490680e4f72ed1d007002d18dd6 100644 (file)
@@ -94,7 +94,7 @@ void WasmOcctView::run()
   myView->MustBeResized();
   myView->Redraw();
 
-  // There is no inifinite message loop, main() will return from here immediately.
+  // There is no infinite message loop, main() will return from here immediately.
   // Tell that our Module should be left loaded and handle events through callbacks.
   //emscripten_set_main_loop (redrawView, 60, 1);
   //emscripten_set_main_loop (redrawView, -1, 1);
index ee7ab9acf22c0c337deab6c6b3d93df250d1b615..4bc143bea01f38717cfde3ddcd10c4022e641a34 100644 (file)
@@ -63,7 +63,7 @@ set_property(TARGET uwp PROPERTY VS_WINRT_COMPONENT TRUE)
 # Set Visual Studio Windows target platform minimum version equal to OS version
 string(REGEX MATCH "^([0-9]+\.[0-9]+\.[0-9]+)$" PLATFORM_WO_DEV_VER "${CMAKE_HOST_SYSTEM_VERSION}")
 if (PLATFORM_WO_DEV_VER)
-  # Add tailing zero to platfrom version 10.0.14393 -> 10.0.14393.0 to have correct version
+  # Add tailing zero to platform version 10.0.14393 -> 10.0.14393.0 to have correct version
   set (CMAKE_HOST_SYSTEM_VERSION "${CMAKE_HOST_SYSTEM_VERSION}.0")
 endif()
 set_property(TARGET uwp PROPERTY VS_WINDOWS_TARGET_PLATFORM_MIN_VERSION "${CMAKE_HOST_SYSTEM_VERSION}")
index e22c877da142d5d3b6890e6387a7dbeb34b48193..f73a2d824b15c810c554b4db2a5db4b847165591 100644 (file)
@@ -185,7 +185,7 @@ if (NOT DEFINED INSTALL_DIR_BIN)
   endif()
 endif()
 
-# define folder contaning all shell/batch scripts
+# define folder containing all shell/batch scripts
 if (NOT DEFINED INSTALL_DIR_SCRIPT)
   if ("${INSTALL_DIR_LAYOUT}" STREQUAL "Unix")
     set (INSTALL_DIR_SCRIPT "${INSTALL_DIR_BIN}" CACHE PATH "${INSTALL_DIR_SCRIPT_DESCR}")
@@ -259,7 +259,7 @@ find_package(OpenCASCADE QUIET PATHS "${OpenCASCADE_DIR}" "${OpenCASCADE_INSTALL
 include_directories ("${OpenCASCADE_INCLUDE_DIR}")
 
 if (NOT OpenCASCADE_FOUND)
-  message (FATAL_ERROR "coult not find OpenCASCADE, please set OpenCASCADE_DIR variable" )
+  message (FATAL_ERROR "could not find OpenCASCADE, please set OpenCASCADE_DIR variable" )
 else()
   set (OpenCASCADE_DIR "${OpenCASCADE_INSTALL_PREFIX}" CACHE PATH "OpenCASCADE directory" FORCE)
   message (STATUS "Using OpenCASCADE from \"${OpenCASCADE_DIR}\"" )
index b3e20b48dc99e08b532e28fb20db1a13d3b098ba..dd99d71b3b469fa83eceaae77ecdd2de397d5cc5 100644 (file)
@@ -25,7 +25,7 @@
 #include <TopoDS_Shape.hxx>
 
 //! \class Convert_TransientShape
-//! \brief An interface to covert a shape into a transient object to use it in arguments
+//! \brief An interface to convert a shape into a transient object to be used in arguments
 class Convert_TransientShape : public Standard_Transient
 {
 public:
index 24d5f73599bca96abbb94d0cccb7b0d80bc3ce30..bfb9907b1eb8ffcd315ad562dfcbc11a211d7ad4 100644 (file)
@@ -56,7 +56,7 @@ public:
   //! \return the stacked widget
   QWidget* GetWidget() const { return myAttributesStack; }
 
-  //! Fills stackk with the information
+  //! Fills stack with the information
   //! \param theAttributeTypes a map of attribute type name to information pane
   void SetModule (DFBrowser_Module* theModule) { myModule = theModule; }
 
index c2d4b558898829c92f97abd81c68d6e5dced008d..0a00c746d58a50e38d3ffaf70788a1289f75a607 100644 (file)
@@ -96,7 +96,7 @@ protected:
 
 private:
 
-  Standard_GUID myAttributeGUID; //!< if attribute, stores GUID of the attibute because label can contain only one attribute of a kind
+  Standard_GUID myAttributeGUID; //!< if attribute, stores GUID of the attribute because label can contain only one attribute of a kind
 };
 
 #endif
index ec353e724bd4422d11f928bab1f00d5489fdaf0f..c4e9fc543b031c8f6070ebd4f7aba64dc297ddca 100644 (file)
@@ -120,7 +120,7 @@ void DFBrowser_Module::SetInitialTreeViewSelection()
   if (!aModel || !aSelectionModel)
     return;
 
-  // select a parent(aplication) item
+  // select a parent(application) item
   aSelectionModel->select (aModel->index (0, 0), QItemSelectionModel::ClearAndSelect);
 }
 
index b8f2a481d1dacb3abb309df09c9f19e610ae2310..367f69242f5664b2812d547e56fd4c6477aabeea 100644 (file)
@@ -91,7 +91,7 @@ public:
   //! Sets initial selection in OCAF tree view, it is an application(root) item
   Standard_EXPORT void SetInitialTreeViewSelection();
 
-  //! Returns attibute placed on the parameter index in the OCAF tree view or NULL
+  //! Returns attribute placed on the parameter index in the OCAF tree view or NULL
   //! \param theIndex an index in OCAF tree view.
   //! \return an attribute
   Standard_EXPORT Handle(TDF_Attribute) FindAttribute (const QModelIndex& theIndex);
index 674eedbbdc7b6c896edff1ba2d3b4ba990ee9649..1ed4382a6d4dcc42cec9258115bd9d59126d6df9 100644 (file)
@@ -44,7 +44,7 @@ public:
   //! Destructor
   virtual ~DFBrowser_ThreadItemSearch() {}
 
-  //! Obtains the curent OCAF application from the current module, iterates by all documents to fill
+  //! Obtains the current OCAF application from the current module, iterates by all documents to fill
   //! internal containers for search functionality
   Standard_EXPORT virtual void Run() Standard_OVERRIDE;
 
@@ -73,7 +73,7 @@ private:
   void addLabel (const TDF_Label& theLabel, const QStringList& theCurrentPath,
                  QMap<QString, DFBrowser_SearchItemInfo>& theValues, QStringList& theInfoValues);
 
-  //! Adds attribute information, it is either attribute kind or attribure value for TDataStd_Name or TDataStd_Comment
+  //! Adds attribute information, it is either attribute kind or attribute value for TDataStd_Name or TDataStd_Comment
   //! \parm theAttribute a current attribute
   //! \param theCurrentPath it contains the current path to the label (stores in container)
   //! \param theValues container of document item values
index e8f4e51ed600b726e6b40cb158d94278d53a0f34..3eed78a3ed6be9d1d6ea804b22e362090d71b3bf 100644 (file)
@@ -59,7 +59,7 @@ public:
   //! Returns item information(short) for display role.
   //! \param theIndex a model index
   //! \param theRole a view role
-  //! \return value intepreted depending on the given role
+  //! \return value interpreted depending on the given role
   Standard_EXPORT virtual QVariant data (const QModelIndex& theIndex,
                                          int theRole = Qt::DisplayRole) const Standard_OVERRIDE;
 
@@ -71,11 +71,11 @@ public:
   Standard_EXPORT virtual QVariant headerData (int theSection, Qt::Orientation theOrientation,
                                                int theRole = Qt::DisplayRole) const Standard_OVERRIDE;
 
-  //! Returns number of tree level line items = colums in table view
+  //! Returns number of tree level line items = columns in table view
   virtual int columnCount (const QModelIndex& theParent = QModelIndex()) const Standard_OVERRIDE
   { (void)theParent; return myLevelItems.size(); }
 
-  //! Returns onlly one row in table view
+  //! Returns only one row in table view
   virtual int rowCount (const QModelIndex& theParent = QModelIndex()) const Standard_OVERRIDE
   { (void)theParent; return 1; }
 
index 5878545f4e1398f05629e3775d367adcee6bdbb4..7d6e64acd086e7223f80ac0510ca5db4a1555cde 100644 (file)
@@ -30,7 +30,7 @@ class QTableView;
 
 //! \class DFBrowser_TreeLevelView
 //! This is a control to visualize the current selected item of OCAF tree view in table view.
-//! The table contains two colums: name and value. The information is similar the one OCAF tree view label
+//! The table contains two columns: name and value. The information is similar the one OCAF tree view label
 //! content: children and attributes for the current label. Selection or double click of item emits
 //! signals about this event.
 class DFBrowser_TreeLevelView : public QObject
index a2c06136d01d1a31a041f305435a91d771572477..36448eaca3f44d6c12aa588df360fac3f40f3fde 100644 (file)
@@ -61,7 +61,7 @@ public:
   //! \param theSection an index of value in the container 
   //! \param theIndex a model index
   //! \param theRole a view role
-  //! \return value intepreted depending on the given role
+  //! \return value interpreted depending on the given role
   Standard_EXPORT virtual QVariant headerData (int theSection, Qt::Orientation theOrientation,
                                                int theRole = Qt::DisplayRole) const Standard_OVERRIDE;
 
@@ -76,7 +76,7 @@ public:
   //! Returns item information(short) for display role.
   //! \param theIndex a model index
   //! \param theRole a view role
-  //! \return value intepreted depending on the given role
+  //! \return value interpreted depending on the given role
   Standard_EXPORT virtual QVariant data (const QModelIndex& theIndex,
                                          int theRole = Qt::DisplayRole) const Standard_OVERRIDE;
 
index 17b2f21c4d494c73bee306fc3a24f77a3cceefd6..bec443556334a9791813b169b9b57e6401502e30 100644 (file)
@@ -86,7 +86,7 @@ public:
   //! \param theItem container of preference elements
   Standard_EXPORT void SetPreferences (const TInspectorAPI_PreferencesDataMap& theItem);
 
-  //! Applyes parameters to Init controls, opens files if there are in parameters, updates OCAF tree view model
+  //! Applies parameters to Init controls, opens files if there are in parameters, updates OCAF tree view model
   Standard_EXPORT void UpdateContent();
 
   //! Fills controls of the plugin by parameters:
@@ -136,7 +136,7 @@ private slots:
   //! Collapses all levels for all selected items
   void onCollapseAll();
 
-  //! Udpates all controls by changed selection in OCAF tree view
+  //! Updates all controls by changed selection in OCAF tree view
   //! \param theSelected list of selected tree view items
   //! \param theDeselected list of deselected tree view items
   void onTreeViewSelectionChanged (const QItemSelection& theSelected, const QItemSelection& theDeselected);
@@ -158,7 +158,7 @@ private slots:
   //! Updates OCAF tree model
   void onUpdateClicked();
 
-  //! Higlights OCAF tree model item
+  //! Highlights OCAF tree model item
   //! \param thePath a container of entries to the item
   //! \param theValue a label entry or attribute name
   void onSearchPathSelected (const QStringList& thePath, const QString& theValue);
@@ -168,7 +168,7 @@ private slots:
   //! \param theValue a label entry or attribute name
   void onSearchPathDoubleClicked (const QStringList& thePath, const QString& theValue);
 
-  //! Higlights OCAF tree model item
+  //! Highlights OCAF tree model item
   //! \param theIndex an OCAF tree model index
   void onLevelSelected (const QModelIndex& theIndex);
 
index 2a3d1a92187214dbae0e550300c82d5d290ba0a8..44a608ec5fdc5061df954027f9a49de63dc78f4d 100644 (file)
@@ -106,7 +106,7 @@ protected:
   virtual QList<QVariant> getHeaderValues (const Qt::Orientation theOrientation)
     { (void)theOrientation; return QList<QVariant>(); }
 
-  //! Retuns number of columns in internal table. By default it returns 2 : method name for method value.
+  //! Returns number of columns in internal table. By default it returns 2 : method name for method value.
   //! \return integer value
   virtual int getColumnCount() const { return 2; }
 
index 69c64f4ec51ecf977d5494b4d250203e5fd58bd0..804372ce177255a9c4abcfe4e2ad52921ac8ca88 100644 (file)
@@ -90,7 +90,7 @@ public:
   //! It returns value only for DisplayRole.
   //! \param theIndex a model index
   //! \param theRole a view role
-  //! \return value intepreted depending on the given role
+  //! \return value interpreted depending on the given role
   Standard_EXPORT virtual QVariant data (const QModelIndex& theIndex, int theRole = Qt::DisplayRole) const Standard_OVERRIDE;
 
   //! Returns content of the model index for the given role, it is obtainer from internal container of header values
@@ -98,7 +98,7 @@ public:
   //! \param theSection an index of value in the container 
   //! \param theIndex a model index
   //! \param theRole a view role
-  //! \return value intepreted depending on the given role
+  //! \return value interpreted depending on the given role
   Standard_EXPORT virtual QVariant headerData (int theSection, Qt::Orientation theOrientation, int theRole = Qt::DisplayRole) const Standard_OVERRIDE;
 
   //! Returns flags for the item: ItemIsEnabled | Qt::ItemIsSelectable
index bc331d32a007fbaebbb4c9a77a4ee91892df50bd..9fbe148b901067f384dff91790c09942f6069b14 100644 (file)
@@ -48,7 +48,7 @@ public:
   //! \param theValuesView a view of values(table view filled by myValuesModel)
   Standard_EXPORT void CreateWidget(QWidget* theParent, DFBrowserPane_TableView* theValuesView);
 
-  //! Fills bounds model by firsth and second values, fills values model by left values
+  //! Fills bounds model by first and second values, fills values model by left values
   //! \param theValues values to fill views
   Standard_EXPORT void Init(const QList<QVariant>& theValues);
 
index 071532679843188e062ad584e41cbbd3a3cc99cf..5f23bdd8b8d2050ce48940db9ae638bfd0e4bdf3 100644 (file)
@@ -25,7 +25,7 @@
 
 //! \class DFBrowserPane_HelperExport
 //! \brief It performs export to BREP of a shape by button is pressed
-//! It contains a conainer of shapes for model indices. If button is pressed for index where the 
+//! It contains a container of shapes for model indices. If button is pressed for index where the
 //! shape exists, this shape is exported to BREP file.
 //! It contains a container of shapes, it is important to clear this helper after using.
 class DFBrowserPane_HelperExport : public QObject
index 2cdd55b690929fa90dfa4dc023af2363ea07098a..db349097d2ecfbe182ed9b491d46a1163197b814 100644 (file)
@@ -24,7 +24,7 @@ enum DFBrowserPane_ItemRole
   DFBrowserPane_ItemRole_ShortInfo = TreeModel_ItemRole_LastTreeRole + 1, //!< not full information of an attribute
   DFBrowserPane_ItemRole_Decoration_40x40, //!< icon with greater size
   DFBrowserPane_ItemRole_DisplayExtended, // extended item information (with additional information) for Qt::DisplayRole
-  DFBrowserPane_ItemRole_ToolTipExtended, // exteneded tool tip information for Qt::ToolTipRole
+  DFBrowserPane_ItemRole_ToolTipExtended, // extended tool tip information for Qt::ToolTipRole
   DFBrowserPane_ItemRole_LastTreeRole //! last enumeration value to use outside incremented
 };
 
index 34894b7a15f8a73d12c3747d3edc1a46381b6d66..1093e74343fc577b1b655eba130a80ebddc1a4eb 100644 (file)
@@ -30,7 +30,7 @@ class QAbstractTableModel;
 //! \brief The widget that contains table view with some settings:
 //! - table grid is hidden
 //! - vertical header is hidden
-//! - stretch last column by horizonal
+//! - stretch last column by horizontal
 //! - default width of columns.
 class DFBrowserPane_TableView : public QWidget
 {
index 00e3a866705897fe2bc2fc2cb81a57a993676f1e..eae32311478ccc1840501df138fb2cebf6eae41e 100644 (file)
@@ -47,7 +47,7 @@ public:
 
 protected:
 
-  //! Cretates pane for XCAFDoc attribute name
+  //! Creates pane for XCAFDoc attribute name
   //! \param theAttributeName a type of attribute
   //! \return an attribute pane if it can be created for this type
   DFBrowserPane_AttributePaneAPI* createXDEPane (Standard_CString theAttributeName);
index 437a9b4016ec55562478ee7e088c800ff151e25c..a418c9f1362e49a1088204897e761fd3dada8c2e 100644 (file)
@@ -45,7 +45,7 @@ void DFBrowserPaneXDE_XCAFDocDatum::GetValues (const Handle(TDF_Attribute)& theA
 
   theValues << "Name" << (!aName.IsNull() ? aName->ToCString() : QString (""))
             << "Description" << (!aDescription.IsNull() ? aDescription->ToCString() : QString (""))
-            << "Indentification" << (!anIndentification.IsNull() ? anIndentification->ToCString() : QString (""));
+            << "Identification" << (!anIndentification.IsNull() ? anIndentification->ToCString() : QString (""));
 
   Handle(XCAFDimTolObjects_DatumObject) anObject = anAttr->GetObject();
   Handle(TCollection_HAsciiString) anObjectName;
index b6706d939d89f65083ed98bfff6603039fdad1bf..6615691b619df570bd35b8ce8d027ef1cd4789a7 100644 (file)
@@ -66,11 +66,11 @@ public:
   Standard_EXPORT TopoDS_Shape Shape (const int theRowId) const;
 
   //! Returns name of BREP file for the shape if exists
-  //! \return string valuie
+  //! \return string value
   QString GetFileName() const { return myFileName; }
 
   //! Sets name of BREP file for the shape if exists
-  //! \return string valuie
+  //! \return string value
   void SetFileName (const QString& theFileName) { myFileName = theFileName; }
 
   //! Inits the item, fills internal containers
index 779fef52fefaea3a2e07258fdd25a96077503fe9..7ecfca6203165306ea3d449df04f4c8f67fdf86f 100644 (file)
@@ -74,7 +74,7 @@ public:
   //! It returns value only for DisplayRole.
   //! \param theIndex a model index
   //! \param theRole a view role
-  //! \return value intepreted depending on the given role
+  //! \return value interpreted depending on the given role
   virtual QVariant data (const QModelIndex& theIndex, int theRole = Qt::DisplayRole) const Standard_OVERRIDE;
 
   //! Returns number of rows
index f38229db25aa3ea49b44d4a3d7ea148e9a1aa3c9..8edf8d477d8d2069fc26cc5d10eb6da462fd5503 100644 (file)
@@ -55,7 +55,7 @@ public:
   //! Sets visibility state
   //! \theIndex tree model index
   //! \param theState visibility state
-  //! \param toEmitDataChanged boolean flag whether emit of the model should be done immediatelly
+  //! \param toEmitDataChanged boolean flag whether emit of the model should be done immediately
   //! \return true if state is changed
   Standard_EXPORT virtual bool SetVisible (const QModelIndex& theIndex, const bool theState, const bool toEmitDataChanged) Standard_OVERRIDE;
 
index 950119326efde75b397ae5c11b469e751b086ec3..933f45ca972d7eb07051a38da156420d5870f293 100644 (file)
@@ -74,7 +74,7 @@ public:
   //! \param theItem container of preference elements
   Standard_EXPORT void SetPreferences (const TInspectorAPI_PreferencesDataMap& theItem);
 
-  //! Applyes parameters to Init controls, opens files if there are in parameters, updates OCAF tree view model
+  //! Applies parameters to Init controls, opens files if there are in parameters, updates OCAF tree view model
   Standard_EXPORT void UpdateContent();
 
   //! Returns main control
@@ -129,7 +129,7 @@ protected slots:
   //! Views BREP files of selected items if exist
   void onExportToBREP();
 
-  //! Convers file name to Ascii String and perform opeging file
+  //! Converts file name to Ascii String and perform opening file
   //! \param theFileName a file name to be opened
   void onOpenFile(const QString& theFileName) { OpenFile (TCollection_AsciiString (theFileName.toUtf8().data())); }
 
index 01d368b2dc7bea21f6862b755d52355ec6dd2cd2..1f0edff2ed65ec5333e62a1befbc5b8a9d016dad 100644 (file)
@@ -53,7 +53,7 @@ public:
 
   //! Stores parameters for the plugin
   //! \param theParameters container of parameters(e.g. AIS_InteractiveContext, TDocStd_Application)
-  //! \param theAppend boolean state whethe the parameters should be added to existing
+  //! \param theAppend boolean state whether the parameters should be added to existing
   void Init (const NCollection_List<Handle(Standard_Transient)>& theParameters,
              const Standard_Boolean theAppend = Standard_False)
     { myWindow->Init ("", theParameters, theAppend); }
@@ -61,7 +61,7 @@ public:
   //! Stores parameters for the plugin
   //! \param thePluginName a name of the plugin
   //! \param theParameters container of parameters(e.g. AIS_InteractiveContext, TDocStd_Application)
-  //! \param theAppend boolean state whethe the parameters should be added to existing
+  //! \param theAppend boolean state whether the parameters should be added to existing
   void Init (const TCollection_AsciiString& thePluginName,
              const NCollection_List<Handle(Standard_Transient)>& theParameters,
              const Standard_Boolean theAppend = Standard_False)
@@ -82,7 +82,7 @@ public:
   void Activate (const TCollection_AsciiString& thePluginName) { myWindow->ActivateTool (thePluginName); }
 
   //! Sets item selected in the active plugin
-  //! \param theItemName a containerr of name of items in plugin that should become selected
+  //! \param theItemName a container of name of items in plugin that should become selected
   void SetSelected (const NCollection_List<TCollection_AsciiString>& theItemNames) { myWindow->SetSelected (theItemNames); }
 
   //! Sets objects to be selected in the plugin
index a7ec5b4e6053cf6807384fbae903add0a8c98170..db3ce56f937a341fd9dfd6ede787d2d280baa0cd 100644 (file)
@@ -75,7 +75,7 @@ public:
   //! It returns value only for DisplayRole.
   //! \param theIndex a model index
   //! \param theRole a view role
-  //! \return value intepreted depending on the given role
+  //! \return value interpreted depending on the given role
   virtual QVariant data (const QModelIndex& theIndex, int theRole = Qt::DisplayRole) const Standard_OVERRIDE;
 
   //! Returns number of rows
index c0c802d0bf546697ef3e039d9f0c3d70db123418..43738319e9c66ce42e7414c1984766dd90fe30e0 100644 (file)
@@ -70,7 +70,7 @@ public:
   //! Destructor
   virtual ~TInspector_Window() {}
 
-  //! Appends the plugin names into internal conainer
+  //! Appends the plugin names into internal container
   //! \param thePluginName a name of the plugin
   Standard_EXPORT void RegisterPlugin (const TCollection_AsciiString& thePluginName);
 
@@ -81,7 +81,7 @@ public:
   //! Stores parameters for the plugin. If the plugin name is empty, it inits all plugins with the parameters
   //! \param thePluginName a name of the plugin
   //! \param theParameters container of parameters(e.g. AIS_InteractiveContext, TDocStd_Application)
-  //! \param theAppend boolean state whethe the parameters should be added to existing
+  //! \param theAppend boolean state whether the parameters should be added to existing
   Standard_EXPORT void Init (const TCollection_AsciiString& thePluginName,
                              const NCollection_List<Handle(Standard_Transient)>& theParameters,
                              const Standard_Boolean theAppend = Standard_False);
index 9c9cf8dd4463d3720b358f3cc5e44a98fcb1a3a8..e8acb31bc52a01c8f832600f6900f08fbf82a32c 100644 (file)
@@ -27,7 +27,7 @@
 //! objects(e.g. Interactive Context or OCAF Application). If the parameters are changed, it may be
 //! applied in UpdateContent function. The communicator can change parameters in the following cases:
 //! - the plugin removes own processed parameters (e.g. file names, that was opened by the plugin)
-//! - the plugin sends some parameters to another plugin(by name) (e.g. shape to be analized)
+//! - the plugin sends some parameters to another plugin(by name) (e.g. shape to be analyzed)
 //!   (at the same time we should be careful here to do not change essential parameters of other plugins)
 class TInspectorAPI_Communicator
 {
index c7975cde3f7f13dd6ed8fb35651e91aa573359ef..f71ec79851079aac6a4a96716425718c8aef577c 100644 (file)
@@ -135,7 +135,7 @@ public:
   //! \return string instance
   Standard_EXPORT static TCollection_AsciiString ParametersToString (const TopoDS_Shape& theShape);
 
-  //! Converts a Shape parameters exceptin TShape into a string value
+  //! Converts a Shape parameters excepting TShape into a string value
   //! \param theValue parameters string value (without TShape information)
   //! \param theShape processed shape 
   Standard_EXPORT static void ParametersToShape (const TCollection_AsciiString& theValue, TopoDS_Shape& theShape);
index c0abd7766ab10208f5166ca90932698d952e19c5..57a5ea548ff7770e3cc66dc95863d14c3a47b6b3 100644 (file)
@@ -404,7 +404,7 @@ void ToolsDraw::Commands(Draw_Interpretor& theCommands)
     "\n\t\t:  -select sets the parameter that should be selected in an active tool view."
     "\n\t\t:          Depending on active tool the parameter is:"
     "\n\t\t:          ShapeView: 'object' is an instance of TopoDS_Shape TShape,"
-    "\n\t\t:          DFBrowser: 'name' is an entry of TDF_Label and name2(optionaly) for TDF_Attribute type name,"
+    "\n\t\t:          DFBrowser: 'name' is an entry of TDF_Label and name2(optionally) for TDF_Attribute type name,"
     "\n\t\t:          VInspector: 'object' is an instance of AIS_InteractiveObject;"
     "\n\t\t:  -show sets Inspector view visible or hidden. The first call of this command will show it."
     "\n\t\t:  -directory sets Inspector temporary directory. Preferences file is stored there."
index 9b5dcf529c172fc3dae9081a93512ce36b5ac553..4d66923846c245918783d1c8a1cdc4f05a244ac4 100644 (file)
@@ -31,7 +31,7 @@ public:
   DEFINE_STANDARD_ALLOC
 
   //! Loads all Draw commands of  tools. Used for plugin.
-  //! \param theDI Draw interpretor
+  //! \param theDI Draw interpreter
   Standard_EXPORT static void Factory (Draw_Interpretor& theDI);
 
   //! Adds all tools command in the Draw_Interpretor
index c6df4238b4e3c889b035e640c917f7bb98577e8f..19018853aec2b3b48cf7b670f2d37c92db4260bb 100644 (file)
@@ -43,7 +43,7 @@ protected slots:
   //! \param thePosition a clicked point
   void onTreeViewHeaderContextMenuRequested (const QPoint& thePosition);
 
-  //! Changes clicked column visiblity
+  //! Changes clicked column visibility
   void onColumnVisibilityChanged();
 
 private:
index 4c121f8213b2044c4fd5be22422efc71f7426732..226d743fcbe46281fc139d2bd6c72f34a8742035 100644 (file)
@@ -51,7 +51,7 @@ typedef QExplicitlySharedDataPointer<TreeModel_ItemBase> TreeModel_ItemBasePtr;
 //!
 //! The goal of the item is to be an data container of a custom model, based on the
 //! QAbstractItemModel. It provides the items architecture in order to realize the model
-//! functionality to find a parent model index by a child index and vise versa.
+//! functionality to find a parent model index by a child index and vice versa.
 //!
 //! The item should be created by the model and is saved in the internal pointer of the
 //! QModelIndex. Only model knows when the index is removed/created. By this cause,
@@ -68,7 +68,7 @@ typedef QExplicitlySharedDataPointer<TreeModel_ItemBase> TreeModel_ItemBasePtr;
 //! because method data, for example, is called by the viewer repaint, in other words,
 //! constantly.
 //!
-//! It is possible to cache some information in the item. Do not give it throught the item
+//! It is possible to cache some information in the item. Do not give it through the item
 //! constructor. Realize method Init() to save the values in the item internal fields.
 //! If the information model is changed, call Reset() for this item, or the item's parent.
 //! It leads the item to non initialized state and by the next get of the item content,
@@ -94,7 +94,7 @@ public:
   Standard_EXPORT virtual const Handle(Standard_Transient)& Object() const;
 
   //! Resets the item and the child items content. Sets the initialized state to false.
-  //! If the item has internal values, there should be reseted here.
+  //! If the item has internal values, they should be reset here.
   Standard_EXPORT virtual void Reset();
 
   //! Resets the item cached value for the parameter role.
@@ -168,7 +168,7 @@ protected:
   virtual TreeModel_ItemBasePtr createChild (int theRow, int theColumn)
   { (void)theRow; (void)theColumn; return TreeModel_ItemBasePtr(); }
 
-  //! Wraps the currrent item by shared pointer
+  //! Wraps the current item by shared pointer
   //! \return the shared pointer to the current item
   Standard_EXPORT const TreeModel_ItemBasePtr currentItem();
 
index 7f498d70e44d8bbbafa4cb9d55479a8057ca42a9..60709c20991366e737537031bb2501daa74f9407 100644 (file)
@@ -79,7 +79,7 @@ public:
   //! Fills internal containers by item stream values
   Standard_EXPORT void Init();
 
-  //! If the item has internal values, there should be reseted here.
+  //! If the item has internal values, they should be reset here.
   Standard_EXPORT virtual void Reset();
 
   //! Returns number of table rows
index 3d3f13ea3c8805853cda9b4d365a2e95b47f05db..776cefe8e0eee3600680238ee435f92894769931 100644 (file)
@@ -48,7 +48,7 @@ public:
   Standard_EXPORT virtual void Init() Standard_OVERRIDE;
 
   //! Resets the item and the child items content. Sets the initialized state to false.
-  //! If the item has internal values, there should be reseted here.
+  //! If the item has internal values, they should be reset here.
   Standard_EXPORT virtual void Reset() Standard_OVERRIDE;
 
   //! Returns number of displayed presentations
index b8a31e903ec77565087ca2b67baf225354856d4d..c41d692ca68c7d3a3c28c440f722ec515dd4a38d 100644 (file)
@@ -35,7 +35,7 @@ class TreeModel_VisibilityState;
 
 //! \class TreeModel_ModelBase
 //! \brief Implementation of the tree item based model of QAbstractItemModel.
-//! The TreeModel_ModelBase class defines the abstract model realization throught the base item architecture.
+//! The TreeModel_ModelBase class defines the abstract model realization through the base item architecture.
 //! By the model index creation, a base item is created and attached to the index.
 //! Each item contains an iformation about the item parent, position in the parent and
 //! the item's children. So, it is possible to get the model index relation from the item.
@@ -167,7 +167,7 @@ public:
                                                    const Qt::Orientation theOrientation = Qt::Horizontal);
 
   //! Returns single selected item in the cell of given orientation. If the orientation is Horizontal,
-  //! in the cell id colum, one row should be selected.
+  //! in the cell id column, one row should be selected.
   //! \param theIndices a container of selected indices
   //! \param theCellId column index if orientation is horizontal, row index otherwise
   //! \param theOrientation an orientation to apply the cell index
index a2c260ca88ed91b8faf1c7cc23d51cea4ca06ef7..3294cbc5094d8d1251c88d155daac4c0cc3fff1f 100644 (file)
@@ -58,7 +58,7 @@ public:
   //! - columns width
   //! \param theTreeView a view instance
   //! \param theItems [out] properties
-  //! \param thePrefix peference item prefix
+  //! \param thePrefix preference item prefix
   Standard_EXPORT static void SaveState (QTreeView* theTreeView, QMap<QString, QString>& theItems,
                                          const QString& thePrefix = QString());
 
@@ -66,7 +66,7 @@ public:
   //! \param theTreeView a view instance
   //! \param theKey property key
   //! \param theValue property value
-  //! \param thePrefix peference item prefix
+  //! \param thePrefix preference item prefix
   //! \return boolean value whether the property is applied to the tree view
   Standard_EXPORT static bool RestoreState (QTreeView* theTreeView, const QString& theKey, const QString& theValue,
                                             const QString& thePrefix = QString());
index 962e2421a693669a5d5c199c03e2e48629197669..ac6d3f8e06ff1ac0bd5990bf8d1358a3775c567f 100644 (file)
@@ -43,7 +43,7 @@ public:
   //! Sets visibility state
   //! \param theIndex tree model index
   //! \param theState visibility state
-  //! \param toEmitDataChanged boolean flag whether emit of the model should be done immediatelly
+  //! \param toEmitDataChanged boolean flag whether emit of the model should be done immediately
   //! \return true if state is changed
   virtual bool SetVisible (const QModelIndex& theIndex, const bool theState, const bool toEmitDataChanged = true) = 0;
 
index 4e35513625cb3fb928ee5909ac37b868c5d6da25..322306c83b823d3d7207ad8a53ae2dd4942ca434 100644 (file)
@@ -42,7 +42,7 @@ public:
   //! \return a boolean value
   bool HasContext() const { return !GetContext().IsNull(); }
 
-  //! Returns the current contex. It iterates up by list of parents to found context item and return context
+  //! Returns the current context. It iterates up by list of parents to found context item and return context
   //! \return a context
   Standard_EXPORT Handle(AIS_InteractiveContext) GetContext() const;
 
index 3eedc14685e7cd603193c6dd4ad943bda5c7e37c..44cfb1f4f4aa7f88744a06aa18e3b1e9fad82f02 100644 (file)
@@ -80,7 +80,7 @@ public:
   //! \param theItem container of preference elements
   Standard_EXPORT void SetPreferences (const TInspectorAPI_PreferencesDataMap& theItem);
 
-  //! Applyes parameters to Init controls, opens files if there are in parameters, updates OCAF tree view model
+  //! Applies parameters to Init controls, opens files if there are in parameters, updates OCAF tree view model
   Standard_EXPORT void UpdateContent();
 
   //! Returns main control
@@ -176,7 +176,7 @@ private:
   //! If default view is created, it returns displayer of this view
   Standard_EXPORT View_Displayer* displayer();
 
-  //! Creates an istance of 3D view to initialize context.
+  //! Creates an instance of 3D view to initialize context.
   //! \return a context of created view.
   Handle(AIS_InteractiveContext) createView();
 
index 550e681289a059c3aef94efd6ee7e0e9557eb35e..15cc67b611cf538fe3655f299a6e16699ce28daf 100644 (file)
@@ -44,7 +44,7 @@ public:
   virtual ~View_DisplayPreview() {}
 
   //! Stores the current context where the presentations will be displayed/erased.
-  //! Erases previuously displayd presentations if there were some displayed
+  //! Erases previuously displayed presentations if there were some displayed
   //! \param theContext a context instance
   Standard_EXPORT void SetContext (const Handle(AIS_InteractiveContext)& theContext);
 
index 3ba29968d8a3e87b60bc260b1b4e1775209d0e0e..7239d9462b8b4aa7ff44b7eab2a8bebe62fed4a4 100644 (file)
@@ -53,7 +53,7 @@ public:
   View_DisplayPreview* DisplayPreview() const { return myDisplayPreview; }
 
   //! Stores the current context where the presentations will be displayed/erased.
-  //! Erases previuously displayd presentations if there were some displayed
+  //! Erases previuously displayed presentations if there were some displayed
   //! \param theContext a context instance
   Standard_EXPORT void SetContext (const Handle(AIS_InteractiveContext)& theContext);
 
@@ -62,10 +62,10 @@ public:
   //! \param theToKeepPresentation boolean state
   void KeepPresentations (const bool theToKeepPresentations) { myIsKeepPresentations = theToKeepPresentations; }
 
-  //! Returns true if fit Fit All should be peformed automatically by each Display
+  //! Returns true if fit Fit All should be performed automatically by each Display
   bool IsFitAllActive() const { return myFitAllActive; }
 
-  //! Stores flag whether the FitAll shoud be done automatically for each display
+  //! Stores flag whether the FitAll should be done automatically for each display
   //! \param theFitAllActive boolean value
   void SetFitAllActive (const bool theFitAllActive) { myFitAllActive = theFitAllActive; }
 
@@ -199,7 +199,7 @@ private:
   NCollection_DataMap<View_PresentationType, Quantity_Color> myColorAttributes; //!< color properties of presentations
 
   bool myIsKeepPresentations; //!< flag if previously shown presentations stays in the context by displaying a new one
-  bool myFitAllActive; //!< flag if Fit All should be peformed automatically by each Display
+  bool myFitAllActive; //!< flag if Fit All should be performed automatically by each Display
   int myDisplayMode; //!< display mode: 0 - AIS_WireFrame, 1 - AIS_Shaded
 };
 
index 700ecc233202b2256894ecbbeced3572600a0d69..c330028021f353d5f08465a6b24fe23d417597fa 100644 (file)
@@ -46,7 +46,7 @@ public:
   //! - columns width
   //! \param theTreeView a view instance
   //! \param theItems [out] properties
-  //! \param thePrefix peference item prefix
+  //! \param thePrefix preference item prefix
   static void SaveState (View_PreviewParameters* theParameters,
                          QMap<QString, QString>& theItems,
                          const QString& thePrefix = QString())
@@ -56,7 +56,7 @@ public:
   //! \param theTreeView a view instance
   //! \param theKey property key
   //! \param theValue property value
-  //! \param thePrefix peference item prefix
+  //! \param thePrefix preference item prefix
   //! \return boolean value whether the property is applied to the tree view
   static bool RestoreState (View_PreviewParameters* theParameters,
                             const QString& theKey, const QString& theValue,
index 0a6fac186914e9128b30008807550abf541743a7..a028a855c73a92ea0ad6729a7916bf33227b1a1f 100644 (file)
@@ -77,7 +77,7 @@ public:
   //! Saves state of tool bar actions
   //! \param theToolBar a view instance
   //! \param theItems [out] properties
-  //! \param thePrefix peference item prefix
+  //! \param thePrefix preference item prefix
   Standard_EXPORT static void SaveState (View_ToolBar* theToolBar,
                                          QMap<QString, QString>& theItems,
                                          const QString& thePrefix = QString());
@@ -85,7 +85,7 @@ public:
   //! \param theToolBar a view instance
   //! \param theKey property key
   //! \param theValue property value
-  //! \param thePrefix peference item prefix
+  //! \param thePrefix preference item prefix
   //! \return boolean value whether the property is applied to the tree view
   Standard_EXPORT static bool RestoreState (View_ToolBar* theToolBar,
                                             const QString& theKey, const QString& theValue,
index b882f32619070f273ff6cd59d4bca929735c8081..26685b8bab0e5fcad93930e6f00a155f6bb6e292 100644 (file)
@@ -36,7 +36,7 @@ class View_Viewer;
 //! \class View_Widget
 //! \brief It is a Qt control that visualizes content of OCCT 3D view
 //! It creates control and actions of manipulating of this view,
-//! emits signal about selection happenning in the view and signal about display mode change and
+//! emits signal about selection happening in the view and signal about display mode change and
 //! changes application cursor depending on an active action.
 class View_Widget : public QWidget
 {
@@ -64,7 +64,7 @@ public:
   //! \param theActionId an action index
   QAction* ViewAction (const View_ViewActionType theActionId) const { return myViewActions[theActionId]; };
 
-  //! Retuns an action widget if exist. Implemented for fit all widget.
+  //! Returns an action widget if exist. Implemented for fit all widget.
   //! \param theActionId an action index
   QWidget* GetWidget (const View_ViewActionType theActionId) const { return theActionId == View_ViewActionType_FitAllId ? myFitAllAction : 0; };
 
@@ -104,7 +104,7 @@ public:
   //! Saves state of widget actions
   //! \param theParameters a view instance
   //! \param theItems [out] properties
-  //! \param thePrefix peference item prefix
+  //! \param thePrefix preference item prefix
   Standard_EXPORT static void SaveState (View_Widget* theWidget,
                                          QMap<QString, QString>& theItems,
                                          const QString& thePrefix = QString());
@@ -113,7 +113,7 @@ public:
   //! \param theParameters a view instance
   //! \param theKey property key
   //! \param theValue property value
-  //! \param thePrefix peference item prefix
+  //! \param thePrefix preference item prefix
   //! \return boolean value whether the property is applied to the tree view
   Standard_EXPORT static bool RestoreState (View_Widget* theWidget,
                                             const QString& theKey, const QString& theValue,
index 8d85646fbc9f0ebabe4a75aacbb7d5d72d84514c..1637fdb402842ee9288b3f85a5c2cdec90eef2a5 100644 (file)
@@ -81,7 +81,7 @@ public:
   //! - columns width
   //! \param theTreeView a view instance
   //! \param theItems [out] properties
-  //! \param thePrefix peference item prefix
+  //! \param thePrefix preference item prefix
   Standard_EXPORT static void SaveState (View_Window* theView, QMap<QString, QString>& theItems,
                                          const QString& thePrefix = QString());
 
@@ -89,7 +89,7 @@ public:
   //! \param theTreeView a view instance
   //! \param theKey property key
   //! \param theValue property value
-  //! \param thePrefix peference item prefix
+  //! \param thePrefix preference item prefix
   //! \return boolean value whether the property is applied to the tree view
   Standard_EXPORT static bool RestoreState (View_Window* theView, const QString& theKey, const QString& theValue,
                                             const QString& thePrefix = QString());
index f424245ad3b127115393e5856b08bcd6ebfb44f5..130e010ab527ce1a910f6de88b61933ec9376503 100644 (file)
@@ -72,7 +72,7 @@ public:
   //! - columns width
   //! \param theTreeView a view instance
   //! \param theItems [out] properties
-  //! \param thePrefix peference item prefix
+  //! \param thePrefix preference item prefix
   Standard_EXPORT static void SaveState (ViewControl_PropertyView* theParameters,
                                          QMap<QString, QString>& theItems,
                                          const QString& thePrefix = QString());
@@ -81,7 +81,7 @@ public:
   //! \param theTreeView a view instance
   //! \param theKey property key
   //! \param theValue property value
-  //! \param thePrefix peference item prefix
+  //! \param thePrefix preference item prefix
   //! \return boolean value whether the property is applied to the tree view
   Standard_EXPORT static bool RestoreState (ViewControl_PropertyView* theParameters,
                                             const QString& theKey, const QString& theValue,
index 47e81fc7d9e1f14bad4c1dc4eb835655b9a05b79..d63230a88f173744071085ac94bedaec1face6f9 100644 (file)
@@ -71,7 +71,7 @@ public:
   //! \return the table view
   QTableView* TableView() const { return myTableView; }
 
-  //! Retuns model indices of the selected cells in table view
+  //! Returns model indices of the selected cells in table view
   //! \param theSelectedIndices [out] a container of indices: row to list of columns
   Standard_EXPORT void SelectedIndices (QMap<int, QList<int>>& aSelectedIndices) const;
 
index 79714282bb3044e84f9c6639fe2b79aa38fc0835..0255187feb02d053f55e04fdaf25e2c7e8f03c67 100644 (file)
@@ -69,7 +69,7 @@ public:
   //! It returns value only for DisplayRole.
   //! \param theIndex a model index
   //! \param theRole a view role
-  //! \return value intepreted depending on the given role
+  //! \return value interpreted depending on the given role
   Standard_EXPORT virtual QVariant data (const QModelIndex& theIndex, int theRole = Qt::DisplayRole) const Standard_OVERRIDE;
 
   //! Sets the new value of passed role to tree cell.
@@ -83,7 +83,7 @@ public:
   //! \param theSection an index of value in the container 
   //! \param theIndex a model index
   //! \param theRole a view role
-  //! \return value intepreted depending on the given role
+  //! \return value interpreted depending on the given role
   virtual QVariant headerData (int theSection, Qt::Orientation theOrientation, int theRole = Qt::DisplayRole) const Standard_OVERRIDE
   { return myModelValues ? myModelValues->HeaderData (theSection, theOrientation, theRole) : QVariant(); }
 
index 058d008e951945425986707461bd1478b8735356..71e7e58fc87e1e8f0a24f2fb95986404b1758fba 100644 (file)
@@ -31,7 +31,7 @@
 #include <Standard_WarningsRestore.hxx>
 
 //! \class ViewControl_TableModelValues
-//! \brief This is an interace for ViewControl_TableModel to give real values of the model
+//! \brief This is an interface for ViewControl_TableModel to give real values of the model
 //! It should be filled or redefined.
 class ViewControl_TableModelValues
 {
@@ -107,7 +107,7 @@ public:
   //! \param theRow a model index row
   //! \param theColumn a model index column
   //! \param theRole a view role
-  //! \return value intepreted depending on the given role
+  //! \return value interpreted depending on the given role
   Standard_EXPORT virtual QVariant Data (const int theRow, const int theColumn, int theRole = Qt::DisplayRole) const;
 
   //! Sets content of the model index for the given role, it is applied to internal container of values
@@ -123,7 +123,7 @@ public:
   //! \param theSection an index of value in the container 
   //! \param theIndex a model index
   //! \param theRole a view role
-  //! \return value intepreted depending on the given role
+  //! \return value interpreted depending on the given role
   Standard_EXPORT virtual QVariant HeaderData (int theSection, Qt::Orientation theOrientation, int theRole = Qt::DisplayRole) const;
 
   //! Returns flags for the item: ItemIsEnabled | Qt::ItemIsSelectable