]> OCCT Git - occt.git/commitdiff
0031939: Coding - correction of spelling errors in comments [part 11]
authorluz paz <luzpaz@users.noreply.github.com>
Tue, 4 May 2021 10:56:47 +0000 (13:56 +0300)
committerkgv <kgv@opencascade.com>
Mon, 10 May 2021 11:29:40 +0000 (14:29 +0300)
Fix various typos via codespell.

20 files changed:
dox/user_guides/iges/iges.md
dox/user_guides/visualization/visualization.md
samples/ios/UIKitSample/UIKitSample/OcctViewer.h
samples/mfc/standard/Common/ISession2D/ISession2D_Shape.cpp
samples/mfc/standard/Common/User_Cylinder.cxx
src/AIS/AIS_Shape.cxx
src/DNaming/DNaming.cxx
src/DNaming/DNaming.hxx
src/PrsMgr/PrsMgr_PresentableObject.cxx
src/PrsMgr/PrsMgr_Presentation.cxx
src/PrsMgr/PrsMgr_TypeOfPresentation3d.hxx
src/SWDRAW/SWDRAW_ShapeAnalysis.cxx
src/ShapeAnalysis/FILES
src/ShapeAnalysis/ShapeAnalysis_ShapeContents.cxx
src/ShapeAnalysis/ShapeAnalysis_ShapeContents.hxx
src/ShapeAnalysis/ShapeAnalysis_ShapeContents.lxx [deleted file]
src/TopoDS/TopoDS_Builder.cxx
src/XCAFPrs/XCAFPrs_DocumentExplorer.cxx
src/XCAFPrs/XCAFPrs_DocumentExplorer.hxx
tools/DFBrowserPaneXDE/DFBrowserPaneXDE_XCAFDocDatum.cxx

index 07ea44339e38e50cf63017dddf9ef501822e55c5..914cdacbe420176f652453cb952172aba884f6ae 100644 (file)
@@ -329,7 +329,7 @@ faces =  Reader.GiveList(“xst-type(!=SurfaceOfRevolution)”);
   * *iges-visible-transf-roots* -- selects all visible and translatable roots. 
   * *iges-blanked-roots* -- selects all blank roots, whether translatable or not. 
   * *iges-blanked-transf-roots* -- selects all blank and translatable roots. 
-  * *iges-status-independant* -- selects entities whose IGES Subordinate Status = 0. 
+  * *iges-status-independent* -- selects entities whose IGES Subordinate Status = 0.
   * *iges-bypass-group* -- selects all root entities. If a root entity is a group  (402/7 or 402/9), the entities in the group are selected. 
   * *iges-bypass-subfigure* -- selects all root entities. If a root entity is a subfigure  definition (308), the entities in the subfigure definition are selected. 
   * *iges-bypass-group-subfigure* -- selects all root entities. If a root entity is a group  (402/7 or 402/9) or a subfigure definition (308), the entities in the group and  in the subfigure definition are selected. 
index 0b88dc1f87b0da5c2386a0c4cc0328b8c5fe64ea..066340a8b8c8ed7288e3ce979b4803accd826244 100644 (file)
@@ -574,7 +574,7 @@ It is possible to make this declaration in one of two ways:
 
 * Initially by using one of the values of the enumeration *PrsMgr_TypeOfPresentation3d*:
   * *PrsMgr_TOP_AllView*,
-  * *PrsMgr_TOP_ProjectorDependant*
+  * *PrsMgr_TOP_ProjectorDependent*
 
 * Later by using the function *PrsMgr_PresentableObject::SetTypeOfPresentation*
 
index de7baa3ec05163158a801b454f59a9556ea7db7c..57962aa15bfa1cdb7fc282f48528835533f03ff5 100644 (file)
@@ -58,7 +58,7 @@ public:
   const Handle(V3d_View)& ActiveView() const { return myView; }
 
   //! Interactive context.
-  const Handle(AIS_InteractiveContext)& AisContex() const { return myContext; }
+  const Handle(AIS_InteractiveContext)& AisContext() const { return myContext; }
 
   //! Invalidate active viewer.
   void Invalidate()
index 4c1a12426d27b84969e16e09f6431b1e193dde5e..73a0d97c9b23007b853005393d695d2d19fc5611 100755 (executable)
@@ -9,7 +9,7 @@
 IMPLEMENT_STANDARD_RTTIEXT(ISession2D_Shape,AIS_InteractiveObject)
 
 ISession2D_Shape::ISession2D_Shape ()
-    :AIS_InteractiveObject(PrsMgr_TOP_ProjectorDependant)
+    :AIS_InteractiveObject(PrsMgr_TOP_ProjectorDependent)
 {}
 
 void ISession2D_Shape::Add(const TopoDS_Shape& aShape)
