1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-09 13:22:24 +03:00

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

Fix various typos via codespell.
This commit is contained in:
luz paz
2021-05-04 13:56:47 +03:00
committed by kgv
parent 43d09575e1
commit 2641792e45
20 changed files with 126 additions and 602 deletions

View File

@@ -26,7 +26,6 @@ ShapeAnalysis_HSequenceOfFreeBounds.hxx
ShapeAnalysis_SequenceOfFreeBounds.hxx
ShapeAnalysis_ShapeContents.cxx
ShapeAnalysis_ShapeContents.hxx
ShapeAnalysis_ShapeContents.lxx
ShapeAnalysis_ShapeTolerance.cxx
ShapeAnalysis_ShapeTolerance.hxx
ShapeAnalysis_Shell.cxx

View File

@@ -104,7 +104,7 @@ void ShapeAnalysis_ShapeContents::ClearFlags()
{
myBigSplineMode = Standard_False;
myIndirectMode = Standard_False;
myOffestSurfaceMode = Standard_False;
myOffsetSurfaceMode = Standard_False;
myTrimmed3dMode = Standard_False;
myOffsetCurveMode = Standard_False;
myTrimmed2dMode = Standard_False;
@@ -189,7 +189,7 @@ void ShapeAnalysis_ShapeContents::Perform(const TopoDS_Shape& Shape)
}
if (surf->IsKind(STANDARD_TYPE(Geom_OffsetSurface))) {
myNbOffsetSurf++;
if (myOffestSurfaceMode) myOffsetSurfaceSec->Append(face);
if (myOffsetSurfaceMode) myOffsetSurfaceSec->Append(face);
}
else if (surf->IsKind(STANDARD_TYPE(Geom_BezierSurface))) {
myNbBezierSurf++;

View File

@@ -47,122 +47,114 @@ public:
//! Counts quantities of sun-shapes in shape and
//! stores sub-shapes according to flags
Standard_EXPORT void Perform (const TopoDS_Shape& shape);
//! Returns (modifiable) the flag which defines whether to store faces
//! with edges if its 3D curves has more than 8192 poles.
Standard_Boolean& ModifyBigSplineMode();
Standard_Boolean& ModifyBigSplineMode() { return myBigSplineMode; }
//! Returns (modifiable) the flag which defines whether to store faces on indirect surfaces.
Standard_Boolean& ModifyIndirectMode() { return myIndirectMode; }
//! Returns (modifiable) the flag which defines whether to store faces on offset surfaces.
Standard_Boolean& ModifyOffsetSurfaceMode() { return myOffsetSurfaceMode; }
//! Returns (modifiable) the flag which defines whether to store faces
//! on indirect surfaces
Standard_Boolean& ModifyIndirectMode();
//! with edges if its 3D curves are trimmed curves
Standard_Boolean& ModifyTrimmed3dMode() { return myTrimmed3dMode; }
//! Returns (modifiable) the flag which defines whether to store faces
//! on offset surfaces.
Standard_Boolean& ModifyOffestSurfaceMode();
//! Returns (modifiable) the flag which defines whether to store faces
//! with edges if ist 3D curves are trimmed curves
Standard_Boolean& ModifyTrimmed3dMode();
//! Returns (modifiable) the flag which defines whether to store faces
//! with edges if its 3D curves and pcurves are offest curves
Standard_Boolean& ModifyOffsetCurveMode();
//! with edges if its 3D curves and pcurves are offset curves
Standard_Boolean& ModifyOffsetCurveMode() { return myOffsetCurveMode; }
//! Returns (modifiable) the flag which defines whether to store faces
//! with edges if its pcurves are trimmed curves
Standard_Boolean& ModifyTrimmed2dMode();
Standard_Integer NbSolids() const;
Standard_Integer NbShells() const;
Standard_Integer NbFaces() const;
Standard_Integer NbWires() const;
Standard_Integer NbEdges() const;
Standard_Integer NbVertices() const;
Standard_Integer NbSolidsWithVoids() const;
Standard_Integer NbBigSplines() const;
Standard_Integer NbC0Surfaces() const;
Standard_Integer NbC0Curves() const;
Standard_Integer NbOffsetSurf() const;
Standard_Integer NbIndirectSurf() const;
Standard_Integer NbOffsetCurves() const;
Standard_Integer NbTrimmedCurve2d() const;
Standard_Integer NbTrimmedCurve3d() const;
Standard_Integer NbBSplibeSurf() const;
Standard_Integer NbBezierSurf() const;
Standard_Integer NbTrimSurf() const;
Standard_Integer NbWireWitnSeam() const;
Standard_Integer NbWireWithSevSeams() const;
Standard_Integer NbFaceWithSevWires() const;
Standard_Integer NbNoPCurve() const;
Standard_Integer NbFreeFaces() const;
Standard_Integer NbFreeWires() const;
Standard_Integer NbFreeEdges() const;
Standard_Integer NbSharedSolids() const;
Standard_Integer NbSharedShells() const;
Standard_Integer NbSharedFaces() const;
Standard_Integer NbSharedWires() const;
Standard_Integer NbSharedFreeWires() const;
Standard_Integer NbSharedFreeEdges() const;
Standard_Integer NbSharedEdges() const;
Standard_Integer NbSharedVertices() const;
Handle(TopTools_HSequenceOfShape) BigSplineSec() const;
Handle(TopTools_HSequenceOfShape) IndirectSec() const;
Handle(TopTools_HSequenceOfShape) OffsetSurfaceSec() const;
Handle(TopTools_HSequenceOfShape) Trimmed3dSec() const;
Handle(TopTools_HSequenceOfShape) OffsetCurveSec() const;
Handle(TopTools_HSequenceOfShape) Trimmed2dSec() const;
Standard_Boolean& ModifyTrimmed2dMode() { return myTrimmed2dMode; }
Standard_Integer NbSolids() const { return myNbSolids; }
Standard_Integer NbShells() const { return myNbShells; }
Standard_Integer NbFaces() const { return myNbFaces; }
protected:
Standard_Integer NbWires() const { return myNbWires; }
Standard_Integer NbEdges() const { return myNbEdges; }
Standard_Integer NbVertices() const { return myNbVertices; }
Standard_Integer NbSolidsWithVoids() const { return myNbSolidsWithVoids; }
Standard_Integer NbBigSplines() const { return myNbBigSplines; }
Standard_Integer NbC0Surfaces() const { return myNbC0Surfaces; }
Standard_Integer NbC0Curves() const { return myNbC0Curves; }
Standard_Integer NbOffsetSurf() const { return myNbOffsetSurf; }
Standard_Integer NbIndirectSurf() const { return myNbIndirectSurf; }
Standard_Integer NbOffsetCurves() const { return myNbOffsetCurves; }
Standard_Integer NbTrimmedCurve2d() const { return myNbTrimmedCurve2d; }
Standard_Integer NbTrimmedCurve3d() const { return myNbTrimmedCurve3d; }
Standard_Integer NbBSplibeSurf() const { return myNbBSplibeSurf; }
Standard_Integer NbBezierSurf() const { return myNbBezierSurf; }
Standard_Integer NbTrimSurf() const { return myNbTrimSurf; }
Standard_Integer NbWireWitnSeam() const { return myNbWireWitnSeam; }
Standard_Integer NbWireWithSevSeams() const { return myNbWireWithSevSeams; }
Standard_Integer NbFaceWithSevWires() const { return myNbFaceWithSevWires; }
Standard_Integer NbNoPCurve() const { return myNbNoPCurve; }
Standard_Integer NbFreeFaces() const { return myNbFreeFaces; }
Standard_Integer NbFreeWires() const { return myNbFreeWires; }
Standard_Integer NbFreeEdges() const { return myNbFreeEdges; }
Standard_Integer NbSharedSolids() const { return myNbSharedSolids; }
Standard_Integer NbSharedShells() const { return myNbSharedShells; }
Standard_Integer NbSharedFaces() const { return myNbSharedFaces; }
Standard_Integer NbSharedWires() const { return myNbSharedWires; }
Standard_Integer NbSharedFreeWires() const { return myNbSharedFreeWires; }
Standard_Integer NbSharedFreeEdges() const { return myNbSharedFreeEdges; }
Standard_Integer NbSharedEdges() const { return myNbSharedEdges; }
Standard_Integer NbSharedVertices() const { return myNbSharedVertices; }
const Handle(TopTools_HSequenceOfShape)& BigSplineSec() const { return myBigSplineSec; }
const Handle(TopTools_HSequenceOfShape)& IndirectSec() const { return myIndirectSec; }
const Handle(TopTools_HSequenceOfShape)& OffsetSurfaceSec() const { return myOffsetSurfaceSec; }
const Handle(TopTools_HSequenceOfShape)& Trimmed3dSec() const { return myTrimmed3dSec; }
const Handle(TopTools_HSequenceOfShape)& OffsetCurveSec() const { return myOffsetCurveSec; }
const Handle(TopTools_HSequenceOfShape)& Trimmed2dSec() const { return myTrimmed2dSec; }
public:
Standard_DEPRECATED("ModifyOffsetSurfaceMode() should be used instead")
Standard_Boolean& ModifyOffestSurfaceMode() { return myOffsetSurfaceMode; }
private:
Standard_Integer myNbSolids;
Standard_Integer myNbShells;
Standard_Integer myNbFaces;
@@ -198,7 +190,7 @@ private:
Standard_Integer myNbSharedVertices;
Standard_Boolean myBigSplineMode;
Standard_Boolean myIndirectMode;
Standard_Boolean myOffestSurfaceMode;
Standard_Boolean myOffsetSurfaceMode;
Standard_Boolean myTrimmed3dMode;
Standard_Boolean myOffsetCurveMode;
Standard_Boolean myTrimmed2dMode;
@@ -209,14 +201,6 @@ private:
Handle(TopTools_HSequenceOfShape) myOffsetCurveSec;
Handle(TopTools_HSequenceOfShape) myTrimmed2dSec;
};
#include <ShapeAnalysis_ShapeContents.lxx>
#endif // _ShapeAnalysis_ShapeContents_HeaderFile

