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

0033778: Documentation - Fix various typos found in codebase

This commit is contained in:
luzpaz
2024-07-26 03:51:12 -04:00
committed by GitHub
parent 9fcfec881c
commit 245febe036
62 changed files with 124 additions and 124 deletions

View File

@@ -20,8 +20,8 @@
#include <gp_XYZ.hxx>
/**
* Inplementation of the Box node.
* This node is defined by Size vector, assumong that the box center is located
* Implementation of the Box node.
* This node is defined by Size vector, assuming that the box center is located
* in (0., 0., 0.) and that each corner is 0.5*|Size| distance from the center.
*/
class VrmlData_Box : public VrmlData_Geometry

View File

@@ -630,7 +630,7 @@ VrmlData_ErrorStatus VrmlData_ArrayVec3d::ReadArray
if (OK(aStatus) && OK(aStatus, VrmlData_Scene::ReadLine(theBuffer))) {
if (theBuffer.LinePtr[0] != '[') // opening bracket
{
// Handle case when brackets are ommited for single element of array
// Handle case when brackets are omitted for single element of array
gp_XYZ anXYZ;
// Read three numbers (XYZ value)
if (!OK(aStatus, Scene().ReadXYZ(theBuffer, anXYZ,

View File

@@ -871,7 +871,7 @@ VrmlData_ErrorStatus VrmlData_Scene::ReadArrIndex
if (vecInt.Length() > 2)
{
// additional check for redundant point:
// ignore last point which is a dublicate of first point
// ignore last point which is a duplicate of first point
if (anIntValue == vecInt[0])
{
continue;

View File

@@ -68,7 +68,7 @@ class VrmlData_Scene
* in that node are matched with these directories.
* The last (implicit) search directory is the current process directory
* ("."). It takes effect if the list is empty or if there is no match with
* exisiting directories.
* existing directories.
*/
Standard_EXPORT void SetVrmlDir (const TCollection_ExtendedString&);
@@ -205,7 +205,7 @@ class VrmlData_Scene
ReadLine (VrmlData_InBuffer& theBuffer);
/**
* Read a singel word from the input stream, delimited by whitespace.
* Read a single word from the input stream, delimited by whitespace.
*/
Standard_EXPORT static VrmlData_ErrorStatus
ReadWord (VrmlData_InBuffer& theBuffer,

View File

@@ -49,7 +49,7 @@ class VrmlData_Sphere : public VrmlData_Geometry
inline Standard_Real Radius () const { return myRadius; }
/**
* Set the spere radius
* Set the sphere radius
*/
inline void SetRadius (const Standard_Real theRadius)
{ myRadius = theRadius; SetModified(); }