index f7ecf73ddac0013d10e33b354c91b30619c47f6e..815b73858f2525d9107f578c96bf968bfb417b73 100755 (executable)
@@ -28,7 +28,7 @@ IMPLEMENT_STANDARD_RTTIEXT(User_Cylinder,AIS_InteractiveObject)
 //
 
 User_Cylinder::User_Cylinder(const Standard_Real R, const Standard_Real H) :
-AIS_InteractiveObject(PrsMgr_TOP_ProjectorDependant)
+AIS_InteractiveObject(PrsMgr_TOP_ProjectorDependent)
 {
   BRepPrimAPI_MakeCylinder S(R,H);
   myShape = S.Shape();
@@ -38,7 +38,7 @@ AIS_InteractiveObject(PrsMgr_TOP_ProjectorDependant)
 }
 
 User_Cylinder::User_Cylinder(const gp_Ax2 CylAx2, const Standard_Real R, const Standard_Real H) :
-AIS_InteractiveObject(PrsMgr_TOP_ProjectorDependant)
+AIS_InteractiveObject(PrsMgr_TOP_ProjectorDependent)
 
 {
   BRepPrimAPI_MakeCylinder S(CylAx2,R,H);
index 385fbdd4c83c21428119427d1bbe2fd569766842..076a8887109083293245d316e9ff26e2627535d3 100644 (file)
@@ -102,7 +102,7 @@ void AIS_Shape::replaceWithNewOwnAspects()
 // Purpose :
 //==================================================
 AIS_Shape::AIS_Shape(const TopoDS_Shape& theShape)
-: AIS_InteractiveObject (PrsMgr_TOP_ProjectorDependant),
+: AIS_InteractiveObject (PrsMgr_TOP_ProjectorDependent),
   myshape (theShape),
   myUVOrigin(0.0, 0.0),
   myUVRepeat(1.0, 1.0),
index b0705f238f317f92b3b4b0b533d361f1151ee543..63b66a71c4cc65084ec8c759c720fda0ac55045c 100644 (file)
@@ -441,8 +441,8 @@ static void LoadFirstLevel(const TopoDS_Shape& S,
   if (S.ShapeType() == TopAbs_COMPOUND || S.ShapeType() == TopAbs_COMPSOLID) {
     TopoDS_Iterator itr(S);
     for (; itr.More(); itr.Next()) {
-      TNaming_Builder bIndependantShapes(Tagger->NewChild());
-      bIndependantShapes.Generated(itr.Value());
+      TNaming_Builder bIndependentShapes(Tagger->NewChild());
+      bIndependentShapes.Generated(itr.Value());
       if (itr.Value().ShapeType() == TopAbs_COMPOUND || itr.Value().ShapeType() == TopAbs_COMPSOLID) {
        LoadFirstLevel(itr.Value(), Tagger);
       } else LoadNextLevels(itr.Value(), Tagger);
index 001b13af86c59f89758a09e58a593c978fe17e68..73edfec3fce6d8298f6b52acb4960acd3b61b23f 100644 (file)
@@ -93,11 +93,11 @@ public:
   
   Standard_EXPORT static Standard_Boolean ComputeSweepDir (const TopoDS_Shape& theShape, gp_Ax1& theAxis);
   
-  Standard_EXPORT static void LoadAndOrientModifiedShapes (BRepBuilderAPI_MakeShape& MakeShape, const TopoDS_Shape& ShapeIn, const TopAbs_ShapeEnum GeneratedFrom, TNaming_Builder& Buider, const TopTools_DataMapOfShapeShape& SubShapesOfResult);
+  Standard_EXPORT static void LoadAndOrientModifiedShapes (BRepBuilderAPI_MakeShape& MakeShape, const TopoDS_Shape& ShapeIn, const TopAbs_ShapeEnum GeneratedFrom, TNaming_Builder& Builder, const TopTools_DataMapOfShapeShape& SubShapesOfResult);
   
-  Standard_EXPORT static void LoadAndOrientGeneratedShapes (BRepBuilderAPI_MakeShape& MakeShape, const TopoDS_Shape& ShapeIn, const TopAbs_ShapeEnum GeneratedFrom, TNaming_Builder& Buider, const TopTools_DataMapOfShapeShape& SubShapesOfResult);
+  Standard_EXPORT static void LoadAndOrientGeneratedShapes (BRepBuilderAPI_MakeShape& MakeShape, const TopoDS_Shape& ShapeIn, const TopAbs_ShapeEnum GeneratedFrom, TNaming_Builder& Builder, const TopTools_DataMapOfShapeShape& SubShapesOfResult);
   
-  Standard_EXPORT static void LoadDeletedShapes (BRepBuilderAPI_MakeShape& MakeShape, const TopoDS_Shape& ShapeIn, const TopAbs_ShapeEnum KindOfDeletedShape, TNaming_Builder& Buider);
+  Standard_EXPORT static void LoadDeletedShapes (BRepBuilderAPI_MakeShape& MakeShape, const TopoDS_Shape& ShapeIn, const TopAbs_ShapeEnum KindOfDeletedShape, TNaming_Builder& Builder);
   
   Standard_EXPORT static void LoadResult (const TDF_Label& theLabel, BRepAlgoAPI_BooleanOperation& MS);
   
index e79d10af2ffb74bd56305faf65eec88edd438d4d..835dadb20c2f35a11faca1e7fbdd4c993838c2f5 100644 (file)
@@ -237,7 +237,7 @@ void PrsMgr_PresentableObject::SetTypeOfPresentation (const PrsMgr_TypeOfPresent
   for (PrsMgr_Presentations::Iterator aPrsIter (myPresentations); aPrsIter.More(); aPrsIter.Next())
   {
     const Handle(PrsMgr_Presentation)& aPrs  = aPrsIter.Value();
-    aPrs->SetVisual (myTypeOfPresentation3d == PrsMgr_TOP_ProjectorDependant
+    aPrs->SetVisual (myTypeOfPresentation3d == PrsMgr_TOP_ProjectorDependent
                    ? Graphic3d_TOS_COMPUTED
                    : Graphic3d_TOS_ALL);
   }
index 6ca7cd5dcbd219e631c46a4549281140b5f432a7..481f0f0f79e7cac4a6b48fae4b65369e23a3b01b 100644 (file)
@@ -55,7 +55,7 @@ PrsMgr_Presentation::PrsMgr_Presentation (const Handle(PrsMgr_PresentationManage
   myMode                 (theMode),
   myMustBeUpdated        (Standard_False)
 {
-  if (thePrsObject->TypeOfPresentation3d() == PrsMgr_TOP_ProjectorDependant)
+  if (thePrsObject->TypeOfPresentation3d() == PrsMgr_TOP_ProjectorDependent)
   {
     SetVisual (Graphic3d_TOS_COMPUTED);
   }
index c9e94f2db187a3953efe9e400f22fe619eb5f472..d1643c440b948c179358a6dea0612feb9ddced4b 100644 (file)
 #ifndef _PrsMgr_TypeOfPresentation3d_HeaderFile
 #define _PrsMgr_TypeOfPresentation3d_HeaderFile
 
-//! To declare the type of presentation as follows
-//! -   AllView for display involving no recalculation for
-//! new projectors (points of view)in hidden line removal mode
-//! -   ProjectorDependant for display in hidden line
-//! removal mode, where every new point of view
-//! entails recalculation of the display.
+#include <Standard_Macro.hxx>
+
+//! The type of presentation.
 enum PrsMgr_TypeOfPresentation3d
 {
-PrsMgr_TOP_AllView,
-PrsMgr_TOP_ProjectorDependant
+  //! Presentation display involves no recalculation for new projectors (points of view) in hidden line removal mode.
+  PrsMgr_TOP_AllView,
+  //! Every new point of view entails recalculation of the display in hidden line removal mode.
+  PrsMgr_TOP_ProjectorDependent
 };
 
+Standard_DEPRECATED("PrsMgr_TOP_ProjectorDependent should be used instead")
+const PrsMgr_TypeOfPresentation3d PrsMgr_TOP_ProjectorDependant = PrsMgr_TOP_ProjectorDependent;
+
 #endif // _PrsMgr_TypeOfPresentation3d_HeaderFile
index a0db2bfc86cad9d48b1ed788e1f455d8a35b5bfb..eb267bbad30d5bb2f06d5b2c39c37c3cd9ea10d0 100644 (file)
@@ -469,7 +469,7 @@ static Standard_Integer XSHAPE_statshape(Draw_Interpretor& di, Standard_Integer
   if(argc > 3) {
     analyzer.ModifyBigSplineMode()=(strstr("bigspl",arg3)!=NULL);
     analyzer.ModifyIndirectMode()=(strstr("indsur",arg3)!=NULL);
-    analyzer.ModifyOffestSurfaceMode()=(strstr("ofsur",arg3)!=NULL);
+    analyzer.ModifyOffsetSurfaceMode()=(strstr("ofsur",arg3)!=NULL);
     analyzer.ModifyTrimmed3dMode()=(strstr("trc3d",arg3)!=NULL);
     analyzer.ModifyOffsetCurveMode()=(strstr("ofcur",arg3)!=NULL);
     analyzer.ModifyTrimmed2dMode()=(strstr("trc2d",arg3)!=NULL);
@@ -549,7 +549,7 @@ static Standard_Integer XSHAPE_statshape(Draw_Interpretor& di, Standard_Integer
       DBRep::Set (nompart,sec->Value(i));
     }
   }
-  if(analyzer.ModifyOffestSurfaceMode()) {
+  if(analyzer.ModifyOffsetSurfaceMode()) {
     sec = analyzer.OffsetSurfaceSec();
     for(Standard_Integer i = 1; i <= sec->Length(); i++) {
       Sprintf(nompart,"%s_ofsur_%d",arg2,i);
index 1c2659f379b24262beda707a1907bc8034d6fdf3..50a8c769d33c9e863a475da00ca7ca78c981a37b 100755 (executable)
@@ -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
index 9f4199bcd4ffab5f5878745af7075c5d46c8c484..7ddca39d350dcfe30c3381d0493f00ec25b18678 100644 (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++;
index f4d63fb9b9572eb01c5f9cd8456fb68b23b561d8..25778f4df1de81cd4ffd6f305f705aa81565bc7d 100644 (file)
@@ -47,121 +47,113 @@ 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();
-  
-  //! Returns (modifiable) the flag which defines whether to store faces
-  //! on indirect surfaces
-    Standard_Boolean& ModifyIndirectMode();
-  
-  //! Returns (modifiable) the flag which defines whether to store faces
-  //! on offset surfaces.
-    Standard_Boolean& ModifyOffestSurfaceMode();
-  
+  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
-  //! with edges if ist 3D curves are trimmed curves
-    Standard_Boolean& ModifyTrimmed3dMode();
-  
+  //! with edges if its 3D curves are trimmed curves
+  Standard_Boolean& ModifyTrimmed3dMode() { return myTrimmed3dMode; }
+
   //! 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; }
 
-private:
+  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;
@@ -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
diff --git a/src/ShapeAnalysis/ShapeAnalysis_ShapeContents.lxx b/src/ShapeAnalysis/ShapeAnalysis_ShapeContents.lxx
deleted file mode 100644 (file)
index 5a91a6e..0000000
+++ /dev/null
@@ -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;
-}
index 66a722132e3023d167007a1ea2efcf33d871c203..b27b941ed0d17a2ecc38ef17573fa5131a64445a 100644 (file)
@@ -115,7 +115,7 @@ void TopoDS_Builder::Add (TopoDS_Shape& aShape,
     }
   }
   else {
-    throw TopoDS_FrozenShape("TopoDS_Buider::Add");
+    throw TopoDS_FrozenShape("TopoDS_Builder::Add");
   }
 }
 
index 869a8a05387188f8b9cfbb170e0f3146de947882..8c3596b13faebdfeb55df0a85a7b9aae0083184f 100644 (file)
@@ -298,10 +298,10 @@ void XCAFPrs_DocumentExplorer::initRoot()
 // function : initCurrent
 // purpose  :
 // =======================================================================
-void XCAFPrs_DocumentExplorer::initCurrent (Standard_Boolean theIsAssmebly)
+void XCAFPrs_DocumentExplorer::initCurrent (Standard_Boolean theIsAssembly)
 {
   myCurrent = XCAFPrs_DocumentNode();
-  if (theIsAssmebly)
+  if (theIsAssembly)
   {
     if (myTop < 0)
     {
index e2a1d3e8f7832f7dee37578a65f197e3575cb490..fca18f4dd166c639d707ce31a6ae79e3953cb9a1 100644 (file)
@@ -161,7 +161,7 @@ protected:
   Standard_EXPORT void initRoot();
 
   //! Initialize properties for a current label.
-  Standard_EXPORT void initCurrent (Standard_Boolean theIsAssmebly);
+  Standard_EXPORT void initCurrent (Standard_Boolean theIsAssembly);
 
 protected:
 
index a418c9f1362e49a1088204897e761fd3dada8c2e..9eb4009d56ca4800b8a5ae27b282dfae152086d4 100644 (file)
@@ -41,11 +41,11 @@ void DFBrowserPaneXDE_XCAFDocDatum::GetValues (const Handle(TDF_Attribute)& theA
 
   Handle(TCollection_HAsciiString) aName = anAttr->GetName();
   Handle(TCollection_HAsciiString) aDescription = anAttr->GetDescription();
-  Handle(TCollection_HAsciiString) anIndentification = anAttr->GetIdentification();
+  Handle(TCollection_HAsciiString) anIdentification = anAttr->GetIdentification();
 
   theValues << "Name" << (!aName.IsNull() ? aName->ToCString() : QString (""))
             << "Description" << (!aDescription.IsNull() ? aDescription->ToCString() : QString (""))
-            << "Identification" << (!anIndentification.IsNull() ? anIndentification->ToCString() : QString (""));
+            << "Identification" << (!anIdentification.IsNull() ? anIdentification->ToCString() : QString (""));
 
   Handle(XCAFDimTolObjects_DatumObject) anObject = anAttr->GetObject();
   Handle(TCollection_HAsciiString) anObjectName;