View File

@@ -1,461 +0,0 @@
// Created on: 1999-03-01
// Created by: Pavel DURANDIN
// Copyright (c) 1999-1999 Matra Datavision
// Copyright (c) 1999-2014 OPEN CASCADE SAS
//
// This file is part of Open CASCADE Technology software library.
//
// This library is free software; you can redistribute it and/or modify it under
// the terms of the GNU Lesser General Public License version 2.1 as published
// by the Free Software Foundation, with special exception defined in the file
// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
// distribution for complete text of the license and disclaimer of any warranty.
//
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
//=======================================================================
//function : NbSolids
//purpose :
//=======================================================================
inline Standard_Integer ShapeAnalysis_ShapeContents::NbSolids() const
{
return myNbSolids;
}
//=======================================================================
//function : NbShells
//purpose :
//=======================================================================
inline Standard_Integer ShapeAnalysis_ShapeContents::NbShells() const
{
return myNbShells;
}
//=======================================================================
//function : NbFaces
//purpose :
//=======================================================================
inline Standard_Integer ShapeAnalysis_ShapeContents::NbFaces() const
{
return myNbFaces;
}
//=======================================================================
//function : NbWires
//purpose :
//=======================================================================
inline Standard_Integer ShapeAnalysis_ShapeContents::NbWires() const
{
return myNbWires;
}
//=======================================================================
//function : NbEdges
//purpose :
//=======================================================================
inline Standard_Integer ShapeAnalysis_ShapeContents::NbEdges() const
{
return myNbEdges;
}
//=======================================================================
//function : NbVertices
//purpose :
//=======================================================================
inline Standard_Integer ShapeAnalysis_ShapeContents::NbVertices() const
{
return myNbVertices;
}
//=======================================================================
//function : NbSolidsWithVoids
//purpose :
//=======================================================================
inline Standard_Integer ShapeAnalysis_ShapeContents::NbSolidsWithVoids() const
{
return myNbSolidsWithVoids;
}
//=======================================================================
//function : NbBigSplines
//purpose :
//=======================================================================
inline Standard_Integer ShapeAnalysis_ShapeContents::NbBigSplines() const
{
return myNbBigSplines;
}
//=======================================================================
//function : NbC0Surfaces
//purpose :
//=======================================================================
inline Standard_Integer ShapeAnalysis_ShapeContents::NbC0Surfaces() const
{
return myNbC0Surfaces;
}
//=======================================================================
//function :
//purpose :
//=======================================================================
inline Standard_Integer ShapeAnalysis_ShapeContents::NbC0Curves() const
{
return myNbC0Curves;
}
//=======================================================================
//function : NbOffsetSurf
//purpose :
//=======================================================================
inline Standard_Integer ShapeAnalysis_ShapeContents::NbOffsetSurf() const
{
return myNbOffsetSurf;
}
//=======================================================================
//function : NbIndirectSurf
//purpose :
//=======================================================================
inline Standard_Integer ShapeAnalysis_ShapeContents::NbIndirectSurf() const
{
return myNbIndirectSurf;
}
//=======================================================================
//function : NbOffsetCurves
//purpose :
//=======================================================================
inline Standard_Integer ShapeAnalysis_ShapeContents::NbOffsetCurves() const
{
return myNbOffsetCurves;
}
//=======================================================================
//function : NbTrimmedCurve2d
//purpose :
//=======================================================================
inline Standard_Integer ShapeAnalysis_ShapeContents::NbTrimmedCurve2d() const
{
return myNbTrimmedCurve2d;
}
//=======================================================================
//function :
//purpose :
//=======================================================================
inline Standard_Integer ShapeAnalysis_ShapeContents::NbTrimmedCurve3d() const
{
return myNbTrimmedCurve3d;
}
//=======================================================================
//function : NbBSplibeSurf
//purpose :
//=======================================================================
inline Standard_Integer ShapeAnalysis_ShapeContents::NbBSplibeSurf() const
{
return myNbBSplibeSurf;
}
//=======================================================================
//function : NbBezierSurf
//purpose :
//=======================================================================
inline Standard_Integer ShapeAnalysis_ShapeContents::NbBezierSurf() const
{
return myNbBezierSurf;
}
//=======================================================================
//function : NbTrimSurf
//purpose :
//=======================================================================
inline Standard_Integer ShapeAnalysis_ShapeContents::NbTrimSurf() const
{
return myNbTrimSurf;
}
//=======================================================================
//function : NbWireWitnSeam
//purpose :
//=======================================================================
inline Standard_Integer ShapeAnalysis_ShapeContents::NbWireWitnSeam() const
{
return myNbWireWitnSeam;
}
//=======================================================================
//function :NbWireWithSevSeams
//purpose :
//=======================================================================
inline Standard_Integer ShapeAnalysis_ShapeContents::NbWireWithSevSeams() const
{
return myNbWireWithSevSeams;
}
//=======================================================================
//function : NbFaceWithSevWires
//purpose :
//=======================================================================
inline Standard_Integer ShapeAnalysis_ShapeContents::NbFaceWithSevWires() const
{
return myNbFaceWithSevWires;
}
//=======================================================================
//function : NbNoPCurve
//purpose :
//=======================================================================
inline Standard_Integer ShapeAnalysis_ShapeContents::NbNoPCurve() const
{
return myNbNoPCurve;
}
//=======================================================================
//function : NbFreeFaces
//purpose :
//=======================================================================
inline Standard_Integer ShapeAnalysis_ShapeContents::NbFreeFaces() const
{
return myNbFreeFaces;
}
//=======================================================================
//function : NbFreeWires
//purpose :
//=======================================================================
inline Standard_Integer ShapeAnalysis_ShapeContents::NbFreeWires() const
{
return myNbFreeWires;
}
//=======================================================================
//function : NbFreeEdges
//purpose :
//=======================================================================
inline Standard_Integer ShapeAnalysis_ShapeContents::NbFreeEdges() const
{
return myNbFreeEdges;
}
//=======================================================================
//function : NbSharedSolids
//purpose :
//=======================================================================
inline Standard_Integer ShapeAnalysis_ShapeContents::NbSharedSolids() const
{
return myNbSharedSolids;
}
//=======================================================================
//function : NbSharedShells
//purpose :
//=======================================================================
inline Standard_Integer ShapeAnalysis_ShapeContents::NbSharedShells() const
{
return myNbSharedShells;
}
//=======================================================================
//function : NbSharedFaces
//purpose :
//=======================================================================
inline Standard_Integer ShapeAnalysis_ShapeContents::NbSharedFaces() const
{
return myNbSharedFaces;
}
//=======================================================================
//function : NbSharedWires
//purpose :
//=======================================================================
inline Standard_Integer ShapeAnalysis_ShapeContents::NbSharedWires() const
{
return myNbSharedWires;
}
inline Standard_Integer ShapeAnalysis_ShapeContents::NbSharedFreeWires() const
{
return myNbSharedFreeWires;
}
//=======================================================================
//function : NbSharedFreeEdges
//purpose :
//=======================================================================
inline Standard_Integer ShapeAnalysis_ShapeContents::NbSharedFreeEdges() const
{
return myNbSharedFreeEdges;
}
//=======================================================================
//function : NbSharedEdges
//purpose :
//=======================================================================
inline Standard_Integer ShapeAnalysis_ShapeContents::NbSharedEdges() const
{
return myNbSharedEdges;
}
//=======================================================================
//function : NbSharedVertices
//purpose :
//=======================================================================
inline Standard_Integer ShapeAnalysis_ShapeContents::NbSharedVertices() const
{
return myNbSharedVertices;
}
//=======================================================================
//function : BigSplineSec
//purpose :
//=======================================================================
inline Handle(TopTools_HSequenceOfShape) ShapeAnalysis_ShapeContents::BigSplineSec() const
{
return myBigSplineSec;
}
//=======================================================================
//function : IndirectSec
//purpose :
//=======================================================================
inline Handle(TopTools_HSequenceOfShape) ShapeAnalysis_ShapeContents::IndirectSec() const
{
return myIndirectSec;
}
//=======================================================================
//function : OffsetSurfaceSec
//purpose :
//=======================================================================
inline Handle(TopTools_HSequenceOfShape) ShapeAnalysis_ShapeContents::OffsetSurfaceSec() const
{
return myOffsetSurfaceSec;
}
//=======================================================================
//function : Trimmed3dSec
//purpose :
//=======================================================================
inline Handle(TopTools_HSequenceOfShape) ShapeAnalysis_ShapeContents::Trimmed3dSec() const
{
return myTrimmed3dSec;
}
//=======================================================================
//function : OffsetCurveSec
//purpose :
//=======================================================================
inline Handle(TopTools_HSequenceOfShape) ShapeAnalysis_ShapeContents::OffsetCurveSec() const
{
return myOffsetCurveSec;
}
//=======================================================================
//function : Trimmed2dSec
//purpose :
//=======================================================================
inline Handle(TopTools_HSequenceOfShape) ShapeAnalysis_ShapeContents::Trimmed2dSec() const
{
return myTrimmed2dSec;
}
//=======================================================================
//function : ModifyBigSplineMode
//purpose :
//=======================================================================
inline Standard_Boolean& ShapeAnalysis_ShapeContents::ModifyBigSplineMode()
{
return myBigSplineMode;
}
//=======================================================================
//function : ModifyIndirectMode
//purpose :
//=======================================================================
inline Standard_Boolean& ShapeAnalysis_ShapeContents::ModifyIndirectMode()
{
return myIndirectMode;
}
//=======================================================================
//function : ModifyOffestSurfaceMode
//purpose :
//=======================================================================
inline Standard_Boolean& ShapeAnalysis_ShapeContents::ModifyOffestSurfaceMode()
{
return myOffestSurfaceMode;
}
//=======================================================================
//function : ModifyTrimmed3dMode
//purpose :
//=======================================================================
inline Standard_Boolean& ShapeAnalysis_ShapeContents::ModifyTrimmed3dMode()
{
return myTrimmed3dMode;
}
//=======================================================================
//function : ModifyOffsetCurveMode
//purpose :
//=======================================================================
inline Standard_Boolean& ShapeAnalysis_ShapeContents::ModifyOffsetCurveMode()
{
return myOffsetCurveMode;
}
//=======================================================================
//function : ModifyTrimmed2dMode
//purpose :
//=======================================================================
inline Standard_Boolean& ShapeAnalysis_ShapeContents::ModifyTrimmed2dMode()
{
return myTrimmed2dMode;
}