]> OCCT Git - occt.git/commitdiff
0031939: Coding - correction of spelling errors in comments [part 10]
authorluz paz <luzpaz@users.noreply.github.com>
Mon, 19 Apr 2021 08:42:46 +0000 (11:42 +0300)
committerbugmaster <bugmaster@opencascade.com>
Thu, 22 Apr 2021 11:50:47 +0000 (14:50 +0300)
Fix various typos via codespell.

339 files changed:
dox/samples/ocaf_func.md
dox/user_guides/draw_test_harness/draw_test_harness.md
dox/user_guides/ocaf/ocaf.md
samples/OCCTOverview/code/Viewer2d.xml
src/AIS/AIS_InteractiveObject.hxx
src/AIS/AIS_Manipulator.hxx
src/AIS/AIS_PointCloud.hxx
src/AIS/AIS_RubberBand.hxx
src/Adaptor3d/Adaptor3d_CurveOnSurface.cxx
src/AdvApprox/AdvApprox_ApproxAFunction.cxx
src/AppCont/AppCont_Function.hxx
src/Approx/Approx_ComputeCLine.gxx
src/Approx/Approx_CurvilinearParameter.hxx
src/ApproxInt/ApproxInt_KnotTools.cxx
src/ApproxInt/ApproxInt_KnotTools.hxx
src/Aspect/Aspect_Display.hxx
src/Aspect/Aspect_Drawable.hxx
src/Aspect/Aspect_Handle.hxx
src/Aspect/Aspect_RenderingContext.hxx
src/BOPTest/BOPTest_OptionCommands.cxx
src/BOPTools/BOPTools_AlgoTools2D.hxx
src/BRepAlgo/BRepAlgo.hxx
src/BRepAlgo/BRepAlgo_AsDes.hxx
src/BRepBuilderAPI/BRepBuilderAPI_FastSewing.hxx
src/BRepBuilderAPI/BRepBuilderAPI_Sewing.hxx
src/BRepCheck/BRepCheck_Face.cxx
src/BRepExtrema/BRepExtrema_DistShapeShape.hxx
src/BRepFill/BRepFill_ApproxSeewing.hxx
src/BRepFill/BRepFill_PipeShell.hxx
src/BRepGProp/BRepGProp.hxx
src/BRepGProp/BRepGProp_Face.cxx
src/BRepGProp/BRepGProp_Vinert.hxx
src/BRepTools/BRepTools_Modifier.cxx
src/BRepTools/BRepTools_ReShape.hxx
src/BRepTools/BRepTools_Substitution.cxx
src/BSplCLib/BSplCLib.hxx
src/Bisector/Bisector_Bisec.hxx
src/Bisector/Bisector_Inter.cxx
src/CDF/CDF_Application.hxx
src/ChFi3d/ChFi3d_Builder_6.cxx
src/FairCurve/FairCurve_MinimalVariation.cxx
src/GCE2d/GCE2d_MakeTranslation.cxx
src/Geom/Geom_ConicalSurface.hxx
src/Geom/Geom_CylindricalSurface.hxx
src/Geom/Geom_OffsetSurface.hxx
src/Geom/Geom_Plane.hxx
src/Geom/Geom_RectangularTrimmedSurface.hxx
src/Geom/Geom_Surface.hxx
src/Geom/Geom_SurfaceOfLinearExtrusion.hxx
src/Geom/Geom_SurfaceOfRevolution.hxx
src/GeomFill/GeomFill_SweepFunction.hxx
src/GeomLib/GeomLib_CheckCurveOnSurface.hxx
src/GeomPlate/GeomPlate_Surface.hxx
src/HLRBRep/HLRBRep_ThePolygon2dOfTheIntPCurvePCurveOfCInter.hxx
src/HLRBRep/HLRBRep_VertexList.hxx
src/NCollection/NCollection_Array2.hxx
src/NCollection/NCollection_CellFilter.hxx
src/NCollection/NCollection_DefineArray1.hxx
src/NCollection/NCollection_DefineArray2.hxx
src/NCollection/NCollection_DefineMap.hxx
src/NCollection/NCollection_IncAllocator.hxx
src/NCollection/NCollection_Map.hxx
src/NCollection/NCollection_UBTree.hxx
src/NCollection/NCollection_UtfIterator.hxx
src/NCollection/NCollection_UtfString.hxx
src/NCollection/NCollection_UtfString.lxx
src/NCollection/NCollection_Vec2.hxx
src/NCollection/NCollection_Vec3.hxx
src/PCDM/PCDM_StorageDriver.hxx
src/PLib/PLib.cxx
src/PLib/PLib.hxx
src/PLib/PLib_HermitJacobi.hxx
src/PLib/PLib_JacobiPolynomial.hxx
src/Poly/Poly_CoherentTriangle.hxx
src/Poly/Poly_CoherentTriangulation.hxx
src/Poly/Poly_MakeLoops.cxx
src/Poly/Poly_MakeLoops.hxx
src/Poly/Poly_Polygon3D.hxx
src/ProjLib/ProjLib_CompProjectedCurve.cxx
src/ProjLib/ProjLib_ComputeApprox.hxx
src/ProjLib/ProjLib_ComputeApproxOnPolarSurface.cxx
src/ProjLib/ProjLib_ComputeApproxOnPolarSurface.hxx
src/ProjLib/ProjLib_PrjResolve.hxx
src/ProjLib/ProjLib_ProjectOnPlane.hxx
src/ProjLib/ProjLib_ProjectOnSurface.hxx
src/ProjLib/ProjLib_ProjectedCurve.hxx
src/Prs3d/Prs3d_DimensionUnits.hxx
src/Prs3d/Prs3d_Drawer.hxx
src/PrsDim/PrsDim_AngleDimension.cxx
src/PrsDim/PrsDim_DiameterDimension.hxx
src/PrsDim/PrsDim_Dimension.hxx
src/PrsDim/PrsDim_EqualDistanceRelation.cxx
src/PrsDim/PrsDim_IdenticRelation.cxx
src/PrsDim/PrsDim_LengthDimension.hxx
src/PrsDim/PrsDim_RadiusDimension.hxx
src/PrsDim/PrsDim_Relation.hxx
src/QABugs/QABugs_10.cxx
src/QABugs/QABugs_11.cxx
src/QABugs/QABugs_14.cxx
src/QABugs/QABugs_19.cxx
src/QABugs/QABugs_2.cxx
src/QABugs/QABugs_20.cxx
src/QABugs/QABugs_3.cxx
src/QADNaming/QADNaming_BasicCommands.cxx
src/Quantity/Quantity_Date.hxx
src/RWStepBasic/RWStepBasic_RWConversionBasedUnitAndAreaUnit.cxx
src/RWStepBasic/RWStepBasic_RWConversionBasedUnitAndLengthUnit.cxx
src/RWStepBasic/RWStepBasic_RWConversionBasedUnitAndMassUnit.cxx
src/RWStepBasic/RWStepBasic_RWConversionBasedUnitAndPlaneAngleUnit.cxx
src/RWStepBasic/RWStepBasic_RWConversionBasedUnitAndRatioUnit.cxx
src/RWStepBasic/RWStepBasic_RWConversionBasedUnitAndSolidAngleUnit.cxx
src/RWStepBasic/RWStepBasic_RWConversionBasedUnitAndTimeUnit.cxx
src/RWStepBasic/RWStepBasic_RWConversionBasedUnitAndVolumeUnit.cxx
src/RWStepBasic/RWStepBasic_RWSiUnitAndLengthUnit.cxx
src/RWStepBasic/RWStepBasic_RWSiUnitAndMassUnit.cxx
src/RWStepBasic/RWStepBasic_RWSiUnitAndPlaneAngleUnit.cxx
src/RWStepBasic/RWStepBasic_RWSiUnitAndRatioUnit.cxx
src/RWStepBasic/RWStepBasic_RWSiUnitAndSolidAngleUnit.cxx
src/RWStepBasic/RWStepBasic_RWSiUnitAndThermodynamicTemperatureUnit.cxx
src/RWStepBasic/RWStepBasic_RWSiUnitAndTimeUnit.cxx
src/RWStepGeom/RWStepGeom_RWBSplineCurveWithKnotsAndRationalBSplineCurve.cxx
src/RWStepGeom/RWStepGeom_RWBSplineSurfaceWithKnotsAndRationalBSplineSurface.cxx
src/RWStepGeom/RWStepGeom_RWBezierCurveAndRationalBSplineCurve.cxx
src/RWStepGeom/RWStepGeom_RWBezierSurfaceAndRationalBSplineSurface.cxx
src/RWStepGeom/RWStepGeom_RWGeomRepContextAndGlobUnitAssCtxAndGlobUncertaintyAssCtx.cxx
src/RWStepGeom/RWStepGeom_RWGeometricRepresentationContextAndGlobalUnitAssignedContext.cxx
src/RWStepGeom/RWStepGeom_RWGeometricRepresentationContextAndParametricRepresentationContext.cxx
src/RWStepGeom/RWStepGeom_RWQuasiUniformCurveAndRationalBSplineCurve.cxx
src/RWStepGeom/RWStepGeom_RWQuasiUniformSurfaceAndRationalBSplineSurface.cxx
src/RWStepGeom/RWStepGeom_RWSurfaceCurveAndBoundedCurve.cxx
src/RWStepGeom/RWStepGeom_RWUniformCurveAndRationalBSplineCurve.cxx
src/RWStepGeom/RWStepGeom_RWUniformSurfaceAndRationalBSplineSurface.cxx
src/RWStepRepr/RWStepRepr_RWShapeRepresentationRelationshipWithTransformation.cxx
src/RWStepShape/RWStepShape_RWAngularLocation.cxx
src/RWStepShape/RWStepShape_RWAngularSize.cxx
src/RWStepShape/RWStepShape_RWDefinitionalRepresentationAndShapeRepresentation.cxx
src/RWStepShape/RWStepShape_RWEdgeCurve.cxx
src/RWStepShape/RWStepShape_RWFacetedBrepAndBrepWithVoids.cxx
src/RWStepShape/RWStepShape_RWLoopAndPath.cxx
src/RWStepShape/RWStepShape_RWMeasureRepresentationItemAndQualifiedRepresentationItem.cxx
src/RWStl/RWStl_Reader.cxx
src/Resource/Resource_Unicode.cxx
src/SHMessage/SHAPE.fr
src/SHMessage/SHAPE.us
src/SHMessage/SHMessage_SHAPE_us.pxx
src/STEPCAFControl/STEPCAFControl_Reader.cxx
src/STEPCAFControl/STEPCAFControl_Writer.cxx
src/STEPConstruct/STEPConstruct_Assembly.hxx
src/STEPConstruct/STEPConstruct_ExternRefs.cxx
src/STEPConstruct/STEPConstruct_Part.hxx
src/STEPConstruct/STEPConstruct_Styles.cxx
src/STEPConstruct/STEPConstruct_Styles.hxx
src/STEPConstruct/STEPConstruct_UnitContext.cxx
src/STEPConstruct/STEPConstruct_UnitContext.hxx
src/STEPControl/STEPControl_ActorRead.cxx
src/STEPControl/STEPControl_ActorRead.hxx
src/STEPControl/STEPControl_ActorWrite.cxx
src/STEPControl/STEPControl_Controller.cxx
src/SWDRAW/SWDRAW_ShapeUpgrade.cxx
src/Select3D/Select3D_SensitiveCircle.cxx
src/ShapeAnalysis/ShapeAnalysis.cxx
src/ShapeAnalysis/ShapeAnalysis_CheckSmallFace.hxx
src/ShapeAnalysis/ShapeAnalysis_Edge.hxx
src/ShapeAnalysis/ShapeAnalysis_Geom.hxx
src/ShapeAnalysis/ShapeAnalysis_ShapeContents.hxx
src/ShapeAnalysis/ShapeAnalysis_Surface.cxx
src/ShapeAnalysis/ShapeAnalysis_Surface.hxx
src/ShapeAnalysis/ShapeAnalysis_TransferParametersProj.cxx
src/ShapeAnalysis/ShapeAnalysis_TransferParametersProj.hxx
src/ShapeAnalysis/ShapeAnalysis_Wire.cxx
src/ShapeAnalysis/ShapeAnalysis_Wire.hxx
src/ShapeAnalysis/ShapeAnalysis_WireOrder.hxx
src/ShapeAnalysis/ShapeAnalysis_WireVertex.hxx
src/ShapeBuild/ShapeBuild_Edge.cxx
src/ShapeBuild/ShapeBuild_ReShape.hxx
src/ShapeConstruct/ShapeConstruct.cxx
src/ShapeConstruct/ShapeConstruct_ProjectCurveOnSurface.cxx
src/ShapeConstruct/ShapeConstruct_ProjectCurveOnSurface.hxx
src/ShapeCustom/ShapeCustom_BSplineRestriction.cxx
src/ShapeCustom/ShapeCustom_BSplineRestriction.hxx
src/ShapeCustom/ShapeCustom_ConvertToBSpline.hxx
src/ShapeCustom/ShapeCustom_ConvertToRevolution.hxx
src/ShapeCustom/ShapeCustom_DirectModification.hxx
src/ShapeCustom/ShapeCustom_Surface.hxx
src/ShapeCustom/ShapeCustom_SweptToElementary.cxx
src/ShapeCustom/ShapeCustom_SweptToElementary.hxx
src/ShapeExtend/ShapeExtend_Status.hxx
src/ShapeExtend/ShapeExtend_WireData.cxx
src/ShapeExtend/ShapeExtend_WireData.hxx
src/ShapeFix/ShapeFix.cxx
src/ShapeFix/ShapeFix_ComposeShell.cxx
src/ShapeFix/ShapeFix_ComposeShell.hxx
src/ShapeFix/ShapeFix_Edge.cxx
src/ShapeFix/ShapeFix_EdgeProjAux.cxx
src/ShapeFix/ShapeFix_Face.cxx
src/ShapeFix/ShapeFix_Face.hxx
src/ShapeFix/ShapeFix_FixSmallFace.cxx
src/ShapeFix/ShapeFix_IntersectionTool.cxx
src/ShapeFix/ShapeFix_Shape.hxx
src/ShapeFix/ShapeFix_Shell.cxx
src/ShapeFix/ShapeFix_Shell.hxx
src/ShapeFix/ShapeFix_Solid.cxx
src/ShapeFix/ShapeFix_SplitTool.cxx
src/ShapeFix/ShapeFix_Wire.cxx
src/ShapeFix/ShapeFix_Wire.hxx
src/ShapeFix/ShapeFix_Wire_1.cxx
src/ShapeFix/ShapeFix_Wireframe.cxx
src/ShapeProcess/ShapeProcess_OperLibrary.hxx
src/ShapeUpgrade/ShapeUpgrade.hxx
src/ShapeUpgrade/ShapeUpgrade_ClosedFaceDivide.cxx
src/ShapeUpgrade/ShapeUpgrade_ClosedFaceDivide.hxx
src/ShapeUpgrade/ShapeUpgrade_ConvertCurve2dToBezier.cxx
src/ShapeUpgrade/ShapeUpgrade_ConvertCurve2dToBezier.hxx
src/ShapeUpgrade/ShapeUpgrade_ConvertCurve3dToBezier.cxx
src/ShapeUpgrade/ShapeUpgrade_ConvertCurve3dToBezier.hxx
src/ShapeUpgrade/ShapeUpgrade_FaceDivide.cxx
src/ShapeUpgrade/ShapeUpgrade_FaceDivide.hxx
src/ShapeUpgrade/ShapeUpgrade_RemoveLocations.hxx
src/ShapeUpgrade/ShapeUpgrade_ShapeDivide.hxx
src/ShapeUpgrade/ShapeUpgrade_SplitCurve3dContinuity.cxx
src/ShapeUpgrade/ShapeUpgrade_UnifySameDomain.cxx
src/ShapeUpgrade/ShapeUpgrade_WireDivide.hxx
src/Standard/Standard.cxx
src/Standard/Standard_ArrayStreamBuffer.hxx
src/Standard/Standard_Atomic.hxx
src/Standard/Standard_CLocaleSentry.hxx
src/Standard/Standard_CString.cxx
src/Standard/Standard_Character.hxx
src/Standard/Standard_Dump.hxx
src/Standard/Standard_ErrorHandler.cxx
src/Standard/Standard_ExtCharacter.hxx
src/Standard/Standard_ExtString.hxx
src/Standard/Standard_MMgrOpt.cxx
src/Standard/Standard_Macro.hxx
src/Standard/Standard_Mutex.hxx
src/Standard/Standard_Real.cxx
src/Standard/Standard_Real.hxx
src/Standard/Standard_ShortReal.hxx
src/Standard/Standard_Type.cxx
src/Standard/Standard_WarningsDisable.hxx
src/StdLPersistent/StdLPersistent_Collection.cxx
src/StdLPersistent/StdLPersistent_Collection.hxx
src/StdLPersistent/StdLPersistent_Data.cxx
src/StdLPersistent/StdLPersistent_Dependency.cxx
src/StdLPersistent/StdLPersistent_Dependency.hxx
src/StdLPersistent/StdLPersistent_Function.hxx
src/StdLPersistent/StdLPersistent_NamedData.cxx
src/StdLPersistent/StdLPersistent_NamedData.hxx
src/StdLPersistent/StdLPersistent_Real.hxx
src/StdLPersistent/StdLPersistent_TreeNode.cxx
src/StdLPersistent/StdLPersistent_TreeNode.hxx
src/StdLPersistent/StdLPersistent_Value.cxx
src/StdLPersistent/StdLPersistent_Value.hxx
src/StdLPersistent/StdLPersistent_Variable.hxx
src/StdLPersistent/StdLPersistent_Void.hxx
src/StdLPersistent/StdLPersistent_XLink.hxx
src/StdObjMgt/StdObjMgt_Attribute.hxx
src/StdObjMgt/StdObjMgt_Persistent.cxx
src/StdObjMgt/StdObjMgt_Persistent.hxx
src/StdPersistent/StdPersistent_DataXtd.cxx
src/StdPersistent/StdPersistent_DataXtd.hxx
src/StdPersistent/StdPersistent_DataXtd_Constraint.cxx
src/StdPersistent/StdPersistent_DataXtd_Constraint.hxx
src/StdPersistent/StdPersistent_DataXtd_PatternStd.cxx
src/StdPersistent/StdPersistent_DataXtd_PatternStd.hxx
src/StdPersistent/StdPersistent_Naming.cxx
src/StdPersistent/StdPersistent_Naming.hxx
src/StdPersistent/StdPersistent_PPrsStd.cxx
src/StdPersistent/StdPersistent_PPrsStd.hxx
src/StdPrs/StdPrs_BRepTextBuilder.cxx
src/StdPrs/StdPrs_Curve.cxx
src/StdPrs/StdPrs_DeflectionCurve.cxx
src/StdPrs/StdPrs_Isolines.cxx
src/StdPrs/StdPrs_Isolines.hxx
src/StdSelect/StdSelect_BRepSelectionTool.hxx
src/StdStorage/StdStorage_HeaderData.hxx
src/StepAP242/StepAP242_ItemIdentifiedRepresentationUsage.hxx
src/StepBasic/StepBasic_ConversionBasedUnitAndLengthUnit.cxx
src/StepBasic/StepBasic_ConversionBasedUnitAndMassUnit.cxx
src/StepBasic/StepBasic_ConversionBasedUnitAndPlaneAngleUnit.cxx
src/StepBasic/StepBasic_ConversionBasedUnitAndRatioUnit.cxx
src/StepBasic/StepBasic_ConversionBasedUnitAndSolidAngleUnit.cxx
src/StepBasic/StepBasic_ConversionBasedUnitAndTimeUnit.cxx
src/StepBasic/StepBasic_SiUnit.cxx
src/StepBasic/StepBasic_SiUnitAndLengthUnit.cxx
src/StepBasic/StepBasic_SiUnitAndMassUnit.cxx
src/StepBasic/StepBasic_SiUnitAndPlaneAngleUnit.cxx
src/StepBasic/StepBasic_SiUnitAndRatioUnit.cxx
src/StepBasic/StepBasic_SiUnitAndSolidAngleUnit.cxx
src/StepBasic/StepBasic_SiUnitAndThermodynamicTemperatureUnit.cxx
src/StepBasic/StepBasic_SiUnitAndTimeUnit.cxx
src/StepData/StepData_Field.hxx
src/StepData/StepData_FileProtocol.hxx
src/StepData/StepData_GlobalNodeOfWriterLib.hxx
src/StepData/StepData_SelectType.hxx
src/StepData/StepData_StepDumper.hxx
src/StepData/StepData_StepModel.hxx
src/StepData/StepData_StepReaderData.cxx
src/StepData/StepData_StepReaderData.hxx
src/StepData/StepData_StepReaderTool.hxx
src/StepData/StepData_StepWriter.cxx
src/StepData/StepData_StepWriter.hxx
src/StepData/StepData_UndefinedEntity.hxx
src/StepFile/StepFile_ReadData.hxx
src/StepGeom/StepGeom_BSplineCurveWithKnotsAndRationalBSplineCurve.cxx
src/StepGeom/StepGeom_BSplineSurfaceWithKnotsAndRationalBSplineSurface.cxx
src/StepGeom/StepGeom_BezierCurveAndRationalBSplineCurve.cxx
src/StepGeom/StepGeom_BezierSurfaceAndRationalBSplineSurface.cxx
src/StepGeom/StepGeom_GeomRepContextAndGlobUnitAssCtxAndGlobUncertaintyAssCtx.cxx
src/StepGeom/StepGeom_GeometricRepresentationContextAndGlobalUnitAssignedContext.cxx
src/StepGeom/StepGeom_GeometricRepresentationContextAndParametricRepresentationContext.cxx
src/StepGeom/StepGeom_QuasiUniformCurveAndRationalBSplineCurve.cxx
src/StepGeom/StepGeom_QuasiUniformSurfaceAndRationalBSplineSurface.cxx
src/StepGeom/StepGeom_UniformCurveAndRationalBSplineCurve.cxx
src/StepGeom/StepGeom_UniformSurfaceAndRationalBSplineSurface.cxx
src/StepSelect/StepSelect_FloatFormat.hxx
src/StepShape/StepShape_FacetedBrepAndBrepWithVoids.cxx
src/StepShape/StepShape_LoopAndPath.cxx
src/StepShape/StepShape_OrientedClosedShell.cxx
src/StepShape/StepShape_OrientedEdge.cxx
src/StepShape/StepShape_OrientedFace.cxx
src/StepShape/StepShape_OrientedOpenShell.cxx
src/StepShape/StepShape_OrientedPath.cxx
src/StepToGeom/StepToGeom.cxx
src/StepToTopoDS/StepToTopoDS_Builder.cxx
src/StepToTopoDS/StepToTopoDS_GeometricTool.cxx
src/StepToTopoDS/StepToTopoDS_TranslateEdgeLoop.cxx
src/Storage/Storage_BaseDriver.hxx
src/Storage/Storage_Data.hxx
src/Storage/Storage_Error.hxx
src/Storage/Storage_HeaderData.hxx
src/Storage/Storage_Schema.hxx
src/Sweep/Sweep_NumShapeIterator.hxx
src/gce/gce_MakeTranslation.cxx
src/gce/gce_MakeTranslation2d.cxx
src/gp/gp_Ax1.hxx
src/gp/gp_Ax22d.hxx
src/gp/gp_Ax2d.hxx
src/gp/gp_EulerSequence.hxx

index bd77913ccfd8793c5fc87744dd43c4eae9471a28..12576ab2ba97d03dd0888be6f27d39399d03086e 100644 (file)
@@ -180,7 +180,7 @@ drivers for a function  driver table with the help of *TFunction_DriverTable* cl
       const  TDF_LabelList&amp; currentFunctions = iterator.Current();  
        
       //The list of current functions is iterated.  
-      TDF_ListIteratorOfLabelList  currentterator( currentFucntions );  
+      TDF_ListIteratorOfLabelList  currentterator( currentFunctions );
       for (;  currentIterator.More(); currentIterator.Next())  
       {  
         //  An interface for the function is created.  
index 017bb27f24a95495e1e20ad0d1d0e01d0cdab80f..ccc6625139e330f57e4b62192d450c2ee0ff743e 100644 (file)
@@ -11004,9 +11004,9 @@ Converts a surface of linear extrusion, revolution and offset surfaces into BSpl
 
 **Example:** 
 ~~~~~    
-DT_ToBspl res sh 
-== error = 5.20375663162094e-08   spans = 10 
-==  Surface is aproximated with continuity 2 
+DT_ToBspl res sh
+== error = 5.20375663162094e-08   spans = 10
+==  Surface is approximated with continuity 2
 ~~~~~
 
 @section occt_draw_10 Performance evaluation commands
index ef75d9db413c55c77157a8731a991050c4349c50..42d2693f9df896b040c0dcafce666a16e8a3f9f5 100644 (file)
@@ -1171,27 +1171,29 @@ It is possible to describe any model by means of standard OCAF attributes.
   
 @subsubsection occt_ocaf_6_2_3 Comparison  and analysis of approaches
 
-  Below are described two different model implementations: 
-  one is based on standard OCAF attributes and the other is based 
-  on the creation of a new attribute possessing all data of the model.  
-   
+  Below are described two different model implementations:
+  one is based on standard OCAF attributes and the other is based
+  on the creation of a new attribute possessing all data of the model.
+
   A load is distributed through the shape.
   The measurements are taken at particular points defined by (x, y and z) coordinates.
-  The load is represented as a projection onto X, Y and Z axes of the local co-ordinate system at each point of measurement.
-  A matrix of transformation is needed to convert the local co-ordinate system to the global one, but this is optional.
-   
-  So, we have 15 double values at each point  of measurement. 
-  If the number of such points is 100 000, for example, it means 
-  that we have to store 1 500 000 double values in the OCAF document.  
-   
-  The first  approach consists in using standard OCAF attributes. 
-  Besides, there are several  variants of how the standard attributes may be used:  
+  The load is represented as a projection onto X, Y and Z axes of the local coordinate system at each point of measurement.
+  A matrix of transformation is needed to convert the local coordinate system to the global one, but this is optional.
+
+  So, we have 15 double values at each point of measurement.
+  If the number of such points is 100 000, for example, it means
+  that we have to store 1 500 000 double values in the OCAF document.
+
+  The first approach consists in using standard OCAF attributes.
+  Besides, there are several  variants of how the standard attributes may be used:
   * Allocation of all 1 500 000 double values as one array of double values attached to one label;
   * Allocation of values of one measure of load (15 values) as one array of double values and attachment of one point of measure to one label;
-  * Allocation of each point of measure as an array of 3 double values attached to one label, the projection of load onto the local co-ordinate system  axes as another array of 3 double values attached to a sub-label, and the matrix of projection (9 values) as the third array also attached to a sub-label.  
-  
-  Certainly, other variants are also  possible.   
+  * Allocation of each point of measure as an array of 3 double values attached to one label,
+    the projection of load onto the local coordinate system axes as another array of 3 double values attached to a sub-label,
+    and the matrix of projection (9 values) as the third array also attached to a sub-label.
+
+  Certainly, other variants are also possible.
+
 @figure{ocaf_tree_wp_image003.png,"Allocation of all data as one  array of double values",350}
  
   The first approach to allocation of all  data represented as one array of double values 
@@ -1560,43 +1562,45 @@ To automatically erase the nail from the viewer and the data  tree it is enough
 
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~{.cpp}
 
-    // The scope of functions is  defined.  
-    Handle(TFunction_Scope) scope = TFunction_Scope::Set( anyLabel );  
-     
-    // The information on  modifications in the model is received.  
-    TFunction_Logbook&amp; log = scope-GetLogbook();  
-     
-    // The iterator is iInitialized by  the scope of functions.  
-    TFunction_Iterator iterator( anyLabel );  
-    Iterator.SetUsageOfExecutionOrder( true );  
-     
-    // The function is iterated, Â its  dependency is checked on the modified data and Â executed if necessary.  
-    for (; iterator.more(); iterator.Next())  
-    {  
-      // The function iterator may return a list of  current functions for execution.  
-      // It might be useful for multi-threaded execution  of functions.  
-      const  TDF_LabelList&amp; currentFunctions = iterator.Current();  
-       
-      //The list of current functions is iterated.  
-      TDF_ListIteratorOfLabelList  currentterator( currentFucntions );  
-      for (;  currentIterator.More(); currentIterator.Next())  
-      {  
-        //  An interface for the function is created.  
-        TFunction_IFunction  interface( currentIterator.Value() );  
-     
-        //  The function driver is retrieved.  
-        Handle(TFunction_Driver)  driver = interface.GetDriver();  
-     
-        //  The dependency of the function on the Â modified data is checked.  
-        If  (driver-MustExecute( log ))  
-        {  
-          // The function is executed.  
-          int  ret = driver-Execute( log );  
-          if ( ret ) 
-            return  false;  
-        } // end if check on modification  
-      } // end of iteration of current functions  
-    } // end of iteration of  functions.
+// The scope of functions is defined.
+Handle(TFunction_Scope) aScope = TFunction_Scope::Set (anyLabel);
+
+// The information on modifications in the model is received.
+TFunction_Logbook& aLog = aScope->GetLogbook();
+
+// The iterator is iInitialized by  the scope of functions.
+TFunction_Iterator anIterator (anyLabel);
+anIterator.SetUsageOfExecutionOrder (true);
+
+// The function is iterated, Â its dependency is checked on the modified data and Â executed if necessary.
+for (; anIterator.more(); anIterator.Next())
+{
+  // The function iterator may return a list of  current functions for execution.
+  // It might be useful for multi-threaded execution  of functions.
+  const TDF_LabelList& aCurrentFunctions = anIterator.Current();
+
+  // The list of current functions is iterated.
+  for (TDF_ListIteratorOfLabelList aCurrentIterator (aCurrentFunctions);
+       aCurrentIterator.More(); aCurrentIterator.Next())
+  {
+    //  An interface for the function is created.
+    TFunction_IFunction anInterface (aCurrentIterator.Value());
+
+    //  The function driver is retrieved.
+    Handle(TFunction_Driver) aDriver = anInterface.GetDriver();
+
+    //  The dependency of the function on the Â modified data is checked.
+    if (aDriver->MustExecute (aLog))
+    {
+      // The function is executed.
+      int aRes = aDriver->Execute (aLog);
+      if (aRes)
+      {
+        return false;
+      }
+    }
+  }
+}
 
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
index c6115bb9219b4154bfe3826e895f2c6382408bd8..3b890519efd43e55509013864675823cdefa33c5 100644 (file)
@@ -14,7 +14,7 @@
       <Sample name="Clear" function="ClearGrid2dSample"/>
     </MenuItem>
     <MenuItem name="Image">
-      <Sample name="Backgroung Image" function="BackgroungImage2dSample"/>
+      <Sample name="Background Image" function="BackgroundImage2dSample"/>
     </MenuItem>
   </MenuItem>
 </Menu>
\ No newline at end of file
index 6f6d8152edc83da2e4ad6841ddbafae82da49db0..f73fc925b100574886a488d59f450e5bd33b7a2a 100644 (file)
@@ -140,7 +140,7 @@ public:
 protected:
 
   //! The TypeOfPresention3d means that the interactive object
-  //! may have a presentation dependant of the view of Display.
+  //! may have a presentation dependent on the view of Display.
   Standard_EXPORT AIS_InteractiveObject(const PrsMgr_TypeOfPresentation3d aTypeOfPresentation3d = PrsMgr_TOP_AllView);
 
   //! Set presentation display status.
index 8e928cbbe91b78b25acb6414f60dee718cafc5ce..90dd33097fe601d3018b2b37132cfd526041d434 100644 (file)
@@ -196,7 +196,7 @@ public:
   Standard_EXPORT void StopTransform (const Standard_Boolean theToApply = Standard_True);
 
   //! Apply transformation made from mouse moving from start position
-  //! (save on the first Tranform() call and reset on DeactivateCurrentMode() call.)
+  //! (save on the first Transform() call and reset on DeactivateCurrentMode() call.)
   //! to the in/out mouse position (theX, theY)
   Standard_EXPORT gp_Trsf Transform (const Standard_Integer theX, const Standard_Integer theY,
                                      const Handle(V3d_View)& theView);
@@ -361,7 +361,7 @@ protected:
 
   Standard_EXPORT void setTransformPersistence (const Handle(Graphic3d_TransformPers)& theTrsfPers);
 
-  //! Redefines local transformation management method to inform user of inproper use.
+  //! Redefines local transformation management method to inform user of improper use.
   //! @warning this interactive object does not support setting custom local transformation,
   //! this class solely uses this property to implement visual positioning of the manipulator
   //! without need for recomputing presentation.
index cf69b13709588edbcdcc0775e28c346c7ac9770f..1efd2bc08e5d0662d7f3f91ad66b150bfdfd052b 100644 (file)
@@ -31,7 +31,7 @@ class TColStd_HPackedMapOfInteger;
 //! The presentation supports two display modes:
 //! - Points.
 //! - Bounding box for highlighting.
-//! Presentation provides selection by bouding box.
+//! Presentation provides selection by bounding box.
 //! Selection and consequently highlighting can disabled by
 //! setting default selection mode to -1. There will be no way
 //! to select object from interactive view. Any calls to
index 9372d757ae659c97d9d5d316b7313d729f102a19..a7a55dbda70e980869d840f4503b25d6fe829155 100644 (file)
@@ -27,7 +27,7 @@ DEFINE_STANDARD_HANDLE(AIS_RubberBand, AIS_InteractiveObject)
 //! Presentation for drawing rubber band selection.
 //! It supports rectangle and polygonal selection.
 //! It is constructed in 2d overlay.
-//! Default configaration is built without filling.
+//! Default configuration is built without filling.
 //! For rectangle selection use SetRectangle() method.
 //! For polygonal selection use AddPoint() and GetPoints() methods.
 class AIS_RubberBand : public AIS_InteractiveObject
index 707096dcef4a2ee10734b4c5bf00af4f691fb346..a0dff90f24f9e145966ea585117b04300bd827d5 100644 (file)
@@ -148,8 +148,8 @@ static void CompareBounds(gp_Pnt2d& P1,
 static void Hunt(const TColStd_Array1OfReal& Arr,
                 const Standard_Real Coord,
                 Standard_Integer& Iloc)
-{//Warning: Hunt is used to find number of knot which equals co-ordinate component,
-  //        when co-ordinate component definitly equals a knot only.
+{//Warning: Hunt is used to find number of knot which equals coordinate component,
+  //        when coordinate component definitly equals a knot only.
   Standard_Real Tol=Precision::PConfusion()/10;
   Standard_Integer i=1; 
   while((i <= Arr.Upper()) && (Abs(Coord - Arr(i)) > Tol)){
index 3327ffef822638b1688920347bde8859e49e2477..ffbf4e23c45019943ee4c5a44f15b7e2daaa42ab 100644 (file)
@@ -752,7 +752,7 @@ void AdvApprox_ApproxAFunction::Perform(const Standard_Integer Num1DSS,
     index += 1 ;
   }
   //
-  // Ouput
+  // Output
   //
   
   Standard_Integer ErrorCode = 0,
index 1ae4289f8330086285d053c744464e2eb728cdd3..4a3f223ed46320b947b7e390cefa4324412276c2 100644 (file)
@@ -22,7 +22,7 @@
 #include <NCollection_Array1.hxx>
 #include <Standard_Integer.hxx>
 
-//! Class describing a continous 3d and/or function f(u).
+//! Class describing a continuous 3d and/or function f(u).
 //! This class must be provided by the user to use the approximation algorithm FittingCurve.
 class AppCont_Function
 {
index b6e1bfbda42d62af640015ee01ce9e73efab1921..a788375de030e5693daf01cf1d2675df2f49e572 100644 (file)
@@ -166,7 +166,7 @@ void Approx_ComputeCLine::Perform(const MultiLine& Line)
         }
         else
         {
-          // keep best decison
+          // keep best decision
           if ((thetol3d + thetol2d) < (KeptT3d + KeptT2d))
           {
             KeptMultiCurve = TheMultiCurve;
index 9c6e4cc2ed33a68b4f93ddbccf3ac0457bef1951..bf014252db4668b3748a4d71cb2008a77bf8e1f8 100644 (file)
 #include <GeomAbs_Shape.hxx>
 #include <Standard_OStream.hxx>
 
-//! Approximation of a Curve to make its parameter be its
-//! curvilinear  abscissa
+//! Approximation of a Curve to make its parameter be its curvilinear abscissa.
 //! If the curve is a curve on a surface S, C2D is the corresponding Pcurve,
-//! we considere the curve is given by its representation S(C2D(u))
-//! If the curve is a curve on 2 surfaces S1 and S2 and C2D1 C2D2 are
-//! the two corresponding Pcurve, we considere the curve is given
-//! by its representation  1/2(S1(C2D1(u) + S2 (C2D2(u)))
+//! we consider the curve is given by its representation
+//! @code
+//!   S(C2D(u))
+//! @endcode
+//! If the curve is a curve on 2 surfaces S1 and S2 and C2D1 C2D2 are the two corresponding Pcurve,
+//! we consider the curve is given by its representation
+//! @code
+//!   1/2(S1(C2D1(u) + S2(C2D2(u)))
+//! @endcode
 class Approx_CurvilinearParameter 
 {
 public:
@@ -72,20 +76,11 @@ public:
   //! print the maximum errors(s)
   Standard_EXPORT void Dump (Standard_OStream& o) const;
 
-
-
-
-protected:
-
-
-
-
-
 private:
 
-  
   Standard_EXPORT static void ToleranceComputation (const Handle(Adaptor2d_Curve2d)& C2D, const Handle(Adaptor3d_Surface)& S, const Standard_Integer MaxNumber, const Standard_Real Tol, Standard_Real& TolV, Standard_Real& TolW);
 
+private:
 
   Standard_Integer myCase;
   Standard_Boolean myDone;
@@ -97,13 +92,6 @@ private:
   Handle(Geom2d_BSplineCurve) myCurve2d2;
   Standard_Real myMaxError2d2;
 
-
 };
 
-
-
-
-
-
-
 #endif // _Approx_CurvilinearParameter_HeaderFile
index afc21266fa42da89437e3939ff2483321d38b7ee..5128529e42e29081a3ab932c4399283019d2a2c0 100644 (file)
@@ -349,7 +349,7 @@ void ApproxInt_KnotTools::FilterKnots(NCollection_Sequence<Standard_Integer>& th
     }
   }
 
-  // II: Filter poins with too small amount of points per knot interval.
+  // II: Filter points with too small amount of points per knot interval.
   i = 1;
   theLKnots.Append(theInds(i));
   Standard_Integer anIndsPrev = theInds(i);
index d80b1aad40c0f9b571ae0fc6613d2a73bd4778a9..84291b8ce8e240ad1403e4f6bea260a381352215 100644 (file)
@@ -68,7 +68,7 @@ public:
   //! @param thePntsXYZ - Set of 3d points.
   //! @param thePntsU1V1 - Set of 2d points.
   //! @param thePntsU2V2 - Set of 2d points.
-  //! @param thePars - Expected parameters assoiated with set.
+  //! @param thePars - Expected parameters associated with set.
   //! @param theApproxXYZ - Flag, existence of 3d set.
   //! @param theApproxU1V1 - Flag existence of first 2d set.
   //! @param theApproxU2V2 - Flag existence of second 2d set.
@@ -121,7 +121,7 @@ private:
   //!
   //! I: Filter too big number of points per knot interval.
   //!
-  //! II: Filter poins with too small amount of points per knot interval.
+  //! II: Filter points with too small amount of points per knot interval.
   //!
   //! III: Fill Last Knot.
   static void FilterKnots(NCollection_Sequence<Standard_Integer>& theInds, 
index aba21fb0a959b873f51ccbd9a0c0804f6b855f8a..453914be5f10ac3ee6ba9561d74245561a15d59b 100644 (file)
@@ -12,7 +12,7 @@
 // commercial license or contractual agreement.
 
 /*============================================================================*/
-/*==== Titre: Aspect_Display.hxx                                               */
+/*==== Title: Aspect_Display.hxx                                               */
 /*==== Role : The header file of primitive type "Display" from package        */
 /*==== "V3d"                                                           */
 /*==== Implementation:  This is a primitive type implemented with typedef     */
index eadfb13992ad5a9eedcdee566cc22dac436ccfcf..0af992e169b2907a4e7deab1bab2d96ccd509b23 100644 (file)
@@ -12,7 +12,7 @@
 // commercial license or contractual agreement.
 
 /*============================================================================*/
-/*==== Titre: Aspect_Drawable.hxx                                               */
+/*==== Title: Aspect_Drawable.hxx                                             */
 /*==== Role : The header file of primitive type "Handle" from packages        */
 /*==== "Xw" & "WNT"                                                           */
 /*==== Implementation:  This is a primitive type implemented with typedef     */
index 660f25376aaaa4f4c1259f0834c154898c8a28a6..02d5d3bf20104a65f027d1065b6c61b2ca8d2381 100644 (file)
@@ -12,7 +12,7 @@
 // commercial license or contractual agreement.
 
 /*============================================================================*/
-/*==== Titre: Aspect_Handle.hxx                                               */
+/*==== Title: Aspect_Handle.hxx                                               */
 /*==== Role : The header file of primitive type "Handle" from packages        */
 /*==== "Xw" & "WNT"                                                           */
 /*==== Implementation:  This is a primitive type implemented with typedef     */
index 7eb0a65f83995c740b0eff550cbbe4f9e21e904e..112c6feb82037d428d1a833cc70e12bf357d52e0 100644 (file)
@@ -12,9 +12,9 @@
 // commercial license or contractual agreement.
 
 /*============================================================================*/
-/*==== Titre: Aspect_RenderingContext.hxx                                               */
-/*==== Role : The header file of primitive type "RenderingContext" from package        */
-/*==== "V3d"                                                           */
+/*==== Title: Aspect_RenderingContext.hxx                                     */
+/*==== Role: The header file of primitive type "RenderingContext" from package*/
+/*==== "V3d"                                                                  */
 /*==== Implementation:  This is a primitive type implemented with typedef     */
 /*============================================================================*/
 // To manage 2D or 3D graphic context
index ffa474b8b5a868361cd3ed3ffdff43bfe1ce71a2..63ea864060827f7b5daa289c4e3534d021c672d5 100644 (file)
@@ -64,7 +64,7 @@ void BOPTest::OptionCommands(Draw_Interpretor& theCommands)
                            "\t\tUsage: bglue [0 (off) / 1 (shift) / 2 (full)]",
                   __FILE__, bGlue, g);
 
-  theCommands.Add("bdrawwarnshapes", "Enables/Disables drawing of waring shapes of BOP algorithms.\n"
+  theCommands.Add("bdrawwarnshapes", "Enables/Disables drawing of warning shapes of BOP algorithms.\n"
                                      "\t\tUsage: bdrawwarnshapes 0 (do not draw) / 1 (draw warning shapes)",
                   __FILE__, bdrawwarnshapes, g);
 
index 8db49a549de56e612ffdb1d14cb87018ebaa1e2e..73ac6c50d97d66742cf64965bc1b7ed0e6d85e7b 100644 (file)
@@ -189,14 +189,15 @@ public:
 
   //! Checks if CurveOnSurface of theE on theF matches with isoline of theF surface.
   //! Sets corresponding values for isTheUIso and isTheVIso variables.
+  //!
   //! ATTENTION!!!
-  //!     This method is based on comparation between direction of
-  //!   surface (which theF is based on) iso-lines and the direction
-  //!   of the edge p-curve (on theF) in middle-point of the p-curve.
-  //!     This method should be used carefully
-  //!   (e.g. BRep_Tool::IsClosed(...) together) in order to
-  //!   avoid false classification some p-curves as isoline (e.g. circle
-  //!   on a plane).
+  //! This method is based on the comparison between direction of
+  //! surface (which theF is based on) iso-lines and the direction
+  //! of the edge p-curve (on theF) in middle-point of the p-curve.
+  //!
+  //! This method should be used carefully
+  //! (e.g. BRep_Tool::IsClosed(...) together) in order to avoid
+  //! false classification some p-curves as isoline (e.g. circle on a plane).
   Standard_EXPORT static void IsEdgeIsoline(const TopoDS_Edge& theE,
                                             const TopoDS_Face& theF,
                                             Standard_Boolean& isTheUIso,
index 37c8a7d94db4409c36a4f21de10c0f5409b9279d..1f0c8164b5488dc3a249c449429c447accfb13c2 100644 (file)
@@ -80,11 +80,10 @@ public:
   //! auto-intersection of new wires are not searched.
   Standard_EXPORT static Standard_Boolean IsValid (const TopTools_ListOfShape& theArgs, const TopoDS_Shape& theResult, const Standard_Boolean closedSolid = Standard_False, const Standard_Boolean GeomCtrl = Standard_True);
   
-  //! Checks if the shape is  "correct". If not, returns
-  //! <Standard_False>,  else   returns <Standard_True>.
-  //! This method differs from  the previous one in  the
-  //! fact that no   geometric contols (intersection  of
-  //! wires, pcurve validity) are performed.
+  //! Checks if the shape is "correct".
+  //! If not, returns FALSE, else returns TRUE.
+  //! This method differs from the previous one in the fact that no geometric controls
+  //! (intersection of wires, pcurve validity) are performed.
   Standard_EXPORT static Standard_Boolean IsTopologicallyValid (const TopoDS_Shape& S);
 
 
index a97bb806139a5ce801458f72a041ddc612dd2f6a..9241dd18e8202ffb9c955a254565fa0decbea42c 100644 (file)
@@ -37,7 +37,6 @@ class BRepAlgo_AsDes : public Standard_Transient
 
 public:
 
-  
   //! Creates an empty AsDes.
   Standard_EXPORT BRepAlgo_AsDes();
   
@@ -61,45 +60,34 @@ public:
   
   //! Returns futur subhapes of <S>.
   Standard_EXPORT TopTools_ListOfShape& ChangeDescendant (const TopoDS_Shape& S);
-  
-  //! Replace <OldS> by <NewS>.
-  //! <OldS> disapear from <me>.
-  Standard_EXPORT void Replace (const TopoDS_Shape& OldS, const TopoDS_Shape& NewS);
-  
-  //! Remove <S> from me.
-  Standard_EXPORT void Remove (const TopoDS_Shape& S);
-  
-  //! Returns  True if (S1> and <S2>  has  common
-  //! Descendants.  Stores in <LC> the Commons Descendants.
-  Standard_EXPORT Standard_Boolean HasCommonDescendant (const TopoDS_Shape& S1, const TopoDS_Shape& S2, TopTools_ListOfShape& LC) const;
 
+  //! Replace theOldS by theNewS.
+  //! theOldS disappear from this.
+  Standard_EXPORT void Replace (const TopoDS_Shape& theOldS, const TopoDS_Shape& theNewS);
 
+  //! Remove theS from me.
+  Standard_EXPORT void Remove (const TopoDS_Shape& theS);
 
+  //! Returns  True if (S1> and <S2>  has  common
+  //! Descendants.  Stores in <LC> the Commons Descendants.
+  Standard_EXPORT Standard_Boolean HasCommonDescendant (const TopoDS_Shape& S1, const TopoDS_Shape& S2, TopTools_ListOfShape& LC) const;
 
   DEFINE_STANDARD_RTTIEXT(BRepAlgo_AsDes,Standard_Transient)
 
-protected:
-
-
+private:
 
+  //! Replace theOldS by theNewS.
+  //! theOldS disappear from this.
+  Standard_EXPORT void BackReplace (const TopoDS_Shape& theOldS,
+                                    const TopoDS_Shape& theNewS,
+                                    const TopTools_ListOfShape& theL,
+                                    const Standard_Boolean theInUp);
 
 private:
 
-  
-  //! Replace <OldS> by <NewS>.
-  //! <OldS> disapear from <me>.
-  Standard_EXPORT void BackReplace (const TopoDS_Shape& OldS, const TopoDS_Shape& NewS, const TopTools_ListOfShape& L, const Standard_Boolean InUp);
-
   TopTools_DataMapOfShapeListOfShape up;
   TopTools_DataMapOfShapeListOfShape down;
 
-
 };
 
-
-
-
-
-
-
 #endif // _BRepAlgo_AsDes_HeaderFile
index 0421877e01b6537deb7d50db458079f41e41b924..5d9e548a6114667b1d6961b0db639f7bdb9c02a2 100644 (file)
@@ -151,7 +151,7 @@ protected:
     NCollection_List<Standard_Integer> myFaces;
     NCollection_List<Standard_Integer> myEdges;
 
-    //! Indentifies the place of this Vertex in
+    //! Identifies the place of this Vertex in
     //! BRepBuilderAPI_FastSewing::myVertexVec list
     Standard_Integer myID;
   };
@@ -201,7 +201,7 @@ protected:
     //! myVertices[i] is Start point of myEdges[i]
     Standard_Integer myVertices[4];
 
-    //! Indentifies the place of this Face in
+    //! Identifies the place of this Face in
     //! BRepBuilderAPI_FastSewing::myFaceVec list
     Standard_Integer myID;
   };
@@ -245,7 +245,7 @@ protected:
     //! Value is the index of this shape in myFaceVec array
     NCollection_Sequence<Standard_Integer> myFaces;
 
-    //! Indentifies the place of this Edge in
+    //! Identifies the place of this Edge in
     //! BRepBuilderAPI_FastSewing::myEdgeVec list
     Standard_Integer myID;
 
index d11c93680c50e77bc40d520d6c278c537c978d94..ff67eae28f3b3c7e6f2cce72f62a1e4a25dc93dc 100644 (file)
@@ -235,7 +235,7 @@ public:
   
   //! Gets mode for non-manifold sewing.
   //!
-  //! INTERNAL FUCTIONS ---
+  //! INTERNAL FUNCTIONS ---
     Standard_Boolean NonManifoldMode() const;
 
 
index 11485b5a3551462f07b42031d9773ae046e9bc0a..6de003ef5ba1277057ebf956b249f256772c0420 100644 (file)
@@ -473,7 +473,7 @@ BRepCheck_Status BRepCheck_Face::OrientationOfWires
       }
     }
   }
-  // quit withour error
+  // quit without error
   if (Update) {
     BRepCheck::Add(myMap(myShape),myOrires);
   }
index c3040472ecaec311ac83d4e0408233ec3a40c490..3812de0f4d68ae527272f9829cf2532acd7f5f17 100644 (file)
@@ -110,10 +110,10 @@ class BRepExtrema_DistShapeShape
   //! This support can be a Vertex, an Edge or a Face. <br>
   Standard_EXPORT TopoDS_Shape SupportOnShape2(const Standard_Integer N) const;
   //! gives the corresponding parameter t if the Nth solution <br>
-  //! is situated on an Egde of the first shape <br>
+  //! is situated on an Edge of the first shape <br>
   Standard_EXPORT void ParOnEdgeS1(const Standard_Integer N,Standard_Real& t) const;
   //! gives the corresponding parameter t if the Nth solution <br>
-  //! is situated on an Egde of the first shape <br>
+  //! is situated on an Edge of the first shape <br>
   Standard_EXPORT void ParOnEdgeS2(const Standard_Integer N,Standard_Real& t) const;
   //! gives the corresponding parameters (U,V) if the Nth solution <br>
   //! is situated on an face of the first shape <br>
index 0bb51cee0b2b643d51db66af82a0fd805723a308..feb7ce24059e9d53d61941822020ee13509bb057 100644 (file)
@@ -28,18 +28,15 @@ class Geom2d_Curve;
 class StdFail_NotDone;
 
 
-//! Evaluate the 3dCurve  and the PCurves described in
-//! a MultiLine from BRepFill.  The parametrization of
-//! those curves is  not  imposed by  the Bissectrice.
-//! The  parametrization  is given  approximatively by
-//! the abscissa of the curve3d.
-class BRepFill_ApproxSeewing 
+//! Evaluate the 3dCurve and the PCurves described in a MultiLine from BRepFill.
+//! The parametrization of those curves is not imposed by the Bissectrice.
+//! The parametrization is given approximately by the abscissa of the curve3d.
+class BRepFill_ApproxSeewing
 {
 public:
 
   DEFINE_STANDARD_ALLOC
 
-  
   Standard_EXPORT BRepFill_ApproxSeewing();
   
   Standard_EXPORT BRepFill_ApproxSeewing(const BRepFill_MultiLine& ML);
@@ -59,32 +56,14 @@ public:
   //! first face of the MultiLine
   Standard_EXPORT const Handle(Geom2d_Curve)& CurveOnF2() const;
 
-
-
-
-protected:
-
-
-
-
-
 private:
 
-
-
   BRepFill_MultiLine myML;
   Standard_Boolean myIsDone;
   Handle(Geom_Curve) myCurve;
   Handle(Geom2d_Curve) myPCurve1;
   Handle(Geom2d_Curve) myPCurve2;
 
-
 };
 
-
-
-
-
-
-
 #endif // _BRepFill_ApproxSeewing_HeaderFile
index 08b2e5adfa78cc4418b6b74f700fcebc4702b828..454ba457b08e29ef8974a2f89651c1ed57fdbe9d 100644 (file)
@@ -129,7 +129,7 @@ public:
   //! - correspondence between profile, and section on the sweeped shape defined by a vertex of the spine
   Standard_EXPORT void SetForceApproxC1 (const Standard_Boolean ForceApproxC1);
 
-  //! Set an section. The correspondence with the spine, will be automaticaly performed.
+  //! Set an section. The correspondence with the spine, will be automatically performed.
   Standard_EXPORT void Add (const TopoDS_Shape& Profile, const Standard_Boolean WithContact = Standard_False, const Standard_Boolean WithCorrection = Standard_False);
 
   //! Set an section. The correspondence with the spine, is given by Location.
index f13541d7a08b0f4949a133247b8e96d12ae71ac6..0cbbdfe016c36cfe7f8960e6e6acac32ef87c2c4 100644 (file)
@@ -146,7 +146,7 @@ public:
                                          const Standard_Boolean SkipShared = Standard_False,
                                   const Standard_Boolean UseTriangulation = Standard_False);
   
-  //! Updates <SProps> with the shape <S>, that contains its pricipal properties.
+  //! Updates <SProps> with the shape <S>, that contains its principal properties.
   //! The surface properties of all the faces in <S> are computed.
   //! Adaptive 2D Gauss integration is used.
   //! Parameter Eps sets maximal relative error of computed mass (area) for each face.
@@ -207,7 +207,7 @@ public:
                                         const Standard_Boolean SkipShared = Standard_False,
                                  const Standard_Boolean UseTriangulation = Standard_False);
   
-  //! Updates <VProps> with the shape <S>, that contains its pricipal properties.
+  //! Updates <VProps> with the shape <S>, that contains its principal properties.
   //! The volume properties of all the FORWARD and REVERSED faces in <S> are computed.
   //! If OnlyClosed is True then computed faces must belong to closed Shells.
   //! Adaptive 2D Gauss integration is used.
@@ -225,7 +225,7 @@ public:
                          const Standard_Real Eps, const Standard_Boolean OnlyClosed = Standard_False, 
                                                  const Standard_Boolean SkipShared = Standard_False);
   
-  //! Updates <VProps> with the shape <S>, that contains its pricipal properties.
+  //! Updates <VProps> with the shape <S>, that contains its principal properties.
   //! The volume properties of all the FORWARD and REVERSED faces in <S> are computed.
   //! If OnlyClosed is True then computed faces must belong to closed Shells.
   //! Adaptive 2D Gauss integration is used.
index 4d594bc98d35f109e706e9f2019a877d95c34960..f0ea770bc28c54008ee9d0fe7829b76ca5eeafda 100644 (file)
@@ -225,7 +225,7 @@ void BRepGProp_Face::Normal (const Standard_Real  U,
 
 //  APO 17.04.2002 (OCC104)
 // This is functions that calculate coeff. to optimize "integration order".
-//They had been produced experementally for some hard example.
+// They had been produced experimentally for some hard example.
 static Standard_Real AS = -0.15, AL = -0.50, B = 1.0, C = 0.75, D = 0.25;
 static inline Standard_Real SCoeff(const Standard_Real Eps){
   return Eps < 0.1? AS*(B+Log10(Eps)) + C: C;
index 3db4960d2324e150bb3b5b7c97b1892879ecbd02..f762c62017e5e9a52d236fb7f17bb1868f21a628 100644 (file)
@@ -58,7 +58,7 @@ public:
   //! surfaces.
   //! Non-adaptive 2D Gauss integration with predefined numbers of Gauss points
   //! is used. Numbers of points depend on types of surfaces and  curves.
-  //! Errror of the computation is not calculated.
+  //! Error of the computation is not calculated.
   Standard_EXPORT BRepGProp_Vinert(const BRepGProp_Face& S, const gp_Pnt& VLocation);
   
 
@@ -117,7 +117,7 @@ public:
   //! surfaces.
   //! Non-adaptive 2D Gauss integration with predefined numbers of Gauss points
   //! is used. Numbers of points depend on types of surfaces and  curves.
-  //! Errror of the computation is not calculated.
+  //! Error of the computation is not calculated.
   Standard_EXPORT BRepGProp_Vinert(BRepGProp_Face& S, BRepGProp_Domain& D, const gp_Pnt& VLocation);
   
 
index 5022e4ee58435522cb83cf519a42731e6506cff4..deeb1ee537812fbfd2954248c4a8e0a54b03f504 100644 (file)
@@ -412,7 +412,7 @@ Standard_Boolean BRepTools_Modifier::Rebuild
         {
           // rem dub 16/09/97 : Make constant topology or not make at all.
           // Do not make if CopySurface = 1
-          // Atention, TRUE sewing edges (ReallyClosed)
+          // Attention, TRUE sewing edges (ReallyClosed)
           // stay even if  CopySurface is true.
     
           // check that edge contains two pcurves on this surface:
index ae97312db3ce7fd9c431b70043b5b914e1d6a3ca..80e0ad8c87c6707636fc2f4dd45d6c3cd675e6d6 100644 (file)
@@ -112,17 +112,16 @@ public:
 
   //! Applies the substitutions requests to a shape.
   //!
-  //! <until> gives the level of type until which requests are taken
-  //! into account. For subshapes of the type <until> no rebuild
-  //! and futher exploring are done.
+  //! theUntil gives the level of type until which requests are taken into account.
+  //! For subshapes of the type <until> no rebuild and further exploring are done.
   //!
   //! NOTE: each subshape can be replaced by shape of the same type
-  //! or by shape containing only shapes of that type (for
-  //! example, TopoDS_Edge can be replaced by TopoDS_Edge,
+  //! or by shape containing only shapes of that type
+  //! (for example, TopoDS_Edge can be replaced by TopoDS_Edge,
   //! TopoDS_Wire or TopoDS_Compound containing TopoDS_Edges).
-  //! If incompatible shape type is encountered, it is ignored
-  //! and flag FAIL1 is set in Status.
-  Standard_EXPORT virtual TopoDS_Shape Apply (const TopoDS_Shape& shape, const TopAbs_ShapeEnum until = TopAbs_SHAPE);
+  //! If incompatible shape type is encountered, it is ignored and flag FAIL1 is set in Status.
+  Standard_EXPORT virtual TopoDS_Shape Apply (const TopoDS_Shape& theShape,
+                                              const TopAbs_ShapeEnum theUntil = TopAbs_SHAPE);
 
   //! Returns (modifiable) the flag which defines whether Location of shape take into account
   //! during replacing shapes.
index 3c41836d30890e806dd4823e491031beeabe4476..a7e1c34fde70769bb81c2001b80b3ed445e886d6 100644 (file)
@@ -125,9 +125,9 @@ void BRepTools_Substitution::Build(const TopoDS_Shape& S)
     if (!HasSubShape) {
       if (NewS.ShapeType() == TopAbs_WIRE  || NewS.ShapeType() == TopAbs_SHELL ||
          NewS.ShapeType() == TopAbs_SOLID || NewS.ShapeType() == TopAbs_COMPOUND)
-       //----------------------------------------------------------------
-       // Wire,Solid,Shell,Compound mut have subshape else they disapear
-       //---------------------------------------------------------------       
+       //-----------------------------------------------------------------
+       // Wire,Solid,Shell,Compound must have subshape else they disappear
+       //-----------------------------------------------------------------
        NewS.Nullify();
     }
   }
index 1d6dade1ac870f20d1f798f6d734935d0f209e12..e1e8c9d5fd4a034f2c0fadcad4a13a2b5c339f0b 100644 (file)
@@ -524,64 +524,67 @@ public:
   Standard_EXPORT static void IncreaseDegree (const Standard_Integer NewDegree, const TColgp_Array1OfPnt& Poles, const TColStd_Array1OfReal* Weights, TColgp_Array1OfPnt& NewPoles, TColStd_Array1OfReal* NewWeights);
   
   //! Increase the degree of a bspline (or bezier) curve
-  //! of   dimension  <Dimension>  form <Degree>      to
-  //! <NewDegree>.
-  //!
-  //! The number of poles in the new curve is :
-  //!
-  //! Poles.Length() + (NewDegree - Degree) * Number of spans
-  //!
-  //! Where the number of spans is :
-  //!
-  //! LastUKnotIndex(Mults) - FirstUKnotIndex(Mults) + 1
-  //!
-  //! for a non-periodic curve
-  //!
-  //! And Knots.Length() - 1 for a periodic curve.
-  //!
-  //! The multiplicities of all  knots  are increased by
-  //! the degree elevation.
-  //!
-  //! The new knots are usually  the same knots with the
-  //! exception of  a non-periodic curve with  the first
+  //! of dimension theDimension form theDegree to theNewDegree.
+  //!
+  //! The number of poles in the new curve is:
+  //! @code
+  //!   Poles.Length() + (NewDegree - Degree) * Number of spans
+  //! @endcode
+  //! Where the number of spans is:
+  //! @code
+  //!   LastUKnotIndex(Mults) - FirstUKnotIndex(Mults) + 1
+  //! @endcode
+  //! for a non-periodic curve, and
+  //! @code
+  //!   Knots.Length() - 1
+  //! @endcode
+  //! for a periodic curve.
+  //!
+  //! The multiplicities of all knots are increased by the degree elevation.
+  //!
+  //! The new knots are usually the same knots with the
+  //! exception of a non-periodic curve with the first
   //! and last multiplicity not  equal to Degree+1 where
-  //! knots are removed  form the start  and the  bottom
-  //! untils the sum of the  multiplicities is  equal to
-  //! NewDegree+1  at the  knots   corresponding  to the
+  //! knots are removed form the start and the bottom
+  //! until the sum of the multiplicities is equal to
+  //! NewDegree+1  at the knots corresponding to the
   //! first and last parameters of the curve.
   //!
-  //! Example  :  Suppose a  curve  of degree 3 starting
-  //! with following knots and multiplicities :
-  //!
-  //! knot : 0.  1.  2.
-  //! mult : 1   2   1
-  //!
-  //! The  FirstUKnot is  2.     because the   sum    of
-  //! multiplicities is Degree+1 : 1 + 2 + 1 = 4 = 3 + 1
-  //!
-  //! i.e. the first parameter  of the  curve is  2. and
-  //! will still be   2.  after degree  elevation.   Let
-  //! raises this curve to degree 4.  The multiplicities
-  //! are increased by 2.
-  //!
-  //! They   become 2 3  2.   But     we need a   sum of
-  //! multiplicities  of 5 at knot  2. So the first knot
-  //! is removed and the new knots are :
-  //!
-  //! knot : 1.  2.
-  //! mult : 3   2
-  //!
-  //! The multipicity   of the first  knot may   also be
-  //! reduced if the sum is still to big.
-  //!
-  //! In the  most common situations (periodic  curve or
-  //! curve with first and last multiplicities equals to
-  //! Degree+1) the knots are knot changes.
-  //!
-  //! The method IncreaseDegreeCountKnots can be used to
-  //! compute the new number of knots.
-  Standard_EXPORT static void IncreaseDegree (const Standard_Integer NewDegree, const TColgp_Array1OfPnt2d& Poles, const TColStd_Array1OfReal* Weights, TColgp_Array1OfPnt2d& NewPoles, TColStd_Array1OfReal* NewWeights);
-  
+  //! Example: Suppose a curve of degree 3 starting
+  //! with following knots and multiplicities:
+  //! @code
+  //!   knot : 0.  1.  2.
+  //!   mult : 1   2   1
+  //! @endcode
+  //!
+  //! The FirstUKnot is 2.0 because the sum of multiplicities is
+  //! @code
+  //!   Degree+1 : 1 + 2 + 1 = 4 = 3 + 1
+  //! @endcode
+  //! i.e. the first parameter of the curve is 2.0 and
+  //! will still be 2.0 after degree elevation.
+  //! Let raise this curve to degree 4.
+  //! The multiplicities are increased by 2.
+  //!
+  //! They  become 2 3 2.
+  //! But we need a sum of multiplicities of 5 at knot 2.
+  //! So the first knot is removed and the new knots are:
+  //! @code
+  //!   knot : 1.  2.
+  //!   mult : 3   2
+  //! @endcode
+  //! The multipicity of the first knot may also be reduced if the sum is still to big.
+  //!
+  //! In the most common situations (periodic curve or curve with first
+  //! and last multiplicities equals to Degree+1) the knots are knot changes.
+  //!
+  //! The method IncreaseDegreeCountKnots can be used to compute the new number of knots.
+  Standard_EXPORT static void IncreaseDegree (const Standard_Integer theNewDegree,
+                                              const TColgp_Array1OfPnt2d& thePoles,
+                                              const TColStd_Array1OfReal* theWeights,
+                                              TColgp_Array1OfPnt2d& theNewPoles,
+                                              TColStd_Array1OfReal* theNewWeights);
+
   //! Set in <NbKnots> and <NbPolesToAdd> the number of Knots and
   //! Poles   of  the NotPeriodic  Curve   identical  at the
   //! periodic     curve with    a  degree    <Degree>  ,  a
index 87cf9df4b0352aeb0c08073a4cc647fda51108fb..17fdd17dd727a3da889fe52a97b4c9bfccb20879 100644 (file)
@@ -31,11 +31,11 @@ class gp_Vec2d;
 class Geom2d_Point;
 
 
-//! Bisec  provides the bisecting line between two  elements
-//! This line is trimed by a point <P> and it's contained in the domain
+//! Bisec provides the bisecting line between two elements
+//! This line is trimmed by a point <P> and it's contained in the domain
 //! defined by the two vectors <V1>, <V2> and <Sense>.
 //!
-//! Definition of  the domain:
+//! Definition of the domain:
 //! if <Sense>  is  true the bisecting line is contained in the sector
 //! defined by <-V1> and <-V2> in the sense indirect.
 //! if <Sense>  is  false the bisecting line is contained in the sector
@@ -47,7 +47,7 @@ class Geom2d_Point;
 //! corresponding to one of hyperbola's axes.
 //! if the bisector is a parabola on the focal length is smaller than
 //! <Tolerance>, the bisector is replaced by a semi_line corresponding
-//! to the axe of symetrie of the parabola.
+//! to the axe of symmetry of the parabola.
 //! if the bisector is an ellipse  and the minor radius is smaller than
 //! <Tolerance>, the bisector is replaced by a segment corresponding
 //! to the great axe of the ellipse.
index f563b7df18b67d97f62cfad29718de32831e4d20..2de350fe5dc62a038482e693620cea62d2a52c53 100644 (file)
@@ -49,7 +49,7 @@ static Standard_Integer nbint = 0;
 
 //===================================================================================
 // function :
-// putpose  :
+// purpose  :
 //===================================================================================
 Bisector_Inter::Bisector_Inter() 
 {
@@ -57,7 +57,7 @@ Bisector_Inter::Bisector_Inter()
 
 //===================================================================================
 // function :
-// putpose  :
+// purpose  :
 //===================================================================================
 Bisector_Inter::Bisector_Inter(const Bisector_Bisec&  C1, 
                               const IntRes2d_Domain& D1, 
@@ -72,7 +72,7 @@ Bisector_Inter::Bisector_Inter(const Bisector_Bisec&  C1,
 
 //===================================================================================
 // function : ConstructSegment
-// putpose  :
+// purpose  :
 //===================================================================================
 static Handle(Geom2d_Line) ConstructSegment(const gp_Pnt2d&     PMin,
                                            const gp_Pnt2d&     PMax,
@@ -88,7 +88,7 @@ static Handle(Geom2d_Line) ConstructSegment(const gp_Pnt2d&     PMin,
 
 //===================================================================================
 // function : Perform
-// putpose  :
+// purpose  :
 //===================================================================================
 void Bisector_Inter::Perform(const Bisector_Bisec&  C1,
                             const IntRes2d_Domain& D1, 
@@ -208,7 +208,7 @@ void Bisector_Inter::Perform(const Bisector_Bisec&  C1,
 
 //===================================================================================
 // function : SinglePerform
-// putpose  :
+// purpose  :
 //===================================================================================
 void Bisector_Inter::SinglePerform(const Handle(Geom2d_Curve)&    CBis1,
                                   const IntRes2d_Domain&         D1, 
@@ -308,7 +308,7 @@ void Bisector_Inter::SinglePerform(const Handle(Geom2d_Curve)&    CBis1,
 
 //===================================================================================
 // function : NeighbourPerform
-// putpose  : Find the intersection of 2 neighbor bissectrices curve/curve
+// purpose  : Find the intersection of 2 neighbor bissectrices curve/curve
 //            (ie Bis1 separates A and B and Bis2 separates B and C).
 //            Bis1 is parameterized by B and Bis2 by C.
 //
@@ -371,7 +371,7 @@ void Bisector_Inter::NeighbourPerform(const Handle(Bisector_BisecCC)&  Bis1,
 
 //=====================================================================================
 // function : TestBound
-// putpose  : Test if the extremities of Bis2 are on the segment cooresponding to Bis1.
+// purpose  : Test if the extremities of Bis2 are on the segment corresponding to Bis1.
 //=====================================================================================
 void Bisector_Inter::TestBound (const Handle(Geom2d_Line)&   Bis1,
                                const IntRes2d_Domain&       D1,
index b4871f42515cac198a493a412277988475d77dd8..82ca5a90aba3b38623753fd9c11fe3517343487b 100644 (file)
@@ -137,7 +137,7 @@ public:
   PCDM_ReaderStatus GetRetrieveStatus() const { return myRetrievableStatus; }
   
   //! Reads aDoc from standard SEEKABLE stream theIStream,
-  //! the stream should support SEEK fuctionality
+  //! the stream should support SEEK functionality
   Standard_EXPORT Handle(CDM_Document) Read
     (Standard_IStream& theIStream,
      const Message_ProgressRange& theRange = Message_ProgressRange());
index ca69c6f437dda2394af24d789f47c0c4ad0abed7..3bcd519a36fe1b0c0d7f014f6d82134ec5609ae5 100644 (file)
@@ -776,7 +776,7 @@ Standard_Boolean ChFi3d_Builder::StoreData(Handle(ChFiDS_SurfData)& Data,
    
  if(!ChFi3d_CheckSameParameter(checkcurve,PCurveOnFace,S1,tolC1,tolcheck)){
 #ifdef OCCT_DEBUG
-   std::cout<<"aaproximate tolerance under-valued : "<<tolC1<<" for "<<tolcheck<<std::endl;
+   std::cout<<"approximate tolerance under-valued : "<<tolC1<<" for "<<tolcheck<<std::endl;
 #endif 
     tolC1 = tolcheck;
   }
index 81938ed3dd438c7f6f1ae9b84729d4752a9fc31b..2dbac56425930b671e4810a00400505075c6509e 100644 (file)
@@ -272,7 +272,7 @@ Standard_Boolean FairCurve_MinimalVariation::Compute(const gp_Vec2d& DeltaP1,
  Angle1 =  Ox.Angle(P1P2) + Alph1;
  Angle2 = -Ox.Angle(P1P2) + Alph2;
 
-// Calculation of the length of sliding (imposed or intial);
+// Calculation of the length of sliding (imposed or initial);
  
  if (!NewFreeSliding) {
     SlidingLength = NewSlidingFactor * LReference;
index 6e80baae53f044b093dbd4f2ef9e19c451b1390b..277b64f2fc32903158978f4711bce47a521d1c1c 100644 (file)
 #include <gp_Vec2d.hxx>
 
 //=========================================================================
-//   Creation d une translation 3d de Geom2d de vecteur de tanslation Vec.  +
+//   Creation d une translation 3d de Geom2d de vecteur de translation Vec
 //=========================================================================
 GCE2d_MakeTranslation::GCE2d_MakeTranslation(const gp_Vec2d&  Vec ) {
   TheTranslation = new Geom2d_Transformation();
   TheTranslation->SetTranslation(Vec);
 }
-     
+
 //=========================================================================
-//   Creation d une translation 3d de Geom2d de vecteur de tanslation le    +
+//   Creation d une translation 3d de Geom2d de vecteur de translation le +
 //   vecteur reliant Point1 a Point2.                                     +
 //=========================================================================
 
@@ -40,6 +40,6 @@ GCE2d_MakeTranslation::GCE2d_MakeTranslation(const gp_Pnt2d&  Point1 ,
 }
 
 const Handle(Geom2d_Transformation)& GCE2d_MakeTranslation::Value() const
-{ 
+{
   return TheTranslation;
 }
index f8ee543ed418de8376f38c02f7bebcf2d9086a3f..50da8c3a60f63fc851fdc38e4e8b71434cbf27e2 100644 (file)
@@ -63,9 +63,15 @@ DEFINE_STANDARD_HANDLE(Geom_ConicalSurface, Geom_ElementarySurface)
 //! - Its "main Direction" is the v parametric direction of the cone.
 //! - Its origin is the origin of the v parameter.
 //! The parametric range of the two parameters is:
-//! - [ 0, 2.*Pi ] for u, and - ] -infinity, +infinity [ for v
-//! The parametric equation of the cone is:  P(u, v) =
-//! O + (R + v*sin(Ang)) * (cos(u)*XDir + sin(u)*YDir) + v*cos(Ang)*ZDir where:
+//! @code
+//!  - [ 0, 2.*Pi ] for u, and
+//!  - ] -infinity, +infinity [ for v
+//! @endcode
+//! The parametric equation of the cone is:
+//! @code
+//! P(u, v) = O + (R + v*sin(Ang)) * (cos(u)*XDir + sin(u)*YDir) + v*cos(Ang)*ZDir
+//! @endcode
+//! where:
 //! - O, XDir, YDir and ZDir are respectively
 //! the origin, the "X Direction", the "Y Direction" and
 //! the "Z Direction" of the cone's local coordinate system,
@@ -96,21 +102,16 @@ public:
   Standard_EXPORT Geom_ConicalSurface(const gp_Ax3& A3, const Standard_Real Ang, const Standard_Real Radius);
   
 
-  //! Creates a ConicalSurface from a non transient Cone from
-  //! package gp.
+  //! Creates a ConicalSurface from a non transient gp_Cone.
   Standard_EXPORT Geom_ConicalSurface(const gp_Cone& C);
-  
 
   //! Set <me> so that <me> has the same geometric properties as C.
   Standard_EXPORT void SetCone (const gp_Cone& C);
-  
 
-  //! Changes the radius of the conical surface in the placement
-  //! plane (Z = 0, V = 0).  The local coordinate system is not
-  //! modified.
+  //! Changes the radius of the conical surface in the placement plane (Z = 0, V = 0).
+  //! The local coordinate system is not modified.
   //! Raised if R < 0.0
   Standard_EXPORT void SetRadius (const Standard_Real R);
-  
 
   //! Changes the semi angle of the conical surface.
   //! Semi-angle can be negative. Its absolute value
@@ -118,86 +119,79 @@ public:
   //! Raises ConstructionError if Abs(Ang) < Resolution from gp or
   //! Abs(Ang) >= PI/2 - Resolution
   Standard_EXPORT void SetSemiAngle(const Standard_Real Ang);
-  
 
-  //! returns a non transient cone with the same geometric properties
-  //! as <me>.
+  //! Returns a non transient cone with the same geometric properties as <me>.
   Standard_EXPORT gp_Cone Cone() const;
-  
-  //! return 2.PI - U.
+
+  //! Eeturn 2.PI - U.
   Standard_EXPORT Standard_Real UReversedParameter (const Standard_Real U) const Standard_OVERRIDE;
-  
-  //! Computes the u (or v) parameter on the modified
-  //! surface, when reversing its u (or v) parametric
-  //! direction, for any point of u parameter U (or of v
-  //! parameter V) on this cone.
+
+  //! Computes the u (or v) parameter on the modified surface,
+  //! when reversing its u (or v) parametric direction,
+  //! for any point of u parameter U (or of v parameter V) on this cone.
   //! In the case of a cone, these functions return respectively:
   //! - 2.*Pi - U, -V.
   Standard_EXPORT Standard_Real VReversedParameter (const Standard_Real V) const Standard_OVERRIDE;
   
-  //! Changes the orientation of this cone in the v
-  //! parametric direction. The bounds of the surface are
-  //! not changed but the v parametric direction is reversed.
+  //! Changes the orientation of this cone in the v parametric direction.
+  //! The bounds of the surface are not changed but the v parametric direction is reversed.
   //! As a consequence, for a cone:
   //! - the "main Direction" of the local coordinate system
   //! is reversed, and
   //! - the half-angle at the apex is inverted.
   Standard_EXPORT virtual void VReverse() Standard_OVERRIDE;
-  
-  //! Computes the  parameters on the  transformed  surface for
+
+  //! Computes the parameters on the transformed surface for
   //! the transform of the point of parameters U,V on <me>.
-  //!
-  //! me->Transformed(T)->Value(U',V')
-  //!
+  //! @code
+  //!   me->Transformed(T)->Value(U',V')
+  //! @endcode
   //! is the same point as
-  //!
-  //! me->Value(U,V).Transformed(T)
-  //!
+  //! @code
+  //!   me->Value(U,V).Transformed(T)
+  //! @endcode
   //! Where U',V' are the new values of U,V after calling
-  //!
-  //! me->TranformParameters(U,V,T)
-  //!
-  //! This methods multiplies V by T.ScaleFactor()
+  //! @code
+  //!   me->TransformParameters(U,V,T)
+  //! @endcode
+  //! This method multiplies V by T.ScaleFactor()
   Standard_EXPORT virtual void TransformParameters (Standard_Real& U, Standard_Real& V, const gp_Trsf& T) const Standard_OVERRIDE;
-  
-  //! Returns a 2d transformation  used to find the  new
+
+  //! Returns a 2d transformation used to find the new
   //! parameters of a point on the transformed surface.
-  //!
-  //! me->Transformed(T)->Value(U',V')
-  //!
+  //! @code
+  //!   me->Transformed(T)->Value(U',V')
+  //! @endcode
   //! is the same point as
-  //!
-  //! me->Value(U,V).Transformed(T)
-  //!
-  //! Where U',V' are  obtained by transforming U,V with
-  //! th 2d transformation returned by
-  //!
-  //! me->ParametricTransformation(T)
-  //!
-  //! This  methods  returns  a scale  centered  on  the
-  //! U axis with T.ScaleFactor
+  //! @code
+  //!   me->Value(U,V).Transformed(T)
+  //! @endcode
+  //! Where U',V' are obtained by transforming U,V with the 2d transformation returned by
+  //! @code
+  //!   me->ParametricTransformation(T)
+  //! @endcode
+  //! This method returns a scale centered on the U axis with T.ScaleFactor
   Standard_EXPORT virtual gp_GTrsf2d ParametricTransformation (const gp_Trsf& T) const Standard_OVERRIDE;
-  
+
   //! Computes the apex of this cone. It is on the negative
   //! side of the axis of revolution of this cone if the
   //! half-angle at the apex is positive, and on the positive
   //! side of the "main Axis" if the half-angle is negative.
   Standard_EXPORT gp_Pnt Apex() const;
-  
 
   //! The conical surface is infinite in the V direction so
   //! V1 = Realfirst from Standard and V2 = RealLast.
   //! U1 = 0 and U2 = 2*PI.
   Standard_EXPORT void Bounds (Standard_Real& U1, Standard_Real& U2, Standard_Real& V1, Standard_Real& V2) const Standard_OVERRIDE;
-  
 
   //! Returns the coefficients of the implicit equation of the
   //! quadric in the absolute cartesian coordinate system :
   //! These coefficients are normalized.
-  //! A1.X**2 + A2.Y**2 + A3.Z**2 + 2.(B1.X.Y + B2.X.Z + B3.Y.Z) +
-  //! 2.(C1.X + C2.Y + C3.Z) + D = 0.0
+  //! @code
+  //!   A1.X**2 + A2.Y**2 + A3.Z**2 + 2.(B1.X.Y + B2.X.Z + B3.Y.Z) + 2.(C1.X + C2.Y + C3.Z) + D = 0.0
+  //! @endcode
   Standard_EXPORT void Coefficients (Standard_Real& A1, Standard_Real& A2, Standard_Real& A3, Standard_Real& B1, Standard_Real& B2, Standard_Real& B3, Standard_Real& C1, Standard_Real& C2, Standard_Real& C3, Standard_Real& D) const;
-  
+
   //! Returns the reference radius of this cone.
   //! The reference radius is the radius of the circle formed
   //! by the intersection of this cone and its reference
@@ -207,67 +201,60 @@ public:
   //! If the apex of this cone is on the origin of the local
   //! coordinate system of this cone, the returned value is 0.
   Standard_EXPORT Standard_Real RefRadius() const;
-  
 
   //! Returns the semi-angle at the apex of this cone.
   //! Attention! Semi-angle can be negative.
   Standard_EXPORT Standard_Real SemiAngle() const;
-  
+
   //! returns True.
   Standard_EXPORT Standard_Boolean IsUClosed() const Standard_OVERRIDE;
-  
+
   //! returns False.
   Standard_EXPORT Standard_Boolean IsVClosed() const Standard_OVERRIDE;
-  
+
   //! Returns True.
   Standard_EXPORT Standard_Boolean IsUPeriodic() const Standard_OVERRIDE;
-  
+
   //! Returns False.
   Standard_EXPORT Standard_Boolean IsVPeriodic() const Standard_OVERRIDE;
-  
-  //! Builds the U isoparametric line of this cone. The
-  //! origin of this line is on the reference plane of this
-  //! cone (i.e. the plane defined by the origin, "X Direction"
+
+  //! Builds the U isoparametric line of this cone.
+  //! The origin of this line is on the reference plane of this cone
+  //! (i.e. the plane defined by the origin, "X Direction"
   //! and "Y Direction" of the local coordinate system of this cone).
   Standard_EXPORT Handle(Geom_Curve) UIso (const Standard_Real U) const Standard_OVERRIDE;
-  
-  //! Builds the V isoparametric circle of this cone. It is the
-  //! circle on this cone, located in the plane of Z
-  //! coordinate V*cos(Semi-Angle) in the local coordinate system of this
-  //! cone. The "Axis" of this circle is the axis of revolution
-  //! of this cone. Its starting point is defined by the "X
-  //! Direction" of this cone.
+
+  //! Builds the V isoparametric circle of this cone.
+  //! It is the circle on this cone, located in the plane of Z
+  //! coordinate V*cos(Semi-Angle) in the local coordinate system of this cone.
+  //! The "Axis" of this circle is the axis of revolution of this cone.
+  //! Its starting point is defined by the "X Direction" of this cone.
   //! Warning
   //! If the V isoparametric circle is close to the apex of
   //! this cone, the radius of the circle becomes very small.
   //! It is possible to have a circle with radius equal to 0.0.
   Standard_EXPORT Handle(Geom_Curve) VIso (const Standard_Real V) const Standard_OVERRIDE;
-  
 
-  //! Computes the  point P (U, V) on the surface.
-  //! P (U, V) = Loc +
-  //! (RefRadius + V * sin (Semi-Angle)) * (cos (U) * XDir + sin (U) * YDir) +
-  //! V * cos (Semi-Angle) * ZDir
+  //! Computes the point P (U, V) on the surface.
+  //! @code
+  //!   P (U, V) = Loc +
+  //!              (RefRadius + V * sin (Semi-Angle)) * (cos (U) * XDir + sin (U) * YDir) +
+  //!              V * cos (Semi-Angle) * ZDir
+  //! @endcode
   //! where Loc is the origin of the placement plane (XAxis, YAxis)
-  //! XDir is the direction of the XAxis and YDir the direction of
-  //! the YAxis.
+  //! XDir is the direction of the XAxis and YDir the direction of the YAxis.
   Standard_EXPORT void D0 (const Standard_Real U, const Standard_Real V, gp_Pnt& P) const Standard_OVERRIDE;
-  
 
-  //! Computes the current point and the first derivatives in the
-  //! directions U and V.
+  //! Computes the current point and the first derivatives in the directions U and V.
   Standard_EXPORT void D1 (const Standard_Real U, const Standard_Real V, gp_Pnt& P, gp_Vec& D1U, gp_Vec& D1V) const Standard_OVERRIDE;
-  
 
-  //! Computes the current point, the first and the second derivatives
-  //! in the directions U and V.
+  //! Computes the current point, the first and the second derivatives in the directions U and V.
   Standard_EXPORT void D2 (const Standard_Real U, const Standard_Real V, gp_Pnt& P, gp_Vec& D1U, gp_Vec& D1V, gp_Vec& D2U, gp_Vec& D2V, gp_Vec& D2UV) const Standard_OVERRIDE;
-  
 
   //! Computes the current point, the first,the second and the third
   //! derivatives in the directions U and V.
   Standard_EXPORT void D3 (const Standard_Real U, const Standard_Real V, gp_Pnt& P, gp_Vec& D1U, gp_Vec& D1V, gp_Vec& D2U, gp_Vec& D2V, gp_Vec& D2UV, gp_Vec& D3U, gp_Vec& D3V, gp_Vec& D3UUV, gp_Vec& D3UVV) const Standard_OVERRIDE;
-  
+
   //! Computes the derivative of order Nu in the u
   //! parametric direction, and Nv in the v parametric
   //! direction at the point of parameters (U, V) of this cone.
@@ -276,39 +263,22 @@ public:
   //! - Nu + Nv is less than 1,
   //! - Nu or Nv is negative.
   Standard_EXPORT gp_Vec DN (const Standard_Real U, const Standard_Real V, const Standard_Integer Nu, const Standard_Integer Nv) const Standard_OVERRIDE;
-  
+
   //! Applies the transformation T to this cone.
   Standard_EXPORT void Transform (const gp_Trsf& T) Standard_OVERRIDE;
-  
+
   //! Creates a new object which is a copy of this cone.
   Standard_EXPORT Handle(Geom_Geometry) Copy() const Standard_OVERRIDE;
-
   //! Dumps the content of me into the stream
   Standard_EXPORT virtual void DumpJson (Standard_OStream& theOStream, Standard_Integer theDepth = -1) const Standard_OVERRIDE;
 
-
-
-
   DEFINE_STANDARD_RTTIEXT(Geom_ConicalSurface,Geom_ElementarySurface)
 
-protected:
-
-
-
-
 private:
 
-
   Standard_Real radius;
   Standard_Real semiAngle;
 
-
 };
 
-
-
-
-
-
-
 #endif // _Geom_ConicalSurface_HeaderFile
index f26af99379499f86be256c9e5fdac7e037d874f2..bcf432207ad79564d12671d38b3632287e918ffc 100644 (file)
@@ -42,7 +42,9 @@ DEFINE_STANDARD_HANDLE(Geom_CylindricalSurface, Geom_ElementarySurface)
 //! This class defines the infinite cylindrical surface.
 //!
 //! Every cylindrical surface is set by the following equation:
-//! S(U,V) = Location + R*cos(U)*XAxis + R*sin(U)*YAxis + V*ZAxis,
+//! @code
+//!   S(U,V) = Location + R*cos(U)*XAxis + R*sin(U)*YAxis + V*ZAxis,
+//! @endcode
 //! where R is cylinder radius.
 //!
 //! The local coordinate system of the CylindricalSurface is defined
@@ -52,7 +54,9 @@ DEFINE_STANDARD_HANDLE(Geom_CylindricalSurface, Geom_ElementarySurface)
 //! it gives the direction of increasing parametric value V.
 //!
 //! The parametrization range is :
-//! U [0, 2*PI],  V ]- infinite, + infinite[
+//! @code
+//!   U [0, 2*PI],  V ]- infinite, + infinite[
+//! @endcode
 //!
 //! The "XAxis" and the "YAxis" define the placement plane of the
 //! surface (Z = 0, and parametric value V = 0)  perpendicular to
@@ -71,111 +75,109 @@ class Geom_CylindricalSurface : public Geom_ElementarySurface
 
 public:
 
-  
-
   //! A3 defines the local coordinate system of the cylindrical surface.
-  //! The "ZDirection" of A3 defines the direction of the surface's
-  //! axis of symmetry.
+  //! The "ZDirection" of A3 defines the direction of the surface's axis of symmetry.
   //! At the creation the parametrization of the surface is defined
   //! such that the normal Vector (N = D1U ^ D1V) is oriented towards
   //! the "outside region" of the surface.
-  //! Warnings :
+  //! Warnings:
   //! It is not forbidden to create a cylindrical surface with
   //! Radius = 0.0
   //! Raised if Radius < 0.0
   Standard_EXPORT Geom_CylindricalSurface(const gp_Ax3& A3, const Standard_Real Radius);
-  
 
-  //! Creates a CylindricalSurface from a non transient Cylinder
-  //! from package gp.
+  //! Creates a CylindricalSurface from a non transient gp_Cylinder.
   Standard_EXPORT Geom_CylindricalSurface(const gp_Cylinder& C);
-  
 
   //! Set <me> so that <me> has the same geometric properties as C.
   Standard_EXPORT void SetCylinder (const gp_Cylinder& C);
-  
+
   //! Changes the radius of the cylinder.
   //! Raised if R < 0.0
   Standard_EXPORT void SetRadius (const Standard_Real R);
-  
 
-  //! returns a non transient cylinder with the same geometric
-  //! properties as <me>.
+  //! returns a non transient cylinder with the same geometric properties as <me>.
   Standard_EXPORT gp_Cylinder Cylinder() const;
-  
+
   //! Return the  parameter on the  Ureversed surface for
   //! the point of parameter U on <me>.
   //! Return 2.PI - U.
   Standard_EXPORT Standard_Real UReversedParameter (const Standard_Real U) const Standard_OVERRIDE;
-  
+
   //! Return the  parameter on the  Vreversed surface for
   //! the point of parameter V on <me>.
   //! Return -V
   Standard_EXPORT Standard_Real VReversedParameter (const Standard_Real V) const Standard_OVERRIDE;
-  
+
   //! Computes the  parameters on the  transformed  surface for
   //! the transform of the point of parameters U,V on <me>.
-  //! me->Transformed(T)->Value(U',V')
+  //! @code
+  //!   me->Transformed(T)->Value(U',V')
+  //! @endcode
   //! is the same point as
-  //! me->Value(U,V).Transformed(T)
+  //! @code
+  //!   me->Value(U,V).Transformed(T)
+  //! @endcode
   //! Where U',V' are the new values of U,V after calling
-  //! me->TranformParameters(U,V,T)
-  //! This methods multiplies V by T.ScaleFactor()
+  //! @code
+  //!   me->TransformParameters(U,V,T)
+  //! @endcode
+  //! This method multiplies V by T.ScaleFactor()
   Standard_EXPORT virtual void TransformParameters (Standard_Real& U, Standard_Real& V, const gp_Trsf& T) const Standard_OVERRIDE;
-  
-  //! Returns a 2d transformation  used to find the  new
+
+  //! Returns a 2d transformation used to find the new
   //! parameters of a point on the transformed surface.
-  //! me->Transformed(T)->Value(U',V')
+  //! @code
+  //!   me->Transformed(T)->Value(U',V')
+  //! @endcode
   //! is the same point as
-  //! me->Value(U,V).Transformed(T)
-  //! Where U',V' are  obtained by transforming U,V with
-  //! th 2d transformation returned by
-  //! me->ParametricTransformation(T)
-  //! This  methods  returns  a scale  centered  on  the
-  //! U axis with T.ScaleFactor
+  //! @code
+  //!   me->Value(U,V).Transformed(T)
+  //! @endcode
+  //! Where U',V' are obtained by transforming U,V with the 2d transformation returned by
+  //! @code
+  //!   me->ParametricTransformation(T)
+  //! @endcode
+  //! This method returns a scale centered on the U axis with T.ScaleFactor
   Standard_EXPORT virtual gp_GTrsf2d ParametricTransformation (const gp_Trsf& T) const Standard_OVERRIDE;
-  
 
   //! The CylindricalSurface is infinite in the V direction so
   //! V1 = Realfirst, V2 = RealLast from package Standard.
   //! U1 = 0 and U2 = 2*PI.
   Standard_EXPORT void Bounds (Standard_Real& U1, Standard_Real& U2, Standard_Real& V1, Standard_Real& V2) const Standard_OVERRIDE;
-  
 
   //! Returns the coefficients of the implicit equation of the quadric
   //! in the absolute cartesian coordinate system :
   //! These coefficients are normalized.
-  //! A1.X**2 + A2.Y**2 + A3.Z**2 + 2.(B1.X.Y + B2.X.Z + B3.Y.Z) +
-  //! 2.(C1.X + C2.Y + C3.Z) + D = 0.0
+  //! @code
+  //! A1.X**2 + A2.Y**2 + A3.Z**2 + 2.(B1.X.Y + B2.X.Z + B3.Y.Z) + 2.(C1.X + C2.Y + C3.Z) + D = 0.0
+  //! @endcode
   Standard_EXPORT void Coefficients (Standard_Real& A1, Standard_Real& A2, Standard_Real& A3, Standard_Real& B1, Standard_Real& B2, Standard_Real& B3, Standard_Real& C1, Standard_Real& C2, Standard_Real& C3, Standard_Real& D) const;
-  
+
   //! Returns the radius of this cylinder.
   Standard_EXPORT Standard_Real Radius() const;
-  
+
   //! Returns True.
   Standard_EXPORT Standard_Boolean IsUClosed() const Standard_OVERRIDE;
-  
+
   //! Returns False.
   Standard_EXPORT Standard_Boolean IsVClosed() const Standard_OVERRIDE;
-  
+
   //! Returns True.
   Standard_EXPORT Standard_Boolean IsUPeriodic() const Standard_OVERRIDE;
-  
+
   //! Returns False.
   Standard_EXPORT Standard_Boolean IsVPeriodic() const Standard_OVERRIDE;
-  
 
   //! The UIso curve is a Line. The location point of this line is
   //! on the placement plane (XAxis, YAxis) of the surface.
   //! This line is parallel to the axis of symmetry of the surface.
   Standard_EXPORT Handle(Geom_Curve) UIso (const Standard_Real U) const Standard_OVERRIDE;
-  
 
   //! The VIso curve is a circle. The start point of this circle
   //! (U = 0) is defined with the "XAxis" of the surface.
   //! The center of the circle is on the symmetry axis.
   Standard_EXPORT Handle(Geom_Curve) VIso (const Standard_Real V) const Standard_OVERRIDE;
-  
 
   //! Computes the  point P (U, V) on the surface.
   //! P (U, V) = Loc + Radius * (cos (U) * XDir + sin (U) * YDir) +
@@ -184,17 +186,14 @@ public:
   //! XDir is the direction of the XAxis and YDir the direction of
   //! the YAxis.
   Standard_EXPORT void D0 (const Standard_Real U, const Standard_Real V, gp_Pnt& P) const Standard_OVERRIDE;
-  
 
   //! Computes the current point and the first derivatives in the
   //! directions U and V.
   Standard_EXPORT void D1 (const Standard_Real U, const Standard_Real V, gp_Pnt& P, gp_Vec& D1U, gp_Vec& D1V) const Standard_OVERRIDE;
-  
 
   //! Computes the current point, the first and the second derivatives
   //! in the directions U and V.
   Standard_EXPORT void D2 (const Standard_Real U, const Standard_Real V, gp_Pnt& P, gp_Vec& D1U, gp_Vec& D1V, gp_Vec& D2U, gp_Vec& D2V, gp_Vec& D2UV) const Standard_OVERRIDE;
-  
 
   //! Computes the current point, the first, the second and the
   //! third   derivatives in the directions U and V.
@@ -215,28 +214,12 @@ public:
   //! Dumps the content of me into the stream
   Standard_EXPORT virtual void DumpJson (Standard_OStream& theOStream, Standard_Integer theDepth = -1) const Standard_OVERRIDE;
 
-
-
-
   DEFINE_STANDARD_RTTIEXT(Geom_CylindricalSurface,Geom_ElementarySurface)
 
-protected:
-
-
-
-
 private:
 
-
   Standard_Real radius;
 
-
 };
 
-
-
-
-
-
-
 #endif // _Geom_CylindricalSurface_HeaderFile
index 9881fcb26814ff7e853195646dbcf5fa56714960..71cdeb90966b287683f88a55cbce68d29eecba10 100644 (file)
@@ -72,7 +72,6 @@ class Geom_OffsetSurface : public Geom_Surface
 
 public:
 
-  
   //! Constructs a surface offset from the basis surface
   //! S, where Offset is the distance between the offset
   //! surface and the basis surface at any point.
@@ -98,7 +97,7 @@ public:
   //! No check is done to verify that a unique normal direction is
   //! defined at any point of the basis surface S.
   Standard_EXPORT Geom_OffsetSurface(const Handle(Geom_Surface)& S, const Standard_Real Offset, const Standard_Boolean isNotCheckC0 = Standard_False);
-  
+
   //! Raised if S is not at least C1.
   //! Warnings :
   //! No check is done to verify that a unique normal direction is
@@ -109,14 +108,14 @@ public:
   //! Standard_ConstructionError if the surface S is not
   //! at least "C1" continuous.
   Standard_EXPORT void SetBasisSurface (const Handle(Geom_Surface)& S, const Standard_Boolean isNotCheckC0 = Standard_False);
-  
+
   //! Changes this offset surface by assigning D as the offset value.
   Standard_EXPORT void SetOffsetValue (const Standard_Real D);
-  
+
   //! Returns the offset value of this offset surface.
   inline Standard_Real Offset() const
   { return offsetValue; }
-  
+
   //! Returns the basis surface of this offset surface.
   //! Note: The basis surface can be an offset surface.
   inline const Handle(Geom_Surface) & BasisSurface() const
@@ -125,35 +124,34 @@ public:
   //! Returns osculating surface if base surface is B-spline or Bezier
   inline const Handle(Geom_OsculatingSurface)& OsculatingSurface() const
   { return myOscSurf; }
-  
+
   //! Changes the orientation of this offset surface in the u
   //! parametric direction. The bounds of the surface
   //! are not changed but the given parametric direction is reversed.
   Standard_EXPORT void UReverse() Standard_OVERRIDE;
-  
+
   //! Computes the u  parameter on the modified
   //! surface, produced by reversing the u
   //! parametric direction of this offset surface, for any
   //! point of u parameter U  on this offset surface.
   Standard_EXPORT Standard_Real UReversedParameter (const Standard_Real U) const Standard_OVERRIDE;
-  
+
   //! Changes the orientation of this offset surface in the v parametric direction. The bounds of the surface
   //! are not changed but the given parametric direction is reversed.
   Standard_EXPORT void VReverse() Standard_OVERRIDE;
-  
+
   //! Computes the  v parameter on the modified
   //! surface, produced by reversing the or v
   //! parametric direction of this offset surface, for any
   //! point of  v parameter V on this offset surface.
   Standard_EXPORT Standard_Real VReversedParameter (const Standard_Real V) const Standard_OVERRIDE;
-  
+
   //! Returns the parametric bounds U1, U2, V1 and V2 of
   //! this offset surface.
   //! If the surface is infinite, this function can return:
   //! - Standard_Real::RealFirst(), or
   //! - Standard_Real::RealLast().
   Standard_EXPORT void Bounds (Standard_Real& U1, Standard_Real& U2, Standard_Real& V1, Standard_Real& V2) const Standard_OVERRIDE;
-  
 
   //! This method returns the continuity of the basis surface - 1.
   //! Continuity of the Offset surface :
@@ -171,7 +169,6 @@ public:
   //! surface otherwise the effective continuity can be lower than
   //! the continuity of the basis surface - 1.
   Standard_EXPORT GeomAbs_Shape Continuity() const Standard_OVERRIDE;
-  
 
   //! This method answer True if the continuity of the basis surface
   //! is N + 1 in the U parametric direction. We suppose in this
@@ -179,7 +176,6 @@ public:
   //! surface.
   //! Raised if N <0.
   Standard_EXPORT Standard_Boolean IsCNu (const Standard_Integer N) const Standard_OVERRIDE;
-  
 
   //! This method answer True if the continuity of the basis surface
   //! is N + 1 in the V parametric direction. We suppose in this
@@ -187,7 +183,7 @@ public:
   //! surface.
   //! Raised if N <0.
   Standard_EXPORT Standard_Boolean IsCNv (const Standard_Integer N) const Standard_OVERRIDE;
-  
+
   //! Checks whether this offset surface is closed in the u
   //! parametric direction.
   //! Returns true if, taking uFirst and uLast as
@@ -196,7 +192,7 @@ public:
   //! and P(uLast,v) is less than or equal to
   //! gp::Resolution() for each value of the   parameter v.
   Standard_EXPORT Standard_Boolean IsUClosed() const Standard_OVERRIDE;
-  
+
   //! Checks whether this offset surface is closed in the u
   //! or v parametric direction. Returns true if taking vFirst and vLast as the
   //! parametric bounds in the v parametric direction, the
@@ -204,57 +200,58 @@ public:
   //! P(u,vLast) is less than or equal to
   //! gp::Resolution() for each value of the parameter u.
   Standard_EXPORT Standard_Boolean IsVClosed() const Standard_OVERRIDE;
-  
 
   //! Returns true if this offset surface is periodic in the u
   //! parametric direction, i.e. if the basis
   //! surface of this offset surface is periodic in this direction.
   Standard_EXPORT Standard_Boolean IsUPeriodic() const Standard_OVERRIDE;
-  
+
   //! Returns the period of this offset surface in the u
   //! parametric direction respectively, i.e. the period of the
   //! basis surface of this offset surface in this parametric direction.
   //! raises if the surface is not uperiodic.
   Standard_EXPORT virtual Standard_Real UPeriod() const Standard_OVERRIDE;
-  
 
   //! Returns true if this offset surface is periodic in the v
   //! parametric direction, i.e. if the basis
   //! surface of this offset surface is periodic in this direction.
   Standard_EXPORT Standard_Boolean IsVPeriodic() const Standard_OVERRIDE;
-  
+
   //! Returns the period of this offset surface in the v
   //! parametric direction respectively, i.e. the period of the
   //! basis surface of this offset surface in this parametric direction.
   //! raises if the surface is not vperiodic.
   Standard_EXPORT virtual Standard_Real VPeriod() const Standard_OVERRIDE;
-  
+
   //! Computes the U isoparametric curve.
   Standard_EXPORT Handle(Geom_Curve) UIso (const Standard_Real U) const Standard_OVERRIDE;
-  
+
   //! Computes the V isoparametric curve.
   //!
   //! The following methods compute value and derivatives.
   //!
   //! Warnings
   //! An exception is raised if a unique normal vector is
-  //! not defined on the basis surface for the parametric
-  //! value (U,V).
+  //! not defined on the basis surface for the parametric value (U,V).
   //! No check is done at the creation time and we suppose
-  //! in this package that the offset surface can be defined
-  //! at any point.
+  //! in this package that the offset surface can be defined at any point.
   Standard_EXPORT Handle(Geom_Curve) VIso (const Standard_Real V) const Standard_OVERRIDE;
-  
 
-  //! P (U, V) = Pbasis + Offset * Ndir   where
-  //! Ndir = D1Ubasis ^ D1Vbasis / ||D1Ubasis ^ D1Vbasis|| is the
-  //! normal direction of the basis surface. Pbasis, D1Ubasis,
-  //! D1Vbasis are the point and the first derivatives on the basis
-  //! surface.
+  //! @code
+  //!   P (U, V) = Pbasis + Offset * Ndir
+  //! @endcode
+  //! where
+  //! @code
+  //!   Ndir = D1Ubasis ^ D1Vbasis / ||D1Ubasis ^ D1Vbasis||
+  //! @endcode
+  //! is the normal direction of the basis surface.
+  //! Pbasis, D1Ubasis, D1Vbasis are the point and the first derivatives on the basis surface.
   //! If Ndir is undefined this method computes an approached normal
-  //! direction using the following limited development :
-  //! Ndir = N0 + DNdir/DU + DNdir/DV + Eps with Eps->0 which
-  //! requires to compute the second derivatives on the basis surface.
+  //! direction using the following limited development:
+  //! @code
+  //! Ndir = N0 + DNdir/DU + DNdir/DV + Eps
+  //! @endcode
+  //! with Eps->0 which requires to compute the second derivatives on the basis surface.
   //! If the normal direction cannot be approximate for this order
   //! of derivation the exception UndefinedValue is raised.
   //!
@@ -262,23 +259,18 @@ public:
   //! Raised if the order of derivation required to compute the
   //! normal direction is greater than the second order.
   Standard_EXPORT void D0 (const Standard_Real U, const Standard_Real V, gp_Pnt& P) const Standard_OVERRIDE;
-  
 
   //! Raised if the continuity of the basis surface is not C2.
   Standard_EXPORT void D1 (const Standard_Real U, const Standard_Real V, gp_Pnt& P, gp_Vec& D1U, gp_Vec& D1V) const Standard_OVERRIDE;
-  
-  //! ---Purpose ;
+
   //! Raised if the continuity of the basis surface is not C3.
   Standard_EXPORT void D2 (const Standard_Real U, const Standard_Real V, gp_Pnt& P, gp_Vec& D1U, gp_Vec& D1V, gp_Vec& D2U, gp_Vec& D2V, gp_Vec& D2UV) const Standard_OVERRIDE;
-  
 
   //! Raised if the continuity of the basis surface is not C4.
   Standard_EXPORT void D3 (const Standard_Real U, const Standard_Real V, gp_Pnt& P, gp_Vec& D1U, gp_Vec& D1V, gp_Vec& D2U, gp_Vec& D2V, gp_Vec& D2UV, gp_Vec& D3U, gp_Vec& D3V, gp_Vec& D3UUV, gp_Vec& D3UVV) const Standard_OVERRIDE;
-  
 
-  //! Computes the derivative of order Nu in the direction u and Nv
-  //! in the direction v.
-  //! ---Purpose ;
+  //! Computes the derivative of order Nu in the direction u and Nv in the direction v.
+  //!
   //! Raised if the continuity of the basis surface is not CNu + 1
   //! in the U direction and CNv + 1 in the V direction.
   //! Raised if Nu + Nv < 1 or Nu < 0 or Nv < 0.
@@ -289,70 +281,69 @@ public:
   //! The computation of the value and derivatives on the basis
   //! surface are used to evaluate the offset surface.
   //!
-  //! Warnings :
+  //! Warnings:
   //! The exception UndefinedValue or UndefinedDerivative is
-  //! raised if it is not possible to compute a unique offset
-  //! direction.
+  //! raised if it is not possible to compute a unique offset direction.
   Standard_EXPORT gp_Vec DN (const Standard_Real U, const Standard_Real V, const Standard_Integer Nu, const Standard_Integer Nv) const Standard_OVERRIDE;
 
   //! Applies the transformation T to this offset surface.
   //! Note: the basis surface is also modified.
   Standard_EXPORT void Transform (const gp_Trsf& T) Standard_OVERRIDE;
-  
-  //! Computes the  parameters on the  transformed  surface for
+
+  //! Computes the parameters on the transformed surface for
   //! the transform of the point of parameters U,V on <me>.
-  //!
-  //! me->Transformed(T)->Value(U',V')
-  //!
+  //! @code
+  //!   me->Transformed(T)->Value(U',V')
+  //! @endcode
   //! is the same point as
-  //!
+  //! @code
   //! me->Value(U,V).Transformed(T)
-  //!
+  //! @endcode
   //! Where U',V' are the new values of U,V after calling
-  //!
-  //! me->TranformParameters(U,V,T)
-  //! This methods calls the basis surface method.
+  //! @code
+  //! me->TransformParameters(U,V,T)
+  //! @endcode
+  //! This method calls the basis surface method.
   Standard_EXPORT virtual void TransformParameters (Standard_Real& U, Standard_Real& V, const gp_Trsf& T) const Standard_OVERRIDE;
   
-  //! Returns a 2d transformation  used to find the  new
+  //! Returns a 2d transformation used to find the new
   //! parameters of a point on the transformed surface.
-  //!
-  //! me->Transformed(T)->Value(U',V')
-  //!
+  //! @code
+  //!   me->Transformed(T)->Value(U',V')
+  //! @endcode
   //! is the same point as
-  //!
-  //! me->Value(U,V).Transformed(T)
-  //!
-  //! Where U',V' are  obtained by transforming U,V with
-  //! th 2d transformation returned by
-  //!
+  //! @code
+  //!   me->Value(U,V).Transformed(T)
+  //! @endcode
+  //! Where U',V' are obtained by transforming U,V with the 2d transformation returned by
+  //! @code
   //! me->ParametricTransformation(T)
-  //!
-  //! This methods calls the basis surface method.
+  //! @endcode
+  //! This method calls the basis surface method.
   Standard_EXPORT virtual gp_GTrsf2d ParametricTransformation (const gp_Trsf& T) const Standard_OVERRIDE;
-  
+
   //! Creates a new object which is a copy of this offset surface.
   Standard_EXPORT Handle(Geom_Geometry) Copy() const Standard_OVERRIDE;
-  
+
   //! returns an  equivalent surface of the offset surface
   //! when  the basis surface   is a canonic  surface or a
   //! rectangular  limited surface on canonic surface or if
   //! the offset is null.
   Standard_EXPORT Handle(Geom_Surface) Surface() const;
-  
+
   //! if Standard_True, L is  the local osculating surface
   //! along U at  the point U,V.   It means that  DL/DU is
   //! collinear to DS/DU .  If IsOpposite == Standard_True
   //! these vectors have opposite direction.
   Standard_EXPORT Standard_Boolean UOsculatingSurface (const Standard_Real U, const Standard_Real V, Standard_Boolean& IsOpposite, Handle(Geom_BSplineSurface)& UOsculSurf) const;
-  
+
   //! if Standard_True, L is the local osculating surface
   //! along V at the point U,V.
   //! It means that  DL/DV is
   //! collinear to DS/DV .  If IsOpposite == Standard_True
   //! these vectors have opposite direction.
   Standard_EXPORT Standard_Boolean VOsculatingSurface (const Standard_Real U, const Standard_Real V, Standard_Boolean& IsOpposite, Handle(Geom_BSplineSurface)& VOsculSurf) const;
-  
+
   //! Returns continuity of the basis surface.
   inline GeomAbs_Shape GetBasisSurfContinuity() const
   { return myBasisSurfContinuity; }
index 690ebf497ff16d9f76fa9b5e156732b7f5697a6f..544d5c49a1dd8be17f8e80582699215d7b5f9232 100644 (file)
@@ -58,7 +58,9 @@ DEFINE_STANDARD_HANDLE(Geom_Plane, Geom_ElementarySurface)
 //! the "X Direction" and the "Y Direction" of its local
 //! coordinate system.)
 //! The parametric equation of the plane is:
-//! P(u, v) = O + u*XDir + v*YDir
+//! @code
+//!   P(u, v) = O + u*XDir + v*YDir
+//! @endcode
 //! where O, XDir and YDir are respectively the
 //! origin, the "X Direction" and the "Y Direction" of the
 //! local coordinate system of the plane.
@@ -69,152 +71,149 @@ class Geom_Plane : public Geom_ElementarySurface
 
 public:
 
-  
-
-  //! Creates a plane located in 3D space with an axis placement
-  //! three axis.  The "ZDirection" of "A3" is the direction normal
-  //! to the plane.  The "Location" point of "A3" is the origin of
-  //! the plane. The "XDirection" and "YDirection" of "A3" define
-  //! the directions of the U isoparametric and V isoparametric
-  //! curves.
+  //! Creates a plane located in 3D space with an axis placement three axis.
+  //! The "ZDirection" of "A3" is the direction normal
+  //! to the plane.  The "Location" point of "A3" is the origin of the plane.
+  //! The "XDirection" and "YDirection" of "A3" define
+  //! the directions of the U isoparametric and V isoparametric curves.
   Standard_EXPORT Geom_Plane(const gp_Ax3& A3);
-  
+
 
   //! Creates a plane from a non transient plane from package gp.
   Standard_EXPORT Geom_Plane(const gp_Pln& Pl);
-  
 
   //! P is the "Location" point or origin of the plane.
   //! V is the direction normal to the plane.
   Standard_EXPORT Geom_Plane(const gp_Pnt& P, const gp_Dir& V);
-  
 
-  //! Creates a plane from its cartesian equation :
-  //! Ax + By + Cz + D = 0.0
-  //!
+  //! Creates a plane from its cartesian equation:
+  //! @code
+  //!   Ax + By + Cz + D = 0.0
+  //! @endcode
   //! Raised if Sqrt (A*A + B*B + C*C) <= Resolution from gp
   Standard_EXPORT Geom_Plane(const Standard_Real A, const Standard_Real B, const Standard_Real C, const Standard_Real D);
-  
+
 
   //! Set <me> so that <me> has the same geometric properties as Pl.
   Standard_EXPORT void SetPln (const gp_Pln& Pl);
-  
+
   //! Converts this plane into a gp_Pln plane.
   Standard_EXPORT gp_Pln Pln() const;
-  
 
-  //! Changes the orientation of this plane in the u (or v)
-  //! parametric direction. The bounds of the plane are not
-  //! changed but the given parametric direction is
-  //! reversed. Hence the orientation of the surface is reversed.
+  //! Changes the orientation of this plane in the u (or v) parametric direction.
+  //! The bounds of the plane are not changed but the given parametric direction is reversed.
+  //! Hence the orientation of the surface is reversed.
   Standard_EXPORT virtual void UReverse() Standard_OVERRIDE;
-  
-  //! Computes the u  parameter on the modified
-  //! plane, produced when reversing the u
-  //! parametric of this plane, for any point of u parameter U  on this plane.
+
+  //! Computes the u  parameter on the modified plane,
+  //! produced when reversing the u parametric of this plane,
+  //! for any point of u parameter U on this plane.
   //! In the case of a plane, these methods return - -U.
   Standard_EXPORT Standard_Real UReversedParameter (const Standard_Real U) const Standard_OVERRIDE;
-  
 
-  //! Changes the orientation of this plane in the u (or v)
-  //! parametric direction. The bounds of the plane are not
-  //! changed but the given parametric direction is
-  //! reversed. Hence the orientation of the surface is reversed.
+
+  //! Changes the orientation of this plane in the u (or v) parametric direction.
+  //! The bounds of the plane are not changed but the given parametric direction is reversed.
+  //! Hence the orientation of the surface is reversed.
   Standard_EXPORT virtual void VReverse() Standard_OVERRIDE;
-  
-  //! Computes the v parameter on the modified
-  //! plane, produced when reversing the  v
-  //! parametric of this plane, for any point of v parameter V on this plane.
+
+  //! Computes the v parameter on the modified plane,
+  //! produced when reversing the v parametric of this plane,
+  //! for any point of v parameter V on this plane.
   //! In the case of a plane, these methods return -V.
   Standard_EXPORT Standard_Real VReversedParameter (const Standard_Real V) const Standard_OVERRIDE;
-  
-  //! Computes the  parameters on the  transformed  surface for
+
+  //! Computes the parameters on the transformed surface for
   //! the transform of the point of parameters U,V on <me>.
-  //! me->Transformed(T)->Value(U',V')
+  //! @code
+  //!   me->Transformed(T)->Value(U',V')
+  //! @endcode
   //! is the same point as
-  //! me->Value(U,V).Transformed(T)
+  //! @code
+  //!   me->Value(U,V).Transformed(T)
+  //! @endcode
   //! Where U',V' are the new values of U,V after calling
-  //! me->TranformParameters(U,V,T)
-  //! This methods multiplies U and V by T.ScaleFactor()
+  //! @code
+  //!   me->TransformParameters(U,V,T)
+  //! @endcode
+  //! This method multiplies U and V by T.ScaleFactor()
   Standard_EXPORT virtual void TransformParameters (Standard_Real& U, Standard_Real& V, const gp_Trsf& T) const Standard_OVERRIDE;
-  
-  //! Returns a 2d transformation  used to find the  new
+
+  //! Returns a 2d transformation used to find the new
   //! parameters of a point on the transformed surface.
-  //! me->Transformed(T)->Value(U',V')
+  //! @code
+  //!   me->Transformed(T)->Value(U',V')
+  //! @endcode
   //! is the same point as
-  //! me->Value(U,V).Transformed(T)
-  //! Where U',V' are  obtained by transforming U,V with
-  //! th 2d transformation returned by
-  //! me->ParametricTransformation(T)
-  //! This  methods  returns  a scale  centered  on  the
-  //! origin with T.ScaleFactor
+  //! @code
+  //!   me->Value(U,V).Transformed(T)
+  //! @endcode
+  //! Where U',V' are  obtained by transforming U,V with the 2d transformation returned by
+  //! @code
+  //!   me->ParametricTransformation(T)
+  //! @endcode
+  //! This method returns a scale centered on the origin with T.ScaleFactor
   Standard_EXPORT virtual gp_GTrsf2d ParametricTransformation (const gp_Trsf& T) const Standard_OVERRIDE;
-  
+
   //! Returns the parametric bounds U1, U2, V1 and V2 of this plane.
   //! Because a plane is an infinite surface, the following is always true:
   //! - U1 = V1 =   Standard_Real::RealFirst()
   //! - U2 = V2 =   Standard_Real::RealLast().
   Standard_EXPORT void Bounds (Standard_Real& U1, Standard_Real& U2, Standard_Real& V1, Standard_Real& V2) const Standard_OVERRIDE;
-  
 
-  //! Computes the normalized coefficients of the plane's
-  //! cartesian equation : Ax + By + Cz + D = 0.0
+  //! Computes the normalized coefficients of the plane's cartesian equation:
+  //! @code
+  //!   Ax + By + Cz + D = 0.0
+  //! @endcode
   Standard_EXPORT void Coefficients (Standard_Real& A, Standard_Real& B, Standard_Real& C, Standard_Real& D) const;
-  
+
   //! return False
   Standard_EXPORT Standard_Boolean IsUClosed() const Standard_OVERRIDE;
-  
+
   //! return False
   Standard_EXPORT Standard_Boolean IsVClosed() const Standard_OVERRIDE;
-  
+
   //! return False.
   Standard_EXPORT Standard_Boolean IsUPeriodic() const Standard_OVERRIDE;
-  
+
   //! return False.
   Standard_EXPORT Standard_Boolean IsVPeriodic() const Standard_OVERRIDE;
-  
 
   //! Computes the U isoparametric curve.
   //! This is a Line parallel to the YAxis of the plane.
   Standard_EXPORT Handle(Geom_Curve) UIso (const Standard_Real U) const Standard_OVERRIDE;
-  
 
   //! Computes the V isoparametric curve.
   //! This is a Line parallel to the XAxis of the plane.
   Standard_EXPORT Handle(Geom_Curve) VIso (const Standard_Real V) const Standard_OVERRIDE;
-  
 
   //! Computes the point P (U, V) on <me>.
-  //! P = O + U * XDir + V * YDir.
+  //! @code
+  //!   P = O + U * XDir + V * YDir.
+  //! @endcode
   //! where O is the "Location" point of the plane, XDir the
-  //! "XDirection" and YDir the "YDirection" of the plane's local
-  //! coordinate system.
+  //! "XDirection" and YDir the "YDirection" of the plane's local coordinate system.
   Standard_EXPORT void D0 (const Standard_Real U, const Standard_Real V, gp_Pnt& P) const Standard_OVERRIDE;
-  
 
-  //! Computes the current point and the first derivatives in the
-  //! directions U and V.
+  //! Computes the current point and the first derivatives in the directions U and V.
   Standard_EXPORT void D1 (const Standard_Real U, const Standard_Real V, gp_Pnt& P, gp_Vec& D1U, gp_Vec& D1V) const Standard_OVERRIDE;
-  
 
   //! Computes the current point, the first and the second
   //! derivatives in the directions U and V.
   Standard_EXPORT void D2 (const Standard_Real U, const Standard_Real V, gp_Pnt& P, gp_Vec& D1U, gp_Vec& D1V, gp_Vec& D2U, gp_Vec& D2V, gp_Vec& D2UV) const Standard_OVERRIDE;
-  
 
   //! Computes the current point, the first,the second and the
   //! third derivatives in the directions U and V.
   Standard_EXPORT void D3 (const Standard_Real U, const Standard_Real V, gp_Pnt& P, gp_Vec& D1U, gp_Vec& D1V, gp_Vec& D2U, gp_Vec& D2V, gp_Vec& D2UV, gp_Vec& D3U, gp_Vec& D3V, gp_Vec& D3UUV, gp_Vec& D3UVV) const Standard_OVERRIDE;
-  
 
   //! Computes the derivative of order Nu in the direction u
   //! and Nv in the direction v.
   //! Raised if Nu + Nv < 1 or Nu < 0 or Nv < 0.
   Standard_EXPORT gp_Vec DN (const Standard_Real U, const Standard_Real V, const Standard_Integer Nu, const Standard_Integer Nv) const Standard_OVERRIDE;
-  
+
   //! Applies the transformation T to this plane.
   Standard_EXPORT void Transform (const gp_Trsf& T) Standard_OVERRIDE;
-  
+
   //! Creates a new object which is a copy of this plane.
   Standard_EXPORT Handle(Geom_Geometry) Copy() const Standard_OVERRIDE;
 
@@ -222,26 +221,8 @@ public:
   Standard_EXPORT virtual void DumpJson (Standard_OStream& theOStream, Standard_Integer theDepth = -1) const Standard_OVERRIDE;
 
 
-
-
   DEFINE_STANDARD_RTTIEXT(Geom_Plane,Geom_ElementarySurface)
 
-protected:
-
-
-
-
-private:
-
-
-
-
 };
 
-
-
-
-
-
-
 #endif // _Geom_Plane_HeaderFile
index 1d4bc3c3e8e6c86ec8d3fcdd6ef27b59eca67a08..2e06fdee78e9964bcfd55850acc54576b8bb5289 100644 (file)
@@ -66,8 +66,6 @@ class Geom_RectangularTrimmedSurface : public Geom_BoundedSurface
 
 public:
 
-  
-
   //! The U parametric direction of the surface is oriented from U1
   //! to U2. The V parametric direction of the surface is oriented
   //! from V1 to V2.
@@ -85,7 +83,6 @@ public:
   //! bounds of S.
   //! U1 = U2 or V1 = V2
   Standard_EXPORT Geom_RectangularTrimmedSurface(const Handle(Geom_Surface)& S, const Standard_Real U1, const Standard_Real U2, const Standard_Real V1, const Standard_Real V2, const Standard_Boolean USense = Standard_True, const Standard_Boolean VSense = Standard_True);
-  
 
   //! The basis surface S is only trim in one parametric direction.
   //! If UTrim = True the surface is trimmed in the U parametric
@@ -109,7 +106,7 @@ public:
   //! Param1 or Param2 are out of the bounds of S.
   //! Param1 = Param2
   Standard_EXPORT Geom_RectangularTrimmedSurface(const Handle(Geom_Surface)& S, const Standard_Real Param1, const Standard_Real Param2, const Standard_Boolean UTrim, const Standard_Boolean Sense = Standard_True);
-  
+
   //! Modifies this patch by changing the trim values
   //! applied to the original surface
   //! The u parametric direction of
@@ -128,7 +125,7 @@ public:
   //! are out of the bounds of the BasisSurface.
   //! U1 = U2 or V1 = V2
   Standard_EXPORT void SetTrim (const Standard_Real U1, const Standard_Real U2, const Standard_Real V1, const Standard_Real V2, const Standard_Boolean USense = Standard_True, const Standard_Boolean VSense = Standard_True);
-  
+
   //! Modifies this patch by changing the trim values
   //! applied to the original surface
   //! The basis surface is trimmed only in one parametric direction: if UTrim
@@ -149,35 +146,34 @@ public:
   //! Param1 or Param2 are out of the bounds of the BasisSurface.
   //! Param1 = Param2
   Standard_EXPORT void SetTrim (const Standard_Real Param1, const Standard_Real Param2, const Standard_Boolean UTrim, const Standard_Boolean Sense = Standard_True);
-  
+
   //! Returns the Basis surface of <me>.
   Standard_EXPORT Handle(Geom_Surface) BasisSurface() const;
-  
+
   //! Changes the orientation of this patch in the u
   //! parametric direction. The bounds of the surface are
   //! not changed, but the given parametric direction is
   //! reversed. Hence the orientation of the surface is reversed.
   Standard_EXPORT void UReverse() Standard_OVERRIDE;
-  
+
   //! Computes the u  parameter on the modified
   //! surface, produced by when reversing its u
   //! parametric direction, for any point of u parameter U on this patch.
   Standard_EXPORT Standard_Real UReversedParameter (const Standard_Real U) const Standard_OVERRIDE;
-  
+
   //! Changes the orientation of this patch in the v
   //! parametric direction. The bounds of the surface are
   //! not changed, but the given parametric direction is
   //! reversed. Hence the orientation of the surface is reversed.
   Standard_EXPORT void VReverse() Standard_OVERRIDE;
-  
+
   //! Computes the v  parameter on the modified
   //! surface, produced by when reversing its v
   //! parametric direction, for any point of v parameter V on this patch.
   Standard_EXPORT Standard_Real VReversedParameter (const Standard_Real V) const Standard_OVERRIDE;
-  
+
   //! Returns the parametric bounds U1, U2, V1 and V2 of this patch.
   Standard_EXPORT void Bounds (Standard_Real& U1, Standard_Real& U2, Standard_Real& V1, Standard_Real& V2) const Standard_OVERRIDE;
-  
 
   //! Returns  the continuity of the surface :
   //! C0 : only geometric continuity,
@@ -186,75 +182,69 @@ public:
   //! C3 : continuity of the third derivative all along the Surface,
   //! CN : the order of continuity is infinite.
   Standard_EXPORT GeomAbs_Shape Continuity() const Standard_OVERRIDE;
-  
+
   //! Returns true if this patch is closed in the given parametric direction.
   Standard_EXPORT Standard_Boolean IsUClosed() const Standard_OVERRIDE;
-  
+
   //! Returns true if this patch is closed in the given parametric direction.
   Standard_EXPORT Standard_Boolean IsVClosed() const Standard_OVERRIDE;
-  
 
   //! Returns true if the order of derivation in the U parametric
   //! direction is N.
   //! Raised if N < 0.
   Standard_EXPORT Standard_Boolean IsCNu (const Standard_Integer N) const Standard_OVERRIDE;
-  
 
   //! Returns true if the order of derivation in the V parametric
   //! direction is N.
   //! Raised if N < 0.
   Standard_EXPORT Standard_Boolean IsCNv (const Standard_Integer N) const Standard_OVERRIDE;
-  
+
   //! Returns true if this patch is periodic and not trimmed in the given
   //! parametric direction.
   Standard_EXPORT Standard_Boolean IsUPeriodic() const Standard_OVERRIDE;
-  
+
   //! Returns the period of this patch in the u
   //! parametric direction.
   //! raises if the surface is not uperiodic.
   Standard_EXPORT virtual Standard_Real UPeriod() const Standard_OVERRIDE;
-  
 
   //! Returns true if this patch is periodic and not trimmed in the given
   //! parametric direction.
   Standard_EXPORT Standard_Boolean IsVPeriodic() const Standard_OVERRIDE;
-  
+
   //! Returns the period of this patch in the v
   //! parametric direction.
   //! raises if the surface is not vperiodic.
   //! value and derivatives
   Standard_EXPORT virtual Standard_Real VPeriod() const Standard_OVERRIDE;
-  
+
   //! computes the U isoparametric curve.
   Standard_EXPORT Handle(Geom_Curve) UIso (const Standard_Real U) const Standard_OVERRIDE;
-  
+
   //! Computes the V isoparametric curve.
   Standard_EXPORT Handle(Geom_Curve) VIso (const Standard_Real V) const Standard_OVERRIDE;
-  
 
   //! Can be raised if the basis surface is an OffsetSurface.
   Standard_EXPORT void D0 (const Standard_Real U, const Standard_Real V, gp_Pnt& P) const Standard_OVERRIDE;
-  
 
   //! The returned derivatives have the same orientation as the
   //! derivatives of the basis surface even if the trimmed surface
   //! has not the same parametric orientation.
   //! Warning!  UndefinedDerivative  raised if the continuity of the surface is not C1.
   Standard_EXPORT void D1 (const Standard_Real U, const Standard_Real V, gp_Pnt& P, gp_Vec& D1U, gp_Vec& D1V) const Standard_OVERRIDE;
-  
 
   //! The returned derivatives have the same orientation as the
   //! derivatives of the basis surface even if the trimmed surface
   //! has not the same parametric orientation.
   //! Warning! UndefinedDerivative raised if the continuity of the surface is not C2.
   Standard_EXPORT void D2 (const Standard_Real U, const Standard_Real V, gp_Pnt& P, gp_Vec& D1U, gp_Vec& D1V, gp_Vec& D2U, gp_Vec& D2V, gp_Vec& D2UV) const Standard_OVERRIDE;
-  
+
   //! The returned derivatives have the same orientation as the
   //! derivatives of the basis surface even if the trimmed surface
   //! has not the same parametric orientation.
   //! Warning UndefinedDerivative raised if the continuity of the surface is not C3.
   Standard_EXPORT void D3 (const Standard_Real U, const Standard_Real V, gp_Pnt& P, gp_Vec& D1U, gp_Vec& D1V, gp_Vec& D2U, gp_Vec& D2V, gp_Vec& D2UV, gp_Vec& D3U, gp_Vec& D3V, gp_Vec& D3UUV, gp_Vec& D3UVV) const Standard_OVERRIDE;
-  
+
   //! The returned derivative has the same orientation as the
   //! derivative of the basis surface even if the trimmed surface
   //! has not the same parametric orientation.
@@ -262,65 +252,56 @@ public:
   //! parametric direction and CNv in the V parametric direction.
   //! RangeError Raised if Nu + Nv < 1 or Nu < 0 or Nv < 0.
   Standard_EXPORT gp_Vec DN (const Standard_Real U, const Standard_Real V, const Standard_Integer Nu, const Standard_Integer Nv) const Standard_OVERRIDE;
-  
+
   //! Applies the transformation T to this patch.
   //! Warning
   //! As a consequence, the basis surface included in the
   //! data structure of this patch is also modified.
   Standard_EXPORT void Transform (const gp_Trsf& T) Standard_OVERRIDE;
-  
+
   //! Computes the  parameters on the  transformed  surface for
   //! the transform of the point of parameters U,V on <me>.
-  //!
-  //! me->Transformed(T)->Value(U',V')
-  //!
+  //! @code
+  //!   me->Transformed(T)->Value(U',V')
+  //! @endcode
   //! is the same point as
-  //!
-  //! me->Value(U,V).Transformed(T)
-  //!
+  //! @code
+  //!   me->Value(U,V).Transformed(T)
+  //! @endcode
   //! Where U',V' are the new values of U,V after calling
-  //!
-  //! me->TranformParameters(U,V,T)
-  //!
-  //! This methods calls the basis surface method.
+  //! @code
+  //!   me->TransformParameters(U,V,T)
+  //! @endcode
+  //! This method calls the basis surface method.
   Standard_EXPORT virtual void TransformParameters (Standard_Real& U, Standard_Real& V, const gp_Trsf& T) const Standard_OVERRIDE;
-  
+
   //! Returns a 2d transformation  used to find the  new
   //! parameters of a point on the transformed surface.
-  //!
-  //! me->Transformed(T)->Value(U',V')
-  //!
+  //! @code
+  //!   me->Transformed(T)->Value(U',V')
+  //! @endcode
   //! is the same point as
-  //!
-  //! me->Value(U,V).Transformed(T)
-  //!
+  //! @code
+  //!   me->Value(U,V).Transformed(T)
+  //! @endcode
   //! Where U',V' are  obtained by transforming U,V with
-  //! th 2d transformation returned by
-  //!
-  //! me->ParametricTransformation(T)
-  //!
-  //! This methods calls the basis surface method.
+  //! the 2d transformation returned by
+  //! @code
+  //!   me->ParametricTransformation(T)
+  //! @endcode
+  //! This method calls the basis surface method.
   Standard_EXPORT virtual gp_GTrsf2d ParametricTransformation (const gp_Trsf& T) const Standard_OVERRIDE;
-  
+
   //! Creates a new object which is a copy of this patch.
   Standard_EXPORT Handle(Geom_Geometry) Copy() const Standard_OVERRIDE;
 
   //! Dumps the content of me into the stream
   Standard_EXPORT virtual void DumpJson (Standard_OStream& theOStream, Standard_Integer theDepth = -1) const Standard_OVERRIDE;
 
-
-
-
   DEFINE_STANDARD_RTTIEXT(Geom_RectangularTrimmedSurface,Geom_BoundedSurface)
 
-protected:
-
-
-
-
 private:
 
-  
   //! General set trim,  to implement constructors and
   //! others set trim.
   Standard_EXPORT void SetTrim (const Standard_Real U1, const Standard_Real U2, const Standard_Real V1, const Standard_Real V2, const Standard_Boolean UTrim, const Standard_Boolean VTrim, const Standard_Boolean USense, const Standard_Boolean VSense);
@@ -333,13 +314,6 @@ private:
   Standard_Boolean isutrimmed;
   Standard_Boolean isvtrimmed;
 
-
 };
 
-
-
-
-
-
-
 #endif // _Geom_RectangularTrimmedSurface_HeaderFile
index 657c1ce48c175c9d5c4ba54e1eeceeb84980051b..05432d7e19cbdd253dfa59f85f1956ff20239ba0 100644 (file)
@@ -58,63 +58,60 @@ class Geom_Surface : public Geom_Geometry
 
 public:
 
-  
-
   //! Reverses the U direction of parametrization of <me>.
   //! The bounds of the surface are not modified.
   Standard_EXPORT virtual void UReverse() = 0;
-  
 
   //! Reverses the U direction of parametrization of <me>.
   //! The bounds of the surface are not modified.
   //! A copy of <me> is returned.
   Standard_NODISCARD Standard_EXPORT Handle(Geom_Surface) UReversed() const;
-  
+
   //! Returns the  parameter on the  Ureversed surface for
   //! the point of parameter U on <me>.
-  //!
-  //! me->UReversed()->Value(me->UReversedParameter(U),V)
-  //!
+  //! @code
+  //!   me->UReversed()->Value(me->UReversedParameter(U),V)
+  //! @endcode
   //! is the same point as
-  //!
-  //! me->Value(U,V)
+  //! @code
+  //!   me->Value(U,V)
+  //! @endcode
   Standard_EXPORT virtual Standard_Real UReversedParameter (const Standard_Real U) const = 0;
-  
 
   //! Reverses the V direction of parametrization of <me>.
   //! The bounds of the surface are not modified.
   Standard_EXPORT virtual void VReverse() = 0;
-  
 
   //! Reverses the V direction of parametrization of <me>.
   //! The bounds of the surface are not modified.
   //! A copy of <me> is returned.
   Standard_NODISCARD Standard_EXPORT Handle(Geom_Surface) VReversed() const;
-  
+
   //! Returns the  parameter on the  Vreversed surface for
   //! the point of parameter V on <me>.
-  //!
-  //! me->VReversed()->Value(U,me->VReversedParameter(V))
-  //!
+  //! @code
+  //!   me->VReversed()->Value(U,me->VReversedParameter(V))
+  //! @endcode
   //! is the same point as
-  //!
-  //! me->Value(U,V)
+  //! @code
+  //!   me->Value(U,V)
+  //! @endcode
   Standard_EXPORT virtual Standard_Real VReversedParameter (const Standard_Real V) const = 0;
-  
+
   //! Computes the  parameters on the  transformed  surface for
   //! the transform of the point of parameters U,V on <me>.
-  //!
-  //! me->Transformed(T)->Value(U',V')
-  //!
+  //! @code
+  //!   me->Transformed(T)->Value(U',V')
+  //! @endcode
   //! is the same point as
-  //!
-  //! me->Value(U,V).Transformed(T)
-  //!
+  //! @code
+  //!   me->Value(U,V).Transformed(T)
+  //! @endcode
   //! Where U',V' are the new values of U,V after calling
-  //!
-  //! me->TranformParameters(U,V,T)
-  //!
-  //! This methods does not change <U> and <V>
+  //! @code
+  //!   me->TransformParameters(U,V,T)
+  //! @endcode
+  //! This method does not change <U> and <V>
   //!
   //! It  can be redefined.  For  example on  the Plane,
   //! Cylinder, Cone, Revolved and Extruded surfaces.
@@ -122,29 +119,29 @@ public:
   
   //! Returns a 2d transformation  used to find the  new
   //! parameters of a point on the transformed surface.
-  //!
-  //! me->Transformed(T)->Value(U',V')
-  //!
+  //! @code
+  //!   me->Transformed(T)->Value(U',V')
+  //! @endcode
   //! is the same point as
-  //!
-  //! me->Value(U,V).Transformed(T)
-  //!
+  //! @code
+  //!   me->Value(U,V).Transformed(T)
+  //! @endcode
   //! Where U',V' are  obtained by transforming U,V with
-  //! th 2d transformation returned by
-  //!
-  //! me->ParametricTransformation(T)
-  //!
-  //! This methods returns an identity transformation
+  //! the 2d transformation returned by
+  //! @code
+  //!   me->ParametricTransformation(T)
+  //! @endcode
+  //! This method returns an identity transformation
   //!
   //! It  can be redefined.  For  example on  the Plane,
   //! Cylinder, Cone, Revolved and Extruded surfaces.
   Standard_EXPORT virtual gp_GTrsf2d ParametricTransformation (const gp_Trsf& T) const;
-  
+
   //! Returns the parametric bounds U1, U2, V1 and V2 of this surface.
   //! If the surface is infinite, this function can return a value
   //! equal to Precision::Infinite: instead of Standard_Real::LastReal.
   Standard_EXPORT virtual void Bounds (Standard_Real& U1, Standard_Real& U2, Standard_Real& V1, Standard_Real& V2) const = 0;
-  
+
   //! Checks whether this surface is closed in the u
   //! parametric direction.
   //! Returns true if, in the u parametric direction: taking
@@ -153,7 +150,7 @@ public:
   //! distance between the points P(uFirst, v) and
   //! P(uLast, v) is less than or equal to gp::Resolution().
   Standard_EXPORT virtual Standard_Boolean IsUClosed() const = 0;
-  
+
   //! Checks whether this surface is closed in the u
   //! parametric direction.
   //! Returns true if, in the v parametric
@@ -163,7 +160,7 @@ public:
   //! P(u, vFirst) and P(u, vLast) is less than
   //! or equal to gp::Resolution().
   Standard_EXPORT virtual Standard_Boolean IsVClosed() const = 0;
-  
+
   //! Checks if this surface is periodic in the u
   //! parametric direction. Returns true if:
   //! - this surface is closed in the u parametric direction, and
@@ -173,12 +170,12 @@ public:
   //! T)) is less than or equal to gp::Resolution().
   //! Note: T is the parametric period in the u parametric direction.
   Standard_EXPORT virtual Standard_Boolean IsUPeriodic() const = 0;
-  
+
   //! Returns the period of this surface in the u
   //! parametric direction.
   //! raises if the surface is not uperiodic.
   Standard_EXPORT virtual Standard_Real UPeriod() const;
-  
+
   //! Checks if this surface is periodic in the v
   //! parametric direction. Returns true if:
   //! - this surface is closed in the v parametric direction, and
@@ -188,17 +185,16 @@ public:
   //! T)) is less than or equal to gp::Resolution().
   //! Note: T is the parametric period in the v parametric direction.
   Standard_EXPORT virtual Standard_Boolean IsVPeriodic() const = 0;
-  
+
   //! Returns the period of this surface in the v parametric direction.
   //! raises if the surface is not vperiodic.
   Standard_EXPORT virtual Standard_Real VPeriod() const;
-  
+
   //! Computes the U isoparametric curve.
   Standard_EXPORT virtual Handle(Geom_Curve) UIso (const Standard_Real U) const = 0;
-  
+
   //! Computes the V isoparametric curve.
   Standard_EXPORT virtual Handle(Geom_Curve) VIso (const Standard_Real V) const = 0;
-  
 
   //! Returns the Global Continuity of the surface in direction U and V :
   //! C0 : only geometric continuity,
@@ -212,41 +208,39 @@ public:
   //! If the surface is C1 in the V parametric direction and C2
   //! in the U parametric direction Shape = C1.
   Standard_EXPORT virtual GeomAbs_Shape Continuity() const = 0;
-  
+
   //! Returns the order of continuity of the surface in the
   //! U parametric direction.
   //! Raised if N < 0.
   Standard_EXPORT virtual Standard_Boolean IsCNu (const Standard_Integer N) const = 0;
-  
+
   //! Returns the order of continuity of the surface in the
   //! V parametric direction.
   //! Raised if N < 0.
   Standard_EXPORT virtual Standard_Boolean IsCNv (const Standard_Integer N) const = 0;
-  
+
   //! Computes the point of parameter U,V on the surface.
   //!
   //! Raised only for an "OffsetSurface" if it is not possible to
   //! compute the current point.
   Standard_EXPORT virtual void D0 (const Standard_Real U, const Standard_Real V, gp_Pnt& P) const = 0;
-  
+
 
   //! Computes the point P and the first derivatives in the
   //! directions U and V at this point.
   //! Raised if the continuity of the surface is not C1.
   Standard_EXPORT virtual void D1 (const Standard_Real U, const Standard_Real V, gp_Pnt& P, gp_Vec& D1U, gp_Vec& D1V) const = 0;
-  
 
   //! Computes the point P, the first and the second derivatives in
   //! the directions U and V at this point.
   //! Raised if the continuity of the surface is not C2.
   Standard_EXPORT virtual void D2 (const Standard_Real U, const Standard_Real V, gp_Pnt& P, gp_Vec& D1U, gp_Vec& D1V, gp_Vec& D2U, gp_Vec& D2V, gp_Vec& D2UV) const = 0;
-  
 
   //! Computes the point P, the first,the second and the third
   //! derivatives in the directions U and V at this point.
   //! Raised if the continuity of the surface is not C2.
   Standard_EXPORT virtual void D3 (const Standard_Real U, const Standard_Real V, gp_Pnt& P, gp_Vec& D1U, gp_Vec& D1V, gp_Vec& D2U, gp_Vec& D2V, gp_Vec& D2UV, gp_Vec& D3U, gp_Vec& D3V, gp_Vec& D3UUV, gp_Vec& D3UVV) const = 0;
-  
+
   //! ---Purpose ;
   //! Computes the derivative of order Nu in the direction U and Nv
   //! in the direction V at the point P(U, V).
@@ -255,7 +249,6 @@ public:
   //! direction or not CNv in the V direction.
   //! Raised if Nu + Nv < 1 or Nu < 0 or Nv < 0.
   Standard_EXPORT virtual gp_Vec DN (const Standard_Real U, const Standard_Real V, const Standard_Integer Nu, const Standard_Integer Nv) const = 0;
-  
 
   //! Computes the point of parameter U on the surface.
   //!
@@ -268,27 +261,8 @@ public:
   //! Dumps the content of me into the stream
   Standard_EXPORT virtual void DumpJson (Standard_OStream& theOStream, Standard_Integer theDepth = -1) const Standard_OVERRIDE;
 
-
-
-
   DEFINE_STANDARD_RTTIEXT(Geom_Surface,Geom_Geometry)
 
-protected:
-
-
-
-
-private:
-
-
-
-
 };
 
-
-
-
-
-
-
 #endif // _Geom_Surface_HeaderFile
index f95db4bd7421997f8dae9151fe31c5d05b808f80..3d975f4e2b08ad4f7a922f8ced6a8c554f6e218c 100644 (file)
@@ -211,37 +211,37 @@ public:
   
   //! Computes the  parameters on the  transformed  surface for
   //! the transform of the point of parameters U,V on <me>.
-  //!
-  //! me->Transformed(T)->Value(U',V')
-  //!
+  //! @code
+  //!   me->Transformed(T)->Value(U',V')
+  //! @endcode
   //! is the same point as
-  //!
-  //! me->Value(U,V).Transformed(T)
-  //!
+  //! @code
+  //!   me->Value(U,V).Transformed(T)
+  //! @endcode
   //! Where U',V' are the new values of U,V after calling
-  //!
-  //! me->TranformParameters(U,V,T)
-  //!
-  //! This methods multiplies :
+  //! @code
+  //!   me->TransformParameters(U,V,T)
+  //! @endcode
+  //! This method multiplies:
   //! U by BasisCurve()->ParametricTransformation(T)
   //! V by T.ScaleFactor()
   Standard_EXPORT virtual void TransformParameters (Standard_Real& U, Standard_Real& V, const gp_Trsf& T) const Standard_OVERRIDE;
   
   //! Returns a 2d transformation  used to find the  new
   //! parameters of a point on the transformed surface.
-  //!
-  //! me->Transformed(T)->Value(U',V')
-  //!
+  //! @code
+  //!   me->Transformed(T)->Value(U',V')
+  //! @endcode
   //! is the same point as
-  //!
-  //! me->Value(U,V).Transformed(T)
-  //!
+  //! @code
+  //!   me->Value(U,V).Transformed(T)
+  //! @endcode
   //! Where U',V' are  obtained by transforming U,V with
-  //! th 2d transformation returned by
-  //!
-  //! me->ParametricTransformation(T)
-  //!
-  //! This  methods  returns  a scale
+  //! the 2d transformation returned by
+  //! @code
+  //!   me->ParametricTransformation(T)
+  //! @endcode
+  //! This method returns a scale
   //! U by BasisCurve()->ParametricTransformation(T)
   //! V by T.ScaleFactor()
   Standard_EXPORT virtual gp_GTrsf2d ParametricTransformation (const gp_Trsf& T) const Standard_OVERRIDE;
index b0370e6ebc930506ccd3b79800a7593d6c24df2f..306e6b7eda56cb333f90b1ea6e3b351e5c736dc8 100644 (file)
@@ -191,36 +191,35 @@ public:
   
   //! Computes the  parameters on the  transformed  surface for
   //! the transform of the point of parameters U,V on <me>.
-  //!
-  //! me->Transformed(T)->Value(U',V')
-  //!
+  //! @code
+  //!   me->Transformed(T)->Value(U',V')
+  //! @endcode
   //! is the same point as
-  //!
-  //! me->Value(U,V).Transformed(T)
-  //!
+  //! @code
+  //!   me->Value(U,V).Transformed(T)
+  //! @endcode
   //! Where U',V' are the new values of U,V after calling
-  //!
-  //! me->TranformParameters(U,V,T)
-  //!
-  //! This methods multiplies V by
-  //! BasisCurve()->ParametricTransformation(T)
+  //! @code
+  //!   me->TransformParameters(U,V,T)
+  //! @endcode
+  //! This method multiplies V by BasisCurve()->ParametricTransformation(T)
   Standard_EXPORT virtual void TransformParameters (Standard_Real& U, Standard_Real& V, const gp_Trsf& T) const Standard_OVERRIDE;
   
   //! Returns a 2d transformation  used to find the  new
   //! parameters of a point on the transformed surface.
-  //!
-  //! me->Transformed(T)->Value(U',V')
-  //!
+  //! @code
+  //!   me->Transformed(T)->Value(U',V')
+  //! @endcode
   //! is the same point as
-  //!
-  //! me->Value(U,V).Transformed(T)
-  //!
+  //! @code
+  //!   me->Value(U,V).Transformed(T)
+  //! @endcode
   //! Where U',V' are  obtained by transforming U,V with
-  //! th 2d transformation returned by
-  //!
-  //! me->ParametricTransformation(T)
-  //!
-  //! This  methods  returns  a scale  centered  on  the
+  //! the 2d transformation returned by
+  //! @code
+  //!   me->ParametricTransformation(T)
+  //! @endcode
+  //! This  method  returns  a scale  centered  on  the
   //! U axis with BasisCurve()->ParametricTransformation(T)
   Standard_EXPORT virtual gp_GTrsf2d ParametricTransformation (const gp_Trsf& T) const Standard_OVERRIDE;
   
index 58a6ff877a99ff1da32e0e53f26ba18818654a90..6ca004037d0c60eaef38c001dbb9d66638b21a11 100644 (file)
@@ -43,71 +43,71 @@ class GeomFill_SweepFunction;
 DEFINE_STANDARD_HANDLE(GeomFill_SweepFunction, Approx_SweepFunction)
 
 //! Function to approximate by SweepApproximation from
-//! Approx. To bulid general sweep Surface.
+//! Approx. To build general sweep Surface.
 class GeomFill_SweepFunction : public Approx_SweepFunction
 {
 
 public:
 
-  
+
   Standard_EXPORT GeomFill_SweepFunction(const Handle(GeomFill_SectionLaw)& Section, const Handle(GeomFill_LocationLaw)& Location, const Standard_Real FirstParameter, const Standard_Real FirstParameterOnS, const Standard_Real RatioParameterOnS);
   
   //! compute the section for v = param
   Standard_EXPORT virtual Standard_Boolean D0 (const Standard_Real Param, const Standard_Real First, const Standard_Real Last, TColgp_Array1OfPnt& Poles, TColgp_Array1OfPnt2d& Poles2d, TColStd_Array1OfReal& Weigths) Standard_OVERRIDE;
-  
-  //! compute the first  derivative in v direction  of the
-  //! section for v =  param
+
+  //! compute the first derivative in v direction of the
+  //! section for v = param
   Standard_EXPORT virtual Standard_Boolean D1 (const Standard_Real Param, const Standard_Real First, const Standard_Real Last, TColgp_Array1OfPnt& Poles, TColgp_Array1OfVec& DPoles, TColgp_Array1OfPnt2d& Poles2d, TColgp_Array1OfVec2d& DPoles2d, TColStd_Array1OfReal& Weigths, TColStd_Array1OfReal& DWeigths) Standard_OVERRIDE;
-  
+
   //! compute the second derivative  in v direction of the
-  //! section  for v = param
+  //! section for v = param
   Standard_EXPORT virtual Standard_Boolean D2 (const Standard_Real Param, const Standard_Real First, const Standard_Real Last, TColgp_Array1OfPnt& Poles, TColgp_Array1OfVec& DPoles, TColgp_Array1OfVec& D2Poles, TColgp_Array1OfPnt2d& Poles2d, TColgp_Array1OfVec2d& DPoles2d, TColgp_Array1OfVec2d& D2Poles2d, TColStd_Array1OfReal& Weigths, TColStd_Array1OfReal& DWeigths, TColStd_Array1OfReal& D2Weigths) Standard_OVERRIDE;
   
-  //! get the number of 2d curves to  approximate.
+  //! get the number of 2d curves to approximate.
   Standard_EXPORT virtual Standard_Integer Nb2dCurves() const Standard_OVERRIDE;
   
-  //! get the format of a section
+  //! get the format of a section
   Standard_EXPORT virtual void SectionShape (Standard_Integer& NbPoles, Standard_Integer& NbKnots, Standard_Integer& Degree) const Standard_OVERRIDE;
-  
+
   //! get the Knots of the section
   Standard_EXPORT virtual void Knots (TColStd_Array1OfReal& TKnots) const Standard_OVERRIDE;
-  
+
   //! get the Multplicities of the section
   Standard_EXPORT virtual void Mults (TColStd_Array1OfInteger& TMults) const Standard_OVERRIDE;
-  
-  //! Returns if the section is rationnal or not
+
+  //! Returns if the section is rational or not
   Standard_EXPORT virtual Standard_Boolean IsRational() const Standard_OVERRIDE;
-  
-  //! Returns  the number  of  intervals for  continuity
+
+  //! Returns the number of intervals for continuity
   //! <S>. May be one if Continuity(me) >= <S>
   Standard_EXPORT virtual Standard_Integer NbIntervals (const GeomAbs_Shape S) const Standard_OVERRIDE;
-  
-  //! Stores in <T> the  parameters bounding the intervals
+
+  //! Stores in <T> the parameters bounding the intervals
   //! of continuity <S>.
   //!
   //! The array must provide  enough room to  accommodate
   //! for the parameters. i.e. T.Length() > NbIntervals()
   Standard_EXPORT virtual void Intervals (TColStd_Array1OfReal& T, const GeomAbs_Shape S) const Standard_OVERRIDE;
-  
+
   //! Sets the bounds of the parametric interval on
   //! the function
   //! This determines the derivatives in these values if the
   //! function is not Cn.
   Standard_EXPORT virtual void SetInterval (const Standard_Real First, const Standard_Real Last) Standard_OVERRIDE;
-  
-  //! Returns the resolutions in the  sub-space 2d <Index>
+
+  //! Returns the resolutions in the sub-space 2d <Index>
   //! This information is usfull to find an good tolerance in
   //! 2d approximation.
   //! Warning: Used only if Nb2dCurve > 0
   Standard_EXPORT virtual void Resolution (const Standard_Integer Index, const Standard_Real Tol, Standard_Real& TolU, Standard_Real& TolV) const Standard_OVERRIDE;
-  
+
   //! Returns the tolerance to reach in approximation
   //! to respecte
   //! BoundTol error at the Boundary
   //! AngleTol tangent error at the Boundary (in radian)
   //! SurfTol error inside the surface.
   Standard_EXPORT virtual void GetTolerance (const Standard_Real BoundTol, const Standard_Real SurfTol, const Standard_Real AngleTol, TColStd_Array1OfReal& Tol3d) const Standard_OVERRIDE;
-  
+
   //! Is usfull, if (me) have to  be run numerical
   //! algorithme to perform D0, D1 or D2
   Standard_EXPORT virtual void SetTolerance (const Standard_Real Tol3d, const Standard_Real Tol2d) Standard_OVERRIDE;
@@ -117,7 +117,7 @@ public:
   //! to perform well conditioned rational approximation.
   //! Warning: Used only if <me> IsRational
   Standard_EXPORT virtual gp_Pnt BarycentreOfSurf() const Standard_OVERRIDE;
-  
+
   //! Returns the   length of the maximum section. This
   //! information is useful to perform well conditioned rational
   //! approximation.
index 93bf285f2f1df78c050d7d950f29ce9667af4fd5..6806b69aac62f5f3c3b04236da73418c85201816 100644 (file)
@@ -49,7 +49,7 @@ public:
                              const Standard_Real theLast,
                              const Standard_Real theTolRange = Precision::PConfusion());
 
-  //! Initializes all members by dafault values
+  //! Initializes all members by default values
   Standard_EXPORT void Init();
 
   //! Computes the max distance for the 3d curve <myCurve>
index 86dc118282d5f7ca51e827820c063a2f1adee4f0..944198aadd3a8ee5c33644e6cf27107dc08c9b7e 100644 (file)
@@ -68,12 +68,13 @@ public:
   
   //! Return the  parameter on the  Ureversed surface for
   //! the point of parameter U on <me>.
-  //!
-  //! me->UReversed()->Value(me->UReversedParameter(U),V)
-  //!
+  //! @code
+  //!   me->UReversed()->Value(me->UReversedParameter(U),V)
+  //! @endcode
   //! is the same point as
-  //!
-  //! me->Value(U,V)
+  //! @code
+  //!   me->Value(U,V)
+  //! @endcode
   Standard_EXPORT Standard_Real UReversedParameter (const Standard_Real U) const Standard_OVERRIDE;
   
 
@@ -83,27 +84,28 @@ public:
   
   //! Return the  parameter on the  Vreversed surface for
   //! the point of parameter V on <me>.
-  //!
-  //! me->VReversed()->Value(U,me->VReversedParameter(V))
-  //!
+  //! @code
+  //!   me->VReversed()->Value(U,me->VReversedParameter(V))
+  //! @endcode
   //! is the same point as
-  //!
-  //! me->Value(U,V)
+  //! @code
+  //!   me->Value(U,V)
+  //! @endcode
   Standard_EXPORT Standard_Real VReversedParameter (const Standard_Real V) const Standard_OVERRIDE;
   
   //! Computes the  parameters on the  transformed  surface for
   //! the transform of the point of parameters U,V on <me>.
-  //!
-  //! me->Transformed(T)->Value(U',V')
-  //!
+  //! @code
+  //!   me->Transformed(T)->Value(U',V')
+  //! @endcode
   //! is the same point as
-  //!
-  //! me->Value(U,V).Transformed(T)
-  //!
+  //! @code
+  //!   me->Value(U,V).Transformed(T)
+  //! @endcode
   //! Where U',V' are the new values of U,V after calling
-  //!
-  //! me->TranformParameters(U,V,T)
-  //!
+  //! @code
+  //!   me->TransformParameters(U,V,T)
+  //! @endcode
   //! This methods does not change <U> and <V>
   //!
   //! It  can be redefined.  For  example on  the Plane,
@@ -112,19 +114,19 @@ public:
   
   //! Returns a 2d transformation  used to find the  new
   //! parameters of a point on the transformed surface.
-  //!
-  //! me->Transformed(T)->Value(U',V')
-  //!
+  //! @code
+  //!   me->Transformed(T)->Value(U',V')
+  //! @endcode
   //! is the same point as
-  //!
-  //! me->Value(U,V).Transformed(T)
-  //!
+  //! @code
+  //!   me->Value(U,V).Transformed(T)
+  //! @endcode
   //! Where U',V' are  obtained by transforming U,V with
-  //! th 2d transformation returned by
-  //!
-  //! me->ParametricTransformation(T)
-  //!
-  //! This methods returns an identity transformation
+  //! the 2d transformation returned by
+  //! @code
+  //!   me->ParametricTransformation(T)
+  //! @endcode
+  //! This method returns an identity transformation
   //!
   //! It  can be redefined.  For  example on  the Plane,
   //! Cylinder, Cone, Revolved and Extruded surfaces.
index 76d98d16ed1153c5691cf4d06364adede92602b1..5e36c61693e1a302a618b4d101f2ddc11e861a9a 100644 (file)
@@ -48,7 +48,7 @@ public:
   Standard_EXPORT HLRBRep_ThePolygon2dOfTheIntPCurvePCurveOfCInter(const Standard_Address& Curve, const Standard_Integer NbPnt, const IntRes2d_Domain& Domain, const Standard_Real Tol);
   
   //! The current polygon is modified if most
-  //! of the  points of the  polygon  are are
+  //! of the  points of the  polygon  are
   //! outside  the  box  <OtherBox>.  In this
   //! situation, bounds are computed to build
   //! a polygon inside or near the OtherBox.
index 88336c178247d8c8fe4c080b3f845ab5889b7bd3..5fd4205afc718aeacb10b199c8db4574cf731078 100644 (file)
@@ -51,8 +51,7 @@ public:
   //! Returns the current vertex
   Standard_EXPORT const HLRAlgo_Intersection& Current() const;
   
-  //! Returns True  if the current  vertex  is is on the
-  //! boundary of the edge.
+  //! Returns True if the current vertex is on the boundary of the edge.
   Standard_EXPORT Standard_Boolean IsBoundary() const;
   
   //! Returns  True   if   the current    vertex  is  an
index 4e6eb37c4088a775f4a49496a37b79b0cd5531f0..65115eab35bd88ec366a84c65d8257e21ef733a1 100644 (file)
@@ -219,7 +219,7 @@ public:
 
   //! Move assignment.
   //! This array will borrow all the data from theOther.
-  //! The moved object will be left unitialized and should not be used anymore.
+  //! The moved object will be left uninitialized and should not be used anymore.
   NCollection_Array2& Move (NCollection_Array2& theOther)
   {
     if (&theOther == this)
index dc447eabb92786a354d99cb9941651a05ce251ec..63d98d8e2cf10c3707a12902a459fceccde615ac 100644 (file)
@@ -45,7 +45,7 @@ enum NCollection_CellFilter_Action
  * search for one bullet (more precisely, O(M) where M is number of cells covered 
  * by the bullet).
  *
- * The idea behind the algorithm is to separate each co-ordinate of the space 
+ * The idea behind the algorithm is to separate each coordinate of the space
  * into equal-size cells. Note that this works well when cell size is 
  * approximately equal to the characteristic size of the involved objects 
  * (targets and bullets; including tolerance eventually used for coincidence 
@@ -56,7 +56,7 @@ enum NCollection_CellFilter_Action
  * The target objects to be searched are added to the tool by methods Add(); 
  * each target is classified as belonging to some cell(s). The data on cells 
  * (list of targets found in each one) are stored in the hash map with key being 
- * cumulative index of the cell by all co-ordinates.
+ * cumulative index of the cell by all coordinates.
  * Thus the time needed to find targets in some cell is O(1) * O(number of 
  * targets in the cell).
  *
@@ -123,7 +123,7 @@ public:
   //! Constructor; initialized by dimension count and cell size.
   //!
   //! Note: the cell size must be ensured to be greater than
-  //! maximal co-ordinate of the involved points divided by INT_MAX,
+  //! maximal coordinate of the involved points divided by INT_MAX,
   //! in order to avoid integer overflow of cell index.
   //! 
   //! By default cell size is 0, which is invalid; thus if default
@@ -173,12 +173,12 @@ public:
   }
 
   //! Adds a target object for further search in the range of cells 
-  //! defined by two points (the first point must have all co-ordinates equal or
-  //! less than the same co-ordinate of the second point)
+  //! defined by two points (the first point must have all coordinates equal or
+  //! less than the same coordinate of the second point)
   void Add (const Target& theTarget, 
            const Point &thePntMin, const Point &thePntMax)
   {
-    // get cells range by minimal and maximal co-ordinates
+    // get cells range by minimal and maximal coordinates
     Cell aCellMin (thePntMin, myCellSize);
     Cell aCellMax (thePntMax, myCellSize);
     Cell aCell = aCellMin;
@@ -196,13 +196,13 @@ public:
 
   //! Find a target object in the range of cells defined by two points and
   //! remove it from the structures
-  //! (the first point must have all co-ordinates equal or
-  //! less than the same co-ordinate of the second point).
+  //! (the first point must have all coordinates equal or
+  //! less than the same coordinate of the second point).
   //! For usage of this method "operator ==" should be defined for Target.
   void Remove (const Target& theTarget, 
                const Point &thePntMin, const Point &thePntMax)
   {
-    // get cells range by minimal and maximal co-ordinates
+    // get cells range by minimal and maximal coordinates
     Cell aCellMin (thePntMin, myCellSize);
     Cell aCellMax (thePntMax, myCellSize);
     Cell aCell = aCellMin;
@@ -218,12 +218,12 @@ public:
   }
 
   //! Inspect all targets in the cells range limited by two given points
-  //! (the first point must have all co-ordinates equal or
-  //! less than the same co-ordinate of the second point)
+  //! (the first point must have all coordinates equal or
+  //! less than the same coordinate of the second point)
   void Inspect (const Point& thePntMin, const Point& thePntMax, 
                 Inspector &theInspector) 
   {
-    // get cells range by minimal and maximal co-ordinates
+    // get cells range by minimal and maximal coordinates
     Cell aCellMin (thePntMin, myCellSize);
     Cell aCellMax (thePntMax, myCellSize);
     Cell aCell = aCellMin;
@@ -254,7 +254,7 @@ protected:
   };
 
   /**
-   * Auxilary structure representing a cell in the space. 
+   * Auxiliary structure representing a cell in the space.
    * Cells are stored in the map, each cell contains list of objects 
    * that belong to that cell.
    */
@@ -501,7 +501,7 @@ struct NCollection_CellFilter_InspectorXYZ
   //! Points type
   typedef gp_XYZ Point;
 
-  //! Access to co-ordinate
+  //! Access to coordinate
   static Standard_Real Coord (int i, const Point &thePnt) { return thePnt.Coord(i+1); }
   
   //! Auxiliary method to shift point by each coordinate on given value;
@@ -524,7 +524,7 @@ struct NCollection_CellFilter_InspectorXY
   //! Points type
   typedef gp_XY Point;
 
-  //! Access to co-ordinate
+  //! Access to coordinate
   static Standard_Real Coord (int i, const Point &thePnt) { return thePnt.Coord(i+1); }
 
   //! Auxiliary method to shift point by each coordinate on given value;
index 2b2ef62b9641cd9063da6e3b790544b19ba1216a..74636946c3bb41b56d07f14c36b3ceab1c226015 100644 (file)
@@ -25,7 +25,7 @@
 //              Array1OfItem tttab (ttab(10),10,20); // a slice of ttab
 //              If you want to reindex an array from 1 to Length do :
 //              Array1 tab1(tab(tab.Lower()),1,tab.Length());
-// Warning:     Programs client of such a class must be independant
+// Warning:     Programs client of such a class must be independent
 //              of the range of the first element. Then, a C++ for
 //              loop must be written like this
 //              for (i = A.Lower(); i <= A.Upper(); i++)
index 65af4fdabfe05544034771f04783a8ad89da2f10..00d32af4bd9c0a66a7719a77bd1e946a04ba7718 100644 (file)
@@ -17,7 +17,7 @@
 // Purpose:   The class Array2 represents bi-dimensional arrays 
 //            of fixed size known at run time. 
 //            The ranges of indices are user defined.
-// Warning:   Programs clients of such class must be independant
+// Warning:   Programs clients of such class must be independent
 //            of the range of the first element. Then, a C++ for
 //            loop must be written like this
 //            for (i = A.LowerRow(); i <= A.UpperRow(); i++)
index 6bd2833dafb0efb758e8a2118fd88c231ce6a452..d4ecbb5b1ab6b41fbb7769b6a6190abf1d7e115f 100644 (file)
@@ -22,7 +22,7 @@
 //              ::HashCode must be defined in the global namespace
 //              To compare two keys the function ::IsEqual must be
 //              defined in the global namespace.
-//              The performance of  a Map is conditionned  by  its
+//              The performance of  a Map is conditioned  by  its
 //              number of buckets that  should be kept greater  to
 //              the number   of keys.  This  map has  an automatic
 //              management of the number of buckets. It is resized
index 84e32f8fc471ad8c01a8fd85c49dee2cff42b111..08e4219f0bc9caa92422b63afc6101d43e335e65 100644 (file)
@@ -74,7 +74,7 @@ class NCollection_IncAllocator : public NCollection_BaseAllocator
                                                  const size_t newSize);
 
   //! Re-initialize the allocator so that the next Allocate call should
-  //! start allocating in the very begining as though the allocator is just
+  //! start allocating in the very beginning as though the allocator is just
   //! constructed. Warning: make sure that all previously allocated data are
   //! no more used in your code!
   //! @param doReleaseMem
index 3aa3f70119ee19d4dc79b2e9187e099c253cc5e8..bc266a609dfb0a63d9be68aa7bbe2764e9ddd3c1 100644 (file)
@@ -38,7 +38,7 @@
  *              To compare two keys the function ::IsEqual must be
  *              defined in the global namespace.
  *               
- *              The performance of  a Map is conditionned  by  its
+ *              The performance of  a Map is conditioned  by  its
  *              number of buckets that  should be kept greater  to
  *              the number   of keys.  This  map has  an automatic
  *              management of the number of buckets. It is resized
index 6373938374126bbad30f82d18a8b0bfbc8210eee..2b50ca81baea050847dfd320a7296afb743de4b1 100644 (file)
@@ -296,7 +296,7 @@ public:
   const TreeNode& Root () const { return *myRoot; }
 
   /**
-   * Desctructor.
+   * Destructor.
    */
   virtual ~NCollection_UBTree () { Clear(); }
 
index 4a26b2c0b3ae681d1d2bd1e6cdf71779adf7592e..2b91ad508edd61c4f75a5a7055496b4ef8c9281a 100755 (executable)
@@ -107,7 +107,7 @@ public:
   //! Buffer-fetching getter.
   const Type* BufferNext() const { return myPosNext; }
 
-  //! @return the index displacement from iterator intialization
+  //! @return the index displacement from iterator initialization
   //!         (first symbol has index 0)
   Standard_Integer Index() const
   {
@@ -235,7 +235,7 @@ private: //! @name private fields
 
   const Type*        myPosition;  //!< buffer position of the first element in the current symbol
   const Type*        myPosNext;   //!< buffer position of the first element in the next symbol
-  Standard_Integer   myCharIndex; //!< index displacement from iterator intialization
+  Standard_Integer   myCharIndex; //!< index displacement from iterator initialization
   Standard_Utf32Char myCharUtf32; //!< Unicode symbol stored at the current buffer position
 
 };
index 210ac967cb923331895332ebbd36922cf86977b6..66cf39ae8b98233f0501530880741e125657c727 100755 (executable)
@@ -163,7 +163,7 @@ public:
                                    const Standard_Integer theEnd) const;
 
   //! Returns NULL-terminated Unicode string.
-  //! Should not be modifed or deleted!
+  //! Should not be modified or deleted!
   //! @return (const Type* ) pointer to string
   const Type* ToCString() const
   {
index e53cfb3f5627ec676498b24b351cbaaf01e641ee..a80a2bb409f83930555c9e5eb0ac9972a404b3ab 100755 (executable)
@@ -216,7 +216,7 @@ void NCollection_UtfString<Type>::Swap (NCollection_UtfString<Type>& theOther)
 }
 
 #if !defined(__ANDROID__)
-//! Auxiliary convertion tool.
+//! Auxiliary conversion tool.
 class NCollection_UtfStringTool
 {
 public:
index 12e8fe513d33ab47cd7836a34b6f125fd58de537..46206d9750b268941299e37564d945e7fdee62b6 100644 (file)
@@ -277,13 +277,13 @@ public:
     return x() * x() + y() * y();
   }
 
-  //! Constuct DX unit vector.
+  //! Construct DX unit vector.
   static NCollection_Vec2 DX()
   {
     return NCollection_Vec2 (Element_t(1), Element_t(0));
   }
 
-  //! Constuct DY unit vector.
+  //! Construct DY unit vector.
   static NCollection_Vec2 DY()
   {
     return NCollection_Vec2 (Element_t(0), Element_t(1));
index 4677408e04d5d46658f4f62df1b6a0b152da929e..bc7401868555830617e4b7f65da6f7890c727f83 100644 (file)
@@ -383,19 +383,19 @@ public:
     return theFrom * (Element_t(1) - theT) + theTo * theT;
   }
 
-  //! Constuct DX unit vector.
+  //! Construct DX unit vector.
   static NCollection_Vec3 DX()
   {
     return NCollection_Vec3 (Element_t(1), Element_t(0), Element_t(0));
   }
 
-  //! Constuct DY unit vector.
+  //! Construct DY unit vector.
   static NCollection_Vec3 DY()
   {
     return NCollection_Vec3 (Element_t(0), Element_t(1), Element_t(0));
   }
 
-  //! Constuct DZ unit vector.
+  //! Construct DZ unit vector.
   static NCollection_Vec3 DZ()
   {
     return NCollection_Vec3 (Element_t(0), Element_t(0), Element_t(1));
index bc1e42023ade21199940c34fcc5206d69ac29e11..711a8c21c007920875015f5dd8bc150100d1fc12 100644 (file)
@@ -37,7 +37,7 @@ class Storage_Schema;
 class PCDM_StorageDriver;
 DEFINE_STANDARD_HANDLE(PCDM_StorageDriver, PCDM_Writer)
 
-//! persistent implemention of storage.
+//! persistent implementation of storage.
 //!
 //! The  application  must redefine one the two Make()
 //! methods.  The first one, if  the application wants to
index c0c1eaf45bebb9c064cd15b7554f954014fa2def..c867542e47d3afe67d45f947691da4bfca6f4161 100644 (file)
@@ -1189,7 +1189,7 @@ Standard_Integer PLib::EvalCubicHermite
   //
   //
   // initialise it at the stage 2 of the building algorithm
-  // for devided differences
+  // for divided differences
   //
   inverse = FirstLast[1] - FirstLast[0] ;
   inverse = 1.0e0 / inverse ;
index 283c6f08d37953081ed1d0b758204783133c0f79..bc51ce9ce69c7da786075ac1cc10e9a53f3a1dab 100644 (file)
@@ -153,28 +153,29 @@ public:
   //! Warning: <RationalDerivates> must be dimensionned properly.
   Standard_EXPORT static void RationalDerivatives (const Standard_Integer DerivativesRequest, const Standard_Integer Dimension, Standard_Real& PolesDerivatives, Standard_Real& WeightsDerivatives, Standard_Real& RationalDerivates);
   
-  //! Performs Horner method with synthethic division
-  //! for derivatives
+  //! Performs Horner method with synthetic division for derivatives
   //! parameter <U>, with <Degree> and <Dimension>.
   //! PolynomialCoeff are stored in the following fashion
+  //! @code
   //! c0(1)      c0(2) ....       c0(Dimension)
   //! c1(1)      c1(2) ....       c1(Dimension)
   //!
   //! cDegree(1) cDegree(2) ....  cDegree(Dimension)
+  //! @endcode
   //! where the polynomial is defined as :
-  //!
+  //! @code
   //! 2                     Degree
   //! c0 + c1 X + c2 X  +  ....   cDegree X
-  //!
+  //! @endcode
   //! Results stores the result in the following format
-  //!
+  //! @code
   //! f(1)             f(2)  ....     f(Dimension)
   //! (1)           (1)              (1)
   //! f  (1)        f   (2) ....     f   (Dimension)
   //!
   //! (DerivativeRequest)            (DerivativeRequest)
   //! f  (1)                         f   (Dimension)
-  //!
+  //! @endcode
   //! this just evaluates the point at parameter U
   //!
   //! Warning: <Results> and <PolynomialCoeff> must be dimensioned properly
@@ -188,6 +189,7 @@ public:
   //! at parameters U,V
   //!
   //! PolynomialCoeff are stored in the following fashion
+  //! @code
   //! c00(1)  ....       c00(Dimension)
   //! c10(1)  ....       c10(Dimension)
   //! ....
@@ -202,21 +204,22 @@ public:
   //! c1n(1)  ....       c1n(Dimension)
   //! ....
   //! cmn(1)  ....       cmn(Dimension)
-  //!
+  //! @endcode
   //! where the polynomial is defined as :
+  //! @code
   //! 2                 m
   //! c00 + c10 U + c20 U  +  ....  + cm0 U
   //! 2                   m
   //! + c01 V + c11 UV + c21 U V  +  ....  + cm1 U  V
   //! n               m n
   //! + .... + c0n V +  ....  + cmn U V
-  //!
+  //! @endcode
   //! with m = UDegree and n = VDegree
   //!
   //! Results stores the result in the following format
-  //!
+  //! @code
   //! f(1)             f(2)  ....     f(Dimension)
-  //!
+  //! @endcode
   //! Warning: <Results> and <PolynomialCoeff> must be dimensioned properly
   Standard_EXPORT static void EvalPoly2Var (const Standard_Real U, const Standard_Real V, const Standard_Integer UDerivativeOrder, const Standard_Integer VDerivativeOrder, const Standard_Integer UDegree, const Standard_Integer VDegree, const Standard_Integer Dimension, Standard_Real& PolynomialCoeff, Standard_Real& Results);
   
@@ -225,11 +228,12 @@ public:
   //! with the requested derivative order
   //! Results will store things in the following format
   //! with d = DerivativeOrder
-  //!
+  //! @code
   //! [0],             [Dimension-1]              : value
   //! [Dimension],     [Dimension  + Dimension-1] : first derivative
   //!
   //! [d *Dimension],  [d*Dimension + Dimension-1]: dth   derivative
+  //! @endcode
   Standard_EXPORT static Standard_Integer EvalLagrange (const Standard_Real U, const Standard_Integer DerivativeOrder, const Standard_Integer Degree, const Standard_Integer Dimension, Standard_Real& ValueArray, Standard_Real& ParameterArray, Standard_Real& Results);
   
   //! Performs the Cubic Hermite Interpolation of
@@ -237,28 +241,37 @@ public:
   //! with the requested derivative order.
   //! ValueArray stores the value at the first and
   //! last parameter. It has the following format :
+  //! @code
   //! [0],             [Dimension-1]              : value at first param
   //! [Dimension],     [Dimension  + Dimension-1] : value at last param
+  //! @endcode
   //! Derivative array stores the value of the derivatives
   //! at the first parameter and at the last parameter
   //! in the following format
+  //! @code
   //! [0],             [Dimension-1]              : derivative at
+  //! @endcode
   //! first param
+  //! @code
   //! [Dimension],     [Dimension  + Dimension-1] : derivative at
+  //! @endcode
   //! last param
   //!
   //! ParameterArray  stores the first and last parameter
   //! in the following format :
+  //! @code
   //! [0] : first parameter
   //! [1] : last  parameter
+  //! @endcode
   //!
   //! Results will store things in the following format
   //! with d = DerivativeOrder
-  //!
+  //! @code
   //! [0],             [Dimension-1]              : value
   //! [Dimension],     [Dimension  + Dimension-1] : first derivative
   //!
   //! [d *Dimension],  [d*Dimension + Dimension-1]: dth   derivative
+  //! @endcode
   Standard_EXPORT static Standard_Integer EvalCubicHermite (const Standard_Real U, const Standard_Integer DerivativeOrder, const Standard_Integer Dimension, Standard_Real& ValueArray, Standard_Real& DerivativeArray, Standard_Real& ParameterArray, Standard_Real& Results);
   
   //! This build the coefficient of Hermite's polynomes on
index f44fb9daaafe97b22ea8c29bee17ad99dacb5caa..b06acbe8c4c6d5b1b6a1b3e875de01eb28b68fbc 100644 (file)
@@ -34,31 +34,36 @@ class PLib_HermitJacobi;
 DEFINE_STANDARD_HANDLE(PLib_HermitJacobi, PLib_Base)
 
 //! This class provides method  to work with Jacobi Polynomials
-//! relativly to an order of constraint
+//! relatively to an order of constraint
 //! q = myWorkDegree-2*(myNivConstr+1)
-//! Jk(t) for k=0,q compose the Jacobi Polynomial base relativly to the weigth W(t)
+//! Jk(t) for k=0,q compose the Jacobi Polynomial base relatively to the weigth W(t)
 //! iorder is the integer  value for the constraints:
 //! iorder = 0 <=> ConstraintOrder = GeomAbs_C0
 //! iorder = 1 <=> ConstraintOrder = GeomAbs_C1
 //! iorder = 2 <=> ConstraintOrder = GeomAbs_C2
 //! P(t) = H(t) + W(t) * Q(t) Where W(t) = (1-t**2)**(2*iordre+2)
 //! the coefficients JacCoeff represents P(t) JacCoeff are stored as follow:
-//!
+//! @code
 //! c0(1)      c0(2) ....       c0(Dimension)
 //! c1(1)      c1(2) ....       c1(Dimension)
 //!
 //! cDegree(1) cDegree(2) ....  cDegree(Dimension)
-//!
+//! @endcode
 //! The coefficients
+//! @code
 //! c0(1)                  c0(2) ....            c0(Dimension)
 //! c2*ordre+1(1)                ...          c2*ordre+1(dimension)
-//!
+//! @endcode
 //! represents the  part  of the polynomial in  the
 //! Hermit's base: H(t)
+//! @code
 //! H(t) = c0H00(t) + c1H01(t) + ...c(iordre)H(0 ;iorder)+ c(iordre+1)H10(t)+...
+//! @endcode
 //! The following coefficients represents the part of the
 //! polynomial in the Jacobi base ie Q(t)
+//! @code
 //! Q(t) = c2*iordre+2  J0(t) + ...+ cDegree JDegree-2*iordre-2
+//! @endcode
 class PLib_HermitJacobi : public PLib_Base
 {
 
index 2b0543e352e27088f5e1ab724faaabde5a6c7e3c..95acc2f63b42c8657929898f50b46bf66d35670a 100644 (file)
@@ -34,9 +34,9 @@ class PLib_JacobiPolynomial;
 DEFINE_STANDARD_HANDLE(PLib_JacobiPolynomial, PLib_Base)
 
 //! This class provides method  to work with Jacobi  Polynomials
-//! relativly to   an order of constraint
+//! relatively to   an order of constraint
 //! q  = myWorkDegree-2*(myNivConstr+1)
-//! Jk(t)  for k=0,q compose  the   Jacobi Polynomial  base relativly  to  the weigth W(t)
+//! Jk(t)  for k=0,q compose  the   Jacobi Polynomial  base relatively  to  the weigth W(t)
 //! iorder is the integer  value for the constraints:
 //! iorder = 0 <=> ConstraintOrder  = GeomAbs_C0
 //! iorder = 1 <=>  ConstraintOrder = GeomAbs_C1
@@ -76,7 +76,7 @@ public:
 
   //! returns  the  Jacobi  Points   for  Gauss  integration ie
   //! the positive values of the Legendre roots by increasing values
-  //! NbGaussPoints is the number of   points choosen for the  integral
+  //! NbGaussPoints is the number of   points chosen for the  integral
   //! computation.
   //! TabPoints (0,NbGaussPoints/2)
   //! TabPoints (0) is loaded only for the odd values of NbGaussPoints
@@ -89,7 +89,7 @@ public:
   //! returns the Jacobi weigths for Gauss integration only for
   //! the positive    values of the  Legendre roots   in the order they
   //! are given by the method Points
-  //! NbGaussPoints   is the number of points choosen   for  the integral
+  //! NbGaussPoints   is the number of points chosen   for  the integral
   //! computation.
   //! TabWeights  (0,NbGaussPoints/2,0,Degree)
   //! TabWeights (0,.) are only loaded for the odd values of NbGaussPoints
index b0a090498f159cb4ef726fa2f0fd2d1f4b85ee47..90e48c81a92abcc262fac3fa77aa9eebc4d48a86 100644 (file)
@@ -139,8 +139,7 @@ class Poly_CoherentTriangle
   { return mypLink[iLink]; }
 
   /**
-   * Retuns the index of the connection with the given triangle, or -1 if not
-   * found.
+   * Returns the index of the connection with the given triangle, or -1 if not found.
    */
   Standard_EXPORT Standard_Integer
                            FindConnection  (const Poly_CoherentTriangle&) const;
index a30c9415cf33f931515d5bbf8f97ef6788b8ba4c..dfda4b5ebb4ac25db6356970a77229a8fa98f732 100644 (file)
@@ -185,7 +185,7 @@ class Poly_CoherentTriangulation : public Standard_Transient
    *   degenerated and therefore removed by this method.
    * @param pLstRemovedNode
    *   Optional parameter. If defined, then it will receive the list of arrays
-   *   where the first number is the index of removed node and the seond -
+   *   where the first number is the index of removed node and the second -
    *   the index of remaining node to which the mesh was reconnected.
    */
   Standard_EXPORT Standard_Boolean RemoveDegenerated
index a235a690b024e7fefc24b3c34a8b9002b16fa0d8..8ba09e83a7631d3d466b7345498f66a2916d8398 100644 (file)
@@ -408,7 +408,7 @@ void Poly_MakeLoops::markHangChain(Standard_Integer theNode, Standard_Integer th
   {
     // check if the current link is hanging:
     // if it is outcoming from aNode1 then count the number of
-    // other incoming links and vise versa;
+    // other incoming links and vice-versa;
     // if the number is zero than it is hanging
     const ListOfLink& aLinks = myHelper->GetAdjacentLinks (aNode1);
     Standard_Integer nEdges = 0;
index 79216540eabb75711a914817cb61b5a77009cff7..c72dad62e3cb17c93d1a213d824f22cd46a19095 100644 (file)
@@ -169,7 +169,7 @@ public:
 
   //! Set a new value of orientation of a link already added earlier.
   //! It can be used with LF_None to exclude the link from consideration.
-  //! Returns the old value of orienation.
+  //! Returns the old value of orientation.
   Standard_EXPORT LinkFlag SetLinkOrientation
                    (const Link& theLink,
                     const LinkFlag theOrient);
index a241fdc7b09bd9b855e750ee39dfd59354780ff0..507461bb11e138abc914071a57c3a710a60cae3f 100644 (file)
@@ -83,9 +83,9 @@ public:
   const TColStd_Array1OfReal& Parameters() const { return myParameters->Array1(); }
 
   //! Returns the table of the parameters associated with each node in this polygon.
-  //! ChangeParameters function returnes the  array as shared. Therefore if the table is selected by
-  //! reference you can, by simply modifying it, directly modify
-  //! the data structure of this polygon.
+  //! ChangeParameters function returns the array as shared.
+  //! Therefore if the table is selected by reference you can, by simply modifying it,
+  //! directly modify the data structure of this polygon.
   TColStd_Array1OfReal& ChangeParameters() const { return myParameters->ChangeArray1(); }
 
   //! Dumps the content of me into the stream
index 65e525a39caa2a258ff3e178f5ed33888ec7925d..49c15ece7dd70f531bc7ecf766fcb65ea2798530 100644 (file)
@@ -1539,14 +1539,14 @@ void ProjLib_CompProjectedCurve::BuildIntervals(const GeomAbs_Shape S) const
     UArr = NULL, 
     VArr = NULL;
 
-  // proccessing projection bounds
+  // processing projection bounds
   BArr = new TColStd_HArray1OfReal(1, 2*myNbCurves);
   for(i = 1; i <= myNbCurves; i++)
   {
     Bounds(i, BArr->ChangeValue(2*i - 1), BArr->ChangeValue(2*i));
   }
 
-  // proccessing curve discontinuities
+  // processing curve discontinuities
   if(NbIntCur > 1) {
     CArr = new TColStd_HArray1OfReal(1, NbIntCur - 1);
     for(i = 1; i <= CArr->Length(); i++)
@@ -1555,7 +1555,7 @@ void ProjLib_CompProjectedCurve::BuildIntervals(const GeomAbs_Shape S) const
     }
   }
 
-  // proccessing U-surface discontinuities  
+  // processing U-surface discontinuities
   TColStd_SequenceOfReal TUdisc;
 
   for(k = 2; k <= NbIntSurU; k++) {
@@ -1620,7 +1620,7 @@ void ProjLib_CompProjectedCurve::BuildIntervals(const GeomAbs_Shape S) const
       UArr->ChangeValue(i) = TUdisc(i);
     }
   }
-  // proccessing V-surface discontinuities
+  // processing V-surface discontinuities
   TColStd_SequenceOfReal TVdisc;
 
   for(k = 2; k <= NbIntSurV; k++)
index 24ea4494818730aa8fa0155bd7cc7c49af2c6cca..032d605f0b3faf7b42b7245ea0b75a988ddb6bca 100644 (file)
@@ -32,7 +32,7 @@ class Geom2d_BezierCurve;
 //! Tolerance is maximal possible value of 3d deviation of 3d projection of projected curve from
 //! "exact" 3d projection. Since algorithm searches 2d curve on surface, required 2d tolerance is computed
 //! from 3d tolerance with help of U,V resolutions of surface.
-//! 3d and 2d tolerances have sence only for curves on surface, it defines precision of projecting and approximation
+//! 3d and 2d tolerances have sense only for curves on surface, it defines precision of projecting and approximation
 //! and have nothing to do with distance between the projected curve and the surface.
 class ProjLib_ComputeApprox 
 {
index 58f9516a4696ceaeb74de905e008200828cd24a3..919c62655c5f00da2749f566ff37bb9baf99cd93 100644 (file)
@@ -711,7 +711,7 @@ Handle(Geom2d_BSplineCurve) ProjLib_ComputeApproxOnPolarSurface::Perform
       // if there is an initialization curve: 
       // - either this is a BSpline C0, with discontinuity at the same parameters of nodes
       // and the sections C1 are taken
-      // - or this is a curve C1 and the sections of intrest are taken otherwise the curve is created.
+      // - or this is a curve C1 and the sections of interest are taken otherwise the curve is created.
       
       // initialization 2d
       Standard_Integer nbInter2d;
index 730fffd67e6bf3762e2a1b32201082d9efa94412..536ef88a8c3e0fa7ffe87253e648174039e1bb9c 100644 (file)
@@ -35,7 +35,7 @@ class Geom2d_Curve;
 //! Tolerance is maximal possible value of 3d deviation of 3d projection of projected curve from
 //! "exact" 3d projection. Since algorithm searches 2d curve on surface, required 2d tolerance is computed
 //! from 3d tolerance with help of U,V resolutions of surface.
-//! 3d and 2d tolerances have sence only for curves on surface, it defines precision of projecting and approximation
+//! 3d and 2d tolerances have sense only for curves on surface, it defines precision of projecting and approximation
 //! and have nothing to do with distance between the projected curve and the surface.
 class ProjLib_ComputeApproxOnPolarSurface 
 {
@@ -77,7 +77,7 @@ public:
 
   //! Set the parameter, which defines maximal possible distance between projected curve and surface.
   //! It is used only for projecting on not analytical surfaces.
-  //! If theMaxDist < 0, algoritm uses default value 100.*Tolerance. 
+  //! If theMaxDist < 0, algorithm uses default value 100.*Tolerance.
   //! If real distance between curve and surface more then theMaxDist, algorithm stops working.
   Standard_EXPORT void SetMaxDist(const Standard_Real theMaxDist);
 
@@ -95,7 +95,7 @@ public:
   //! Parameter InitCurve2d is any rough estimation of 2d result curve.
   Standard_EXPORT Handle(Geom2d_BSplineCurve) Perform (const Handle(Adaptor2d_Curve2d)& InitCurve2d, const Handle(Adaptor3d_Curve)& C, const Handle(Adaptor3d_Surface)& S);
 
-  //! Builds initial 2d curve as BSpline with degree = 1 using Extrema algoritm.
+  //! Builds initial 2d curve as BSpline with degree = 1 using Extrema algorithm.
   //! Method is used in method Perform(...).
   Standard_EXPORT Handle(Adaptor2d_Curve2d) BuildInitialCurve2d (const Handle(Adaptor3d_Curve)& Curve, const Handle(Adaptor3d_Surface)& S);
 
index 75ab66b1e3b6dce281d3cf31f1415b50ae06c0f1..7b1b257f0b1ebf771d49800c05a308a4fb2a230c 100644 (file)
@@ -37,11 +37,9 @@ public:
   Standard_EXPORT ProjLib_PrjResolve(const Adaptor3d_Curve& C, const Adaptor3d_Surface& S, const Standard_Integer Fix);
   
   //! Calculates the ort from  C(t)  to  S  with a close point.
-  //! The close point is defined by the parameter values
-  //! U0 and V0.
-  //! The function F(u,v)=distance(S(u,v),C(t)) has an
-  //! extremum when gradient(F)=0. The algorithm searchs
-  //! a zero near the close point.
+  //! The close point is defined by the parameter values U0 and V0.
+  //! The function F(u,v)=distance(S(u,v),C(t)) has an extremum when gradient(F)=0.
+  //! The algorithm searches a zero near the close point.
   Standard_EXPORT void Perform (const Standard_Real t, const Standard_Real U, const Standard_Real V, const gp_Pnt2d& Tol, const gp_Pnt2d& Inf, const gp_Pnt2d& Sup, const Standard_Real FTol = -1, const Standard_Boolean StrictInside = Standard_False);
   
   //! Returns True if the distance is found.
index 3414d282c3a2182c2b75daa9799d57ff621d1129..a9fb55bc1576647d9d63e5f17984fc724487979d 100644 (file)
@@ -71,12 +71,12 @@ public:
   //! plane <Pl>.
   Standard_EXPORT ProjLib_ProjectOnPlane(const gp_Ax3& Pl, const gp_Dir& D);
   
-  //! Sets the  Curve  and perform  the projection.   if
-  //! <KeepParametrization> is true, the parametrization
+  //! Sets the  Curve  and perform  the projection.
+  //! if <KeepParametrization> is true, the parametrization
   //! of the Projected Curve <PC>  will  be the same  as
-  //! the parametrization of the initial  curve <C>.  It
-  //! meens: proj(C(u)) = PC(u) for  each u.  Otherwize,
-  //! the parametrization may change.
+  //! the parametrization of the initial  curve <C>.
+  //! It means: proj(C(u)) = PC(u) for each u.
+  //! Otherwise, the parametrization may change.
   Standard_EXPORT void Load (const Handle(Adaptor3d_Curve)& C, const Standard_Real Tolerance, const Standard_Boolean KeepParametrization = Standard_True);
   
   Standard_EXPORT const gp_Ax3& GetPlane() const;
@@ -98,10 +98,9 @@ public:
   //! intervals.
   Standard_EXPORT Standard_Integer NbIntervals (const GeomAbs_Shape S) const Standard_OVERRIDE;
   
-  //! Stores in <T> the  parameters bounding the intervals
-  //! of continuity <S>.
+  //! Stores in <T> the  parameters bounding the intervals of continuity <S>.
   //!
-  //! The array must provide  enough room to  accomodate
+  //! The array must provide enough room to accommodate
   //! for the parameters. i.e. T.Length() > NbIntervals()
   Standard_EXPORT void Intervals (TColStd_Array1OfReal& T, const GeomAbs_Shape S) const Standard_OVERRIDE;
   
index 14726366de793162cd43381118f2b776f8bc801a..6e5ffa4086eb2db085baeb47b5e66e635b85f225 100644 (file)
@@ -33,7 +33,7 @@ public:
   //! Create an empty projector.
   Standard_EXPORT ProjLib_ProjectOnSurface();
   
-  //! Create a projector normaly to the surface <S>.
+  //! Create a projector normally to the surface <S>.
   Standard_EXPORT ProjLib_ProjectOnSurface(const Handle(Adaptor3d_Surface)& S);
   
   Standard_EXPORT virtual ~ProjLib_ProjectOnSurface();
index f5c14c74aa5fa8a1af5c686b3df6b02bce9c9cfc..22e447ae5307b5df32bf13163d1594f70e7af73a 100644 (file)
@@ -39,13 +39,13 @@ class Geom2d_BSplineCurve;
 DEFINE_STANDARD_HANDLE(ProjLib_ProjectedCurve, Adaptor2d_Curve2d)
 
 //! Compute the 2d-curve.  Try to solve the particular
-//! case if possible.  Otherwize, an approximation  is
+//! case if possible.  Otherwise, an approximation  is
 //! done. For approximation some parameters are used, including 
 //! required tolerance of approximation.
 //! Tolerance is maximal possible value of 3d deviation of 3d projection of projected curve from
 //! "exact" 3d projection. Since algorithm searches 2d curve on surface, required 2d tolerance is computed
 //! from 3d tolerance with help of U,V resolutions of surface.
-//! 3d and 2d tolerances have sence only for curves on surface, it defines precision of projecting and approximation
+//! 3d and 2d tolerances have sense only for curves on surface, it defines precision of projecting and approximation
 //! and have nothing to do with distance between the projected curve and the surface.
 class ProjLib_ProjectedCurve  : public Adaptor2d_Curve2d
 {
@@ -97,7 +97,7 @@ public:
 
   //! Set the parameter, which degines maximal possible distance between projected curve and surface.
   //! It uses only for projecting on not analytical surfaces.
-  //! If theMaxDist < 0, algoritm uses default value 100.*Tolerance. 
+  //! If theMaxDist < 0, algorithm uses default value 100.*Tolerance.
   //! If real distance between curve and surface more then theMaxDist, algorithm stops working.
   Standard_EXPORT void SetMaxDist(const Standard_Real theMaxDist);
 
@@ -123,7 +123,7 @@ public:
   //! Stores in <T> the  parameters bounding the intervals
   //! of continuity <S>.
   //!
-  //! The array must provide  enough room to  accomodate
+  //! The array must provide enough room to accommodate
   //! for the parameters. i.e. T.Length() > NbIntervals()
   Standard_EXPORT void Intervals (TColStd_Array1OfReal& T, const GeomAbs_Shape S) const Standard_OVERRIDE;
   
index a40e4af391e4bc4b92df5ee5f633266b87fa9ce9..dd519a129ed4aabfd3ab98b6051c7b1d779e7307 100644 (file)
@@ -19,7 +19,7 @@
 #include <TCollection_AsciiString.hxx>
 
 //! This class provides units for two dimension groups:
-//! - lengthes (length, radius, diameter)
+//! - lengths (length, radius, diameter)
 //! - angles
 class Prs3d_DimensionUnits
 {
index 198009d72eeee178d1824ed92e3300ef62a7eca3..e5b383e71f43b46389230f75574ee8fc8dc29db3 100644 (file)
@@ -275,7 +275,7 @@ public:
     myDeviationAngle = 20.0 * M_PI / 180.0;
   }
 
-  //! Returns true if the there is a local setting for deviation
+  //! Returns true if there is a local setting for deviation
   //! angle in this framework for a specific interactive object.
   Standard_Boolean HasOwnDeviationAngle() const { return myHasOwnDeviationAngle; }
 
index 8e94f3a2f65cb0893a34c6a95bafe174cd3842ea..a58af9cc218877acd83fc1fd7022ca14a60976b7 100644 (file)
@@ -1171,7 +1171,7 @@ Standard_Boolean PrsDim_AngleDimension::IsValidPoints (const gp_Pnt& theFirstPoi
 
 //=======================================================================
 //function : isArrowVisible
-//purpose  : compares given and internal arrows types, returns true if the the type should be shown
+//purpose  : compares given and internal arrows types, returns true if the type should be shown
 //=======================================================================
 Standard_Boolean PrsDim_AngleDimension::isArrowVisible(const PrsDim_TypeOfAngleArrowVisibility theArrowType) const
 {
index 51b87103109a60433935d594a495a688dfa94b2c..04a1370416af6f036fee2efab4f5a737ca2cb523 100644 (file)
@@ -24,7 +24,7 @@
 
 DEFINE_STANDARD_HANDLE(PrsDim_DiameterDimension, PrsDim_Dimension)
 
-//! Diameter dimension. Can be constructued:
+//! Diameter dimension. Can be constructed:
 //! - On generic circle.
 //! - On generic circle with user-defined anchor point on that circle
 //!   (dimension plane is oriented to follow the anchor point).
index 85f4eb854eac3b8751f03790a11f8f730bcb91a3..bc2047b14503fc37ed2e5825fcf54ee8eb7d15ea 100644 (file)
@@ -148,7 +148,7 @@ DEFINE_STANDARD_HANDLE(PrsDim_Dimension, AIS_InteractiveObject)
 //! this 3d point to the set of parameters including adjusting of the dimension plane (this plane will be
 //! automatic plane, NOT user-defined one).
 //! If the fixed text position is set, the flag myIsFixedTextPosition is set to TRUE.
-//! ATTENSION! myIsFixedTextPosition fixes all parameters of the set from recomputing inside
+//! ATTENTION! myIsFixedTextPosition fixes all parameters of the set from recomputing inside
 //! SetMeasureGeometry() methods. Parameters in dimension aspect (they are horizontal text position
 //! and extension size) are adjusted on presentation computing step, user-defined values in
 //! dimension aspect are not changed.
@@ -249,7 +249,7 @@ public:
   Standard_EXPORT void SetCustomValue (const Standard_Real theValue);
 
   //! Sets user-defined dimension value.
-  //! Unit conversion during the display is not applyed.
+  //! Unit conversion during the display is not applied.
   //! @param theValue [in] the user-defined value to display.
   Standard_EXPORT void SetCustomValue (const TCollection_ExtendedString& theValue);
 
@@ -475,7 +475,7 @@ protected:
   //! @param theCircle [out] the circle geometry.
   //! @param theMiddleArcPoint [out] the middle point of the arc.
   //! @param theIsClosed [out] returns TRUE if the geometry is closed circle.
-  //! @return TRUE if the the circle is successfully got from the input shape.
+  //! @return TRUE if the circle is successfully returned from the input shape.
   Standard_EXPORT Standard_Boolean InitCircularDimension (const TopoDS_Shape& theShape,
                                                           gp_Circ& theCircle,
                                                           gp_Pnt& theMiddleArcPoint,
index 45ab79ac48cbcf5a65eac50f3f4adcdd81f13923..48a5a68e44f0891ce15d552441a01265f27e59e7 100644 (file)
@@ -467,7 +467,7 @@ void PrsDim_EqualDistanceRelation::ComputeTwoEdgesLength( const Handle( Prs3d_Pr
     gp_Circ aCirc1 = aCir1->Circ();
     gp_Circ aCirc2 = aCir2->Circ();
 
-    //To avoid circles with different orientaion
+    //To avoid circles with different orientation
     Standard_Real aTol = Precision::Confusion();
     if(aCirc2.Axis().IsOpposite(aCirc1.Axis(), aTol) ||
        aCirc2.XAxis().IsOpposite(aCirc1.XAxis(), aTol) || 
index 5dd9851be3bd54b9b117ac33b5cb28d70d5d02b9..73c64f7d9eadc571d1037342d54ec2c7c91aab7c 100644 (file)
@@ -476,7 +476,7 @@ void PrsDim_IdenticRelation::ComputeTwoEdgesPresentation(const Handle(Prs3d_Pres
     return;
   aPrs->SetInfiniteState((isInfinite1 || isInfinite2) && myExtShape != 0);
 
-  // Treatement of the case of lines
+  // Treatment of the case of lines
   if ( curv1->IsInstance(STANDARD_TYPE(Geom_Line)) && curv2->IsInstance(STANDARD_TYPE(Geom_Line)) ) {
     // we take the line curv1 like support
     Handle(Geom_Line) thelin;
@@ -486,7 +486,7 @@ void PrsDim_IdenticRelation::ComputeTwoEdgesPresentation(const Handle(Prs3d_Pres
     ComputeTwoLinesPresentation(aPrs, thelin, firstp1, lastp1, firstp2, lastp2, isInfinite1, isInfinite2);
   }
 
-  //  Treatement of the case of circles
+  //  Treatment of the case of circles
   else if ( curv1->IsInstance(STANDARD_TYPE(Geom_Circle)) && curv2->IsInstance(STANDARD_TYPE(Geom_Circle)) ) {
     //gp_Pnt curpos;
     isCircle = Standard_True; // useful for ComputeSelection
@@ -495,7 +495,7 @@ void PrsDim_IdenticRelation::ComputeTwoEdgesPresentation(const Handle(Prs3d_Pres
   }
 
   // jfa 10/10/2000
-  //  Treatement of the case of ellipses
+  //  Treatment of the case of ellipses
   else if ( curv1->IsInstance(STANDARD_TYPE(Geom_Ellipse)) && curv2->IsInstance(STANDARD_TYPE(Geom_Ellipse)) )
       {
        Handle(Geom_Ellipse) theEll (Handle(Geom_Ellipse)::DownCast (curv1));
@@ -577,7 +577,7 @@ void PrsDim_IdenticRelation::ComputeTwoLinesPresentation(const Handle(Prs3d_Pres
       lastp2 = lastp1;
     }
 
-    Standard_Real tabRang1[4];      // array taht contains the parameters of the 4 points
+    Standard_Real tabRang1[4];      // array that contains the parameters of the 4 points
     // ordered by increasing abscisses.
 
     gp_Pnt tabRang2[4];             // array containing the points corresponding to the
index c5000ad56136a96759007b7fb6d05f70ee121875..bfc227a882d72c044fa1a9215006f7b38b0a39b5 100644 (file)
@@ -26,7 +26,7 @@
 
 DEFINE_STANDARD_HANDLE (PrsDim_LengthDimension, PrsDim_Dimension)
 
-//! Length dimension. Can be constructued:
+//! Length dimension. Can be constructed:
 //! - Between two generic points.
 //! - Between two vertices.
 //! - Between two faces.
@@ -36,7 +36,7 @@ DEFINE_STANDARD_HANDLE (PrsDim_LengthDimension, PrsDim_Dimension)
 //! In case of two points (vertices) or one linear edge the user-defined plane
 //! that includes this geometry is necessary to be set.
 //!
-//! In case of face-edge, edge-vertex or face-face lengthes the automatic plane
+//! In case of face-edge, edge-vertex or face-face lengths the automatic plane
 //! computing is allowed. For this plane the third point is found on the
 //! edge or on the face.
 //!
index 9eab78168f0207a344af02d1c376657cfd39e81d..1c9b8a2e76bbe01bdfdd11c389db345da2796851 100644 (file)
@@ -23,7 +23,7 @@
 
 DEFINE_STANDARD_HANDLE(PrsDim_RadiusDimension, PrsDim_Dimension)
 
-//! Radius dimension. Can be constructued:
+//! Radius dimension. Can be constructed:
 //! - On generic circle.
 //! - On generic circle with user-defined anchor point on that circle.
 //! - On generic shape containing geometry that can be measured
index 97faba84645d589e1742ce016f42661943cb7a14..0012cbb7b59644b3a430233ba101d15171d3fe34 100644 (file)
@@ -178,14 +178,14 @@ protected:
 
   Standard_EXPORT PrsDim_Relation (const PrsMgr_TypeOfPresentation3d aTypeOfPresentation3d = PrsMgr_TOP_AllView);
 
-  //! Calculates the presentation aPres of the the edge
+  //! Calculates the presentation aPres of the edge
   //! anEdge and the curve it defines, ProjCurve. The later
   //! is also specified by the first point FirstP and the last point LastP.
   //! The presentation includes settings for color aColor,
   //! type - aProjTOL and aCallTOL -   and width of line, aWidth.
   Standard_EXPORT void ComputeProjEdgePresentation (const Handle(Prs3d_Presentation)& aPres, const TopoDS_Edge& anEdge, const Handle(Geom_Curve)& ProjCurve, const gp_Pnt& FirstP, const gp_Pnt& LastP, const Quantity_NameOfColor aColor = Quantity_NOC_PURPLE, const Standard_Real aWidth = 2, const Aspect_TypeOfLine aProjTOL = Aspect_TOL_DASH, const Aspect_TypeOfLine aCallTOL = Aspect_TOL_DOT) const;
 
-  //! Calculates the presentation aPres of the the vertex
+  //! Calculates the presentation aPres of the vertex
   //! aVertex and the point it defines, ProjPoint.
   //! The presentation includes settings for color aColor,
   //! type - aProjTOM and aCallTOL -   and width of line, aWidth.
index a05b613348c621f4565bf132afd2d2db151790a2..b8041d8b7eb2fa24860286285178fa82a81e4b91 100644 (file)
@@ -117,7 +117,7 @@ static Standard_Integer OCC426 (Draw_Interpretor& di, Standard_Integer argc, con
   anUnify.Build();
   const TopoDS_Shape& aFuseUnif = anUnify.Shape();
 
-  //Give the mass claculation of the shpae "aFuseUnif"
+  //Give the mass calculation of the shape "aFuseUnif"
   GProp_GProps G;
   BRepGProp::VolumeProperties(aFuseUnif, G);
   di<<" \n";
@@ -744,7 +744,7 @@ static Standard_Integer OCC825 (Draw_Interpretor& di,Standard_Integer argc, cons
 
   di << "*************************************************************\n";
   di << " CUT 1 and CUT 2 gives entirely different results during\n";
-  di << " mass computation and face triangulation, eventhough the\n";
+  di << " mass computation and face triangulation, even though the\n";
   di << " two spheres are located more or less at the same position.\n";
   di << "*************************************************************\n";
 
index 4001d71067a46b08c7dd0c29624dffe18ef4eb14..6ab063d9f3c613bd8400f1c0ab6cfc7d9a68f1a0 100644 (file)
@@ -1109,7 +1109,7 @@ static Standard_Integer OCC22 (Draw_Interpretor& di, Standard_Integer argc, cons
     // 4.1. Retrieve Shape
     TopoDS_Shape anInitShape = DBRep::Get(argv[2]);
     if(anInitShape.IsNull()) { di << "OCC22 FAULTY. Initial shape is not exist. Please verify input values \n"; return 0;}
-    // 4.2 Rebuid retrieved shape
+    // 4.2 Rebuild retrieved shape
     TopoDS_Shape aResultShape = aReshape->Apply(anInitShape);
     // 4.3. Create result Draw shape
     DBRep::Set(argv[1], aResultShape);
@@ -2096,7 +2096,7 @@ static Standard_Integer OCC5698 (Draw_Interpretor& di, Standard_Integer argc, co
     GCPnts_AbscissaPoint(check_curve, need_length, 0).Parameter();
   gp_Pnt check_pnt;
   check_curve.D0(check_par,check_pnt);
-  // check that points are coinsiding
+  // check that points are coinciding
   Standard_Real error_dist = pnt.Distance(check_pnt);
   if (error_dist > Precision::Confusion()) {
     //std::cout.precision(3);
@@ -2614,7 +2614,7 @@ static Standard_Integer OCC7372 (Draw_Interpretor& di, Standard_Integer argc, co
   Standard_CString CString1 = "BSplineCurve";
   DrawTrSurf::Set(CString1,bspline1);
 
-  // 4. Convers BSpline curve to Bezier segments
+  // 4. Converts BSpline curve to Bezier segments
   Geom2dConvert_BSplineCurveToBezierCurve bc(bspline1);
 
   // 5. Test the result of conversion
index 6d40fbc5de0155ed1dcb5712303c3f351d77de73..a72520c571f00bb30fb74e7d4fca6f6d280cf1eb 100644 (file)
@@ -388,9 +388,9 @@ static Standard_Integer BUC60944 (Draw_Interpretor& di, Standard_Integer argc, c
   TCollection_AsciiString out;
   aPath->SystemName(out);
   if(in == out) 
-    di << "The convertion is right.\n";
+    di << "The conversion is right.\n";
   else
-    di << "Faulty : The convertion is incorrect : " << out.ToCString() << "\n";
+    di << "Faulty : The conversion is incorrect : " << out.ToCString() << "\n";
   di << out.ToCString() << "\n";
 //  std::cout << aPath->Trek() << " !" << std::endl;
   return 0;
@@ -1030,7 +1030,7 @@ static Standard_Integer OCC16485 (Draw_Interpretor& di, Standard_Integer argc, c
       return 1;
     }
 
-  // Create points with X co-ordinate from varying from 0. to 1000.
+  // Create points with X coordinate from varying from 0. to 1000.
   // anc compute cumulative bounding box by adding boxes for all the 
   // points, enlarged on tolerance
   
index 1c5cf01c064b39b6aed70e345c87c18ad82adb80..53765081760711de9504e25774dcd2fe3d2cceaa 100644 (file)
@@ -3696,7 +3696,7 @@ static Standard_Integer OCC25574 (Draw_Interpretor& theDI, Standard_Integer /*ar
   {
     // Iterate over rotations R(A)R(B)R(G) for each Euler angle Alpha, Beta, Gamma
     // There are three ordered axes corresponding to three rotations.
-    // Each rotation applyed with current angle around current axis.
+    // Each rotation applied with current angle around current axis.
     for (int j=0; j < 3; j++)
     {
       // note that current axis index is obtained by parsing of enumeration name!
index 815cbb96e525e72e1332b08c629418132fd72bd6..251825206c151266232a4e8715130f0ee5b3fd69 100644 (file)
@@ -104,7 +104,7 @@ static Standard_Integer OCC527(Draw_Interpretor& di, Standard_Integer argc, cons
               Standard_Real  toler = BRep_Tool::Tolerance(aV);
               double dist = pl.Distance(BRep_Tool::Pnt(aV));
               if (dist > lmaxdist) lmaxdist = dist;
-              // If section was built check distance beetwen vertexes and plane of the one
+              // If section was built check distance between vertexes and plane of the one
               str[0] = 0;
               if (dist > toler)
                 Sprintf(str, "Dist=%f, Toler=%f, Param=%f FAULTY\n", dist, toler, gzmax);
index b0ca49f9cc673bc4e8125b11d79ebd81284d701c..7c8391c77d6dfa56d3968df363619c0d783e0e55 100644 (file)
@@ -1654,7 +1654,7 @@ namespace Parab2d_Bug26747
   //Focal length
   Standard_Real FocalLength;
 
-  //Coordiantes of the vertex
+  //Coordinates of the vertex
   Standard_Real VertX, VertY;
 
   //Parameter
@@ -3578,7 +3578,7 @@ static Standard_Integer OCC30990 (Draw_Interpretor& theDI, Standard_Integer theN
   // after evaluation of points inside the spans before and after the knot,
   // and ensure that result at the knot is exactly the same regardless
   // of previous evaluation (i.e. the cache is updated as necessary).
-  // Note: the points (D0) computed on different spans are slighly different
+  // Note: the points (D0) computed on different spans are slightly different
   // due to rounding, which allows us to detect this situation without
   // analysis of higher derivatives (which would show non-negligible difference).
   Standard_Integer aNbErr = 0;
index e9f7f30ad48cdc0f6c8621f60c056e2b4e5ede44..9250364b108e170b91361fdabaaa56629a29a210 100644 (file)
@@ -352,7 +352,7 @@ static Standard_Integer BUC60811(Draw_Interpretor& di, Standard_Integer argc, co
 
   DBRep::Set("FP",FP);
   
-//step 2. offseting the surface. 
+//step 2. offsetting the surface.
   Handle(Geom_OffsetSurface) offsurf; 
   offsurf = new Geom_OffsetSurface(BZ1, -100); 
   BRepBuilderAPI_MakeFace bzf2( offsurf, Precision::Confusion() ); 
@@ -362,7 +362,7 @@ static Standard_Integer BUC60811(Draw_Interpretor& di, Standard_Integer argc, co
   DBRep::Set("F2",F2);
   
 //step 3. filleting the patch. 
-//( I want to project wire of this patch on offseted surface above) 
+//( I want to project wire of this patch on offsetted surface above)
   BRepFilletAPI_MakeFillet2d fillet( FP ); 
   TopExp_Explorer Ex; 
   Ex.Init(FP, TopAbs_VERTEX); 
index 45f1f51920bbcff1007d95429d566d17e3c82158..0892a06513ade26134a55e6040e08407fe07a3f0 100644 (file)
@@ -156,7 +156,7 @@ static Standard_Integer Getentry (Draw_Interpretor& di, Standard_Integer n, cons
 
   TopoDS_Shape S = DBRep::Get(a[2]);
   if (S.IsNull()) {
-    di <<"Noone shape selected\n";
+    di <<"No shape selected\n";
     di << 0;
     return 0;
   }
@@ -176,7 +176,7 @@ static Standard_Integer Getentry (Draw_Interpretor& di, Standard_Integer n, cons
 
 //=======================================================================
 //function : NamedShape
-//purpose  : retrive label of Primitive or a Generated shape
+//purpose  : retrieve label of Primitive or a Generated shape
 //=======================================================================
 
 static Standard_Integer NamedShape(Draw_Interpretor& di, Standard_Integer n, const char ** a)
@@ -188,7 +188,7 @@ static Standard_Integer NamedShape(Draw_Interpretor& di, Standard_Integer n, con
   if (!DDF::GetDF(a[1],ND)) return 1;
   TopoDS_Shape  SS = DBRep::Get(a[2]);
   if (SS.IsNull()) {
-    di <<"Noone shape selected\n";
+    di <<"No shape selected\n";
     di << 0;
     return 0;
   }
@@ -402,7 +402,7 @@ static Standard_Integer Collect (Draw_Interpretor& di,
 
 //=======================================================================
 //function : GetCreationEntry
-//purpose  : retrive label of Primitive or a Generated shape
+//purpose  : retrieve label of Primitive or a Generated shape
 //=======================================================================
 
 static Standard_Integer Getcreationentry (Draw_Interpretor& di, Standard_Integer n, const char ** a)
@@ -417,7 +417,7 @@ static Standard_Integer Getcreationentry (Draw_Interpretor& di, Standard_Integer
   TopoDS_Shape  SS = DBRep::Get(a[2]);
 
   if (SS.IsNull()) {
-    di <<"Noone shape selected\n";
+    di <<"No shape selected\n";
     di << 0;
     return 0;
   }
index 97ac924afc1fb43d85983a4a465cd5b6a9a67330..7767d7b3c391ebab65d5f92f219d33cccda37895 100644 (file)
@@ -172,8 +172,8 @@ Standard_Boolean operator > (const Quantity_Date& anOther) const
   Standard_EXPORT static Standard_Boolean IsValid (const Standard_Integer mm, const Standard_Integer dd, const Standard_Integer yy, const Standard_Integer hh, const Standard_Integer mn, const Standard_Integer ss, const Standard_Integer mis = 0, const Standard_Integer mics = 0);
   
   //! Returns true if a year is a leap year.
-  //! The leap years are divisable by 4 and not by 100 except
-  //! the years divisable by 400.
+  //! The leap years are divisible by 4 and not by 100 except
+  //! the years divisible by 400.
   static Standard_Boolean IsLeap (const Standard_Integer yy)
   {
     return ((yy % 4 == 0) && (yy % 100 != 0))
index 5067bd6d45cc964d863aa477703117368b61b2d8..c40a51a20b051fab595a8ab8243d09a4ed0b12ba 100644 (file)
@@ -37,7 +37,7 @@ void RWStepBasic_RWConversionBasedUnitAndAreaUnit::ReadStep(const Handle(StepDat
   //data->NamedForComplex("AREA_UNIT",num0,num,ach);
   if (!data->CheckNbParams(num,0,ach,"area_unit")) return;
   
-  // --- Instance of plex componant ConversionBasedUnit ---
+  // --- Instance of plex component ConversionBasedUnit ---
   num = data->NextForComplex(num);
   if (!data->CheckNbParams(num,2,ach,"conversion_based_unit")) return;
   Handle(TCollection_HAsciiString) aName;
index 432e41b9b1e4d9ad03a29a87d4826fa7d189e320..b5a075ad035a902aac00709cdc4bedd389f254cc 100644 (file)
@@ -35,7 +35,7 @@ void RWStepBasic_RWConversionBasedUnitAndLengthUnit::ReadStep
        Standard_Integer num = num0;
 
 
-       // --- Instance of plex componant ConversionBasedUnit ---
+       // --- Instance of plex component ConversionBasedUnit ---
 
        if (!data->CheckNbParams(num,2,ach,"conversion_based_unit")) return;
 
@@ -53,7 +53,7 @@ void RWStepBasic_RWConversionBasedUnitAndLengthUnit::ReadStep
 
        num = data->NextForComplex(num);
 
-       // --- Instance of plex componant LengthUnit ---
+       // --- Instance of plex component LengthUnit ---
 
        if (!data->CheckNbParams(num,0,ach,"length_unit")) return;
 
@@ -80,7 +80,7 @@ void RWStepBasic_RWConversionBasedUnitAndLengthUnit::WriteStep
         const Handle(StepBasic_ConversionBasedUnitAndLengthUnit)& ent) const
 {
 
-       // --- Instance of plex componant ConversionBasedUnit ---
+       // --- Instance of plex component ConversionBasedUnit ---
 
        SW.StartEntity("CONVERSION_BASED_UNIT");
        // --- field : name ---
@@ -90,7 +90,7 @@ void RWStepBasic_RWConversionBasedUnitAndLengthUnit::WriteStep
 
        SW.Send(ent->ConversionFactor());
 
-       // --- Instance of plex componant LengthUnit ---
+       // --- Instance of plex component LengthUnit ---
 
        SW.StartEntity("LENGTH_UNIT");
 
index 7fed805df65c2989f64976e7cab3a728b5ed7a2a..7f2501244167918fd01664c6ec892437d9f3ece6 100644 (file)
@@ -46,7 +46,7 @@ void RWStepBasic_RWConversionBasedUnitAndMassUnit::ReadStep
 
   Standard_Integer num = num0;
 
-  // --- Instance of plex componant ConversionBasedUnit ---
+  // --- Instance of plex component ConversionBasedUnit ---
   if (!data->CheckNbParams(num,2,ach,"conversion_based_unit")) return;
   // --- field : name ---
   Handle(TCollection_HAsciiString) aName;
@@ -59,7 +59,7 @@ void RWStepBasic_RWConversionBasedUnitAndMassUnit::ReadStep
 
   num = data->NextForComplex(num);
 
-  // --- Instance of plex componant MassUnit ---
+  // --- Instance of plex component MassUnit ---
   if (!data->CheckNbParams(num,0,ach,"Mass_unit")) return;
 
   num = data->NextForComplex(num);
@@ -85,13 +85,13 @@ void RWStepBasic_RWConversionBasedUnitAndMassUnit::WriteStep
        (StepData_StepWriter& SW,
         const Handle(StepBasic_ConversionBasedUnitAndMassUnit)& ent) const
 {
-  // --- Instance of plex componant ConversionBasedUnit ---
+  // --- Instance of plex component ConversionBasedUnit ---
   SW.StartEntity("CONVERSION_BASED_UNIT");
   // --- field : name ---
   SW.Send(ent->Name());
   // --- field : conversionFactor ---
   SW.Send(ent->ConversionFactor());
-  // --- Instance of plex componant MassUnit ---
+  // --- Instance of plex component MassUnit ---
   SW.StartEntity("Mass_UNIT");
   // --- Instance of common supertype NamedUnit ---
   SW.StartEntity("NAMED_UNIT");
index 1647342ffca8252b35666433f717a783adc965a1..7d89770e836f953afa1a42fd2c14c5390d242b0d 100644 (file)
@@ -63,7 +63,7 @@ void RWStepBasic_RWConversionBasedUnitAndPlaneAngleUnit::WriteStep
         const Handle(StepBasic_ConversionBasedUnitAndPlaneAngleUnit)& ent) const
 {
 
-       // --- Instance of plex componant ConversionBasedUnit ---
+       // --- Instance of plex component ConversionBasedUnit ---
 
        SW.StartEntity("CONVERSION_BASED_UNIT");
        // --- field : name ---
@@ -80,7 +80,7 @@ void RWStepBasic_RWConversionBasedUnitAndPlaneAngleUnit::WriteStep
 
        SW.Send(ent->Dimensions());
 
-       // --- Instance of plex componant PlaneAngleUnit ---
+       // --- Instance of plex component PlaneAngleUnit ---
 
        SW.StartEntity("PLANE_ANGLE_UNIT");
 }
index 563b3f66b6662acf2b9624ba0fdba5fa1319750e..5674970a90a6a737cd216663c57ed41425d64fba 100644 (file)
@@ -35,7 +35,7 @@ void RWStepBasic_RWConversionBasedUnitAndRatioUnit::ReadStep
        Standard_Integer num = num0;
 
 
-       // --- Instance of plex componant ConversionBasedUnit ---
+       // --- Instance of plex component ConversionBasedUnit ---
 
        if (!data->CheckNbParams(num,2,ach,"conversion_based_unit")) return;
 
@@ -65,7 +65,7 @@ void RWStepBasic_RWConversionBasedUnitAndRatioUnit::ReadStep
 
        num = data->NextForComplex(num);
 
-       // --- Instance of plex componant RatioUnit ---
+       // --- Instance of plex component RatioUnit ---
 
        if (!data->CheckNbParams(num,0,ach,"ratio_unit")) return;
 
@@ -80,7 +80,7 @@ void RWStepBasic_RWConversionBasedUnitAndRatioUnit::WriteStep
         const Handle(StepBasic_ConversionBasedUnitAndRatioUnit)& ent) const
 {
 
-       // --- Instance of plex componant ConversionBasedUnit ---
+       // --- Instance of plex component ConversionBasedUnit ---
 
        SW.StartEntity("CONVERSION_BASED_UNIT");
        // --- field : name ---
@@ -90,7 +90,7 @@ void RWStepBasic_RWConversionBasedUnitAndRatioUnit::WriteStep
 
        SW.Send(ent->ConversionFactor());
 
-       // --- Instance of plex componant RatioUnit ---
+       // --- Instance of plex component RatioUnit ---
 
        SW.StartEntity("RATIO_UNIT");
 
index 0dbb26656e863234de2e16bb41a54d5c33906d72..d6f06140185f5ae6abcdbb981da7c1e6c0dfbcdb 100644 (file)
@@ -35,7 +35,7 @@ void RWStepBasic_RWConversionBasedUnitAndSolidAngleUnit::ReadStep
        Standard_Integer num = num0;
 
 
-       // --- Instance of plex componant ConversionBasedUnit ---
+       // --- Instance of plex component ConversionBasedUnit ---
 
        if (!data->CheckNbParams(num,2,ach,"conversion_based_unit")) return;
 
@@ -65,7 +65,7 @@ void RWStepBasic_RWConversionBasedUnitAndSolidAngleUnit::ReadStep
 
        num = data->NextForComplex(num);
 
-       // --- Instance of plex componant SolidAngleUnit ---
+       // --- Instance of plex component SolidAngleUnit ---
 
        if (!data->CheckNbParams(num,0,ach,"solid_angle_unit")) return;
 
@@ -80,7 +80,7 @@ void RWStepBasic_RWConversionBasedUnitAndSolidAngleUnit::WriteStep
         const Handle(StepBasic_ConversionBasedUnitAndSolidAngleUnit)& ent) const
 {
 
-       // --- Instance of plex componant ConversionBasedUnit ---
+       // --- Instance of plex component ConversionBasedUnit ---
 
        SW.StartEntity("CONVERSION_BASED_UNIT");
        // --- field : name ---
@@ -97,7 +97,7 @@ void RWStepBasic_RWConversionBasedUnitAndSolidAngleUnit::WriteStep
 
        SW.Send(ent->Dimensions());
 
-       // --- Instance of plex componant SolidAngleUnit ---
+       // --- Instance of plex component SolidAngleUnit ---
 
        SW.StartEntity("SOLID_ANGLE_UNIT");
 }
index c7dd2d5c2e922e0ea65e5627628db5306c23bbe9..4557f31f07ecc888b81f699a49ce36bbf156e8d5 100644 (file)
@@ -35,7 +35,7 @@ void RWStepBasic_RWConversionBasedUnitAndTimeUnit::ReadStep
        Standard_Integer num = num0;
 
 
-       // --- Instance of plex componant ConversionBasedUnit ---
+       // --- Instance of plex component ConversionBasedUnit ---
 
        if (!data->CheckNbParams(num,2,ach,"conversion_based_unit")) return;
 
@@ -65,7 +65,7 @@ void RWStepBasic_RWConversionBasedUnitAndTimeUnit::ReadStep
 
        num = data->NextForComplex(num);
 
-       // --- Instance of plex componant TimeUnit ---
+       // --- Instance of plex component TimeUnit ---
 
        if (!data->CheckNbParams(num,0,ach,"time_unit")) return;
 
@@ -80,7 +80,7 @@ void RWStepBasic_RWConversionBasedUnitAndTimeUnit::WriteStep
         const Handle(StepBasic_ConversionBasedUnitAndTimeUnit)& ent) const
 {
 
-       // --- Instance of plex componant ConversionBasedUnit ---
+       // --- Instance of plex component ConversionBasedUnit ---
 
        SW.StartEntity("CONVERSION_BASED_UNIT");
        // --- field : name ---
@@ -90,7 +90,7 @@ void RWStepBasic_RWConversionBasedUnitAndTimeUnit::WriteStep
 
        SW.Send(ent->ConversionFactor());
 
-       // --- Instance of plex componant TimeUnit ---
+       // --- Instance of plex component TimeUnit ---
 
        SW.StartEntity("TIME_UNIT");
 
index 373b5076ff664fdc5a80f9355dcc2ffd08bcfdfc..9892ba56d63850265e5dbbd451980c0b708175aa 100644 (file)
@@ -34,7 +34,7 @@ void RWStepBasic_RWConversionBasedUnitAndVolumeUnit::ReadStep(const Handle(StepD
                                                              const Handle(StepBasic_ConversionBasedUnitAndVolumeUnit)& ent) const
 {
   Standard_Integer num = num0;
-  // --- Instance of plex componant ConversionBasedUnit ---
+  // --- Instance of plex component ConversionBasedUnit ---
   if (!data->CheckNbParams(num,2,ach,"conversion_based_unit")) return;
   Handle(TCollection_HAsciiString) aName;
   data->ReadString (num,1,"name",ach,aName);
index ba0640d317dabccfd93e41d02fc30e5eee744b22..cb9ea1b17c682795c52fd8009a7c465b8de1b4db 100644 (file)
@@ -37,7 +37,7 @@ void RWStepBasic_RWSiUnitAndLengthUnit::ReadStep(const Handle(StepData_StepReade
   Standard_Integer num = 0;  // num0;
   Standard_Boolean sorted = data->NamedForComplex("LENGTH_UNIT", "LNGUNT",num0,num,ach);
 
-  // --- Instance of plex componant LengthUnit ---
+  // --- Instance of plex component LengthUnit ---
   if (!data->CheckNbParams(num,0,ach,"length_unit")) return;
 
   if (!sorted) num = 0; //pdn unsorted case 
@@ -54,7 +54,7 @@ void RWStepBasic_RWSiUnitAndLengthUnit::ReadStep(const Handle(StepData_StepReade
   if (!sorted) num = 0; //pdn unsorted case 
   data->NamedForComplex("SI_UNIT", "SUNT",num0,num,ach);
 
-  // --- Instance of plex componant SiUnit ---
+  // --- Instance of plex component SiUnit ---
   if (!data->CheckNbParams(num,2,ach,"si_unit")) return;
 
   // --- field : prefix ---
@@ -99,7 +99,7 @@ void RWStepBasic_RWSiUnitAndLengthUnit::WriteStep(StepData_StepWriter& SW,
                                                  const Handle(StepBasic_SiUnitAndLengthUnit)& ent) const
 {
 
-  // --- Instance of plex componant LengthUnit ---
+  // --- Instance of plex component LengthUnit ---
   SW.StartEntity("LENGTH_UNIT");
 
   // --- Instance of common supertype NamedUnit ---
@@ -109,7 +109,7 @@ void RWStepBasic_RWSiUnitAndLengthUnit::WriteStep(StepData_StepWriter& SW,
   // --- redefined field ---
   SW.SendDerived();
 
-  // --- Instance of plex componant SiUnit ---
+  // --- Instance of plex component SiUnit ---
   SW.StartEntity("SI_UNIT");
   
   // --- field : prefix ---
index dcc95f781eb0341a179932d7447dc5b1acf80dcf..483ec33fa53d122dafd8b270b62164b4db86fe2f 100644 (file)
@@ -46,7 +46,7 @@ void RWStepBasic_RWSiUnitAndMassUnit::ReadStep(const Handle(StepData_StepReaderD
   Standard_Integer num = 0;  // num0;
   Standard_Boolean sorted = data->NamedForComplex("MASS_UNIT","MSSUNT",num0,num,ach);
 
-  // --- Instance of plex componant LengthUnit ---
+  // --- Instance of plex component LengthUnit ---
   if (!data->CheckNbParams(num,0,ach,"mass_unit")) return;
 
   if (!sorted) num = 0; //pdn unsorted case 
@@ -63,7 +63,7 @@ void RWStepBasic_RWSiUnitAndMassUnit::ReadStep(const Handle(StepData_StepReaderD
   if (!sorted) num = 0; //pdn unsorted case 
   data->NamedForComplex("SI_UNIT", "SUNT",num0,num,ach);
 
-  // --- Instance of plex componant SiUnit ---
+  // --- Instance of plex component SiUnit ---
   if (!data->CheckNbParams(num,2,ach,"si_unit")) return;
 
   // --- field : prefix ---
@@ -108,7 +108,7 @@ void RWStepBasic_RWSiUnitAndMassUnit::WriteStep(StepData_StepWriter& SW,
                                                 const Handle(StepBasic_SiUnitAndMassUnit)& ent) const
 {
 
-  // --- Instance of plex componant LengthUnit ---
+  // --- Instance of plex component LengthUnit ---
   SW.StartEntity("MASS_UNIT");
 
   // --- Instance of common supertype NamedUnit ---
@@ -118,7 +118,7 @@ void RWStepBasic_RWSiUnitAndMassUnit::WriteStep(StepData_StepWriter& SW,
   // --- redefined field ---
   SW.SendDerived();
 
-  // --- Instance of plex componant SiUnit ---
+  // --- Instance of plex component SiUnit ---
   SW.StartEntity("SI_UNIT");
   
   // --- field : prefix ---
index 5f84c02a45e2c222e5615a2c0f1f9a9914d28549..0515370365ac12cc5c8463eab711ff301f3d8d45 100644 (file)
@@ -44,11 +44,11 @@ void RWStepBasic_RWSiUnitAndPlaneAngleUnit::ReadStep(const Handle(StepData_StepR
   data->CheckDerived(num,1,"dimensions",ach,Standard_False);
   num = data->NextForComplex(num);
 
-  // --- Instance of plex componant PlaneAngleUnit ---
+  // --- Instance of plex component PlaneAngleUnit ---
   if (!data->CheckNbParams(num,0,ach,"plane_angle_unit")) return;
   num = data->NextForComplex(num);
 
-  // --- Instance of plex componant SiUnit ---
+  // --- Instance of plex component SiUnit ---
   if (!data->CheckNbParams(num,2,ach,"si_unit")) return;
 
   // --- field : prefix ---
@@ -99,10 +99,10 @@ void RWStepBasic_RWSiUnitAndPlaneAngleUnit::WriteStep(StepData_StepWriter& SW,
   // --- redefined field ---
   SW.SendDerived();
 
-  // --- Instance of plex componant PlaneAngleUnit ---
+  // --- Instance of plex component PlaneAngleUnit ---
   SW.StartEntity("PLANE_ANGLE_UNIT");
 
-  // --- Instance of plex componant SiUnit ---
+  // --- Instance of plex component SiUnit ---
   SW.StartEntity("SI_UNIT");
        
   // --- field : prefix ---
index d578c48d93c407e77b6f2c101b8287cdfd8fa2f8..5353006436bad0ce384267cd8698511cd672f248 100644 (file)
@@ -42,11 +42,11 @@ void RWStepBasic_RWSiUnitAndRatioUnit::ReadStep     (const Handle(StepData_StepReade
   //szv#4:S4163:12Mar99 `Standard_Boolean stat1 =` not needed
   data->CheckDerived(num,1,"dimensions",ach,Standard_False);
 
-  // --- Instance of plex componant RatioUnit ---
+  // --- Instance of plex component RatioUnit ---
   num = data->NextForComplex(num);
   if (!data->CheckNbParams(num,0,ach,"ratio_unit")) return;
 
-  // --- Instance of plex componant SiUnit ---
+  // --- Instance of plex component SiUnit ---
   num = data->NextForComplex(num);
   if (!data->CheckNbParams(num,2,ach,"si_unit")) return;
 
@@ -92,7 +92,7 @@ void RWStepBasic_RWSiUnitAndRatioUnit::WriteStep(StepData_StepWriter& SW,
                                                 const Handle(StepBasic_SiUnitAndRatioUnit)& ent) const
 {
   
-  // --- Instance of plex componant RatioUnit ---
+  // --- Instance of plex component RatioUnit ---
   SW.StartEntity("RATIO_UNIT");
 
   // --- Instance of common supertype NamedUnit ---
@@ -101,7 +101,7 @@ void RWStepBasic_RWSiUnitAndRatioUnit::WriteStep(StepData_StepWriter& SW,
   // --- redefined field ---
   SW.SendDerived();
 
-  // --- Instance of plex componant SiUnit ---
+  // --- Instance of plex component SiUnit ---
   SW.StartEntity("SI_UNIT");
   
   // --- field : prefix ---
index 15180e89d5a73c2b54ae4149cfa7ac43fc68e06e..9dbf560a8a9d959f8b85a3fbf2a9cb13b2560a44 100644 (file)
@@ -43,7 +43,7 @@ void RWStepBasic_RWSiUnitAndSolidAngleUnit::ReadStep (const Handle(StepData_Step
   //szv#4:S4163:12Mar99 `Standard_Boolean stat1 =` not needed
   data->CheckDerived(num,1,"dimensions",ach,Standard_False);
 
-  // --- Instance of plex componant SiUnit ---
+  // --- Instance of plex component SiUnit ---
   num = data->NextForComplex(num);
   if (!data->CheckNbParams(num,2,ach,"si_unit")) return;
   
@@ -80,7 +80,7 @@ void RWStepBasic_RWSiUnitAndSolidAngleUnit::ReadStep (const Handle(StepData_Step
     return;
   }
 
-  // --- Instance of plex componant SolidAngleUnit ---
+  // --- Instance of plex component SolidAngleUnit ---
   num = data->NextForComplex(num);
   if (!data->CheckNbParams(num,0,ach,"solid_angle_unit")) return;
 
@@ -99,7 +99,7 @@ void RWStepBasic_RWSiUnitAndSolidAngleUnit::WriteStep (StepData_StepWriter& SW,
   // --- redefined field ---
   SW.SendDerived();
   
-  // --- Instance of plex componant SiUnit ---
+  // --- Instance of plex component SiUnit ---
   SW.StartEntity("SI_UNIT");
   
   // --- field : prefix ---
@@ -113,7 +113,7 @@ void RWStepBasic_RWSiUnitAndSolidAngleUnit::WriteStep (StepData_StepWriter& SW,
   // --- field : name ---
   SW.SendEnum(writer.EncodeName(ent->Name()));
        
-  // --- Instance of plex componant SolidAngleUnit ---
+  // --- Instance of plex component SolidAngleUnit ---
   SW.StartEntity("SOLID_ANGLE_UNIT");
 }
 
index 21d18e53619dc1fb7ca9ad60ae0cb7f1641a5636..0430115e8dd7d62a721dd2c8a222cf2c164a7176 100644 (file)
@@ -54,7 +54,7 @@ void RWStepBasic_RWSiUnitAndThermodynamicTemperatureUnit::ReadStep
   //szv#4:S4163:12Mar99 `Standard_Boolean stat1 =` not needed
   data->CheckDerived(num,1,"dimensions",ach,Standard_False);
 
-  // --- Instance of plex componant SiUnit ---
+  // --- Instance of plex component SiUnit ---
   num = data->NextForComplex(num);
   if (!data->CheckNbParams(num,2,ach,"si_unit")) return;
   
@@ -91,7 +91,7 @@ void RWStepBasic_RWSiUnitAndThermodynamicTemperatureUnit::ReadStep
     return;
   }
 
-  // --- Instance of plex componant SolidAngleUnit ---
+  // --- Instance of plex component SolidAngleUnit ---
   num = data->NextForComplex(num);
   if (!data->CheckNbParams(num,0,ach,"thermodynamic_temperature_unit")) return;
 
@@ -116,7 +116,7 @@ void RWStepBasic_RWSiUnitAndThermodynamicTemperatureUnit::WriteStep
   // --- redefined field ---
   SW.SendDerived();
   
-  // --- Instance of plex componant SiUnit ---
+  // --- Instance of plex component SiUnit ---
   SW.StartEntity("SI_UNIT");
   
   // --- field : prefix ---
@@ -130,7 +130,7 @@ void RWStepBasic_RWSiUnitAndThermodynamicTemperatureUnit::WriteStep
   // --- field : name ---
   SW.SendEnum(writer.EncodeName(ent->Name()));
        
-  // --- Instance of plex componant SolidAngleUnit ---
+  // --- Instance of plex component SolidAngleUnit ---
   SW.StartEntity("THERMODYNAMIC_TEMPERATURE_UNIT");
 }
 
index 8139a97b264fc7ab054e9f52ee4e8c9392d84cc5..4c363d229cc8f52f901b3d799d31d94c3f527e20 100644 (file)
@@ -53,7 +53,7 @@ void RWStepBasic_RWSiUnitAndTimeUnit::ReadStep (const Handle(StepData_StepReader
   //szv#4:S4163:12Mar99 `Standard_Boolean stat1 =`
   data->CheckDerived(num,1,"dimensions",ach,Standard_False);
 
-  // --- Instance of plex componant SiUnit ---
+  // --- Instance of plex component SiUnit ---
   num = data->NextForComplex(num);
   if (!data->CheckNbParams(num,2,ach,"si_unit")) return;
 
@@ -90,7 +90,7 @@ void RWStepBasic_RWSiUnitAndTimeUnit::ReadStep (const Handle(StepData_StepReader
     return;
   }
   
-  // --- Instance of plex componant TimeUnit ---
+  // --- Instance of plex component TimeUnit ---
   num = data->NextForComplex(num);
   if (!data->CheckNbParams(num,0,ach,"time_unit")) return;
 
@@ -108,7 +108,7 @@ void RWStepBasic_RWSiUnitAndTimeUnit::WriteStep     (StepData_StepWriter& SW,
                                                 const Handle(StepBasic_SiUnitAndTimeUnit)& ent) const
 {
 
-  // --- Instance of plex componant TimeUnit ---
+  // --- Instance of plex component TimeUnit ---
   //SW.StartEntity("TIME_UNIT");
 
   // --- Instance of common supertype NamedUnit ---
@@ -118,7 +118,7 @@ void RWStepBasic_RWSiUnitAndTimeUnit::WriteStep     (StepData_StepWriter& SW,
   // --- redefined field ---
   SW.SendDerived();
 
-  // --- Instance of plex componant SiUnit ---
+  // --- Instance of plex component SiUnit ---
   SW.StartEntity("SI_UNIT");
   
   // --- field : prefix ---
@@ -132,7 +132,7 @@ void RWStepBasic_RWSiUnitAndTimeUnit::WriteStep     (StepData_StepWriter& SW,
   // --- field : name ---
   SW.SendEnum(writer.EncodeName(ent->Name()));
 
-  // --- Instance of plex componant TimeUnit ---
+  // --- Instance of plex component TimeUnit ---
   SW.StartEntity("TIME_UNIT");
 
 }
index f38d385d676b43012e1ec64c7608ed162054ee94..3335d0ec1f2f8293ed95047a5efcc46a0624d9d3 100644 (file)
@@ -123,7 +123,7 @@ void RWStepGeom_RWBSplineCurveWithKnotsAndRationalBSplineCurve::ReadStep
 //        num =  0; //gka TRJ9
        data->NamedForComplex("B_SPLINE_CURVE_WITH_KNOTS", "BSCWK",num0,num,ach);
 
-       // --- Instance of plex componant BSplineCurveWithKnots ---
+       // --- Instance of plex component BSplineCurveWithKnots ---
 
        if (!data->CheckNbParams(num,3,ach,"b_spline_curve_with_knots")) return;
 
@@ -185,7 +185,7 @@ void RWStepGeom_RWBSplineCurveWithKnotsAndRationalBSplineCurve::ReadStep
         //num =  0;
        data->NamedForComplex("RATIONAL_B_SPLINE_CURVE", "RBSC",num0,num,ach);
 
-       // --- Instance of plex componant RationalBSplineCurve ---
+       // --- Instance of plex component RationalBSplineCurve ---
 
        if (!data->CheckNbParams(num,1,ach,"rational_b_spline_curve")) return;
 
@@ -209,7 +209,7 @@ void RWStepGeom_RWBSplineCurveWithKnotsAndRationalBSplineCurve::ReadStep
         //num =  0;
        data->NamedForComplex("REPRESENTATION_ITEM", "RPRITM",num0,num,ach);
 
-       // --- Instance of plex componant RepresentationItem ---
+       // --- Instance of plex component RepresentationItem ---
 
        if (!data->CheckNbParams(num,1,ach,"representation_item")) return;
 
@@ -230,7 +230,7 @@ void RWStepGeom_RWBSplineCurveWithKnotsAndRationalBSplineCurve::WriteStep
         const Handle(StepGeom_BSplineCurveWithKnotsAndRationalBSplineCurve)& ent) const
 {
 
-       // --- Instance of plex componant BoundedCurve ---
+       // --- Instance of plex component BoundedCurve ---
 
        SW.StartEntity("BOUNDED_CURVE");
 
@@ -264,7 +264,7 @@ void RWStepGeom_RWBSplineCurveWithKnotsAndRationalBSplineCurve::WriteStep
 
        SW.SendLogical(ent->SelfIntersect());
 
-       // --- Instance of plex componant BSplineCurveWithKnots ---
+       // --- Instance of plex component BSplineCurveWithKnots ---
 
        SW.StartEntity("B_SPLINE_CURVE_WITH_KNOTS");
        // --- field : knotMultiplicities ---
@@ -290,15 +290,15 @@ void RWStepGeom_RWBSplineCurveWithKnotsAndRationalBSplineCurve::WriteStep
          case StepGeom_ktUnspecified : SW.SendEnum (ktUnspecified); break;
        }
 
-       // --- Instance of plex componant Curve ---
+       // --- Instance of plex component Curve ---
 
        SW.StartEntity("CURVE");
 
-       // --- Instance of plex componant GeometricRepresentationItem ---
+       // --- Instance of plex component GeometricRepresentationItem ---
 
        SW.StartEntity("GEOMETRIC_REPRESENTATION_ITEM");
 
-       // --- Instance of plex componant RationalBSplineCurve ---
+       // --- Instance of plex component RationalBSplineCurve ---
 
        SW.StartEntity("RATIONAL_B_SPLINE_CURVE");
        // --- field : weightsData ---
@@ -309,7 +309,7 @@ void RWStepGeom_RWBSplineCurveWithKnotsAndRationalBSplineCurve::WriteStep
        }
        SW.CloseSub();
 
-       // --- Instance of plex componant RepresentationItem ---
+       // --- Instance of plex component RepresentationItem ---
 
        SW.StartEntity("REPRESENTATION_ITEM");
        // --- field : name ---
index b1556526facda2f0986e23d27523e2ef89ae1b16..670c034a7219a0a40ed403c8777783bf2cbcc0b5 100644 (file)
@@ -147,7 +147,7 @@ void RWStepGeom_RWBSplineSurfaceWithKnotsAndRationalBSplineSurface::ReadStep
 //     num = data->NextForComplex(num);
        data->NamedForComplex("B_SPLINE_SURFACE_WITH_KNOTS", "BSSWK",num0,num,ach);
 
-       // --- Instance of plex componant BSplineSurfaceWithKnots ---
+       // --- Instance of plex component BSplineSurfaceWithKnots ---
 
        if (!data->CheckNbParams(num,5,ach,"b_spline_surface_with_knots")) return;
 
@@ -230,7 +230,7 @@ void RWStepGeom_RWBSplineSurfaceWithKnotsAndRationalBSplineSurface::ReadStep
 //     num = data->NextForComplex(num);
        data->NamedForComplex("RATIONAL_B_SPLINE_SURFACE", "RBSS",num0,num,ach);
 
-       // --- Instance of plex componant RationalBSplineSurface ---
+       // --- Instance of plex component RationalBSplineSurface ---
 
        if (!data->CheckNbParams(num,1,ach,"rational_b_spline_surface")) return;
 
@@ -259,7 +259,7 @@ void RWStepGeom_RWBSplineSurfaceWithKnotsAndRationalBSplineSurface::ReadStep
 //     num = data->NextForComplex(num);
        data->NamedForComplex("REPRESENTATION_ITEM", "RPRITM",num0,num,ach);
 
-       // --- Instance of plex componant RepresentationItem ---
+       // --- Instance of plex component RepresentationItem ---
 
        if (!data->CheckNbParams(num,1,ach,"representation_item")) return;
 
@@ -283,7 +283,7 @@ void RWStepGeom_RWBSplineSurfaceWithKnotsAndRationalBSplineSurface::WriteStep
         const Handle(StepGeom_BSplineSurfaceWithKnotsAndRationalBSplineSurface)& ent) const
 {
 
-       // --- Instance of plex componant BoundedSurface ---
+       // --- Instance of plex component BoundedSurface ---
 
        SW.StartEntity("BOUNDED_SURFACE");
 
@@ -334,7 +334,7 @@ void RWStepGeom_RWBSplineSurfaceWithKnotsAndRationalBSplineSurface::WriteStep
 
        SW.SendLogical(ent->SelfIntersect());
 
-       // --- Instance of plex componant BSplineSurfaceWithKnots ---
+       // --- Instance of plex component BSplineSurfaceWithKnots ---
 
        SW.StartEntity("B_SPLINE_SURFACE_WITH_KNOTS");
        // --- field : uMultiplicities ---
@@ -374,11 +374,11 @@ void RWStepGeom_RWBSplineSurfaceWithKnotsAndRationalBSplineSurface::WriteStep
          case StepGeom_ktUnspecified : SW.SendEnum (ktUnspecified); break;
        }
 
-       // --- Instance of plex componant GeometricRepresentationItem ---
+       // --- Instance of plex component GeometricRepresentationItem ---
 
        SW.StartEntity("GEOMETRIC_REPRESENTATION_ITEM");
 
-       // --- Instance of plex componant RationalBSplineSurface ---
+       // --- Instance of plex component RationalBSplineSurface ---
 
        SW.StartEntity("RATIONAL_B_SPLINE_SURFACE");
        // --- field : weightsData ---
@@ -395,14 +395,14 @@ void RWStepGeom_RWBSplineSurfaceWithKnotsAndRationalBSplineSurface::WriteStep
        }
        SW.CloseSub();
 
-       // --- Instance of plex componant RepresentationItem ---
+       // --- Instance of plex component RepresentationItem ---
 
        SW.StartEntity("REPRESENTATION_ITEM");
        // --- field : name ---
 
        SW.Send(ent->Name());
 
-       // --- Instance of plex componant Surface ---
+       // --- Instance of plex component Surface ---
 
        SW.StartEntity("SURFACE");
 }
index a2d0584ce75f0a7c7dddaeba6cc06fbab1edaadb..1ae4bac3b568457daba1faa5737ba031b2603995 100644 (file)
@@ -46,13 +46,13 @@ void RWStepGeom_RWBezierCurveAndRationalBSplineCurve::ReadStep
        Standard_Integer num = num0;
 
 
-       // --- Instance of plex componant BezierCurve ---
+       // --- Instance of plex component BezierCurve ---
 
        if (!data->CheckNbParams(num,0,ach,"bezier_curve")) return;
 
        num = data->NextForComplex(num);
 
-       // --- Instance of plex componant BoundedCurve ---
+       // --- Instance of plex component BoundedCurve ---
 
        if (!data->CheckNbParams(num,0,ach,"bounded_curve")) return;
 
@@ -114,19 +114,19 @@ void RWStepGeom_RWBezierCurveAndRationalBSplineCurve::ReadStep
 
        num = data->NextForComplex(num);
 
-       // --- Instance of plex componant Curve ---
+       // --- Instance of plex component Curve ---
 
        if (!data->CheckNbParams(num,0,ach,"curve")) return;
 
        num = data->NextForComplex(num);
 
-       // --- Instance of plex componant GeometricRepresentationItem ---
+       // --- Instance of plex component GeometricRepresentationItem ---
 
        if (!data->CheckNbParams(num,0,ach,"geometric_representation_item")) return;
 
        num = data->NextForComplex(num);
 
-       // --- Instance of plex componant RationalBSplineCurve ---
+       // --- Instance of plex component RationalBSplineCurve ---
 
        if (!data->CheckNbParams(num,1,ach,"rational_b_spline_curve")) return;
 
@@ -147,7 +147,7 @@ void RWStepGeom_RWBezierCurveAndRationalBSplineCurve::ReadStep
 
        num = data->NextForComplex(num);
 
-       // --- Instance of plex componant RepresentationItem ---
+       // --- Instance of plex component RepresentationItem ---
 
        if (!data->CheckNbParams(num,1,ach,"representation_item")) return;
 
@@ -168,11 +168,11 @@ void RWStepGeom_RWBezierCurveAndRationalBSplineCurve::WriteStep
         const Handle(StepGeom_BezierCurveAndRationalBSplineCurve)& ent) const
 {
 
-       // --- Instance of plex componant BezierCurve ---
+       // --- Instance of plex component BezierCurve ---
 
        SW.StartEntity("BEZIER_CURVE");
 
-       // --- Instance of plex componant BoundedCurve ---
+       // --- Instance of plex component BoundedCurve ---
 
        SW.StartEntity("BOUNDED_CURVE");
 
@@ -206,15 +206,15 @@ void RWStepGeom_RWBezierCurveAndRationalBSplineCurve::WriteStep
 
        SW.SendLogical(ent->SelfIntersect());
 
-       // --- Instance of plex componant Curve ---
+       // --- Instance of plex component Curve ---
 
        SW.StartEntity("CURVE");
 
-       // --- Instance of plex componant GeometricRepresentationItem ---
+       // --- Instance of plex component GeometricRepresentationItem ---
 
        SW.StartEntity("GEOMETRIC_REPRESENTATION_ITEM");
 
-       // --- Instance of plex componant RationalBSplineCurve ---
+       // --- Instance of plex component RationalBSplineCurve ---
 
        SW.StartEntity("RATIONAL_B_SPLINE_CURVE");
        // --- field : weightsData ---
@@ -225,7 +225,7 @@ void RWStepGeom_RWBezierCurveAndRationalBSplineCurve::WriteStep
        }
        SW.CloseSub();
 
-       // --- Instance of plex componant RepresentationItem ---
+       // --- Instance of plex component RepresentationItem ---
 
        SW.StartEntity("REPRESENTATION_ITEM");
        // --- field : name ---
index 9483eca589450cf97cfd791819aab544c1bf24e6..9a7369dc272f120296bf3bcb0514590b4bff9185 100644 (file)
@@ -51,13 +51,13 @@ void RWStepGeom_RWBezierSurfaceAndRationalBSplineSurface::ReadStep
        Standard_Integer num = num0;
 
 
-       // --- Instance of plex componant BezierSurface ---
+       // --- Instance of plex component BezierSurface ---
 
        if (!data->CheckNbParams(num,0,ach,"bezier_surface")) return;
 
        num = data->NextForComplex(num);
 
-       // --- Instance of plex componant BoundedSurface ---
+       // --- Instance of plex component BoundedSurface ---
 
        if (!data->CheckNbParams(num,0,ach,"bounded_surface")) return;
 
@@ -142,13 +142,13 @@ void RWStepGeom_RWBezierSurfaceAndRationalBSplineSurface::ReadStep
 
        num = data->NextForComplex(num);
 
-       // --- Instance of plex componant GeometricRepresentationItem ---
+       // --- Instance of plex component GeometricRepresentationItem ---
 
        if (!data->CheckNbParams(num,0,ach,"geometric_representation_item")) return;
 
        num = data->NextForComplex(num);
 
-       // --- Instance of plex componant RationalBSplineSurface ---
+       // --- Instance of plex component RationalBSplineSurface ---
 
        if (!data->CheckNbParams(num,1,ach,"rational_b_spline_surface")) return;
 
@@ -175,7 +175,7 @@ void RWStepGeom_RWBezierSurfaceAndRationalBSplineSurface::ReadStep
 
        num = data->NextForComplex(num);
 
-       // --- Instance of plex componant RepresentationItem ---
+       // --- Instance of plex component RepresentationItem ---
 
        if (!data->CheckNbParams(num,1,ach,"representation_item")) return;
 
@@ -187,7 +187,7 @@ void RWStepGeom_RWBezierSurfaceAndRationalBSplineSurface::ReadStep
 
        num = data->NextForComplex(num);
 
-       // --- Instance of plex componant Surface ---
+       // --- Instance of plex component Surface ---
 
        if (!data->CheckNbParams(num,0,ach,"surface")) return;
 
@@ -202,11 +202,11 @@ void RWStepGeom_RWBezierSurfaceAndRationalBSplineSurface::WriteStep
         const Handle(StepGeom_BezierSurfaceAndRationalBSplineSurface)& ent) const
 {
 
-       // --- Instance of plex componant BezierSurface ---
+       // --- Instance of plex component BezierSurface ---
 
        SW.StartEntity("BEZIER_SURFACE");
 
-       // --- Instance of plex componant BoundedSurface ---
+       // --- Instance of plex component BoundedSurface ---
 
        SW.StartEntity("BOUNDED_SURFACE");
 
@@ -257,11 +257,11 @@ void RWStepGeom_RWBezierSurfaceAndRationalBSplineSurface::WriteStep
 
        SW.SendLogical(ent->SelfIntersect());
 
-       // --- Instance of plex componant GeometricRepresentationItem ---
+       // --- Instance of plex component GeometricRepresentationItem ---
 
        SW.StartEntity("GEOMETRIC_REPRESENTATION_ITEM");
 
-       // --- Instance of plex componant RationalBSplineSurface ---
+       // --- Instance of plex component RationalBSplineSurface ---
 
        SW.StartEntity("RATIONAL_B_SPLINE_SURFACE");
        // --- field : weightsData ---
@@ -278,14 +278,14 @@ void RWStepGeom_RWBezierSurfaceAndRationalBSplineSurface::WriteStep
        }
        SW.CloseSub();
 
-       // --- Instance of plex componant RepresentationItem ---
+       // --- Instance of plex component RepresentationItem ---
 
        SW.StartEntity("REPRESENTATION_ITEM");
        // --- field : name ---
 
        SW.Send(ent->Name());
 
-       // --- Instance of plex componant Surface ---
+       // --- Instance of plex component Surface ---
 
        SW.StartEntity("SURFACE");
 }
index fdd441e6962813c9474436325ae584eef2060b2d..079106faccc3702b41cdf62333a8f44dc1a845ff 100644 (file)
@@ -37,7 +37,7 @@ void RWStepGeom_RWGeomRepContextAndGlobUnitAssCtxAndGlobUncertaintyAssCtx::ReadS
   Standard_Integer num = num0;
   
   // -----------------------------------------------------------------
-  // --- Instance of plex componant GeometricRepresentationContext ---
+  // --- Instance of plex component GeometricRepresentationContext ---
   // -----------------------------------------------------------------
   
   if (!data->CheckNbParams(num,1,ach,"geometric_representation_context")) return;
@@ -51,7 +51,7 @@ void RWStepGeom_RWGeomRepContextAndGlobUnitAssCtxAndGlobUncertaintyAssCtx::ReadS
   num = data->NextForComplex(num);
   
   // -------------------------------------------------------------------
-  // --- Instance of plex componant GlobalUncertaintyAssignedContext ---
+  // --- Instance of plex component GlobalUncertaintyAssignedContext ---
   // -------------------------------------------------------------------
   
   if (!data->CheckNbParams(num,1,ach,"global_uncertainty_assigned_context")) return;
@@ -75,7 +75,7 @@ void RWStepGeom_RWGeomRepContextAndGlobUnitAssCtxAndGlobUncertaintyAssCtx::ReadS
   num = data->NextForComplex(num);
   
   // ------------------------------------------------------------
-  // --- Instance of plex componant GlobalUnitAssignedContext ---
+  // --- Instance of plex component GlobalUnitAssignedContext ---
   // ------------------------------------------------------------
   
   if (!data->CheckNbParams(num,1,ach,"global_unit_assigned_context")) return;
@@ -127,7 +127,7 @@ void RWStepGeom_RWGeomRepContextAndGlobUnitAssCtxAndGlobUncertaintyAssCtx::Write
 {
 
   // -----------------------------------------------------------------
-  // --- Instance of plex componant GeometricRepresentationContext ---
+  // --- Instance of plex component GeometricRepresentationContext ---
   // -----------------------------------------------------------------
   
   SW.StartEntity("GEOMETRIC_REPRESENTATION_CONTEXT");
@@ -137,7 +137,7 @@ void RWStepGeom_RWGeomRepContextAndGlobUnitAssCtxAndGlobUncertaintyAssCtx::Write
   SW.Send(ent->CoordinateSpaceDimension());
   
   // -------------------------------------------------------------------
-  // --- Instance of plex componant GlobalUncertaintyAssignedContext ---
+  // --- Instance of plex component GlobalUncertaintyAssignedContext ---
   // -------------------------------------------------------------------
   
   SW.StartEntity("GLOBAL_UNCERTAINTY_ASSIGNED_CONTEXT");
@@ -151,7 +151,7 @@ void RWStepGeom_RWGeomRepContextAndGlobUnitAssCtxAndGlobUncertaintyAssCtx::Write
   SW.CloseSub();
   
   // ------------------------------------------------------------
-  // --- Instance of plex componant GlobalUnitAssignedContext ---
+  // --- Instance of plex component GlobalUnitAssignedContext ---
   // ------------------------------------------------------------
   
   SW.StartEntity("GLOBAL_UNIT_ASSIGNED_CONTEXT");
index 285930f7e242352a6c29868a9f28a12a57feacf2..23dd4a44042153789aa8348779028690682d33f6 100644 (file)
@@ -35,7 +35,7 @@ void RWStepGeom_RWGeometricRepresentationContextAndGlobalUnitAssignedContext::Re
        Standard_Integer num = num0;
 
 
-       // --- Instance of plex componant GeometricRepresentationContext ---
+       // --- Instance of plex component GeometricRepresentationContext ---
 
        if (!data->CheckNbParams(num,1,ach,"geometric_representation_context")) return;
 
@@ -47,7 +47,7 @@ void RWStepGeom_RWGeometricRepresentationContextAndGlobalUnitAssignedContext::Re
 
        num = data->NextForComplex(num);
 
-       // --- Instance of plex componant GlobalUnitAssignedContext ---
+       // --- Instance of plex component GlobalUnitAssignedContext ---
 
        if (!data->CheckNbParams(num,1,ach,"global_unit_assigned_context")) return;
 
@@ -95,14 +95,14 @@ void RWStepGeom_RWGeometricRepresentationContextAndGlobalUnitAssignedContext::Wr
         const Handle(StepGeom_GeometricRepresentationContextAndGlobalUnitAssignedContext)& ent) const
 {
 
-       // --- Instance of plex componant GeometricRepresentationContext ---
+       // --- Instance of plex component GeometricRepresentationContext ---
 
        SW.StartEntity("GEOMETRIC_REPRESENTATION_CONTEXT");
        // --- field : coordinateSpaceDimension ---
 
        SW.Send(ent->CoordinateSpaceDimension());
 
-       // --- Instance of plex componant GlobalUnitAssignedContext ---
+       // --- Instance of plex component GlobalUnitAssignedContext ---
 
        SW.StartEntity("GLOBAL_UNIT_ASSIGNED_CONTEXT");
        // --- field : units ---
index 67f688085a72d289cc3f163e84a70f233d7c398e..f81e9854d061f03ec6c10dcf053ff2f5104f55a3 100644 (file)
@@ -32,7 +32,7 @@ void RWStepGeom_RWGeometricRepresentationContextAndParametricRepresentationConte
        Standard_Integer num = num0;
 
 
-       // --- Instance of plex componant GeometricRepresentationContext ---
+       // --- Instance of plex component GeometricRepresentationContext ---
 
        if (!data->CheckNbParams(num,1,ach,"geometric_representation_context")) return;
 
@@ -44,7 +44,7 @@ void RWStepGeom_RWGeometricRepresentationContextAndParametricRepresentationConte
 
        num = data->NextForComplex(num);
 
-       // --- Instance of plex componant ParametricRepresentationContext ---
+       // --- Instance of plex component ParametricRepresentationContext ---
 
        if (!data->CheckNbParams(num,0,ach,"parametric_representation_context")) return;
 
@@ -78,14 +78,14 @@ void RWStepGeom_RWGeometricRepresentationContextAndParametricRepresentationConte
         const Handle(StepGeom_GeometricRepresentationContextAndParametricRepresentationContext)& ent) const
 {
 
-       // --- Instance of plex componant GeometricRepresentationContext ---
+       // --- Instance of plex component GeometricRepresentationContext ---
 
        SW.StartEntity("GEOMETRIC_REPRESENTATION_CONTEXT");
        // --- field : coordinateSpaceDimension ---
 
        SW.Send(ent->CoordinateSpaceDimension());
 
-       // --- Instance of plex componant ParametricRepresentationContext ---
+       // --- Instance of plex component ParametricRepresentationContext ---
 
        SW.StartEntity("PARAMETRIC_REPRESENTATION_CONTEXT");
 
index 4e859322d1f8d7717c099b1912278e8d3bb79d2e..a26853ca74bc3a07f892e6e6db69d97f7015a133 100644 (file)
@@ -46,7 +46,7 @@ void RWStepGeom_RWQuasiUniformCurveAndRationalBSplineCurve::ReadStep
        Standard_Integer num = num0;
 
 
-       // --- Instance of plex componant BoundedCurve ---
+       // --- Instance of plex component BoundedCurve ---
 
        if (!data->CheckNbParams(num,0,ach,"bounded_curve")) return;
 
@@ -108,25 +108,25 @@ void RWStepGeom_RWQuasiUniformCurveAndRationalBSplineCurve::ReadStep
 
        num = data->NextForComplex(num);
 
-       // --- Instance of plex componant Curve ---
+       // --- Instance of plex component Curve ---
 
        if (!data->CheckNbParams(num,0,ach,"curve")) return;
 
        num = data->NextForComplex(num);
 
-       // --- Instance of plex componant GeometricRepresentationItem ---
+       // --- Instance of plex component GeometricRepresentationItem ---
 
        if (!data->CheckNbParams(num,0,ach,"geometric_representation_item")) return;
 
        num = data->NextForComplex(num);
 
-       // --- Instance of plex componant QuasiUniformCurve ---
+       // --- Instance of plex component QuasiUniformCurve ---
 
        if (!data->CheckNbParams(num,0,ach,"quasi_uniform_curve")) return;
 
        num = data->NextForComplex(num);
 
-       // --- Instance of plex componant RationalBSplineCurve ---
+       // --- Instance of plex component RationalBSplineCurve ---
 
        if (!data->CheckNbParams(num,1,ach,"rational_b_spline_curve")) return;
 
@@ -147,7 +147,7 @@ void RWStepGeom_RWQuasiUniformCurveAndRationalBSplineCurve::ReadStep
 
        num = data->NextForComplex(num);
 
-       // --- Instance of plex componant RepresentationItem ---
+       // --- Instance of plex component RepresentationItem ---
 
        if (!data->CheckNbParams(num,1,ach,"representation_item")) return;
 
@@ -168,7 +168,7 @@ void RWStepGeom_RWQuasiUniformCurveAndRationalBSplineCurve::WriteStep
         const Handle(StepGeom_QuasiUniformCurveAndRationalBSplineCurve)& ent) const
 {
 
-       // --- Instance of plex componant BoundedCurve ---
+       // --- Instance of plex component BoundedCurve ---
 
        SW.StartEntity("BOUNDED_CURVE");
 
@@ -202,19 +202,19 @@ void RWStepGeom_RWQuasiUniformCurveAndRationalBSplineCurve::WriteStep
 
        SW.SendLogical(ent->SelfIntersect());
 
-       // --- Instance of plex componant Curve ---
+       // --- Instance of plex component Curve ---
 
        SW.StartEntity("CURVE");
 
-       // --- Instance of plex componant GeometricRepresentationItem ---
+       // --- Instance of plex component GeometricRepresentationItem ---
 
        SW.StartEntity("GEOMETRIC_REPRESENTATION_ITEM");
 
-       // --- Instance of plex componant QuasiUniformCurve ---
+       // --- Instance of plex component QuasiUniformCurve ---
 
        SW.StartEntity("QUASI_UNIFORM_CURVE");
 
-       // --- Instance of plex componant RationalBSplineCurve ---
+       // --- Instance of plex component RationalBSplineCurve ---
 
        SW.StartEntity("RATIONAL_B_SPLINE_CURVE");
        // --- field : weightsData ---
@@ -225,7 +225,7 @@ void RWStepGeom_RWQuasiUniformCurveAndRationalBSplineCurve::WriteStep
        }
        SW.CloseSub();
 
-       // --- Instance of plex componant RepresentationItem ---
+       // --- Instance of plex component RepresentationItem ---
 
        SW.StartEntity("REPRESENTATION_ITEM");
        // --- field : name ---
index 22bab7b22e5a4fde7aef74f3b920ddd0d3e35f3f..bdb5d5e6540cd23ef708c922dd5fecc825078b66 100644 (file)
@@ -51,7 +51,7 @@ void RWStepGeom_RWQuasiUniformSurfaceAndRationalBSplineSurface::ReadStep
        Standard_Integer num = num0;
 
 
-       // --- Instance of plex componant BoundedSurface ---
+       // --- Instance of plex component BoundedSurface ---
 
        if (!data->CheckNbParams(num,0,ach,"bounded_surface")) return;
 
@@ -136,19 +136,19 @@ void RWStepGeom_RWQuasiUniformSurfaceAndRationalBSplineSurface::ReadStep
 
        num = data->NextForComplex(num);
 
-       // --- Instance of plex componant GeometricRepresentationItem ---
+       // --- Instance of plex component GeometricRepresentationItem ---
 
        if (!data->CheckNbParams(num,0,ach,"geometric_representation_item")) return;
 
        num = data->NextForComplex(num);
 
-       // --- Instance of plex componant QuasiUniformSurface ---
+       // --- Instance of plex component QuasiUniformSurface ---
 
        if (!data->CheckNbParams(num,0,ach,"quasi_uniform_surface")) return;
 
        num = data->NextForComplex(num);
 
-       // --- Instance of plex componant RationalBSplineSurface ---
+       // --- Instance of plex component RationalBSplineSurface ---
 
        if (!data->CheckNbParams(num,1,ach,"rational_b_spline_surface")) return;
 
@@ -175,7 +175,7 @@ void RWStepGeom_RWQuasiUniformSurfaceAndRationalBSplineSurface::ReadStep
 
        num = data->NextForComplex(num);
 
-       // --- Instance of plex componant RepresentationItem ---
+       // --- Instance of plex component RepresentationItem ---
 
        if (!data->CheckNbParams(num,1,ach,"representation_item")) return;
 
@@ -187,7 +187,7 @@ void RWStepGeom_RWQuasiUniformSurfaceAndRationalBSplineSurface::ReadStep
 
        num = data->NextForComplex(num);
 
-       // --- Instance of plex componant Surface ---
+       // --- Instance of plex component Surface ---
 
        if (!data->CheckNbParams(num,0,ach,"surface")) return;
 
@@ -202,7 +202,7 @@ void RWStepGeom_RWQuasiUniformSurfaceAndRationalBSplineSurface::WriteStep
         const Handle(StepGeom_QuasiUniformSurfaceAndRationalBSplineSurface)& ent) const
 {
 
-       // --- Instance of plex componant BoundedSurface ---
+       // --- Instance of plex component BoundedSurface ---
 
        SW.StartEntity("BOUNDED_SURFACE");
 
@@ -253,15 +253,15 @@ void RWStepGeom_RWQuasiUniformSurfaceAndRationalBSplineSurface::WriteStep
 
        SW.SendLogical(ent->SelfIntersect());
 
-       // --- Instance of plex componant GeometricRepresentationItem ---
+       // --- Instance of plex component GeometricRepresentationItem ---
 
        SW.StartEntity("GEOMETRIC_REPRESENTATION_ITEM");
 
-       // --- Instance of plex componant QuasiUniformSurface ---
+       // --- Instance of plex component QuasiUniformSurface ---
 
        SW.StartEntity("QUASI_UNIFORM_SURFACE");
 
-       // --- Instance of plex componant RationalBSplineSurface ---
+       // --- Instance of plex component RationalBSplineSurface ---
 
        SW.StartEntity("RATIONAL_B_SPLINE_SURFACE");
        // --- field : weightsData ---
@@ -278,14 +278,14 @@ void RWStepGeom_RWQuasiUniformSurfaceAndRationalBSplineSurface::WriteStep
        }
        SW.CloseSub();
 
-       // --- Instance of plex componant RepresentationItem ---
+       // --- Instance of plex component RepresentationItem ---
 
        SW.StartEntity("REPRESENTATION_ITEM");
        // --- field : name ---
 
        SW.Send(ent->Name());
 
-       // --- Instance of plex componant Surface ---
+       // --- Instance of plex component Surface ---
 
        SW.StartEntity("SURFACE");
 }
index a182fb6ef5a4790481e0acd2a96d036a158373ed..9c4e73e43cd9f4985b33a91bc7c3a88802776ad3 100644 (file)
@@ -116,7 +116,7 @@ void RWStepGeom_RWSurfaceCurveAndBoundedCurve::WriteStep
   SW.StartEntity("REPRESENTATION_ITEM");
   SW.Send(ent->Name());
 
-  // --- Instance of plex componant BoundedCurve ---
+  // --- Instance of plex component BoundedCurve ---
   SW.StartEntity("SURFACE_CURVE");
   
   // --- own field : curve3d ---
index 3e2bca483cc3a5bf10884f5bc05e4fa178f53210..3b287f3b46eeb5d446d0b645a20ec4b4b3fff565 100644 (file)
@@ -46,7 +46,7 @@ void RWStepGeom_RWUniformCurveAndRationalBSplineCurve::ReadStep
        Standard_Integer num = num0;
 
 
-       // --- Instance of plex componant BoundedCurve ---
+       // --- Instance of plex component BoundedCurve ---
 
        if (!data->CheckNbParams(num,0,ach,"bounded_curve")) return;
 
@@ -108,19 +108,19 @@ void RWStepGeom_RWUniformCurveAndRationalBSplineCurve::ReadStep
 
        num = data->NextForComplex(num);
 
-       // --- Instance of plex componant Curve ---
+       // --- Instance of plex component Curve ---
 
        if (!data->CheckNbParams(num,0,ach,"curve")) return;
 
        num = data->NextForComplex(num);
 
-       // --- Instance of plex componant GeometricRepresentationItem ---
+       // --- Instance of plex component GeometricRepresentationItem ---
 
        if (!data->CheckNbParams(num,0,ach,"geometric_representation_item")) return;
 
        num = data->NextForComplex(num);
 
-       // --- Instance of plex componant RationalBSplineCurve ---
+       // --- Instance of plex component RationalBSplineCurve ---
 
        if (!data->CheckNbParams(num,1,ach,"rational_b_spline_curve")) return;
 
@@ -141,7 +141,7 @@ void RWStepGeom_RWUniformCurveAndRationalBSplineCurve::ReadStep
 
        num = data->NextForComplex(num);
 
-       // --- Instance of plex componant RepresentationItem ---
+       // --- Instance of plex component RepresentationItem ---
 
        if (!data->CheckNbParams(num,1,ach,"representation_item")) return;
 
@@ -153,7 +153,7 @@ void RWStepGeom_RWUniformCurveAndRationalBSplineCurve::ReadStep
 
        num = data->NextForComplex(num);
 
-       // --- Instance of plex componant UniformCurve ---
+       // --- Instance of plex component UniformCurve ---
 
        if (!data->CheckNbParams(num,0,ach,"uniform_curve")) return;
 
@@ -168,7 +168,7 @@ void RWStepGeom_RWUniformCurveAndRationalBSplineCurve::WriteStep
         const Handle(StepGeom_UniformCurveAndRationalBSplineCurve)& ent) const
 {
 
-       // --- Instance of plex componant BoundedCurve ---
+       // --- Instance of plex component BoundedCurve ---
 
        SW.StartEntity("BOUNDED_CURVE");
 
@@ -202,15 +202,15 @@ void RWStepGeom_RWUniformCurveAndRationalBSplineCurve::WriteStep
 
        SW.SendLogical(ent->SelfIntersect());
 
-       // --- Instance of plex componant Curve ---
+       // --- Instance of plex component Curve ---
 
        SW.StartEntity("CURVE");
 
-       // --- Instance of plex componant GeometricRepresentationItem ---
+       // --- Instance of plex component GeometricRepresentationItem ---
 
        SW.StartEntity("GEOMETRIC_REPRESENTATION_ITEM");
 
-       // --- Instance of plex componant RationalBSplineCurve ---
+       // --- Instance of plex component RationalBSplineCurve ---
 
        SW.StartEntity("RATIONAL_B_SPLINE_CURVE");
        // --- field : weightsData ---
@@ -221,14 +221,14 @@ void RWStepGeom_RWUniformCurveAndRationalBSplineCurve::WriteStep
        }
        SW.CloseSub();
 
-       // --- Instance of plex componant RepresentationItem ---
+       // --- Instance of plex component RepresentationItem ---
 
        SW.StartEntity("REPRESENTATION_ITEM");
        // --- field : name ---
 
        SW.Send(ent->Name());
 
-       // --- Instance of plex componant UniformCurve ---
+       // --- Instance of plex component UniformCurve ---
 
        SW.StartEntity("UNIFORM_CURVE");
 }
index c1373cdbb0d7a1dca2fe249f6938878e99033ea9..66cb836c093238315bec85e98c3258700d85d5eb 100644 (file)
@@ -51,7 +51,7 @@ void RWStepGeom_RWUniformSurfaceAndRationalBSplineSurface::ReadStep
        Standard_Integer num = num0;
 
 
-       // --- Instance of plex componant BoundedSurface ---
+       // --- Instance of plex component BoundedSurface ---
 
        if (!data->CheckNbParams(num,0,ach,"bounded_surface")) return;
 
@@ -136,13 +136,13 @@ void RWStepGeom_RWUniformSurfaceAndRationalBSplineSurface::ReadStep
 
        num = data->NextForComplex(num);
 
-       // --- Instance of plex componant GeometricRepresentationItem ---
+       // --- Instance of plex component GeometricRepresentationItem ---
 
        if (!data->CheckNbParams(num,0,ach,"geometric_representation_item")) return;
 
        num = data->NextForComplex(num);
 
-       // --- Instance of plex componant RationalBSplineSurface ---
+       // --- Instance of plex component RationalBSplineSurface ---
 
        if (!data->CheckNbParams(num,1,ach,"rational_b_spline_surface")) return;
 
@@ -169,7 +169,7 @@ void RWStepGeom_RWUniformSurfaceAndRationalBSplineSurface::ReadStep
 
        num = data->NextForComplex(num);
 
-       // --- Instance of plex componant RepresentationItem ---
+       // --- Instance of plex component RepresentationItem ---
 
        if (!data->CheckNbParams(num,1,ach,"representation_item")) return;
 
@@ -181,13 +181,13 @@ void RWStepGeom_RWUniformSurfaceAndRationalBSplineSurface::ReadStep
 
        num = data->NextForComplex(num);
 
-       // --- Instance of plex componant Surface ---
+       // --- Instance of plex component Surface ---
 
        if (!data->CheckNbParams(num,0,ach,"surface")) return;
 
        num = data->NextForComplex(num);
 
-       // --- Instance of plex componant UniformSurface ---
+       // --- Instance of plex component UniformSurface ---
 
        if (!data->CheckNbParams(num,0,ach,"uniform_surface")) return;
 
@@ -202,7 +202,7 @@ void RWStepGeom_RWUniformSurfaceAndRationalBSplineSurface::WriteStep
         const Handle(StepGeom_UniformSurfaceAndRationalBSplineSurface)& ent) const
 {
 
-       // --- Instance of plex componant BoundedSurface ---
+       // --- Instance of plex component BoundedSurface ---
 
        SW.StartEntity("BOUNDED_SURFACE");
 
@@ -253,11 +253,11 @@ void RWStepGeom_RWUniformSurfaceAndRationalBSplineSurface::WriteStep
 
        SW.SendLogical(ent->SelfIntersect());
 
-       // --- Instance of plex componant GeometricRepresentationItem ---
+       // --- Instance of plex component GeometricRepresentationItem ---
 
        SW.StartEntity("GEOMETRIC_REPRESENTATION_ITEM");
 
-       // --- Instance of plex componant RationalBSplineSurface ---
+       // --- Instance of plex component RationalBSplineSurface ---
 
        SW.StartEntity("RATIONAL_B_SPLINE_SURFACE");
        // --- field : weightsData ---
@@ -274,18 +274,18 @@ void RWStepGeom_RWUniformSurfaceAndRationalBSplineSurface::WriteStep
        }
        SW.CloseSub();
 
-       // --- Instance of plex componant RepresentationItem ---
+       // --- Instance of plex component RepresentationItem ---
 
        SW.StartEntity("REPRESENTATION_ITEM");
        // --- field : name ---
 
        SW.Send(ent->Name());
 
-       // --- Instance of plex componant Surface ---
+       // --- Instance of plex component Surface ---
 
        SW.StartEntity("SURFACE");
 
-       // --- Instance of plex componant UniformSurface ---
+       // --- Instance of plex component UniformSurface ---
 
        SW.StartEntity("UNIFORM_SURFACE");
 }
index 26432aefb4a7169b1240a276e8137e1e5169029f..552d719ff0e7113d56d06dc627d6b10af6c54af1 100644 (file)
@@ -34,7 +34,7 @@ void RWStepRepr_RWShapeRepresentationRelationshipWithTransformation::ReadStep
 //  REPR_RLTS,REPR_RLTS_WITH_TR,SHAPE_REPR_RLTS
 //  But same fields as RepresentationRelationshipWithTransformation
 
-        // --- Instance of plex componant RepresentationRelationship ---
+        // --- Instance of plex component RepresentationRelationship ---
 
         Standard_Integer num = 0;  // num0;
         data->NamedForComplex("REPRESENTATION_RELATIONSHIP", "RPRRLT",num0,num,ach);
@@ -68,7 +68,7 @@ void RWStepRepr_RWShapeRepresentationRelationshipWithTransformation::ReadStep
        //szv#4:S4163:12Mar99 `Standard_Boolean stat4 =` not needed
        data->ReadEntity(num, 4,"rep_2", ach, STANDARD_TYPE(StepRepr_Representation), aRep2);
 
-        // --- Instance of plex componant RepresentationRelationshipWithTransformation ---
+        // --- Instance of plex component RepresentationRelationshipWithTransformation ---
 
         data->NamedForComplex("REPRESENTATION_RELATIONSHIP_WITH_TRANSFORMATION", "RRWT",num0,num,ach);
        if (!data->CheckNbParams(num,1,ach,"representation_relationship_with_transformation")) return;
@@ -79,7 +79,7 @@ void RWStepRepr_RWShapeRepresentationRelationshipWithTransformation::ReadStep
        //szv#4:S4163:12Mar99 `Standard_Boolean stat5 =` not needed
        data->ReadEntity(num,1,"transformation_operator",ach,aTrans);
 
-        // --- Instance of plex componant ShapeRepresentationRelationship ---
+        // --- Instance of plex component ShapeRepresentationRelationship ---
 
         data->NamedForComplex("SHAPE_REPRESENTATION_RELATIONSHIP", "SHRPRL",num0,num,ach);
        if (!data->CheckNbParams(num,0,ach,"shape_representation_relationship")) return;
@@ -95,7 +95,7 @@ void RWStepRepr_RWShapeRepresentationRelationshipWithTransformation::WriteStep
        (StepData_StepWriter& SW,
         const Handle(StepRepr_ShapeRepresentationRelationshipWithTransformation)& ent) const
 {
-        // --- Instance of plex componant RepresentationRelationship ---
+        // --- Instance of plex component RepresentationRelationship ---
 
   SW.StartEntity ("REPRESENTATION_RELATIONSHIP");
 
@@ -116,12 +116,12 @@ void RWStepRepr_RWShapeRepresentationRelationshipWithTransformation::WriteStep
        SW.Send(ent->Rep2());
 
 
-        // --- Instance of plex componant RepresentationRelationshipWithTransformation ---
+        // --- Instance of plex component RepresentationRelationshipWithTransformation ---
   SW.StartEntity ("REPRESENTATION_RELATIONSHIP_WITH_TRANSFORMATION");
 
        SW.Send(ent->TransformationOperator().Value());
 
-        // --- Instance of plex componant ShapeRepresentationRelationship ---
+        // --- Instance of plex component ShapeRepresentationRelationship ---
 
   SW.StartEntity ("SHAPE_REPRESENTATION_RELATIONSHIP");
 }
index 46b0133b320d7ca70fa228137152578363b67d09..34d9099c9b9c83109186ffd8819f20b714224283 100644 (file)
@@ -67,8 +67,8 @@ void RWStepShape_RWAngularLocation::ReadStep (const Handle(StepData_StepReaderDa
   // Own fields of AngularLocation
 
 // PTV 16.09.2000
-// defaul value set as StepShape_Small, cause there wasn`t default value, but may be situation when
-// value will not be initialized and returnd in ent->Init.
+// default value set as StepShape_Small, cause there wasn`t default value, but may be situation when
+// value will not be initialized and returned in ent->Init.
   StepShape_AngleRelator aAngleSelection = StepShape_Small;
   if (data->ParamType (num, 5) == Interface_ParamEnum) {
     Standard_CString text = data->ParamCValue(num, 5);
index 710583725082375b1eaa04f60c3eb661a8147918..c6b0a4a41a6a7366c3f37df1639f61581640251c 100644 (file)
@@ -55,8 +55,8 @@ void RWStepShape_RWAngularSize::ReadStep (const Handle(StepData_StepReaderData)&
   // Own fields of AngularSize
 
 // PTV 16.09.2000
-// defaul value set as StepShape_Small, cause there wasn`t default value, but may be situation when
-// value will not be initialized and returnd in ent->Init.
+// default value set as StepShape_Small, cause there wasn`t default value, but may be situation when
+// value will not be initialized and returned in ent->Init.
 
   StepShape_AngleRelator aAngleSelection = StepShape_Small;
   if (data->ParamType (num, 3) == Interface_ParamEnum) {
index b835caaadf6db836ea512094c5373b7860dac4fc..a48511dbcb278dd5d021f671bc2e58754be001e8 100644 (file)
@@ -38,7 +38,7 @@ void RWStepShape_RWDefinitionalRepresentationAndShapeRepresentation::ReadStep
        num = data->NextForComplex(num);
 
 
-       // --- Instance of plex componant definitional_representation ---
+       // --- Instance of plex component definitional_representation ---
 
        if (!data->CheckNbParams(num,3,ach,"representation")) return;
 
@@ -80,7 +80,7 @@ void RWStepShape_RWDefinitionalRepresentationAndShapeRepresentation::WriteStep
         const Handle(StepShape_DefinitionalRepresentationAndShapeRepresentation)& ent) const
 {
 
-       // --- Instance of plex componant ConversionBasedUnit ---
+       // --- Instance of plex component ConversionBasedUnit ---
 
        SW.StartEntity("DEFINITIONAL_REPRESENTATION");
 
@@ -102,7 +102,7 @@ void RWStepShape_RWDefinitionalRepresentationAndShapeRepresentation::WriteStep
 
        SW.Send(ent->ContextOfItems());
 
-       // --- Instance of plex componant LengthUnit ---
+       // --- Instance of plex component LengthUnit ---
 
        SW.StartEntity("SHAPE_REPRESENTATION");
 
index d0a0535f93097ca4915ca37d90df3837375aa8fb..ffe9bd5746391eb3b0a394eaf98bce0431fc04ed 100644 (file)
@@ -135,7 +135,7 @@ void RWStepShape_RWEdgeCurve::Check
   Standard_Boolean Cumulated1, Cumulated2;
 
   // 1- First Vertex != LastVertex but First VertexPoint == Last VertexPoint
-  // Remark : time comsuming process but useful !
+  // Remark : time consuming process but useful !
   // If this append, we can drop one of the two vertices and replace it 
   // everywhere it is referenced. Side effect : tolerance problem !!!
 
index 7c652a85fb88fa383017c7225f9e10c0228141cc..09ff9b755a0874f5f6c241f2b7dbab27f2856217 100644 (file)
@@ -36,7 +36,7 @@ void RWStepShape_RWFacetedBrepAndBrepWithVoids::ReadStep
        Standard_Integer num = num0;
 
 
-       // --- Instance of plex componant BrepWithVoids ---
+       // --- Instance of plex component BrepWithVoids ---
 
        if (!data->CheckNbParams(num,1,ach,"brep_with_voids")) return;
 
@@ -58,13 +58,13 @@ void RWStepShape_RWFacetedBrepAndBrepWithVoids::ReadStep
 
        num = data->NextForComplex(num);
 
-       // --- Instance of plex componant FacetedBrep ---
+       // --- Instance of plex component FacetedBrep ---
 
        if (!data->CheckNbParams(num,0,ach,"faceted_brep")) return;
 
        num = data->NextForComplex(num);
 
-       // --- Instance of plex componant GeometricRepresentationItem ---
+       // --- Instance of plex component GeometricRepresentationItem ---
 
        if (!data->CheckNbParams(num,0,ach,"geometric_representation_item")) return;
 
@@ -82,7 +82,7 @@ void RWStepShape_RWFacetedBrepAndBrepWithVoids::ReadStep
 
        num = data->NextForComplex(num);
 
-       // --- Instance of plex componant RepresentationItem ---
+       // --- Instance of plex component RepresentationItem ---
 
        if (!data->CheckNbParams(num,1,ach,"representation_item")) return;
 
@@ -95,7 +95,7 @@ void RWStepShape_RWFacetedBrepAndBrepWithVoids::ReadStep
        
        num = data->NextForComplex(num);
 
-       // --- Instance of plex componant SolidModel ---
+       // --- Instance of plex component SolidModel ---
 
        if (!data->CheckNbParams(num,0,ach,"solid_model")) return;
 
@@ -110,7 +110,7 @@ void RWStepShape_RWFacetedBrepAndBrepWithVoids::WriteStep
         const Handle(StepShape_FacetedBrepAndBrepWithVoids)& ent) const
 {
 
-       // --- Instance of plex componant BrepWithVoids ---
+       // --- Instance of plex component BrepWithVoids ---
 
        SW.StartEntity("BREP_WITH_VOIDS");
        // --- field : voids ---
@@ -121,11 +121,11 @@ void RWStepShape_RWFacetedBrepAndBrepWithVoids::WriteStep
        }
        SW.CloseSub();
 
-       // --- Instance of plex componant FacetedBrep ---
+       // --- Instance of plex component FacetedBrep ---
 
        SW.StartEntity("FACETED_BREP");
 
-       // --- Instance of plex componant GeometricRepresentationItem ---
+       // --- Instance of plex component GeometricRepresentationItem ---
 
        SW.StartEntity("GEOMETRIC_REPRESENTATION_ITEM");
 
@@ -136,14 +136,14 @@ void RWStepShape_RWFacetedBrepAndBrepWithVoids::WriteStep
 
        SW.Send(ent->Outer());
 
-       // --- Instance of plex componant RepresentationItem ---
+       // --- Instance of plex component RepresentationItem ---
 
        SW.StartEntity("REPRESENTATION_ITEM");
        // --- field : name ---
 
        SW.Send(ent->Name());
 
-       // --- Instance of plex componant SolidModel ---
+       // --- Instance of plex component SolidModel ---
 
        SW.StartEntity("SOLID_MODEL");
 }
index 8ea93520f88e21a6004ecf4481844e48dc16e4ec..0b4f899995a8179419df95b2572d239ca5ca0354 100644 (file)
@@ -35,13 +35,13 @@ void RWStepShape_RWLoopAndPath::ReadStep
        Standard_Integer num = num0;
 
 
-       // --- Instance of plex componant Loop ---
+       // --- Instance of plex component Loop ---
 
        if (!data->CheckNbParams(num,0,ach,"loop")) return;
 
        num = data->NextForComplex(num);
 
-       // --- Instance of plex componant Path ---
+       // --- Instance of plex component Path ---
 
        if (!data->CheckNbParams(num,1,ach,"path")) return;
 
@@ -62,7 +62,7 @@ void RWStepShape_RWLoopAndPath::ReadStep
 
        num = data->NextForComplex(num);
 
-       // --- Instance of plex componant RepresentationItem ---
+       // --- Instance of plex component RepresentationItem ---
 
        if (!data->CheckNbParams(num,1,ach,"representation_item")) return;
 
@@ -89,11 +89,11 @@ void RWStepShape_RWLoopAndPath::WriteStep
         const Handle(StepShape_LoopAndPath)& ent) const
 {
 
-       // --- Instance of plex componant Loop ---
+       // --- Instance of plex component Loop ---
 
        SW.StartEntity("LOOP");
 
-       // --- Instance of plex componant Path ---
+       // --- Instance of plex component Path ---
 
        SW.StartEntity("PATH");
        // --- field : edgeList ---
@@ -104,7 +104,7 @@ void RWStepShape_RWLoopAndPath::WriteStep
        }
        SW.CloseSub();
 
-       // --- Instance of plex componant RepresentationItem ---
+       // --- Instance of plex component RepresentationItem ---
 
        SW.StartEntity("REPRESENTATION_ITEM");
        // --- field : name ---
index 267ecb068718e5b7f858b6abbe08fe3cf0d9fa78..d6b2028a03e5000028f14e179aaf5b4f46299abc 100644 (file)
@@ -35,7 +35,7 @@ void RWStepShape_RWMeasureRepresentationItemAndQualifiedRepresentationItem::Read
 
 //  Complex Entity : MeasureReprItem + QualifiedreprItem : so, add ReprItem
 
-  //  --- Instance of plex componant : MeasureReprItem
+  //  --- Instance of plex component : MeasureReprItem
 
   Standard_Integer num = 0;
   data->NamedForComplex("MEASURE_REPRESENTATION_ITEM","MSRPIT",num0,num,ach);
@@ -53,7 +53,7 @@ void RWStepShape_RWMeasureRepresentationItemAndQualifiedRepresentationItem::Read
   data->ReadEntity (num, 2, "unit_component", ach, aUnitComponent);
 
 
-  //  --- Instance of plex componant : QualifiedReprItem
+  //  --- Instance of plex component : QualifiedReprItem
 
   data->NamedForComplex("QUALIFIED_REPRESENTATION_ITEM","QLRPIT",num0,num,ach);
 
@@ -76,7 +76,7 @@ void RWStepShape_RWMeasureRepresentationItemAndQualifiedRepresentationItem::Read
   }
 
 
-  //  --- Instance of plex componant : RepresentationItem
+  //  --- Instance of plex component : RepresentationItem
 
   data->NamedForComplex("REPRESENTATION_ITEM","RPRITM",num0,num,ach);
 
@@ -99,7 +99,7 @@ void RWStepShape_RWMeasureRepresentationItemAndQualifiedRepresentationItem::Writ
 {
 //  Complex Entity : MeasureReprItem + QualifiedreprItem : so, add ReprItem
 
-  //  --- Instance of plex componant : MeasureReprItem
+  //  --- Instance of plex component : MeasureReprItem
 
   SW.StartEntity ("MEASURE_REPRESENTATION_ITEM");
 
@@ -109,7 +109,7 @@ void RWStepShape_RWMeasureRepresentationItemAndQualifiedRepresentationItem::Writ
   // --- inherited from measure_with_unit : unit_component ---
   SW.Send(ent->Measure()->UnitComponent().Value());
 
-  //  --- Instance of plex componant : QualifiedReprItem
+  //  --- Instance of plex component : QualifiedReprItem
 
   SW.StartEntity ("QUALIFIED_REPRESENTATION_ITEM");
 
@@ -119,7 +119,7 @@ void RWStepShape_RWMeasureRepresentationItemAndQualifiedRepresentationItem::Writ
   for (i = 1; i <= nbq; i ++) SW.Send (ent->QualifiersValue(i).Value());
   SW.CloseSub();
 
-  //  --- Instance of plex componant : ReprsentationItem
+  //  --- Instance of plex component : RepresentationItem
 
   SW.StartEntity ("REPRESENTATION_ITEM");
 
index b7f939ef7cc87dd2e0dd60426b34ffa2e8f740c4..e67bc8ee4d634cd78ed610edcf72a0b5770cd0f6 100644 (file)
@@ -231,7 +231,7 @@ Standard_Boolean RWStl_Reader::IsAscii (Standard_IStream& theStream,
 
 // adapted from Standard_CString.cxx
 #ifdef __APPLE__
-  // There are a lot of *_l functions availalbe on Mac OS X - we use them
+  // There are a lot of *_l functions available on Mac OS X - we use them
   #define SAVE_TL()
 #elif defined(_MSC_VER)
   // MSVCRT has equivalents with slightly different syntax
@@ -359,7 +359,7 @@ Standard_Boolean RWStl_Reader::ReadAscii (Standard_IStream& theStream,
       gp_XYZ aReadVertex;
       if (!ReadVertex (aLine, aReadVertex.ChangeCoord (1), aReadVertex.ChangeCoord (2), aReadVertex.ChangeCoord (3)))
       {
-        Message::SendFail (TCollection_AsciiString ("Error: cannot read vertex co-ordinates at line ") + aNbLine);
+        Message::SendFail (TCollection_AsciiString ("Error: cannot read vertex coordinates at line ") + aNbLine);
         return false;
       }
       aVertex[i] = aReadVertex;
index ca3570a4d67cd196a65fa103ffc0e19915b165c7..827a32e9ac9694dd9377c2a1e09032fc0c6ac50a 100644 (file)
@@ -48,7 +48,7 @@ void Resource_Unicode::ConvertSJISToUnicode(const Standard_CString fromstr,TColl
     if (issjis1(*currentstr)) {
       
       ph = ((unsigned int) *currentstr);
-      // Be Carefull with first and second !!
+      // Be Careful with first and second !!
 
       currentstr++;
 
@@ -80,7 +80,7 @@ void Resource_Unicode::ConvertEUCToUnicode(const Standard_CString fromstr,TColle
     if (iseuc(*currentstr)) {
       
       ph = ((unsigned int) *currentstr);
-      // Be Carefull with first and second !!
+      // Be Careful with first and second !!
 
       currentstr++;
 
@@ -111,7 +111,7 @@ void Resource_Unicode::ConvertGBToUnicode(const Standard_CString fromstr,TCollec
     if (isshift(*currentstr)) {
       
       ph = ((unsigned int) *currentstr);
-      // Be Carefull with first and second !!
+      // Be Careful with first and second !!
 
       currentstr++;
 
index 1913c580858e4e701af8dcaa7ed9fa148f80e084..a4fe385e81eba5dea28297c913d10e911a7d18c2 100755 (executable)
@@ -167,7 +167,7 @@ L'Orientation du/des shell(s) dans le solida ete corrigee
 Solide avec connexions incorrectes, divise en plusieurs parties
 !
 .FixAdvFace.FixLoopWire.MSG0
-Wire was splitted on several wires
+Wire was split on several wires
 !
 .FixAdvFace..MSG5
 !
index 2eaf53ba6b7c202cccf3a9345a6e93797a5c9504..9a76c4fd41b9cd1a0dcc0fdf96694d494b9fb01d 100755 (executable)
@@ -167,7 +167,7 @@ Orientation of shell(s) in solid was corrected
 Improperly connected solid split into several parts
 !
 .FixAdvFace.FixLoopWire.MSG0
-Wire was splitted on several wires
+Wire was split on several wires
 !
 .FixAdvFace..MSG5
 !
index d688889886ca007c8ca6745383d3692ae2c34449..d3deb0348a7edcaae976fde94b4a0570df8b64b5 100644 (file)
@@ -170,7 +170,7 @@ static const char SHMessage_SHAPE_us[] =
   "Improperly connected solid split into several parts\n"
   "!\n"
   ".FixAdvFace.FixLoopWire.MSG0\n"
-  "Wire was splitted on several wires\n"
+  "Wire was split on several wires\n"
   "!\n"
   ".FixAdvFace..MSG5\n"
   "!\n"
index ba9dc91bc1750db6d7221c1abbbc15ff6c1b0747..ed31a819e4673687c3560e1c8269c0bf312ef8a8 100644 (file)
@@ -906,12 +906,12 @@ Handle(STEPCAFControl_ExternFile) STEPCAFControl_Reader::ReadExternFile (const S
 
 //=======================================================================
 //function : findStyledSR
-//purpose  : auxilary
+//purpose  : auxiliary
 //=======================================================================
 static void findStyledSR(const Handle(StepVisual_StyledItem) &style,
   Handle(StepShape_ShapeRepresentation)& aSR)
 {
-  // search Shape Represenatation for component styled item
+  // search Shape Representation for component styled item
   for (Standard_Integer j = 1; j <= style->NbStyles(); j++) {
     Handle(StepVisual_PresentationStyleByContext) PSA =
       Handle(StepVisual_PresentationStyleByContext)::DownCast(style->StylesValue(j));
@@ -930,7 +930,7 @@ static void findStyledSR(const Handle(StepVisual_StyledItem) &style,
 
 //=======================================================================
 //function : propagateColorToParts
-//purpose  : auxilary, propagate color styles from assemblies to parts
+//purpose  : auxiliary, propagate color styles from assemblies to parts
 //=======================================================================
 
 static void propagateColorToParts(const Handle(XCAFDoc_ShapeTool)& theSTool,
@@ -1575,7 +1575,7 @@ static Standard_Boolean findNextSHUOlevel(const Handle(XSControl_WorkSession) &W
 
 //=======================================================================
 //function : setSHUOintoDoc
-//purpose  : auxilary
+//purpose  : auxiliary
 //=======================================================================
 static TDF_Label setSHUOintoDoc(const Handle(XSControl_WorkSession) &WS,
   const Handle(StepRepr_SpecifiedHigherUsageOccurrence)& SHUO,
@@ -2175,7 +2175,7 @@ void readConnectionPoints(const Handle(XSControl_TransferReader)& theTR,
 
 //=======================================================================
 //function : ReadDatums
-//purpose  : auxilary
+//purpose  : auxiliary
 //=======================================================================
 static Standard_Boolean ReadDatums(const Handle(XCAFDoc_ShapeTool) &STool,
   const Handle(XCAFDoc_DimTolTool) &DGTTool,
@@ -2586,7 +2586,7 @@ Standard_Boolean STEPCAFControl_Reader::setDatumToXCAF(const Handle(StepDimTol_D
 
 //=======================================================================
 //function : ReadDatums
-//purpose  : auxilary
+//purpose  : auxiliary
 //=======================================================================
 Standard_Boolean STEPCAFControl_Reader::readDatumsAP242(const Handle(Standard_Transient)& theEnt,
   const TDF_Label theGDTL,
@@ -2825,7 +2825,7 @@ TDF_Label STEPCAFControl_Reader::createGDTObjectInXCAF(const Handle(Standard_Tra
     {
       if (anAtr->IsKind(STANDARD_TYPE(StepRepr_AllAroundShapeAspect)))
       {
-        // if applyed AllAround Modifier
+        // if applied AllAround Modifier
         isAllAround = Standard_True;
       }
       // dimensions and default tolerances
@@ -3193,7 +3193,7 @@ TDF_Label STEPCAFControl_Reader::createGDTObjectInXCAF(const Handle(Standard_Tra
 
 //=======================================================================
 //function : convertAngleValue
-//purpose  : auxilary
+//purpose  : auxiliary
 //=======================================================================
 void convertAngleValue(
   const STEPConstruct_UnitContext& anUnitCtx,
@@ -3202,7 +3202,7 @@ void convertAngleValue(
   // convert radian to deg
   Standard_Real aFact = anUnitCtx.PlaneAngleFactor() * 180 / M_PI;
   // in order to avoid inaccuracy of calculation perform conversion
-  // only if aFact not eqaul 1 with some precision
+  // only if aFact not equal 1 with some precision
   if (fabs(1. - aFact) > Precision::Confusion())
   {
     aVal = aVal * aFact;
@@ -4079,7 +4079,7 @@ Standard_Boolean STEPCAFControl_Reader::ReadGDTs(const Handle(XSControl_WorkSess
 
 //=======================================================================
 //function : FindSolidForPDS
-//purpose  : auxilary
+//purpose  : auxiliary
 //=======================================================================
 
 static Handle(StepShape_SolidModel) FindSolidForPDS(const Handle(StepRepr_ProductDefinitionShape) &PDS,
index 30646bc99b8699733efd7b318b1b0709bb96ebad..b9ca23fb606741c386b2e60beb426c7f3365e2cd 100644 (file)
 // added by skl 12.02.2004 for writing materials
 //=======================================================================
 //function : GetLabelName
-//purpose  : auxilary function: take name of label and append it to str
+//purpose  : auxiliary function: take name of label and append it to str
 //=======================================================================
 static Standard_Boolean GetLabelName (const TDF_Label &L, Handle(TCollection_HAsciiString) &str)
 {
@@ -535,13 +535,13 @@ Standard_Boolean STEPCAFControl_Writer::Transfer (STEPControl_Writer &writer,
 
       TDF_LabelSequence comp;
 
-      //For case when only part of assemby structure should be written in the document
+      //For case when only part of assembly structure should be written in the document
       //if specified label is component of the assembly then
       //in order to save location of this component in the high-level assembly
-      //and save name of high-level assembly it is necessary to represent structure of high-level assembly 
-      //as assembly with one component specified by current label. 
+      //and save name of high-level assembly it is necessary to represent structure of high-level assembly
+      //as assembly with one component specified by current label.
       //For that compound containing only specified component is binded to the label of the high-level assembly.
-      //The such way full structure of high-level assembly was replaced on the assembly contaning one component.
+      //The such way full structure of high-level assembly was replaced on the assembly containing one component.
       //For case when free shape reference is (located root) also create an auxiliary assembly.
       if ( XCAFDoc_ShapeTool::IsReference ( L ) )
       {
@@ -624,7 +624,7 @@ Standard_Boolean STEPCAFControl_Writer::Transfer (STEPControl_Writer &writer,
     return Standard_False;
 
   writer.WS()->ComputeGraph(Standard_True );// added by skl 03.11.2003 since we use
-                                            // writer.Transfer() wihtout compute graph
+                                            // writer.Transfer() without compute graph
 
   // write names
   if ( GetNameMode() )
@@ -879,7 +879,7 @@ Standard_Boolean STEPCAFControl_Writer::WriteExternRefs (const Handle(XSControl_
 
 //=======================================================================
 //function : FindEntities
-//purpose  : auxilary
+//purpose  : auxiliary
 //=======================================================================
 static Standard_Integer FindEntities (const Handle(Transfer_FinderProcess) &FP,
                                      const TopoDS_Shape &S,
@@ -940,7 +940,7 @@ static Standard_Integer FindEntities (const Handle(Transfer_FinderProcess) &FP,
 
 //=======================================================================
 //function : getStyledItem
-//purpose  : auxilary
+//purpose  : auxiliary
 //=======================================================================
 static Standard_Boolean getStyledItem(const TopoDS_Shape& S,
                                       const Handle(XCAFDoc_ShapeTool)& STool,
@@ -992,7 +992,7 @@ static Standard_Boolean getStyledItem(const TopoDS_Shape& S,
         
         for (Standard_Integer jsi = 1; jsi <= aSelItm->NbStyles() && !found; jsi++) {
           const Handle(StepVisual_PresentationStyleAssignment)& aFatherPSA = aSelItm->StylesValue(jsi);
-          // check for PSA for top-level (not Presentation style by contex for NAUO)
+          // check for PSA for top-level (not Presentation style by context for NAUO)
           if (aFatherPSA.IsNull() || aFatherPSA->IsKind(STANDARD_TYPE(StepVisual_PresentationStyleByContext)))
             continue;
           resSelItem = aSelItm;
@@ -1007,7 +1007,7 @@ static Standard_Boolean getStyledItem(const TopoDS_Shape& S,
 
 //=======================================================================
 //function : setDefaultInstanceColor
-//purpose  : auxilary
+//purpose  : auxiliary
 //=======================================================================
 static Standard_Boolean setDefaultInstanceColor (const Handle(StepVisual_StyledItem) &aSelItm,
                                                  Handle(StepVisual_PresentationStyleAssignment)& PSA)
@@ -1015,7 +1015,7 @@ static Standard_Boolean setDefaultInstanceColor (const Handle(StepVisual_StyledI
    Standard_Boolean found = Standard_False;
   for (Standard_Integer jsi = 1; jsi <= aSelItm->NbStyles() && !found; jsi++) {
     Handle(StepVisual_PresentationStyleAssignment) aFatherPSA = aSelItm->StylesValue(jsi);
-  // check for PSA for top-level (not Presentation style by contex for NAUO)
+  // check for PSA for top-level (not Presentation style by context for NAUO)
   if (aFatherPSA.IsNull() || aFatherPSA->IsKind(STANDARD_TYPE(StepVisual_PresentationStyleByContext))) 
     return Standard_False;
           
@@ -1053,7 +1053,7 @@ static Standard_Boolean setDefaultInstanceColor (const Handle(StepVisual_StyledI
 
 //=======================================================================
 //function : MakeSTEPStyles
-//purpose  : auxilary
+//purpose  : auxiliary
 //=======================================================================
 static void MakeSTEPStyles (STEPConstruct_Styles &Styles,
                            const TopoDS_Shape &S,
@@ -1346,7 +1346,7 @@ Standard_Boolean STEPCAFControl_Writer::WriteColors (const Handle(XSControl_Work
       } //end of work with CDSR
     }
     if ( !isVisible ) {
-    // create invisibility item and refer for stiledItem
+    // create invisibility item and refer for styledItem
       Handle(StepVisual_Invisibility) Invsblt = new StepVisual_Invisibility();
       Handle(StepVisual_HArray1OfInvisibleItem) HInvsblItm = 
         new StepVisual_HArray1OfInvisibleItem (1,Styles.NbStyles());
@@ -1670,7 +1670,7 @@ Standard_Boolean STEPCAFControl_Writer::WriteLayers (const Handle(XSControl_Work
     // PTV 23.01.2003 add the invisibility AFTER adding layer into the model.
     // add the invisibility for the layer
     if (isLinv) {
-      // Invisibility Item for containig invisible layers.
+      // Invisibility Item for containing invisible layers.
       Handle(StepVisual_HArray1OfInvisibleItem) HInvsblItm = new StepVisual_HArray1OfInvisibleItem (1,1);
       StepVisual_InvisibleItem InvIt;
       InvIt.SetValue( StepLayerAs );
@@ -1687,7 +1687,7 @@ Standard_Boolean STEPCAFControl_Writer::WriteLayers (const Handle(XSControl_Work
 
 //=======================================================================
 //function : getSHUOstyle
-//purpose  : auxilary
+//purpose  : auxiliary
 //=======================================================================
 static Standard_Boolean getSHUOstyle(const TDF_Label& aSHUOlab,
                                      const Handle(XCAFDoc_ColorTool)& CTool,
@@ -1727,7 +1727,7 @@ static Standard_Boolean getSHUOstyle(const TDF_Label& aSHUOlab,
 
 //=======================================================================
 //function : getProDefinitionOfNAUO
-//purpose  : auxilary
+//purpose  : auxiliary
 //=======================================================================
 static Standard_Boolean getProDefinitionOfNAUO(const Handle(XSControl_WorkSession)& WS,
                                                const TopoDS_Shape& theShape,
@@ -1774,7 +1774,7 @@ static Standard_Boolean getProDefinitionOfNAUO(const Handle(XSControl_WorkSessio
 
 //=======================================================================
 //function : writeSHUO
-//purpose  : auxilary
+//purpose  : auxiliary
 //=======================================================================
 static Standard_Boolean writeSHUO (const Handle(XCAFDoc_GraphNode)& theSHUO,
                                    const Handle(XCAFDoc_ShapeTool)& theSTool,
@@ -1878,7 +1878,7 @@ static Standard_Boolean writeSHUO (const Handle(XCAFDoc_GraphNode)& theSHUO,
 
 //=======================================================================
 //function : createSHUOStyledItem
-//purpose  : auxilary
+//purpose  : auxiliary
 //=======================================================================
 static Standard_Boolean createSHUOStyledItem (const XCAFPrs_Style& style,
                                               const Handle(StepRepr_ProductDefinitionShape)& PDS,
@@ -1986,7 +1986,7 @@ static Standard_Boolean createSHUOStyledItem (const XCAFPrs_Style& style,
   else {
     WS->Model()->AddWithRefs ( STEPstyle ); // add as root to the model, but it is not good
 #ifdef OCCT_DEBUG
-    std::cout << "Warning: " << __FILE__ << ": adds styled item of SHUO as root, casue cannot find MDGPR" << std::endl;
+    std::cout << "Warning: " << __FILE__ << ": adds styled item of SHUO as root, cause cannot find MDGPR" << std::endl;
 #endif
   }
   // create invisibility item for the styled item
@@ -1996,7 +1996,7 @@ static Standard_Boolean createSHUOStyledItem (const XCAFPrs_Style& style,
       
       setDefaultInstanceColor(override, PSA);
     }
-    // create invisibility item and refer for stiledItem
+    // create invisibility item and refer for styledItem
     Handle(StepVisual_Invisibility) Invsblt = new StepVisual_Invisibility();
     Handle(StepVisual_HArray1OfInvisibleItem) HInvsblItm = 
       new StepVisual_HArray1OfInvisibleItem (1,1);
@@ -2027,7 +2027,7 @@ Standard_Boolean STEPCAFControl_Writer::WriteSHUOs (const Handle(XSControl_WorkS
   Handle(XCAFDoc_VisMaterialTool) aMatTool = XCAFDoc_DocumentTool::VisMaterialTool( labels(1) );
   if (CTool.IsNull() )
     return Standard_False;
-  // map of transfered SHUO
+  // map of transferred SHUO
   TColStd_MapOfTransient aMapOfMainSHUO;
   // Iterate on requested shapes
   for ( Standard_Integer i=1; i <= labels.Length(); i++ ) {
@@ -2102,7 +2102,7 @@ Standard_Boolean STEPCAFControl_Writer::WriteSHUOs (const Handle(XSControl_WorkS
 
 //=======================================================================
 //function : FindPDSforDGT
-//purpose  : auxilary: find PDS for AdvancedFace or EdgeCurve for creation
+//purpose  : auxiliary: find PDS for AdvancedFace or EdgeCurve for creation
 //                     needed ShapeAspect in D&GT structure
 //=======================================================================
 static Standard_Boolean FindPDSforDGT(const Interface_Graph &aGraph,
@@ -2177,7 +2177,7 @@ static Standard_Boolean FindPDSforDGT(const Interface_Graph &aGraph,
 
 //=======================================================================
 //function : FindPDS
-//purpose  : auxilary: find Product_definition_shape entity for given entity
+//purpose  : auxiliary: find Product_definition_shape entity for given entity
 //=======================================================================
 static Handle(StepRepr_ProductDefinitionShape) FindPDS(const Interface_Graph &theGraph,
                                                        const Handle(Standard_Transient) &theEnt,
@@ -4016,7 +4016,7 @@ Standard_Boolean STEPCAFControl_Writer::WriteDGTsAP242 (const Handle(XSControl_W
 
 //=======================================================================
 //function : FindPDSforRI
-//purpose  : auxilary: 
+//purpose  : auxiliary: 
 //=======================================================================
 static Standard_Boolean FindPDSforRI(const Interface_Graph &aGraph,
                                      const Handle(Standard_Transient) &ent,
index 9f321b14ae69bb2e47a90b01f1c7a5bc1e9fffd1..5bee240a49972e6e2342be6a02e8abbca86e8431 100644 (file)
@@ -36,7 +36,7 @@ class Interface_Graph;
 //! basic data : a ShapeRepresentation, a Location ...
 //!
 //! Three ways of coding such item from a ShapeRepresentation :
-//! - do nothing : i.e. informations for assembly are ignored
+//! - do nothing : i.e. information for assembly are ignored
 //! - create a MappedItem
 //! - create a RepresentationRelationship (WithTransformation)
 class STEPConstruct_Assembly 
index a6773ece073a46d476610757264c8db45810766a..78a469267bf63c7b2ead19e895cfc59f7c832205 100644 (file)
@@ -199,7 +199,7 @@ Standard_Boolean STEPConstruct_ExternRefs::LoadExternRefs ()
   for (Standard_Integer adri = 1; adri <= aSeqOfADR.Length(); adri++) {
     Handle(StepAP214_AppliedDocumentReference) ADR = 
       Handle(StepAP214_AppliedDocumentReference)::DownCast(aSeqOfADR.Value(adri));
-    // looking for Product Definition Formation and exlude excess PDWAD from aSeqOfPDWAD
+    // looking for Product Definition Formation and exclude excess PDWAD from aSeqOfPDWAD
     Handle(StepBasic_ProductDefinitionWithAssociatedDocuments) aPDWAD;    
     findPDWADandExcludeExcess( ADR, aSeqOfPDWAD, Graph(), aPDWAD );
     
@@ -223,7 +223,7 @@ Standard_Boolean STEPConstruct_ExternRefs::LoadExternRefs ()
     }
     // search for Document file
     Handle(StepBasic_DocumentFile) DocFile;
-    if ( aPDWAD.IsNull() ) { // shoudnot be begin from TRJ11
+    if ( aPDWAD.IsNull() ) { // shouldn't begin from TRJ11
       // lookinf from ADR
       subs4 = Graph().Shareds(ADR);
     } else 
@@ -326,7 +326,7 @@ Standard_CString STEPConstruct_ExternRefs::FileName (const Standard_Integer num)
       Handle(StepAP214_AppliedDocumentReference)::DownCast ( myAEIAs(num) );
 
     // PTV 28.01.2003 CAX-IF TRJ11, file ext_ref_master.stp 
-    // serach document file name by long chain ADR->D<-DPE->PDF<-PDWAD->DF
+    // search document file name by long chain ADR->D<-DPE->PDF<-PDWAD->DF
     Handle(StepBasic_ProductDefinitionWithAssociatedDocuments) aPDWAD;
     // create an empty aSeqOfPDWAD
     TColStd_SequenceOfTransient aSeqOfPDWAD; 
@@ -335,7 +335,7 @@ Standard_CString STEPConstruct_ExternRefs::FileName (const Standard_Integer num)
     
     // search for Document file
     Interface_EntityIterator subs4;
-    if ( aPDWAD.IsNull() ) { // shoudnot be begin from TRJ11
+    if ( aPDWAD.IsNull() ) { // shouldn't begin from TRJ11
       // lookinf from ADR
       subs4 = Graph().Shareds(ADR);
     } else 
@@ -842,7 +842,7 @@ Standard_Boolean STEPConstruct_ExternRefs::addAP214ExterRef (const Handle(StepAP
 
   // create new product definition formation
   Handle(StepBasic_ProductDefinitionFormation) PDF = new StepBasic_ProductDefinitionFormation;
-  // name id taked from exapmle Standard_ExtString_ref_master.stp
+  // name id taked from example Standard_ExtString_ref_master.stp
   Handle(TCollection_HAsciiString) PDF_ID = new TCollection_HAsciiString("1");
   PDF->Init( PDF_ID, EmptyString, Product );
   
index c6aafd1488a7a64c43c8b55dd84850add684850e..bf2cee7afab117f9fe3bf7a164d5b13325643f17 100644 (file)
@@ -36,8 +36,8 @@ class StepRepr_ProductDefinitionShape;
 
 
 //! Provides tools for creating STEP structures associated
-//! with part (SDR), such as PRODUCT, PDF etc., as requied
-//! by current schema
+//! with part (SDR), such as PRODUCT, PDF etc., as
+//! required by current schema
 //! Also allows to investigate and modify this data
 class STEPConstruct_Part 
 {
index 9356606171d56b9419ffee70d7119bf07550295e..b57aa6e87e8350265a5f26cf8dcb00d8b756226c 100644 (file)
@@ -402,7 +402,7 @@ Standard_Boolean STEPConstruct_Styles::LoadInvisStyles (Handle(TColStd_HSequence
   Handle(Interface_InterfaceModel) model = Model();
   Standard_Integer nb = model->NbEntities();
   Handle(Standard_Type) tInvisibility = STANDARD_TYPE(StepVisual_Invisibility);
-  // serach for invisibility
+  // search for invisibility
   for (Standard_Integer i = 1; i <= nb; i ++) {
     Handle(Standard_Transient) enti = model->Value(i);
     if ( enti->DynamicType() != tInvisibility )
index 6a92031f81f979931363c4d17df641e431f2a0de..bb2ed586715fbff7f7d96313fa872210a21d2fc3 100644 (file)
@@ -110,7 +110,7 @@ public:
   //! (which bring styles) and fills sequence of styles
   Standard_EXPORT Standard_Boolean LoadStyles();
   
-  //! Searches the STEP model for the INISIBILITY enteties
+  //! Searches the STEP model for the INISIBILITY entities
   //! (which bring styles) and fills out sequence of styles
   Standard_EXPORT Standard_Boolean LoadInvisStyles (Handle(TColStd_HSequenceOfTransient)& InvSyles) const;
   
index 7804a95218c2b44f45ad8fe04d809e644e0758d0..f2ffd2d9a2117c1d16ba693b5418c01c7e11a5bc 100644 (file)
@@ -65,7 +65,7 @@ STEPConstruct_UnitContext::STEPConstruct_UnitContext()
 {
   lengthDone = planeAngleDone = solidAngleDone = hasUncertainty = 
     areaDone = volumeDone = Standard_False;
-  //pdn file r_47-sd.stp initalize field.
+  //pdn file r_47-sd.stp initialize field.
   theUncertainty = RealLast();
 }
 
@@ -85,7 +85,7 @@ void STEPConstruct_UnitContext::Init(const Standard_Real Tol3d)
   Handle(TCollection_HAsciiString) contextType =
    new TCollection_HAsciiString("3D Context with UNIT and UNCERTAINTY");
 
-  // Units : LengthUnit and PlaneAngleUnit (no SolidAngleUnit appliable)
+  // Units : LengthUnit and PlaneAngleUnit (no SolidAngleUnit applicable)
 
   Handle(StepBasic_NamedUnit) lengthUnit;
   Standard_CString uName = 0;
index 5b53280cd070cc5428af8caffd7b5bec415a2ba5..e1faad8f608a5e473819bf1424817d64bf9ce278 100644 (file)
@@ -108,7 +108,7 @@ public:
   //! This message can then be added as warning for transfer
   Standard_EXPORT Standard_CString StatusMessage (const Standard_Integer status) const;
   
-  //! Convert SI prefix defined by enumertaion to corresponding
+  //! Convert SI prefix defined by enumeration to corresponding
   //! real factor (e.g. 1e6 for mega)
   Standard_EXPORT static Standard_Real ConvertSiPrefix (const StepBasic_SiPrefix aPrefix);
 
index deddf5457136d447d16bc3634bd3e8c2ec6f010e..3e0c3b7defbbf684e440bd76f4952168d28eaee4 100644 (file)
@@ -272,7 +272,7 @@ Standard_Boolean  STEPControl_ActorRead::Recognize
 
 // ============================================================================
 // Method  : STEPControl_ActorRead::Transfer
-// Purpose : recursive method that acces to the root entities and start the 
+// Purpose : recursive method that accesses the root entities and starts the 
 //           mapping
 // ============================================================================
 
@@ -809,7 +809,7 @@ Handle(TransferBRep_ShapeBinder) STEPControl_ActorRead::TransferEntity(
     sout<<" -- Actor : case  ShapeRepr. NbItems="<<nb<<std::endl;
   #endif
   
-    // Compute unit convertion factors and geometric Accuracy
+    // Compute unit conversion factors and geometric Accuracy
   Handle(StepRepr_Representation) oldSRContext = mySRContext; //:S4136
   PrepareUnits(sr,TP);
   
@@ -1427,7 +1427,7 @@ Handle(TransferBRep_ShapeBinder) STEPControl_ActorRead::TransferEntity
     }
   }
   catch(Standard_Failure const&) {
-    TP->AddFail(start,"Exeption is raised. Entity was not translated.");
+    TP->AddFail(start,"Exception is raised. Entity was not translated.");
     TP->Bind(start, shbinder);
     return shbinder;
   }
@@ -1594,7 +1594,7 @@ Handle(TransferBRep_ShapeBinder) STEPControl_ActorRead::TransferEntity
   }
   catch(Standard_Failure const&)
   {
-    TP->AddFail(fs,"Exeption is raised. Entity was not translated.");
+    TP->AddFail(fs,"Exception is raised. Entity was not translated.");
     sb.Nullify();
     TP->Bind(fs, sb);
     return sb;
index 22cae5b63b564574dd0bba393e6ce1397ae8f9b9..cebac50190a4b6741da478a398389326154605f1 100644 (file)
@@ -63,16 +63,16 @@ class STEPControl_ActorRead : public Transfer_ActorOfTransientProcess
 
 public:
 
-  
+
   Standard_EXPORT STEPControl_ActorRead();
-  
+
   Standard_EXPORT virtual Standard_Boolean Recognize (const Handle(Standard_Transient)& start) Standard_OVERRIDE;
-  
+
   Standard_EXPORT virtual Handle(Transfer_Binder) Transfer
                    (const Handle(Standard_Transient)& start,
                     const Handle(Transfer_TransientProcess)& TP,
                     const Message_ProgressRange& theProgress = Message_ProgressRange()) Standard_OVERRIDE;
-  
+
   //! theUseTrsf - special flag for using Axis2Placement from ShapeRepresentation for transform root shape
   Standard_EXPORT Handle(Transfer_Binder) TransferShape (
       const Handle(Standard_Transient)& start,
@@ -80,20 +80,20 @@ public:
       const Standard_Boolean isManifold = Standard_True,
       const Standard_Boolean theUseTrsf = Standard_False,
       const Message_ProgressRange& theProgress = Message_ProgressRange());
-  
+
   //! set units and tolerances context by given ShapeRepresentation
   Standard_EXPORT void PrepareUnits (const Handle(StepRepr_Representation)& rep, const Handle(Transfer_TransientProcess)& TP);
-  
+
   //! reset units and tolerances context to default
   //! (mm, radians, read.precision.val, etc.)
   Standard_EXPORT void ResetUnits();
-  
+
   //! Computes transformation defined by two axis placements (in MAPPED_ITEM
   //! or ITEM_DEFINED_TRANSFORMATION) taking into account their
   //! representation contexts (i.e. units, which may be different)
   //! Returns True if transformation is computed and is not an identity.
   Standard_EXPORT Standard_Boolean ComputeTransformation (const Handle(StepGeom_Axis2Placement3d)& Origin, const Handle(StepGeom_Axis2Placement3d)& Target, const Handle(StepRepr_Representation)& OrigContext, const Handle(StepRepr_Representation)& TargContext, const Handle(Transfer_TransientProcess)& TP, gp_Trsf& Trsf);
-  
+
   //! Computes transformation defined by given
   //! REPRESENTATION_RELATIONSHIP_WITH_TRANSFORMATION
   Standard_EXPORT Standard_Boolean ComputeSRRWT (const Handle(StepRepr_RepresentationRelationship)& SRR, const Handle(Transfer_TransientProcess)& TP, gp_Trsf& Trsf);
@@ -105,7 +105,7 @@ public:
 
 protected:
 
-  
+
   //! Transfers product definition entity
   //! theUseTrsf - special flag for using Axis2Placement from ShapeRepresentation for transform root shape
     Standard_EXPORT Handle(TransferBRep_ShapeBinder) TransferEntity (
@@ -113,13 +113,13 @@ protected:
       const Handle(Transfer_TransientProcess)& TP,
       const Standard_Boolean theUseTrsf = Standard_False,
       const Message_ProgressRange& theProgress = Message_ProgressRange());
-  
-  //! Transfers next assembly usage occurence entity
+
+  //! Transfers next assembly usage occurrence entity
   Standard_EXPORT Handle(TransferBRep_ShapeBinder) TransferEntity
                    (const Handle(StepRepr_NextAssemblyUsageOccurrence)& NAUO,
                     const Handle(Transfer_TransientProcess)& TP,
                     const Message_ProgressRange& theProgress = Message_ProgressRange());
-  
+
   //! Transfers shape representation entity
   //! theUseTrsf - special flag for using Axis2Placement from ShapeRepresentation for transform root shape
   Standard_EXPORT Handle(TransferBRep_ShapeBinder) TransferEntity (
@@ -128,13 +128,13 @@ protected:
       Standard_Boolean& isBound,
       const Standard_Boolean theUseTrsf = Standard_False,
       const Message_ProgressRange& theProgress = Message_ProgressRange());
-  
+
   //! Transfers context dependent shape representation entity
   Standard_EXPORT Handle(TransferBRep_ShapeBinder) TransferEntity
                    (const Handle(StepShape_ContextDependentShapeRepresentation)& CDSR,
                     const Handle(Transfer_TransientProcess)& TP,
                     const Message_ProgressRange& theProgress = Message_ProgressRange());
-  
+
   //! Transfers  shape representation relationship entity
   //! theUseTrsf - special flag for using Axis2Placement from ShapeRepresentation for transform root shape
   Standard_EXPORT Handle(TransferBRep_ShapeBinder) TransferEntity (
@@ -143,20 +143,20 @@ protected:
       const Standard_Integer nbrep = 0,
       const Standard_Boolean theUseTrsf = Standard_False,
       const Message_ProgressRange& theProgress = Message_ProgressRange());
-  
+
   //! Transfers  geometric representation item entity such as ManifoldSolidBRep ,...etc
   Standard_EXPORT Handle(TransferBRep_ShapeBinder) TransferEntity
                    (const Handle(StepGeom_GeometricRepresentationItem)& git,
                     const Handle(Transfer_TransientProcess)& TP,
                     const Standard_Boolean isManifold,
                     const Message_ProgressRange& theProgress);
-  
+
   //! Transfers  mapped item
   Standard_EXPORT Handle(TransferBRep_ShapeBinder) TransferEntity
                    (const Handle(StepRepr_MappedItem)& mapit,
                     const Handle(Transfer_TransientProcess)& TP,
                     const Message_ProgressRange& theProgress);
-  
+
   //! Transfers  FaceSurface entity
   Standard_EXPORT Handle(TransferBRep_ShapeBinder) TransferEntity
                    (const Handle(StepShape_FaceSurface)& fs,
@@ -165,8 +165,8 @@ protected:
 
   Handle(TransferBRep_ShapeBinder) TransferEntity( const Handle(StepRepr_ConstructiveGeometryRepresentationRelationship)& theCGRR,
     const Handle(Transfer_TransientProcess)& theTP);
-  
-  //! Tranlates file by old way when CDSR are roots . Acts only if "read.step.product_mode" is equal Off.
+
+  //! Translates file by old way when CDSR are roots . Acts only if "read.step.product_mode" is equal Off.
   Standard_EXPORT Handle(TransferBRep_ShapeBinder) OldWay
                    (const Handle(Standard_Transient)& start,
                     const Handle(Transfer_TransientProcess)& TP,
@@ -176,9 +176,9 @@ protected:
 
 private:
 
-  
+
   Standard_EXPORT TopoDS_Shell closeIDEASShell (const TopoDS_Shell& shell, const TopTools_ListOfShape& closingShells);
-  
+
   Standard_EXPORT void computeIDEASClosings (const TopoDS_Compound& comp, TopTools_IndexedDataMapOfShapeListOfShape& shellClosingMap);
 
   StepToTopoDS_NMTool myNMTool;
index 54295e103084f4473027d91ea4e530d67f60223f..cf3b6dd0d7491c294f0450308cb0bb4992546bc9 100644 (file)
@@ -581,7 +581,7 @@ static void UpdateMap (const TopoDS_Shape &shape,
 }
 */
 
-// PTV 16.09.2002 added for transfering vertices.
+// PTV 16.09.2002 added for transferring vertices.
 static Standard_Boolean transferVertex (const Handle(Transfer_FinderProcess)& FP,
                                         Handle(StepShape_HArray1OfGeometricSetSelect)& aGSS,
                                         const TopoDS_Shape& aShVrtx,
@@ -621,7 +621,7 @@ Handle(Transfer_Binder) STEPControl_ActorWrite::TransferShape
   Handle(TransferBRep_ShapeMapper) mapper = Handle(TransferBRep_ShapeMapper)::DownCast(start);
   Handle(Transfer_Binder) binder;
 
-  // Indicates whether to use an exising NMSSR to write items to (ss; 13.11.2010)
+  // Indicates whether to use an existing NMSSR to write items to (ss; 13.11.2010)
   Standard_Boolean useExistingNMSSR = Standard_False;
 
   if (mapper.IsNull()) return binder;
@@ -1063,7 +1063,7 @@ Handle(Transfer_Binder) STEPControl_ActorWrite::TransferShape
           // modified by PTV 16.09.2002 OCC725
           else if (aShape.ShapeType() == TopAbs_COMPOUND || 
                    aShape.ShapeType() == TopAbs_VERTEX) {
-            // it is compund with solo vertices.
+            // it is compound with solo vertices.
             Standard_Integer aNbVrtx = 0;
             Standard_Integer curNb = 0;
             TopExp_Explorer anExp (aShape, TopAbs_VERTEX);
@@ -1080,7 +1080,7 @@ Handle(Transfer_Binder) STEPControl_ActorWrite::TransferShape
               Handle(StepShape_GeometricCurveSet) aGCSet =
                 new StepShape_GeometricCurveSet;
               aGCSet->SetName(empty);
-              // iterates on compound with vertices and trances each vertex
+              // iterates on compound with vertices and traces each vertex
               for ( anExp.ReInit() ; anExp.More(); anExp.Next() ) {
                 TopoDS_Shape aVertex = anExp.Current();
                 if ( aVertex.ShapeType() != TopAbs_VERTEX )
index 1e611de35fffdcae70966bf66fa764731317ce3b..ceb1d99b81595a9b4e800c15b93e8086aaa0bbde 100644 (file)
@@ -191,7 +191,7 @@ STEPControl_Controller::STEPControl_Controller ()
     Interface_Static::Init ("XSTEP","write.step.sequence",'t',"ToSTEP");
     Interface_Static::Init ("XSTEP","read.step.sequence",'t',"FromSTEP");
 
-    // ika 28.07.16: Paremeter to read all top level solids and shells,
+    // ika 28.07.16: Parameter to read all top level solids and shells,
     // should be used only in case of invalid shape_representation without links to shapes.
     Interface_Static::Init("step", "read.step.all.shapes", 'e', "");
     Interface_Static::Init("step", "read.step.all.shapes", '&', "enum 0");
index 839d4d15b95eedad4cdc43ac97f2c19b31e7e57e..e0d534deede73b933c9e6d3e6929e310de059be9 100644 (file)
@@ -266,7 +266,7 @@ static Standard_Integer DT_ShapeConvertRev (Draw_Interpretor& di,
     return 0;
   }
   else {
-    // not a face: we can use the empty consturctor.
+    // not a face: we can use the empty constructor.
     ShapeUpgrade_ShapeDivideContinuity theTool;
     Standard_Real Tol=Draw::Atof(a[n-1]);
     theTool.SetTolerance(Tol);
index 0eea1fa5cc846a80ecc1058aa0fe6ef5f0fae406..df02327e56c74f2eb8857ceced89a4d12ce53aed 100644 (file)
@@ -29,7 +29,7 @@ namespace
   {
     // Check if number of points is invalid.
     // In this case myPolyg raises Standard_ConstructionError
-    // exception (look constructor bellow).
+    // exception (see constructor below).
     if (theNbPnts <= 0)
       return 0;
 
index 3efe42d207e4df111818fac897bbc5ea5c5890dd..acc8a75be6b876476a06225d64799b740542faca 100644 (file)
@@ -117,7 +117,7 @@ Standard_Real ShapeAnalysis::AdjustToPeriod(const Standard_Real Val,
 
 //=======================================================================
 //function : ReverceSeq
-//purpose  : auxilary
+//purpose  : auxiliary
 //=======================================================================
 template<class HSequence> 
 static inline void ReverseSeq (HSequence& Seq)
index 50da1a38483c8c660bfef2c72451ff65f6194cc9..d1c8727306129e317ea578c0b71404bbaf01f2ad 100644 (file)
@@ -57,7 +57,7 @@ public:
   //! to allow recovering connectivities after fixing or removing
   //! the small faces or parts of faces
   //! Enchains various checks on a face
-  //! inshell : to compute more informations, relevant to topology
+  //! inshell : to compute more information, relevant to topology
   Standard_EXPORT ShapeAnalysis_CheckSmallFace();
   
   //! Checks if a Face is as a Spot
@@ -86,7 +86,7 @@ public:
   //! tolerance, given or some of those of E1 and E2
   Standard_EXPORT Standard_Boolean CheckStripEdges (const TopoDS_Edge& E1, const TopoDS_Edge& E2, const Standard_Real tol, Standard_Real& dmax) const;
   
-  //! Searchs for two and only two edges up tolerance
+  //! Searches for two and only two edges up tolerance
   //! Returns True if OK, false if not 2 edges
   //! If True, returns the two edges and their maximum distance
   Standard_EXPORT Standard_Boolean FindStripEdges (const TopoDS_Face& F, TopoDS_Edge& E1, TopoDS_Edge& E2, const Standard_Real tol, Standard_Real& dmax);
index d39aca0aa20c48cf476aead5b39c5f7d70dbb330..7437b07d6d26bb9b109335cdf213e46e0e17a82f 100644 (file)
@@ -185,8 +185,8 @@ public:
   
   //! Checks the first edge is overlapped with second edge.
   //! If distance between two edges is less then theTolOverlap
-  //! edges is overlapped.
-  //! theDomainDis - length of part of edges on wich edges is overlapped.
+  //! edges are overlapped.
+  //! theDomainDis - length of part of edges on which edges are overlapped.
   Standard_EXPORT Standard_Boolean CheckOverlapping (const TopoDS_Edge& theEdge1, const TopoDS_Edge& theEdge2, Standard_Real& theTolOverlap, const Standard_Real theDomainDist = 0.0);
 
 
index b036ef95118a88c2089563f13769d6c84ee8ddba..2ba7d39d8ab3fccf0ce49058eae6be31fbb471c5 100644 (file)
@@ -43,7 +43,7 @@ public:
   //! plane and given points
   Standard_EXPORT static Standard_Boolean NearestPlane (const TColgp_Array1OfPnt& Pnts, gp_Pln& aPln, Standard_Real& Dmax);
   
-  //! Builds transfromation object out of matrix.
+  //! Builds transformation object out of matrix.
   //! Matrix must be 3 x 4.
   //! Unit is used as multiplier.
   Standard_EXPORT static Standard_Boolean PositionTrsf (const Handle(TColStd_HArray2OfReal)& coefs, gp_Trsf& trsf, const Standard_Real unit, const Standard_Real prec);
index 9d9d346c28582c3630b0ea663c5b0d94ce9b2c3e..f4d63fb9b9572eb01c5f9cd8456fb68b23b561d8 100644 (file)
@@ -38,7 +38,7 @@ public:
   //! Initialize fields and call ClearFlags()
   Standard_EXPORT ShapeAnalysis_ShapeContents();
   
-  //! Clears all accumulated statictics
+  //! Clears all accumulated statistics
   Standard_EXPORT void Clear();
   
   //! Clears all flags
index 40985646342edbd38d626fe1cdd8fd4f183a2986..935e0436def080aab883fea892570097f9166850 100644 (file)
@@ -1404,7 +1404,7 @@ Standard_Real ShapeAnalysis_Surface::UVFromIso(const gp_Pnt& P3d, const Standard
 
     //std::cout<<"Adaptor3d()->Surface().GetType() = "<<Adaptor3d()->Surface().GetType()<<std::endl;
 
-    //modified by rln on 04/12/97 in order to use theese variables later
+    //modified by rln on 04/12/97 in order to use these variables later
     Standard_Boolean UV = Standard_True;
     Standard_Real par = 0., other = 0., dist = 0.;
     Handle(Geom_Curve) iso;
index adf74019662718be063485c9f1c486bbce90a796..e14e17454fa532f2ae95d6de6ace9a43fae8b635 100644 (file)
@@ -112,7 +112,7 @@ public:
   
   //! Returns the characteristics of the singularity specified by
   //! its rank number <num>.
-  //! That means, that it is not neccessary for <num> to be in the
+  //! That means, that it is not necessary for <num> to be in the
   //! range [1, NbSingularities] but must be not greater than
   //! possible (see ComputeSingularities).
   //! The returned characteristics are:
@@ -192,7 +192,7 @@ public:
   //! computed.
   //! The pcurve (p2d1, p2d2) is considered as degenerate if:
   //! - max distance in 3d is less than <tol>
-  //! - max distance in 2d is at least <ratio> times greather than
+  //! - max distance in 2d is at least <ratio> times greater than
   //! the Resolution computed from max distance in 3d
   //! (max3d < tol && max2d > ratio * Resolution(max3d))
   //! NOTE: <ratio> should be >1 (e.g. 10)
@@ -268,7 +268,7 @@ public:
   //! If <maxpreci> >0. and distance between solution and
   //! P3D is greater than <maxpreci>, that solution is considered
   //! as bad, and ValueOfUV() is used.
-  //! If not succeded, calls ValueOfUV()
+  //! If not succeeded, calls ValueOfUV()
   Standard_EXPORT gp_Pnt2d NextValueOfUV (const gp_Pnt2d& p2dPrev,
                                           const gp_Pnt& P3D,
                                           const Standard_Real preci,
index 5aebbf3953619a90280aa135a1bceaeeee9c7d96..fe5e48351742b0f7f2e1b7e251255b1c3fe96872 100644 (file)
@@ -237,7 +237,7 @@ Standard_Real ShapeAnalysis_TransferParametersProj::Perform(const Standard_Real
 
 //=======================================================================
 //function : CorrectParameter
-//purpose  : auxilary
+//purpose  : auxiliary
 //=======================================================================
 static Standard_Real CorrectParameter(const Handle(Geom2d_Curve) crv,
                                      const Standard_Real param)
index 39dc6745a93d1236eb14d2761418c8028add1c00..b5cdf72233628c78f3747749e47617ebe6dbd42e 100644 (file)
@@ -47,7 +47,7 @@ class ShapeAnalysis_TransferParametersProj : public ShapeAnalysis_TransferParame
 public:
 
   
-  //! Creats empty constructor.
+  //! Creates empty constructor.
   Standard_EXPORT ShapeAnalysis_TransferParametersProj();
   
   Standard_EXPORT ShapeAnalysis_TransferParametersProj(const TopoDS_Edge& E, const TopoDS_Face& F);
index da17a10097228ca35353c19db360156211fe9598..2500521779d7e1ca4bbfa7e4340a4ffb38d18b56 100644 (file)
@@ -807,7 +807,7 @@ Standard_Boolean ShapeAnalysis_Wire::CheckDegenerated (const Standard_Integer nu
   //pdn allows to insert two sequences of degenerated edges (on separate bounds of surfaces)
   if ( n1 != n2 && BRep_Tool::Degenerated ( E1 ) && 
        ! sae.HasPCurve ( E1, Face() ) ) {
-    //:abv 13.05.02: OCC320 - fail (to remove edge) if two consequtive degenerated edges w/o pcurves
+    //:abv 13.05.02: OCC320 - fail (to remove edge) if two consecutive degenerated edges w/o pcurves
     if ( BRep_Tool::Degenerated ( E2 ) )
       myStatus |= ShapeExtend::EncodeStatus (ShapeExtend_FAIL2);
     return Standard_False;
@@ -931,7 +931,7 @@ Standard_Boolean ShapeAnalysis_Wire::CheckDegenerated (const Standard_Integer nu
   //#84 rln 18.03.99 if pcurve is not degenerate anymore, the fix is postponned
   //to ShapeFix_Wire::FixLacking
   if ( ! mySurf->IsDegenerated ( p2d1, p2d2, precVtx, 10. ) ) { //:s1 abv 22 Apr 99: PRO7226 #489490 //smh#9
-    //:abv 24.05.02: OCC320 - fail (to remove edge) if two consequtive degenerated edges w/o pcurves
+    //:abv 24.05.02: OCC320 - fail (to remove edge) if two consecutive degenerated edges w/o pcurves
     if ( BRep_Tool::Degenerated ( E2 ) )
       myStatus |= ShapeExtend::EncodeStatus (ShapeExtend_FAIL2);
     return Standard_False;
@@ -1235,7 +1235,7 @@ Standard_Boolean ShapeAnalysis_Wire::CheckIntersectingEdges (const Standard_Inte
 
   //:64 abv 25 Dec 97: Attention!
   // Since Intersection algorithm is not symmetrical, for consistency with BRepCheck 
-  // edge with lower order number shoud be intersecting with edge with higher one
+  // edge with lower order number should be intersecting with edge with higher one
   // i.e., for intersection of last and first edges, they should go in reversed order
   // Example: entity #38285 from bug CSR #CTS17806
   // NOTE: Tr1 and Tr2 are not reordered because they are used in the same manner
index e089326fe2b0a24d1ca85ab1d2a117176b6fa1bd..3bce04c331b4f129593bf4c8e5290104532dd1a9 100644 (file)
@@ -70,7 +70,7 @@ DEFINE_STANDARD_HANDLE(ShapeAnalysis_Wire, Standard_Transient)
 //!
 //! The methods of the given class match to ones of the class
 //! ShapeFix_Wire, e.g., CheckSmall and FixSmall.
-//! This class also includes some auxilary methods
+//! This class also includes some auxiliary methods
 //! (e.g., CheckOuterBound, etc.),
 //! which have no pair in ShapeFix_Wire.
 //!
@@ -84,7 +84,7 @@ DEFINE_STANDARD_HANDLE(ShapeAnalysis_Wire, Standard_Transient)
 //! corresponding Status... method.
 //! The 'advanced' functions share the single status field which
 //! contains the result of the last performed 'advanced' method.
-//! It is quried by the method LastCheckStatus().
+//! It is queried by the method LastCheckStatus().
 //!
 //! In order to prepare an analyzer, it is necessary to load a wire,
 //! set face and precision.
@@ -156,7 +156,7 @@ public:
     const Handle(ShapeAnalysis_Surface)& Surface() const;
   
   //! Performs all the checks in the following order :
-  //! CheckOrder, CheckSmall, CheckConected, CheckEdgeCurves,
+  //! CheckOrder, CheckSmall, CheckConnected, CheckEdgeCurves,
   //! CheckDegenerated, CheckSelfIntersection, CheckLacking,
   //! CheckClosed
   //! Returns: True if at least one method returned True;
@@ -178,7 +178,7 @@ public:
   //! Returns: True if at least one small edge was detected
   Standard_EXPORT Standard_Boolean CheckSmall (const Standard_Real precsmall = 0.0);
   
-  //! Checks edges geometry (consitency of 2d and 3d senses, adjasment
+  //! Checks edges geometry (consistency of 2d and 3d senses, adjasment
   //! of curves to the vertices, etc.).
   //! The order of the checks :
   //! Call ShapeAnalysis_Wire to check:
@@ -245,7 +245,7 @@ public:
   //! FAIL : algorithm failed (could not detect order)
   Standard_EXPORT Standard_Boolean CheckOrder (ShapeAnalysis_WireOrder& sawo, const Standard_Boolean isClosed = Standard_True, const Standard_Boolean mode3d = Standard_True);
   
-  //! Checks connected edges (num-th and preceeding).
+  //! Checks connected edges (num-th and preceding).
   //! Tests with starting preci from <SBWD> or  with <prec> if
   //! it is greater.
   //! Considers Vertices.
@@ -286,7 +286,7 @@ public:
   Standard_EXPORT Standard_Boolean CheckSeam (const Standard_Integer num);
   
   //! Checks for degenerated edge between two adjacent ones.
-  //! Fills parameters dgnr1 and dgnr2 with points in paramterical
+  //! Fills parameters dgnr1 and dgnr2 with points in parametric
   //! space that correspond to the singularity (either gap that
   //! needs to be filled by degenerated edge or that already filled)
   //! Returns: False if no singularity or edge is already degenerated,
@@ -309,7 +309,7 @@ public:
   
   //! Checks gap between edges in 3D (3d curves).
   //! Checks the distance between ends of 3d curves of the num-th
-  //! and preceeding edge.
+  //! and preceding edge.
   //! The distance can be queried by MinDistance3d.
   //!
   //! Returns: True if status is DONE
@@ -321,7 +321,7 @@ public:
   
   //! Checks gap between edges in 2D (pcurves).
   //! Checks the distance between ends of pcurves of the num-th
-  //! and preceeding edge.
+  //! and preceding edge.
   //! The distance can be queried by MinDistance2d.
   //!
   //! Returns: True if status is DONE
@@ -436,8 +436,8 @@ public:
   //! Status:
   //! DONE1 : If <shape> follows <SBWD>, direct sense (normal)
   //! DONE2 : If <shape> follows <SBWD>, but if reversed
-  //! DONE3 : If <shape> preceeds <SBWD>, direct sense
-  //! DONE4 : If <shape> preceeds <SBWD>, but if reversed
+  //! DONE3 : If <shape> precedes <SBWD>, direct sense
+  //! DONE4 : If <shape> precedes <SBWD>, but if reversed
   //! FAIL1 : If <shape> is neither an edge nor a wire
   //! FAIL2 : If <shape> cannot be connected to <SBWD>
   //!
@@ -464,7 +464,7 @@ public:
   //! Remark:  First method CheckShapeConnect calls this one
   Standard_EXPORT Standard_Boolean CheckShapeConnect (Standard_Real& tailhead, Standard_Real& tailtail, Standard_Real& headtail, Standard_Real& headhead, const TopoDS_Shape& shape, const Standard_Real prec = 0.0);
   
-  //! Checks existance of loop on wire and return vertices wich are loop vertices
+  //! Checks existence of loop on wire and return vertices which are loop vertices
   //! (vertices belonging to a few pairs of edges)
   Standard_EXPORT Standard_Boolean CheckLoop (TopTools_IndexedMapOfShape& aMapLoopVertices, TopTools_DataMapOfShapeListOfShape& aMapVertexEdges, TopTools_MapOfShape& aMapSmallEdges, TopTools_MapOfShape& aMapSeemEdges);
   
@@ -494,7 +494,7 @@ public:
   
     Standard_Boolean StatusLoop (const ShapeExtend_Status Status) const;
   
-  //! Querying the status of the LAST perfomed 'Advanced' checking procedure
+  //! Querying the status of the LAST performed 'Advanced' checking procedure
     Standard_Boolean LastCheckStatus (const ShapeExtend_Status Status) const;
   
   //! Returns the last lowest distance in 3D computed by
index 22a3576475b6386b927a8bd6b54e9827f5645f92..551f80dfc672f503eae0ba60db90570cc97990ce 100644 (file)
@@ -64,7 +64,7 @@ public:
   Standard_EXPORT ShapeAnalysis_WireOrder(const Standard_Boolean mode3d, const Standard_Real tol);
   
   //! Sets new values. Clears the connexion list
-  //! If <mode3d> changes, also clears the edge list (else, doesnt)
+  //! If <mode3d> changes, also clears the edge list (else, doesn't)
   Standard_EXPORT void SetMode (const Standard_Boolean mode3d, const Standard_Real tol);
   
   //! Returns the working tolerance
@@ -121,7 +121,7 @@ public:
   //! Returns the values of the couple <num>, as 2D values
   Standard_EXPORT void XY (const Standard_Integer num, gp_XY& start2d, gp_XY& end2d) const;
   
-  //! Returns the gap between a couple and its preceeding
+  //! Returns the gap between a couple and its preceding
   //! <num> is considered ordered
   //! If <num> = 0 (D), returns the greatest gap found
   Standard_EXPORT Standard_Real Gap (const Standard_Integer num = 0) const;
index e3475c4decf3fdc4cad3ecb785fde531853ee9d3..1fbfbb3710432120d419a544f60c6f67737938b2 100644 (file)
@@ -41,7 +41,7 @@ class gp_XYZ;
 //! The Wire has formerly been loaded in a ShapeExtend_WireData
 //! For each Vertex, a status and some data can be attached
 //! (case found, position and parameters)
-//! Then, these informations can be used to fix problems
+//! Then, these information can be used to fix problems
 class ShapeAnalysis_WireVertex 
 {
 public:
@@ -62,10 +62,10 @@ public:
   
   //! Sets the precision for work
   //! Analysing: for each Vertex, comparison between the end of the
-  //! preceeding edge and the start of the following edge
+  //! preceding edge and the start of the following edge
   //! Each Vertex rank corresponds to the End Vertex of the Edge of
   //! same rank, in the ShapeExtend_WireData. I.E. for Vertex <num>,
-  //! Edge <num> is the preceeding one, <num+1> is the following one
+  //! Edge <num> is the preceding one, <num+1> is the following one
   Standard_EXPORT void SetPrecision (const Standard_Real preci);
   
   Standard_EXPORT void Analyze();
@@ -79,18 +79,18 @@ public:
   //! Records status "Close Coords" (at the Precision of <me>)
   Standard_EXPORT void SetClose (const Standard_Integer num);
   
-  //! <num> is the End of preceeding Edge, and its projection on the
+  //! <num> is the End of preceding Edge, and its projection on the
   //! following one lies on it at the Precision of <me>
   //! <ufol> gives the parameter on the following edge
   Standard_EXPORT void SetEnd (const Standard_Integer num, const gp_XYZ& pos, const Standard_Real ufol);
   
   //! <num> is the Start of following Edge, its projection on the
-  //! preceeding one lies on it at the Precision of <me>
-  //! <upre> gives the parameter on the preceeding edge
+  //! preceding one lies on it at the Precision of <me>
+  //! <upre> gives the parameter on the preceding edge
   Standard_EXPORT void SetStart (const Standard_Integer num, const gp_XYZ& pos, const Standard_Real upre);
   
   //! <num> is the Intersection of both Edges
-  //! <upre> is the parameter on preceeding edge, <ufol> on
+  //! <upre> is the parameter on preceding edge, <ufol> on
   //! following edge
   Standard_EXPORT void SetInters (const Standard_Integer num, const gp_XYZ& pos, const Standard_Real upre, const Standard_Real ufol);
   
@@ -123,14 +123,14 @@ public:
   //! Returns the recorded status for a vertex
   //! With its recorded position and parameters on both edges
   //! These values are relevant regarding the status:
-  //! Status  Meaning   Position  Preceeding  Following
+  //! Status  Meaning    Position  Preceding   Following
   //! 0       Same       no        no          no
   //! 1       SameCoord  no        no          no
   //! 2       Close      no        no          no
   //! 3       End        yes       no          yes
   //! 4       Start      yes       yes         no
   //! 5       Inters     yes       yes         yes
-  //! -1       Disjoined  no        no          no
+  //! -1      Disjoined  no        no          no
   Standard_EXPORT Standard_Integer Data (const Standard_Integer num, gp_XYZ& pos, Standard_Real& upre, Standard_Real& ufol) const;
   
   //! For a given status, returns the rank of the vertex which
index 90383dec12a3ec50d34e60b6688d6e28f9646eb2..feee4e8224640660f6ef6fa99508b9eab150e7a3 100644 (file)
@@ -549,7 +549,7 @@ Handle(Geom2d_Curve) ShapeBuild_Edge::TransformPCurve(const Handle(Geom2d_Curve)
     if(result->IsKind(STANDARD_TYPE(Geom2d_Conic))) {
       //gp_Pln pln(gp_Pnt(0,0,0),gp_Dir(0,0,1));
       //Handle(Geom_Curve) curve = GeomAPI::To3d(result,pln);
-      Handle(Geom2d_Curve) tcurve = new Geom2d_TrimmedCurve(result,aFirst,aLast); //protection agains parabols ets
+      Handle(Geom2d_Curve) tcurve = new Geom2d_TrimmedCurve(result,aFirst,aLast); //protection against parabols ets
       Geom2dConvert_ApproxCurve approx (tcurve, Precision::Approximation(), 
         GeomAbs_C1, 100, 6 );
       if ( approx.HasResult() )
index 06ae83df81ee98b10c99af30da17d2faedf5a624..9c37ffbcb5714996d586cdcaaa8cf44f965e30bb 100644 (file)
@@ -60,7 +60,7 @@ public:
   //!
   //! <until> gives the level of type until which requests are taken
   //! into account. For subshapes of the type <until> no rebuild
-  //! and futher exploring are done.
+  //! and further exploring are done.
   //! ACTUALLY, NOT IMPLEMENTED BELOW  TopAbs_FACE
   //!
   //! <buildmode> says how to do on a SOLID,SHELL ... if one of its
@@ -76,7 +76,7 @@ public:
   //!
   //! <until> gives the level of type until which requests are taken
   //! into account. For subshapes of the type <until> no rebuild
-  //! and futher exploring are done.
+  //! and further exploring are done.
   //!
   //! NOTE: each subshape can be replaced by shape of the same type
   //! or by shape containing only shapes of that type (for
index ca873ab849a0003b7a2e6c8e55f90b0d0eb97d85..4d8e71d1a6ff2181c0378fd833e82ca795119877 100644 (file)
@@ -79,7 +79,7 @@ Handle(Geom_BSplineCurve) ShapeConstruct::ConvertCurveToBSpline(const Handle(Geo
     if(C3D->IsKind(STANDARD_TYPE(Geom_Conic))) 
       MaxDeg = Min(MaxDeg,6);
  
-    Handle(Geom_Curve) tcurve = new Geom_TrimmedCurve(C3D,First,Last); //protection agains parabols ets
+    Handle(Geom_Curve) tcurve = new Geom_TrimmedCurve(C3D,First,Last); //protection against parabols ets
     try {
       OCC_CATCH_SIGNALS
       GeomConvert_ApproxCurve approx (tcurve, Tol3d, Continuity, MaxSegments, MaxDeg);
@@ -115,7 +115,7 @@ Handle(Geom2d_BSplineCurve) ShapeConstruct::ConvertCurveToBSpline(const Handle(G
 {
   Handle(Geom2d_BSplineCurve) aBSpline2d;
   if(C2D->IsKind(STANDARD_TYPE(Geom2d_Conic))) {
-    Handle(Geom2d_Curve) tcurve = new Geom2d_TrimmedCurve(C2D,First,Last); //protection agains parabols ets
+    Handle(Geom2d_Curve) tcurve = new Geom2d_TrimmedCurve(C2D,First,Last); //protection against parabols ets
     Geom2dConvert_ApproxCurve approx (tcurve, Tol2d, Continuity, MaxSegments, MaxDegree);
     if ( approx.HasResult() )
       aBSpline2d = approx.Curve();
@@ -241,7 +241,7 @@ Handle(Geom_BSplineSurface) ShapeConstruct::ConvertSurfaceToBSpline(const Handle
 #ifdef OCCT_DEBUG
        Standard_Integer nbOfSpan = (anApprox.Surface()->NbUKnots()-1)*(anApprox.Surface()->NbVKnots()-1);
        std::cout << "\terror = " << anApprox.MaxError() << "\tspans = " << nbOfSpan << std::endl;
-       std::cout << " Surface is aproximated with continuity " << (GeomAbs_Shape)cnt <<std::endl;
+       std::cout << " Surface is approximated with continuity " << (GeomAbs_Shape)cnt <<std::endl;
 #endif
        S = anApprox.Surface();
        Handle(Geom_BSplineSurface) Bsc = Handle(Geom_BSplineSurface)::DownCast(S);
index 33d666671276df4f6f5e6dcb2c1073c24afb5c28..17b6021c6228121476c1a7ec8f24320e4b01197d 100644 (file)
@@ -20,7 +20,7 @@
 //:p9 abv 11.03.99 PRO7226 #489490: make IsAnIsoparametric to find nearest case
 //:q1 abv 15.03.99 (pdn) PRO7226 #525030: limit NextValueOfUV() by tolerance
 //:q5 abv 19.03.99 code improvement
-//:q9 abv 23.03.99 PRO7226.stp #489490: cashe for projecting end points
+//:q9 abv 23.03.99 PRO7226.stp #489490: cache for projecting end points
 //#78 rln 12.03.99 S4135: checking spatial closure with myPreci
 //    pdn 12.03.99 S4135: creating pcurve with minimal length in the case of densed points
 //    abv 29.03.99 IsAnIsoparametric with Precision::Confusion
@@ -541,7 +541,7 @@ Standard_Boolean ShapeConstruct_ProjectCurveOnSurface::PerformByProjLib(Handle(G
                                                Standard_Integer theIdx, // Index of objective coord: 1 ~ X, 2 ~ Y
                                                Standard_Real thePeriod, // Period on objective coord
                                                Standard_Integer theSavedPoint, // Point number to choose period
-                                               Standard_Real theSavedParam) // Param from cashe to choose period
+                                               Standard_Real theSavedParam) // Param from cache to choose period
 {
   Standard_Real aSavedParam;
   Standard_Integer aSavedPoint;
@@ -846,7 +846,7 @@ Standard_Boolean ShapeConstruct_ProjectCurveOnSurface::PerformByProjLib(Handle(G
   c2d = getLine(points, params, pnt2d, myPreci, isRecompute, isFromCasheLine);
   if(!c2d.IsNull())
   {
-    // fill cashe
+    // fill cache
     Standard_Boolean ChangeCycle = Standard_False;
     if(myNbCashe>0 && myCashe3d[0].Distance(points(1)) > myCashe3d[0].Distance(points(nbrPnt)) &&
        myCashe3d[0].Distance(points(nbrPnt))<Precision::Confusion())
@@ -1041,7 +1041,7 @@ Standard_Boolean ShapeConstruct_ProjectCurveOnSurface::PerformByProjLib(Handle(G
           }
           else
           {
-            //:q9 abv 23 Mar 99: use cashe as 1st approach
+            //:q9 abv 23 Mar 99: use cache as 1st approach
             Standard_Integer j; // svv #1
             for (j = 0; j < myNbCashe; ++j)
             {
@@ -1162,7 +1162,7 @@ Standard_Boolean ShapeConstruct_ProjectCurveOnSurface::PerformByProjLib(Handle(G
       while (firstX < uf)  {  firstX += Up;   pnt2d (1).SetX(firstX);  }
       while (firstX > ul)  {  firstX -= Up;   pnt2d (1).SetX(firstX);  }
     }
-    // shift first point, according to cashe
+    // shift first point, according to cache
     if (mySurf->Surface()->IsUPeriodic() && isFromCashe) {
       Standard_Real aMinParam = uf, aMaxParam = ul;
       while (aMinParam > aSavedPoint.X()) {
@@ -1230,7 +1230,7 @@ Standard_Boolean ShapeConstruct_ProjectCurveOnSurface::PerformByProjLib(Handle(G
       while (firstY < vf)  {  firstY += Vp;  pnt2d (1).SetY(firstY);  }
       while (firstY > vl)  {  firstY -= Vp;  pnt2d (1).SetY(firstY);  }
     }
-    // shift first point, according to cashe
+    // shift first point, according to cache
     if (mySurf->Surface()->IsVPeriodic() && isFromCashe) {
       Standard_Real aMinParam = vf, aMaxParam = vl;
       while (aMinParam > aSavedPoint.Y()) {
@@ -1470,7 +1470,7 @@ Standard_Boolean ShapeConstruct_ProjectCurveOnSurface::PerformByProjLib(Handle(G
     }
   }
 
-  //:q9: fill cashe
+  //:q9: fill cache
   myNbCashe = 2;
   if(ChangeCycle) {  // msv 10.08.04: avoid using of uninitialised field
   //if(myCashe3d[0].Distance(points(1))>Precision::Confusion() &&
index 539083067b5208884d5bb4118e95e6a2e5d329bf..c4cf5ad752edf1fde6e560e5e09b7e49102b5114 100644 (file)
@@ -101,7 +101,7 @@ public:
   //! Default value is True
   Standard_EXPORT Standard_Integer& AdjustOverDegenMode();
   
-  //! Returns the status of last Peform
+  //! Returns the status of last Perform
   Standard_EXPORT Standard_Boolean Status (const ShapeExtend_Status theStatus) const;
   
   //! Computes the projection of 3d curve onto a surface using the
index fa14cf4261ff413fbcc109c1a18ed213b39bdc3b..0745e84b1ed75a71bef91f746845a33b4a3a7e17 100644 (file)
@@ -686,7 +686,7 @@ Standard_Boolean ShapeCustom_BSplineRestriction::ConvertSurface(const Handle(Geo
               std::cout << " iteration = " << i
                 <<    "\terror = " << anApprox.MaxError()
                 <<    "\tspans = " << nbOfSpan << std::endl;
-              std::cout<< " Surface is aproximated with continuity " << IntegerToGeomAbsShape(Min(aCU,aCV)) <<std::endl;
+              std::cout<< " Surface is approximated with continuity " << IntegerToGeomAbsShape(Min(aCU,aCV)) <<std::endl;
             }
 #endif
             S = anApprox.Surface();
@@ -757,7 +757,7 @@ Standard_Boolean ShapeCustom_BSplineRestriction::ConvertSurface(const Handle(Geo
       }
       else { 
 #ifdef OCCT_DEBUG
-        std::cout<<" Approximation iteration out. Surface is not aproximated." << std::endl;
+        std::cout<<" Approximation iteration out. Surface is not approximated." << std::endl;
 #endif
         return Standard_False;
       }
@@ -767,7 +767,7 @@ Standard_Boolean ShapeCustom_BSplineRestriction::ConvertSurface(const Handle(Geo
       { MaxDeg = myParameters->GMaxDegree(); continue;}
       else {
 #ifdef OCCT_DEBUG      
-        std::cout<<" Approximation iteration out. Surface is not aproximated." << std::endl;
+        std::cout<<" Approximation iteration out. Surface is not approximated." << std::endl;
 #endif
         return Standard_False;
       }
@@ -893,7 +893,7 @@ Standard_Boolean ShapeCustom_BSplineRestriction::ConvertCurve(const Handle(Geom_
 
   if (aCurve->IsKind(STANDARD_TYPE(Geom_Conic)) && myParameters->ConvertCurve3d()) {
     Handle(Geom_BSplineCurve) aBSpline;
-    Handle(Geom_Curve) tcurve = new Geom_TrimmedCurve(aCurve,First,Last); //protection agains parabols ets
+    Handle(Geom_Curve) tcurve = new Geom_TrimmedCurve(aCurve,First,Last); //protection against parabols ets
     GeomConvert_ApproxCurve approx (tcurve, myTol3d/*Precision::Approximation()*/, myContinuity2d, myNbMaxSeg, 6 );
     if ( approx.HasResult() )
       aBSpline = approx.Curve();
@@ -1201,7 +1201,7 @@ Standard_Boolean ShapeCustom_BSplineRestriction::ConvertCurve2d(const Handle(Geo
 
   if (aCurve->IsKind(STANDARD_TYPE(Geom2d_Conic)) && myParameters->ConvertCurve2d()) {
     Handle(Geom2d_BSplineCurve) aBSpline2d;
-    Handle(Geom2d_Curve) tcurve = new Geom2d_TrimmedCurve(aCurve,First,Last); //protection agains parabols ets
+    Handle(Geom2d_Curve) tcurve = new Geom2d_TrimmedCurve(aCurve,First,Last); //protection against parabols ets
     Geom2dConvert_ApproxCurve approx (tcurve, myTol2d,myContinuity2d,myNbMaxSeg , 6 );
     if ( approx.HasResult() )
       aBSpline2d = approx.Curve();
index 1f0f6bfe40c372992e32eff4124bc42f986d828e..b4d3d1ecd1f8746fb4d8b31dee1f2bead00588f0 100644 (file)
@@ -39,7 +39,7 @@ class gp_Pnt;
 class ShapeCustom_BSplineRestriction;
 DEFINE_STANDARD_HANDLE(ShapeCustom_BSplineRestriction, ShapeCustom_Modification)
 
-//! this tool intended for aproximation surfaces, curves and pcurves with
+//! this tool intended for approximation surfaces, curves and pcurves with
 //! specified degree , max number of segments, tolerance 2d, tolerance 3d. Specified
 //! continuity can be reduced if approximation with specified continuity was not done.
 class ShapeCustom_BSplineRestriction : public ShapeCustom_Modification
@@ -51,10 +51,10 @@ public:
   //! Empty constructor.
   Standard_EXPORT ShapeCustom_BSplineRestriction();
   
-  //! Initializes with specified parameters of aproximation.
+  //! Initializes with specified parameters of approximation.
   Standard_EXPORT ShapeCustom_BSplineRestriction(const Standard_Boolean anApproxSurfaceFlag, const Standard_Boolean anApproxCurve3dFlag, const Standard_Boolean anApproxCurve2dFlag, const Standard_Real aTol3d, const Standard_Real aTol2d, const GeomAbs_Shape aContinuity3d, const GeomAbs_Shape aContinuity2d, const Standard_Integer aMaxDegree, const Standard_Integer aNbMaxSeg, const Standard_Boolean Degree, const Standard_Boolean Rational);
   
-  //! Initializes with specified parameters of aproximation.
+  //! Initializes with specified parameters of approximation.
   Standard_EXPORT ShapeCustom_BSplineRestriction(const Standard_Boolean anApproxSurfaceFlag, const Standard_Boolean anApproxCurve3dFlag, const Standard_Boolean anApproxCurve2dFlag, const Standard_Real aTol3d, const Standard_Real aTol2d, const GeomAbs_Shape aContinuity3d, const GeomAbs_Shape aContinuity2d, const Standard_Integer aMaxDegree, const Standard_Integer aNbMaxSeg, const Standard_Boolean Degree, const Standard_Boolean Rational, const Handle(ShapeCustom_RestrictionParameters)& aModes);
   
   //! Returns Standard_True if  the  face <F> has   been
@@ -92,54 +92,54 @@ public:
   //! <Tol> are not significant.
   //!
   //! <NewE> is the new  edge created from  <E>.  <NewF>
-  //! is the new face created from <F>. They may be usefull.
+  //! is the new face created from <F>. They may be useful.
   Standard_EXPORT Standard_Boolean NewCurve2d (const TopoDS_Edge& E, const TopoDS_Face& F, const TopoDS_Edge& NewE, const TopoDS_Face& NewF, Handle(Geom2d_Curve)& C, Standard_Real& Tol) Standard_OVERRIDE;
   
   //! Returns Standard_True if  the surface has been modified.
-  //! if flag IsOf equals Standard_True Offset surfaces are aproximated to Offset
+  //! if flag IsOf equals Standard_True Offset surfaces are approximated to Offset
   //! if Standard_False to BSpline
   Standard_EXPORT Standard_Boolean ConvertSurface (const Handle(Geom_Surface)& aSurface, Handle(Geom_Surface)& S, const Standard_Real UF, const Standard_Real UL, const Standard_Real VF, const Standard_Real VL, const Standard_Boolean IsOf = Standard_True);
   
   //! Returns Standard_True if  the curve has been modified.
-  //! if flag IsOf equals Standard_True Offset curves are aproximated to Offset
+  //! if flag IsOf equals Standard_True Offset curves are approximated to Offset
   //! if Standard_False to BSpline
   Standard_EXPORT Standard_Boolean ConvertCurve (const Handle(Geom_Curve)& aCurve, Handle(Geom_Curve)& C, const Standard_Boolean IsConvert, const Standard_Real First, const Standard_Real Last, Standard_Real& TolCur, const Standard_Boolean IsOf = Standard_True);
   
   //! Returns Standard_True if the pcurve has been modified.
-  //! if flag IsOf equals Standard_True Offset pcurves are aproximated to Offset
+  //! if flag IsOf equals Standard_True Offset pcurves are approximated to Offset
   //! if Standard_False to BSpline
   Standard_EXPORT Standard_Boolean ConvertCurve2d (const Handle(Geom2d_Curve)& aCurve, Handle(Geom2d_Curve)& C, const Standard_Boolean IsConvert, const Standard_Real First, const Standard_Real Last, Standard_Real& TolCur, const Standard_Boolean IsOf = Standard_True);
   
-  //! Sets tolerance of aproximation for curve3d and surface
+  //! Sets tolerance of approximation for curve3d and surface
     void SetTol3d (const Standard_Real Tol3d);
   
-  //! Sets tolerance of aproximation for curve2d
+  //! Sets tolerance of approximation for curve2d
     void SetTol2d (const Standard_Real Tol2d);
   
   //! Returns (modifiable) the flag which defines whether the
-  //! surface is aproximated.
+  //! surface is approximated.
     Standard_Boolean& ModifyApproxSurfaceFlag();
   
   //! Returns (modifiable) the flag which defines whether the
-  //! curve3d is aproximated.
+  //! curve3d is approximated.
     Standard_Boolean& ModifyApproxCurve3dFlag();
   
-  //! Returns (modifiable) the flag which defines whether the curve2d is aproximated.
+  //! Returns (modifiable) the flag which defines whether the curve2d is approximated.
     Standard_Boolean& ModifyApproxCurve2dFlag();
   
-  //! Sets continuity3d for aproximation curve3d and surface.
+  //! Sets continuity3d for approximation curve3d and surface.
     void SetContinuity3d (const GeomAbs_Shape Continuity3d);
   
-  //! Sets continuity3d for aproximation curve2d.
+  //! Sets continuity3d for approximation curve2d.
     void SetContinuity2d (const GeomAbs_Shape Continuity2d);
   
-  //! Sets max degree for aproximation.
+  //! Sets max degree for approximation.
     void SetMaxDegree (const Standard_Integer MaxDegree);
   
-  //! Sets max number of segments for aproximation.
+  //! Sets max number of segments for approximation.
     void SetMaxNbSegments (const Standard_Integer MaxNbSegments);
   
-  //! Sets priority  for aproximation curves and surface.
+  //! Sets priority  for approximation curves and surface.
   //! If Degree is True approximation is made with degree less
   //! then specified MaxDegree at the expense of number of spanes.
   //! If Degree is False approximation is made with number of
@@ -162,13 +162,13 @@ public:
   //! what geometry should be converted to BSplines.
     void SetRestrictionParameters (const Handle(ShapeCustom_RestrictionParameters)& aModes);
   
-  //! Returns error for aproximation curve3d.
+  //! Returns error for approximation curve3d.
     Standard_Real Curve3dError() const;
   
-  //! Returns error for aproximation curve2d.
+  //! Returns error for approximation curve2d.
     Standard_Real Curve2dError() const;
   
-  //! Returns error for aproximation surface.
+  //! Returns error for approximation surface.
     Standard_Real SurfaceError() const;
   
   Standard_EXPORT Standard_Boolean NewPoint (const TopoDS_Vertex& V, gp_Pnt& P, Standard_Real& Tol) Standard_OVERRIDE;
@@ -177,10 +177,10 @@ public:
   
   Standard_EXPORT GeomAbs_Shape Continuity (const TopoDS_Edge& E, const TopoDS_Face& F1, const TopoDS_Face& F2, const TopoDS_Edge& NewE, const TopoDS_Face& NewF1, const TopoDS_Face& NewF2) Standard_OVERRIDE;
   
-  //! Returns error for aproximation surface, curve3d and curve2d.
+  //! Returns error for approximation surface, curve3d and curve2d.
   Standard_EXPORT Standard_Real MaxErrors (Standard_Real& aCurve3dErr, Standard_Real& aCurve2dErr) const;
   
-  //! Returns number for aproximation surface, curve3d and curve2d.
+  //! Returns number for approximation surface, curve3d and curve2d.
   Standard_EXPORT Standard_Integer NbOfSpan() const;
 
 
index 3ae0eda192e0baca0ac0481763df80486522de5e..918b1e1d3bc075bca1f4f2fae048fa76b8893afb 100644 (file)
@@ -38,7 +38,7 @@ class ShapeCustom_ConvertToBSpline;
 DEFINE_STANDARD_HANDLE(ShapeCustom_ConvertToBSpline, ShapeCustom_Modification)
 
 //! implement a modification for BRepTools
-//! Modifier algortihm. Converts Surface of
+//! Modifier algorithm. Converts Surface of
 //! Linear Exctrusion, Revolution and Offset
 //! surfaces into BSpline Surface according to
 //! flags.
@@ -50,17 +50,17 @@ public:
   
   Standard_EXPORT ShapeCustom_ConvertToBSpline();
   
-  //! Sets mode for convertion of Surfaces of Linear
+  //! Sets mode for conversion of Surfaces of Linear
   //! extrusion.
   Standard_EXPORT void SetExtrusionMode (const Standard_Boolean extrMode);
   
-  //! Sets mode for convertion of Surfaces of Revolution.
+  //! Sets mode for conversion of Surfaces of Revolution.
   Standard_EXPORT void SetRevolutionMode (const Standard_Boolean revolMode);
   
-  //! Sets mode for convertion of Offset surfaces.
+  //! Sets mode for conversion of Offset surfaces.
   Standard_EXPORT void SetOffsetMode (const Standard_Boolean offsetMode);
   
-  //! Sets mode for convertion of Plane surfaces.
+  //! Sets mode for conversion of Plane surfaces.
   Standard_EXPORT void SetPlaneMode (const Standard_Boolean planeMode);
   
   //! Returns Standard_True if the face <F> has  been
@@ -95,7 +95,7 @@ public:
   //! <Tol> are not significant.
   //!
   //! <NewE> is the new  edge created from  <E>.  <NewF>
-  //! is the new face created from <F>. They may be usefull.
+  //! is the new face created from <F>. They may be useful.
   Standard_EXPORT Standard_Boolean NewCurve2d (const TopoDS_Edge& E, const TopoDS_Face& F, const TopoDS_Edge& NewE, const TopoDS_Face& NewF, Handle(Geom2d_Curve)& C, Standard_Real& Tol) Standard_OVERRIDE;
   
   //! Returns Standard_True if the Vertex  <V> has a new
index 963669e891f535d07f34b5d97e7fd6e353cc09fc..3035ccbad15f4ac6b2f27595fedb98aa845f19fe 100644 (file)
@@ -38,7 +38,7 @@ class ShapeCustom_ConvertToRevolution;
 DEFINE_STANDARD_HANDLE(ShapeCustom_ConvertToRevolution, ShapeCustom_Modification)
 
 //! implements a modification for the BRepTools
-//! Modifier algortihm. Converts all elementary
+//! Modifier algorithm. Converts all elementary
 //! surfaces into surfaces of revolution.
 class ShapeCustom_ConvertToRevolution : public ShapeCustom_Modification
 {
@@ -80,7 +80,7 @@ public:
   //! <Tol> are not significant.
   //!
   //! <NewE> is the new  edge created from  <E>.  <NewF>
-  //! is the new face created from <F>. They may be usefull.
+  //! is the new face created from <F>. They may be useful.
   Standard_EXPORT Standard_Boolean NewCurve2d (const TopoDS_Edge& E, const TopoDS_Face& F, const TopoDS_Edge& NewE, const TopoDS_Face& NewF, Handle(Geom2d_Curve)& C, Standard_Real& Tol) Standard_OVERRIDE;
   
   //! Returns Standard_True if the Vertex  <V> has a new
index b1eecaf58e7a878c7a5c0b43d0ff692cc776edf4..537127a2b7911dcb8eafc273b1e3c871a6ca42f1 100644 (file)
@@ -38,7 +38,7 @@ class ShapeCustom_DirectModification;
 DEFINE_STANDARD_HANDLE(ShapeCustom_DirectModification, ShapeCustom_Modification)
 
 //! implements a modification for the BRepTools
-//! Modifier algortihm. Will redress indirect
+//! Modifier algorithm. Will redress indirect
 //! surfaces.
 class ShapeCustom_DirectModification : public ShapeCustom_Modification
 {
@@ -80,7 +80,7 @@ public:
   //! <Tol> are not significant.
   //!
   //! <NewE> is the new  edge created from  <E>.  <NewF>
-  //! is the new face created from <F>. They may be usefull.
+  //! is the new face created from <F>. They may be useful.
   Standard_EXPORT Standard_Boolean NewCurve2d (const TopoDS_Edge& E, const TopoDS_Face& F, const TopoDS_Edge& NewE, const TopoDS_Face& NewF, Handle(Geom2d_Curve)& C, Standard_Real& Tol) Standard_OVERRIDE;
   
   //! Returns Standard_True if the Vertex  <V> has a new
index 049be4d31850b4c656e6a03f8944d04cf4e5fc26..a2981078576ac25e2b358b40944bd501530425d8 100644 (file)
@@ -26,9 +26,9 @@
 class Geom_Surface;
 
 
-//! Converts a surface to the analitical form with given
+//! Converts a surface to the analytical form with given
 //! precision. Conversion is done only the surface is bspline
-//! of bezier and this can be approximed by some analytical
+//! of bezier and this can be approximated by some analytical
 //! surface with that precision.
 class ShapeCustom_Surface 
 {
index 9d8e744fe9eb8893baed83f2117417dedd71bb5d..15d5d0a39388fcebf2fbcbf9880e9d68b669bd74 100644 (file)
@@ -62,7 +62,7 @@ ShapeCustom_SweptToElementary::ShapeCustom_SweptToElementary()
 
 //=======================================================================
 //function : IsToConvert
-//purpose  : auxilary (Analyze surface: is it to be converted?)
+//purpose  : auxiliary (Analyze surface: is it to be converted?)
 //=======================================================================
 static Standard_Boolean IsToConvert (const Handle(Geom_Surface) &S,
                                     Handle(Geom_SweptSurface) &SS)
index 4a9b51ea6f92b8e01deef79b9875a3a434caf94f..a3d8c954ae3a456a1026e5676e0b8bdfc0a1fd6e 100644 (file)
@@ -37,7 +37,7 @@ class ShapeCustom_SweptToElementary;
 DEFINE_STANDARD_HANDLE(ShapeCustom_SweptToElementary, ShapeCustom_Modification)
 
 //! implements a modification for the BRepTools
-//! Modifier algortihm. Converts all elementary
+//! Modifier algorithm. Converts all elementary
 //! surfaces into surfaces of revolution.
 class ShapeCustom_SweptToElementary : public ShapeCustom_Modification
 {
@@ -79,7 +79,7 @@ public:
   //! <Tol> are not significant.
   //!
   //! <NewE> is the new  edge created from  <E>.  <NewF>
-  //! is the new face created from <F>. They may be usefull.
+  //! is the new face created from <F>. They may be useful.
   Standard_EXPORT Standard_Boolean NewCurve2d (const TopoDS_Edge& E, const TopoDS_Face& F, const TopoDS_Edge& NewE, const TopoDS_Face& NewF, Handle(Geom2d_Curve)& C, Standard_Real& Tol) Standard_OVERRIDE;
   
   //! Returns Standard_True if the Vertex  <V> has a new
index 8b67fa41afb889f2d423c1364967b100a4e002d2..c1b71dae653a5de9122f22e90f5fe0ca459570f4 100644 (file)
@@ -55,7 +55,7 @@
 //! The method failed, case 6
 //! The method failed, case 7
 //! The method failed, case 8
-//! The mathod failed (any of FAIL# occured)
+//! The method failed (any of FAIL# occurred)
 enum ShapeExtend_Status
 {
 ShapeExtend_OK,
index 3bdaeb4be61cdfcbe60d459be6ebfb2debc88826..4ef48536af3616724f0da81dda65dcce54b16949 100644 (file)
@@ -303,7 +303,7 @@ void ShapeExtend_WireData::Add (const Handle(ShapeExtend_WireData) &wire,
     }
   }
   
-  //non-manifold edges for non-manifold wire shoud be added at end
+  //non-manifold edges for non-manifold wire should be added at end
   for (i=1; i <=aNMEdges.Length(); i++)
     myEdges->Append(aNMEdges.Value(i));
   
index 09790ee6d100c85af4e2b475f288d5b843d0f878..68b9280cacaa77401806cd60dc784fa086f06821 100644 (file)
@@ -63,31 +63,31 @@ class ShapeExtend_WireData : public Standard_Transient
 
 public:
 
-  
+
   //! Empty constructor, creates empty wire with no edges
   Standard_EXPORT ShapeExtend_WireData();
-  
+
   //! Constructor initializing the data from TopoDS_Wire. Calls Init(wire,chained).
   Standard_EXPORT ShapeExtend_WireData(const TopoDS_Wire& wire, const Standard_Boolean chained = Standard_True, const Standard_Boolean theManifoldMode = Standard_True);
-  
+
   //! Copies data from another WireData
   Standard_EXPORT void Init (const Handle(ShapeExtend_WireData)& other);
-  
+
   //! Loads an already existing wire
   //! If <chained> is True (default), edges are added in the
   //! sequence as they are explored by TopoDS_Iterator
   //! Else, if <chained> is False, wire is explored by
   //! BRepTools_WireExplorer and it is guaranteed that edges will
-  //! be sequencially connected.
+  //! be sequentially connected.
   //! Remark : In the latter case it can happen that not all edges
   //! will be found (because of limitations of
   //! BRepTools_WireExplorer for disconnected wires and wires
   //! with seam edges).
   Standard_EXPORT Standard_Boolean Init (const TopoDS_Wire& wire, const Standard_Boolean chained = Standard_True, const Standard_Boolean theManifoldMode = Standard_True);
-  
+
   //! Clears data about Wire.
   Standard_EXPORT void Clear();
-  
+
   //! Computes the list of seam edges
   //! By default (direct call), computing is enforced
   //! For indirect call (from IsSeam) it is redone only if not yet
@@ -97,10 +97,10 @@ public:
   //! Each sense has its own PCurve, the one for FORWARD
   //! must be set in first
   Standard_EXPORT void ComputeSeams (const Standard_Boolean enforce = Standard_True);
-  
+
   //! Does a circular permutation in order to set <num>th edge last
   Standard_EXPORT void SetLast (const Standard_Integer num);
-  
+
   //! When the wire contains at least one degenerated edge, sets it
   //! as last one
   //! Note   : It is useful to process pcurves, for instance, while the pcurve
@@ -108,7 +108,7 @@ public:
   //! it is computed after the other edges have been computed and
   //! chained.
   Standard_EXPORT void SetDegeneratedLast();
-  
+
   //! Adds an edge to a wire, being defined (not yet ended)
   //! This is the plain, basic, function to add an edge
   //! <num> = 0 (D): Appends at end
@@ -116,18 +116,18 @@ public:
   //! else, Insert before <num>
   //! Remark : Null Edge is simply ignored
   Standard_EXPORT void Add (const TopoDS_Edge& edge, const Standard_Integer atnum = 0);
-  
+
   //! Adds an entire wire, considered as a list of edges
   //! Remark : The wire is assumed to be ordered (TopoDS_Iterator
   //! is used)
   Standard_EXPORT void Add (const TopoDS_Wire& wire, const Standard_Integer atnum = 0);
-  
+
   //! Adds a wire in the form of WireData
   Standard_EXPORT void Add (const Handle(ShapeExtend_WireData)& wire, const Standard_Integer atnum = 0);
-  
+
   //! Adds an edge or a wire invoking corresponding method Add
   Standard_EXPORT void Add (const TopoDS_Shape& shape, const Standard_Integer atnum = 0);
-  
+
   //! Adds an edge to start or end of <me>, according to <mode>
   //! 0: at end, as direct
   //! 1: at end, as reversed
@@ -135,7 +135,7 @@ public:
   //! 3: at start, as reversed
   //! < 0: no adding
   Standard_EXPORT void AddOriented (const TopoDS_Edge& edge, const Standard_Integer mode);
-  
+
   //! Adds a wire to start or end of <me>, according to <mode>
   //! 0: at end, as direct
   //! 1: at end, as reversed
@@ -143,64 +143,64 @@ public:
   //! 3: at start, as reversed
   //! < 0: no adding
   Standard_EXPORT void AddOriented (const TopoDS_Wire& wire, const Standard_Integer mode);
-  
+
   //! Adds an edge or a wire invoking corresponding method
   //! AddOriented
   Standard_EXPORT void AddOriented (const TopoDS_Shape& shape, const Standard_Integer mode);
-  
+
   //! Removes an Edge, given its rank. By default removes the last edge.
   Standard_EXPORT void Remove (const Standard_Integer num = 0);
-  
+
   //! Replaces an edge at the given
   //! rank number <num> with new one. Default is last edge (<num> = 0).
   Standard_EXPORT void Set (const TopoDS_Edge& edge, const Standard_Integer num = 0);
-  
+
   //! Reverses the sense of the list and the orientation of each Edge
   //! This method should be called when either wire has no seam edges
   //! or face is not available
   Standard_EXPORT void Reverse();
-  
+
   //! Reverses the sense of the list and the orientation of each Edge
   //! The face is necessary for swapping pcurves for seam edges
   //! (first pcurve corresponds to orientation FORWARD, and second to
   //! REVERSED; when edge is reversed, pcurves must be swapped)
   //! If face is NULL, no swapping is performed
   Standard_EXPORT void Reverse (const TopoDS_Face& face);
-  
+
   //! Returns the count of currently recorded edges
   Standard_EXPORT Standard_Integer NbEdges() const;
-  
+
   //! Returns the count of currently recorded non-manifold edges
   Standard_EXPORT Standard_Integer NbNonManifoldEdges() const;
-  
+
   //! Returns <num>th nonmanifold Edge
   Standard_EXPORT TopoDS_Edge NonmanifoldEdge (const Standard_Integer num) const;
-  
+
   //! Returns sequence of non-manifold edges
   //! This sequence can be not empty if wire data set in manifold mode but
   //! initial wire has INTERNAL orientation or contains INTERNAL edges
   Standard_EXPORT Handle(TopTools_HSequenceOfShape) NonmanifoldEdges() const;
-  
+
   //! Returns mode defining manifold wire data or not.
   //! If manifold that nonmanifold edges will not be not
   //! consider during operations(previous behaviour)
   //! and they will be added only in result wire
   //! else non-manifold edges will consider during operations
   Standard_EXPORT Standard_Boolean& ManifoldMode();
-  
+
   //! Returns <num>th Edge
   Standard_EXPORT TopoDS_Edge Edge (const Standard_Integer num) const;
-  
+
   //! Returns the index of the edge
   //! If the edge is a seam the orientation is also checked
   //! Returns 0 if the edge is not found in the list
   Standard_EXPORT Standard_Integer Index (const TopoDS_Edge& edge);
-  
+
   //! Tells if an Edge is seam (see ComputeSeams)
   //! An edge is considered as seam if it presents twice in
   //! the edge list, once as FORWARD and once as REVERSED.
   Standard_EXPORT Standard_Boolean IsSeam (const Standard_Integer num);
-  
+
   //! Makes TopoDS_Wire using
   //! BRep_Builder (just creates the TopoDS_Wire object and adds
   //! all edges into it). This method should be called when
@@ -209,7 +209,7 @@ public:
   //! vertices. In case if adjacent edges do not share the same
   //! vertices the resulting TopoDS_Wire will be invalid.
   Standard_EXPORT TopoDS_Wire Wire() const;
-  
+
   //! Makes TopoDS_Wire using
   //! BRepAPI_MakeWire. Class BRepAPI_MakeWire merges
   //! geometrically coincided vertices and can disturb
index a302efa04f9c87a7e7dca9c1872c390d2f22b360..cb1485254830a9101a24b8303fbe59c03393f34e 100644 (file)
@@ -297,7 +297,7 @@ TopoDS_Shape ShapeFix::RemoveSmallEdges (TopoDS_Shape& Shape,
 
 //=======================================================================
 //function : ReplaceVertex
-//purpose  : auxilary for FixVertexPosition
+//purpose  : auxiliary for FixVertexPosition
 //=======================================================================
 static TopoDS_Edge ReplaceVertex(const TopoDS_Edge& theEdge,
                                  const gp_Pnt theP,
@@ -327,7 +327,7 @@ static TopoDS_Edge ReplaceVertex(const TopoDS_Edge& theEdge,
 
 //=======================================================================
 //function : getNearPoint
-//purpose  : auxilary for FixVertexPosition
+//purpose  : auxiliary for FixVertexPosition
 //=======================================================================
 static Standard_Real getNearPoint(const TColgp_SequenceOfPnt& aSeq1,
                                   const TColgp_SequenceOfPnt& aSeq2,
@@ -360,7 +360,7 @@ static Standard_Real getNearPoint(const TColgp_SequenceOfPnt& aSeq1,
 
 //=======================================================================
 //function : getNearestEdges
-//purpose  : auxilary for FixVertexPosition
+//purpose  : auxiliary for FixVertexPosition
 //=======================================================================
 static Standard_Boolean getNearestEdges(TopTools_ListOfShape& theLEdges,
                                         const TopoDS_Vertex theVert,
index 8dd22ff2eb41b64858a6288ac76cbb780bdfdb95..7feb87e3d35fb129364cbdc5dbaf6e34f94a5d07 100644 (file)
@@ -283,7 +283,7 @@ Standard_Boolean ShapeFix_ComposeShell::Status (const ShapeExtend_Status status)
 
 //=======================================================================
 //function : PointLineDeviation
-//purpose  : auxilary
+//purpose  : auxiliary
 //=======================================================================
 // Return (signed) deviation of point from line
 static Standard_Real PointLineDeviation (const gp_Pnt2d &p, const gp_Lin2d &line)
@@ -295,7 +295,7 @@ static Standard_Real PointLineDeviation (const gp_Pnt2d &p, const gp_Lin2d &line
 
 //=======================================================================
 //function : PointLinePosition
-//purpose  : auxilary
+//purpose  : auxiliary
 //=======================================================================
 // Define position of point relative to line
 static Standard_Integer PointLinePosition (const gp_Pnt2d &p, const gp_Lin2d &line, 
@@ -307,7 +307,7 @@ static Standard_Integer PointLinePosition (const gp_Pnt2d &p, const gp_Lin2d &li
 
 //=======================================================================
 //function : PointLinePosition
-//purpose  : auxilary
+//purpose  : auxiliary
 //=======================================================================
 // Define position of point relative to line
 static Standard_Integer PointLinePosition (const gp_Pnt2d &p, const gp_Lin2d &line)
@@ -318,7 +318,7 @@ static Standard_Integer PointLinePosition (const gp_Pnt2d &p, const gp_Lin2d &li
 
 //=======================================================================
 //function : ParamPointsOnLine
-//purpose  : auxilary
+//purpose  : auxiliary
 //=======================================================================
 // Compute parameter of point on line
 static inline Standard_Real ParamPointOnLine (const gp_Pnt2d &p, const gp_Lin2d &line)
@@ -328,7 +328,7 @@ static inline Standard_Real ParamPointOnLine (const gp_Pnt2d &p, const gp_Lin2d
 
 //=======================================================================
 //function : ParamPointsOnLine
-//purpose  : auxilary
+//purpose  : auxiliary
 //=======================================================================
 // Compute parameter of two points on line (as intersection of segment)
 static Standard_Real ParamPointsOnLine (const gp_Pnt2d &p1, const gp_Pnt2d &p2, 
@@ -354,7 +354,7 @@ static Standard_Real ParamPointsOnLine (const gp_Pnt2d &p1, const gp_Pnt2d &p2,
 
 //=======================================================================
 //function : ProjectPointOnLine
-//purpose  : auxilary
+//purpose  : auxiliary
 //=======================================================================
 // Compute projection of point on line
 static inline gp_Pnt2d ProjectPointOnLine (const gp_Pnt2d &p, const gp_Lin2d &line)
@@ -364,7 +364,7 @@ static inline gp_Pnt2d ProjectPointOnLine (const gp_Pnt2d &p, const gp_Lin2d &li
 
 //=======================================================================
 //function : ApplyContext
-//purpose  : auxilary
+//purpose  : auxiliary
 //=======================================================================
 // Apply context to one edge in the wire and put result into this wire
 static Standard_Integer ApplyContext (ShapeFix_WireSegment &wire, 
@@ -415,7 +415,7 @@ static Standard_Integer ApplyContext (ShapeFix_WireSegment &wire,
 
 //=======================================================================
 //function : IsCoincided
-//purpose  : auxilary
+//purpose  : auxiliary
 //=======================================================================
 // check points coincidence
 static inline Standard_Boolean IsCoincided (const gp_Pnt2d &p1, const gp_Pnt2d &p2,
@@ -433,7 +433,7 @@ static inline Standard_Boolean IsCoincided (const gp_Pnt2d &p1, const gp_Pnt2d &
 
 //=======================================================================
 //function : GetPatchIndex
-//purpose  : auxilary
+//purpose  : auxiliary
 //=======================================================================
 
 // computes index for the patch by given parameter Param
@@ -504,7 +504,7 @@ void ShapeFix_ComposeShell::LoadWires (ShapeFix_SequenceOfWireSegment &seqw) con
     if(isNonManifold)
     {
       Handle(ShapeExtend_WireData) sbwd = new ShapeExtend_WireData ( wire ,Standard_True,Standard_False);
-      //pdn protection againts of wires w/o edges
+      //pdn protection against wires w/o edges
       Standard_Integer nbEdges =  sbwd->NbEdges();
       if(nbEdges)
       {
@@ -516,7 +516,7 @@ void ShapeFix_ComposeShell::LoadWires (ShapeFix_SequenceOfWireSegment &seqw) con
     else
     {
       //splitting wires containing manifold and non-manifold parts on a separate
-      //wire segment    
+      //wire segment
       Handle(ShapeExtend_WireData) sbwdM = new ShapeExtend_WireData();
       Handle(ShapeExtend_WireData) sbwdNM = new ShapeExtend_WireData();
       sbwdNM->ManifoldMode() = Standard_False;
@@ -721,7 +721,7 @@ Standard_Integer ShapeFix_ComposeShell::ComputeCode (const Handle(ShapeExtend_Wi
 
 //=======================================================================
 //function : DistributeSplitPoints
-//purpose  : auxilary
+//purpose  : auxiliary
 //=======================================================================
 // After applying context to (seam) edge, distribute its indices on new edges,
 // according to their parameters on that edge
@@ -753,7 +753,7 @@ static void DistributeSplitPoints (const Handle(ShapeExtend_WireData) &sbwd,
 
 //=======================================================================
 //function : CheckByCurve3d
-//purpose  : auxilary
+//purpose  : auxiliary
 //=======================================================================
 static Standard_Integer CheckByCurve3d (const gp_Pnt &pos,
                                         const Handle(Geom_Curve) &c3d,
@@ -769,7 +769,7 @@ static Standard_Integer CheckByCurve3d (const gp_Pnt &pos,
 
 //=======================================================================
 //function : DefinePatch
-//purpose  : auxilary
+//purpose  : auxiliary
 //=======================================================================
 static void DefinePatch (ShapeFix_WireSegment &wire, const Standard_Integer code,
                          const Standard_Boolean isCutByU, const Standard_Integer cutIndex,
@@ -788,7 +788,7 @@ static void DefinePatch (ShapeFix_WireSegment &wire, const Standard_Integer code
 
 //=======================================================================
 //function : GetGridResolution
-//purpose  : auxilary
+//purpose  : auxiliary
 //=======================================================================
 static Standard_Real GetGridResolution(const Handle(TColStd_HArray1OfReal) SplitValues,
                                        const Standard_Integer cutIndex)
@@ -828,7 +828,7 @@ ShapeFix_WireSegment ShapeFix_ComposeShell::SplitWire (ShapeFix_WireSegment &wir
   // Processing edge by edge (assuming that split points are sorted along the wire)
   for ( Standard_Integer i = 1; i <= wire.NbEdges(); i++ ) {
     
-    // for already splitted seam edge, redistribute its splitting points 
+    // for already split seam edge, redistribute its splitting points 
     Standard_Integer nsplit = ApplyContext ( wire, i, Context() );
     if ( nsplit !=1 ) {
       DistributeSplitPoints ( wire.WireData(), myFace, i, nsplit, indexes, values );
@@ -1052,7 +1052,7 @@ ShapeFix_WireSegment ShapeFix_ComposeShell::SplitWire (ShapeFix_WireSegment &wir
       }
       else vertices.Append ( V );
 
-      // When edge is about to be splitted, copy end vertices to protect
+      // When edge is about to be split, copy end vertices to protect
       // original shape from increasing tolerance after fixing SameParameter
       if ( ! splitted ) {
         //smh#8
@@ -1732,12 +1732,12 @@ void ShapeFix_ComposeShell::SplitByGrid (ShapeFix_SequenceOfWireSegment &seqw)
   Standard_Real Umin,Umax,Vmin,Vmax;
   myGrid->Bounds(Umin,Umax,Vmin,Vmax);
 
-  //value of precision to define number of patch should be the same as used in the definitin position of point realtively to seam edge (TOLINT)
+  //value of precision to define number of patch should be the same as used in the definitin position of point relatively to seam edge (TOLINT)
   Standard_Real pprec = TOLINT;//::Precision::PConfusion();
    Standard_Integer i = 1;
   if(myClosedMode)
   {
-    //for closed mode when only one patch exist and location of the splitting line is coinsident with first joint value
+    //for closed mode when only one patch exist and location of the splitting line is coincident with first joint value
     //Therefore in this case it is necessary to move all wire segments in the range of the patch between first and last joint
     //values. Then all wire segments are lie between -period and period in order to have valid split ranges after splitting.
     //Because for closed mode cut index always equal to 1 and parts of segments after splitting always should have index either (0,1) or (1,2). 
@@ -1930,7 +1930,7 @@ void ShapeFix_ComposeShell::BreakWires (ShapeFix_SequenceOfWireSegment &seqw)
 
 //=======================================================================
 //function : IsShortSegment
-//purpose  : auxilary
+//purpose  : auxiliary
 //=======================================================================
 // BUC60035 2053: check if wire segment is very short (in order not to skip it)
 // 0  - long
@@ -1976,7 +1976,7 @@ static Standard_Integer IsShortSegment (const ShapeFix_WireSegment &seg,
 
 //=======================================================================
 //function : IsSamePatch
-//purpose  : auxilary
+//purpose  : auxiliary
 //=======================================================================
 static Standard_Boolean IsSamePatch (const ShapeFix_WireSegment wire,
                                      const Standard_Integer NU,
@@ -2269,7 +2269,7 @@ void ShapeFix_ComposeShell::CollectWires (ShapeFix_SequenceOfWireSegment &wires,
 
   // Check if some wires are short in 3d (lie entirely inside one vertex), 
   // and if yes try to merge them with others
-  //pdn The short seqments are stil plased in "in" sequence.
+  //pdn The short seqments are still placed in "in" sequence.
 
   for ( i=1; i <= seqw.Length(); i++ ) {
     if ( shorts(i) != 1 ||
index 3b8195a358edcb48dd1fc2573a2e0241ff85bb80..83c927c87680848f07340fb13a757be48eb4e9bb 100644 (file)
@@ -67,7 +67,7 @@ DEFINE_STANDARD_HANDLE(ShapeFix_ComposeShell, ShapeFix_Root)
 //! lines in the periodic direction, as necessary to split all
 //! the wires (whole parametrical range of a face)
 //! In this mode, some regularization procedures are performed
-//! (indexation of splitted segments by patch numbers), and it is
+//! (indexation of split segments by patch numbers), and it is
 //! expected to be more reliable and robust in case of bad shapes
 //!
 //! - if ClosedMode is True, when everything on a periodic surfaces
@@ -116,7 +116,7 @@ public:
   //! resulting shape; the only result is filled context
   //! where splittings are recorded.
   //!
-  //! NOTE: If edge is splitted, it is replaced by wire, and
+  //! NOTE: If edge is split, it is replaced by wire, and
   //! order of edges in the wire corresponds to FORWARD orientation
   //! of the edge.
   Standard_EXPORT void SplitEdges();
@@ -169,13 +169,13 @@ protected:
   
   //! Splits edges in the wire by given indices of edges and
   //! parameters on them. Returns resulting wire and vertices
-  //! corresponding to splitting parameters. If two consequtive
+  //! corresponding to splitting parameters. If two consecutive
   //! splitting points are too near one to another (with tolerance
   //! of edge), edge is divided in single point. In the same way,
   //! splitting which is too near to end of edge, is not applied
   //! (end vertex is returned instead).
   //!
-  //! NOTE: If edge is splitted, it is replaced by wire, and
+  //! NOTE: If edge is split, it is replaced by wire, and
   //! order of edges in the wire corresponds to FORWARD orientation
   //! of the edge.
   Standard_EXPORT ShapeFix_WireSegment SplitWire (ShapeFix_WireSegment& wire, TColStd_SequenceOfInteger& indexes, const TColStd_SequenceOfReal& values, TopTools_SequenceOfShape& vertices, const TColStd_SequenceOfInteger& segcodes, const Standard_Boolean cutbyu, const Standard_Integer cutindex);
@@ -225,7 +225,7 @@ protected:
   //! After that, each wire segment lies on its own patch of grid.
   Standard_EXPORT void BreakWires (ShapeFix_SequenceOfWireSegment& seqw);
   
-  //! Collect set of wire segments (already splitted) into closed
+  //! Collect set of wire segments (already split) into closed
   //! wires. This is done by traversing all the segments in allowed
   //! directions, starting only from the REVERSED and FORWARD and
   //! taking EXTERNAL as necessary in fork points. Forks are detected
index 1cbde04eba06f409a7c3e771a331d8fa6ed45828..c33d2308135127de0703d930259a4c21cfdc81c1 100644 (file)
@@ -187,11 +187,11 @@ Standard_Boolean ShapeFix_Edge::FixAddPCurve (const TopoDS_Edge& edge,
 //#12 rln 17/03/98 making this method to be more general : if a curve is
 //parallel to one iso let us translate it parallely in the direction to another
 //iso (which is located farther from aC2d). Thus, the requirement for closeness
-//to the surface bounds may be avoid.
+//to the surface bounds may be avoided.
 //For example, instead of Abs(theLoc.X()-uf) <= Tol) ... elseif (...-ul..)...
 //the comparison if (Abs(theLoc.X()-uf) <= Abs(theLoc.X()-ul)) .... can be used.
 
-//The reason of this fix #12 is that seam is not sure to lie on the bound :
+//The reason for fix #12 is that seam is not certain to lie on the bound :
 //if a surface is periodic the whole contour may be shifted (e.g. ProSTEP,
 //file ug_exhaust-A.stp entity #284920)
 
@@ -265,7 +265,7 @@ static Handle(Geom2d_Curve) TranslatePCurve (const Handle(Geom_Surface)& aSurf,
       return theNewL2d;
     }
 */
-    // Other case not yet implemented
+    // TODO Other case not yet implemented
 #ifdef OCCT_DEBUG
     std::cout << "TranslatePCurve not performed" << std::endl;
 #endif
@@ -391,7 +391,7 @@ static Handle(Geom2d_Curve) TranslatePCurve (const Handle(Geom_Surface)& aSurf,
              oldFirst += shift;
              oldLast += shift;
            }
-           //pdn 30.06.2000 work arounf on beziers
+           //pdn 30.06.2000 work around on beziers
            Standard_Real oldFirstCurve1 = oldFirst, oldLastCurve1 = oldLast;
            if(Curve2dPtr->IsKind(STANDARD_TYPE(Geom2d_BezierCurve))) {
              
index f2183264d4cf374ddff6efc2723585a892fb37ac..2c3100198e3457d8e3ef46dd73abf345670ce58d 100644 (file)
@@ -282,7 +282,7 @@ void ShapeFix_EdgeProjAux::Init2d (const Standard_Real preci)
 
   cf = theCurve2d->FirstParameter();
   cl = theCurve2d->LastParameter();
-  //pdn cutting pcurve by suface bounds
+  //pdn cutting pcurve by surface bounds
   if (Precision::IsInfinite(cf)||Precision::IsInfinite(cl)) {
     if(theCurve2d->IsKind(STANDARD_TYPE(Geom2d_Line))) {
       Standard_Real uf,ul,vf,vl;
@@ -357,7 +357,7 @@ void ShapeFix_EdgeProjAux::Init2d (const Standard_Real preci)
       else {
         cf=-10000;
         cl= 10000;
-        //pdn not cutted by bounds
+        //pdn not cut by bounds
 #ifdef OCCT_DEBUG
         std::cout<<"Infinite Surface"<<std::endl;
 #endif 
index 31ce32cc7a99340093578f3a2eb5301cb32ac45f..71b46ebee3ed8acb91ef87166af2f2fcdad98b05 100644 (file)
@@ -280,8 +280,8 @@ void ShapeFix_Face::Add (const TopoDS_Wire& wire)
 
 //=======================================================================
 //function : SplitWire
-//purpose  : auxilary - try to split wire (it is needed if some segments
-//           were removed in ShapeFix_Wire::FixSelfIntersection()
+//purpose  : auxiliary - try to split wire (it is needed if some segments
+//           were removed in ShapeFix_Wire::FixSelfIntersection() )
 //=======================================================================
 static Standard_Boolean SplitWire(const TopoDS_Face &face, const TopoDS_Wire& wire,
                                   TopTools_SequenceOfShape& aResWires)
@@ -349,7 +349,7 @@ static Standard_Boolean SplitWire(const TopoDS_Face &face, const TopoDS_Wire& wi
 
   if(aResWires.Length()>1) {
 #ifdef OCCT_DEBUG
-    std::cout<<"Wire was splitted on "<<aResWires.Length()<<" wires"<< std::endl;
+    std::cout<<"Wire was split on "<<aResWires.Length()<<" wires"<< std::endl;
 #endif
   }
 
@@ -581,7 +581,7 @@ Standard_Boolean ShapeFix_Face::Perform()
         TopTools_SequenceOfShape aLoopWires;
         if(NeedFix ( myFixLoopWiresMode) && FixLoopWire(aLoopWires)) {
           if (aLoopWires.Length() > 1)
-            SendWarning ( wire, Message_Msg ( "FixAdvFace.FixLoopWire.MSG0" ) );// Wire was splitted on several wires
+            SendWarning ( wire, Message_Msg ( "FixAdvFace.FixLoopWire.MSG0" ) );// Wire was split on several wires
           myStatus |= ShapeExtend::EncodeStatus ( ShapeExtend_DONE7 );
           fixed = Standard_True;
           Standard_Integer k=1;
@@ -801,9 +801,9 @@ static Standard_Real FindBestInterval (TColgp_SequenceOfPnt2d &intervals)
 
 //=======================================================================
 //function : FixAddNaturalBound
-//purpose  : 
+//purpose  :
 //=======================================================================
-// Detect missing natural bounary on spherical surfaces and add it if 
+// Detect missing natural boundary on spherical surfaces and add it if
 // necessary
 //pdn 981202: add natural bounds if missing (on sphere only)
 //:abv 28.08.01: rewritten and extended for toruses
@@ -859,7 +859,7 @@ Standard_Boolean ShapeFix_Face::FixAddNaturalBound()
   if ( !IsSurfaceUVPeriodic (mySurf->Adaptor3d()) || ShapeAnalysis::IsOuterBound (myFace) ) 
     return Standard_False;
 
-  // Collect informations on free intervals in U and V
+  // Collect information on free intervals in U and V
   TColgp_SequenceOfPnt2d intU, intV, centers;
   Standard_Real SUF, SUL, SVF, SVL;
   mySurf->Bounds(SUF, SUL, SVF, SVL);
@@ -1419,7 +1419,7 @@ Standard_Boolean ShapeFix_Face::FixOrientation(TopTools_DataMapOfShapeListOfShap
 
 //=======================================================================
 //function : CheckWire
-//purpose  : auxilary for FixMissingSeam
+//purpose  : auxiliary for FixMissingSeam
 //=======================================================================
 //:i7 abv 18 Sep 98: ProSTEP TR9 r0501-ug.stp: algorithm of fixing missing seam changed
 // test whether the wire is opened on period of periodical surface
@@ -1675,7 +1675,7 @@ Standard_Boolean ShapeFix_Face::FixMissingSeam()
   B.Add ( S, w2 );
   ShapeAnalysis::GetFaceUVBounds (TopoDS::Face(S), m2[0][0], m2[0][1], m2[1][0], m2[1][1]);
    
-  // For the case when surface is closed only in one direction it is necesary to check
+  // For the case when surface is closed only in one direction it is necessary to check
   // validity of orientation of the open wires in parametric space. 
   // In case of U closed surface wire with minimal V coordinate should be directed in positive direction by U
   // In case of V closed surface wire with minimal U coordinate should be directed in negative direction by V
@@ -2196,7 +2196,7 @@ Standard_Boolean ShapeFix_Face::FixLoopWire(TopTools_SequenceOfShape& aResWires)
   if(isDone && aResWires.Length() >1)
   {
 #ifdef OCCT_DEBUG
-    std::cout<<"Wire was splitted on "<<aResWires.Length()<<" wires"<< std::endl;
+    std::cout<<"Wire was split on "<<aResWires.Length()<<" wires"<< std::endl;
 #endif
   }
 
index 9fc7d070a66097fc39610c5eae01186da51c737f..405ed66b7f92857b914a9e13c2b3bebf63f738bb 100644 (file)
@@ -141,7 +141,7 @@ public:
   //! same support
     TopoDS_Face Face() const;
   
-  //! Returns resulting shape (Face or Shell if splitted)
+  //! Returns resulting shape (Face or Shell if split)
   //! To be used instead of Face() if FixMissingSeam involved
     TopoDS_Shape Result() const;
   
@@ -206,7 +206,7 @@ public:
   Standard_EXPORT Standard_Boolean FixSmallAreaWire (const Standard_Boolean theIsRemoveSmallFace);
   
   //! Detects if wire has a loop and fixes this situation by splitting on the few parts.
-  //! if wire has a loops and it was splitted Status was set to value ShapeExtend_DONE6.
+  //! if wire has a loops and it was split Status was set to value ShapeExtend_DONE6.
   Standard_EXPORT Standard_Boolean FixLoopWire (TopTools_SequenceOfShape& aResWires);
   
   //! Detects and fixes the special case when face has more than one wire
index 21253278f262ab804fd480514d01cfdcf39f38d2..37e457704c8e1ffae870b7b910f49012a64d5545 100644 (file)
@@ -181,7 +181,7 @@ ShapeFix_FixSmallFace::ShapeFix_FixSmallFace()
   }
   theMaxDev *= 1.00001; 
   
-  //Cretate new vertex with mean point
+  //Create new vertex with mean point
   TopoDS_Vertex theSharedVertex;
   theBuilder.MakeVertex(theSharedVertex);
   theBuilder.UpdateVertex( theSharedVertex, gp_Pnt(thePosition), theMaxDev+theMaxTol/2 );
@@ -256,7 +256,7 @@ ShapeFix_FixSmallFace::ShapeFix_FixSmallFace()
                              }
        }
        myShape = Context()->Apply(myShape);
-    //Fixing of missing pcurves on new edges, if thay were inserted
+    //Fixing of missing pcurves on new edges, if they were inserted
        if (done)
          {
            if (myShape.IsNull()) return myShape;
@@ -455,25 +455,25 @@ ShapeFix_FixSmallFace::ShapeFix_FixSmallFace()
       }
     }
   if (theFirstVer.IsNull() || theSecondVer.IsNull()) return theNewEdge;
-  //Cretate new edge 
+  //Create new edge
   theBuilder.MakeEdge(theNewEdge);
   Standard_Real f, l, fp1, lp1/*, fp2, lp2*/;
   TopLoc_Location loc;
   Handle(Geom_Curve) the3dcurve;
   the3dcurve = BRep_Tool::Curve(E1, f, l);
   Handle(Geom2d_Curve) the2dcurve1, the2dcurve2, thenew1, thenew2;
-  if (!F1.IsNull())   
+  if (!F1.IsNull())
     {
       the2dcurve1 = BRep_Tool::CurveOnSurface(E1, F1, fp1, lp1);
-      if(!the2dcurve1.IsNull() && fp1!=f && lp1!=l) GeomLib::SameRange(Precision::Confusion(), the2dcurve1, fp1, lp1, f, l, thenew1);  
+      if(!the2dcurve1.IsNull() && fp1!=f && lp1!=l) GeomLib::SameRange(Precision::Confusion(), the2dcurve1, fp1, lp1, f, l, thenew1);
     }
-      
- /* if (!F2.IsNull())   
+
+ /* if (!F2.IsNull())
     {
       the2dcurve2 = BRep_Tool::CurveOnSurface(E2, F2, fp2, lp2);
-      if(!the2dcurve2.IsNull()) GeomLib::SameRange(Precision::Confusion(), the2dcurve2, fp2, lp2, f, l, thenew2); 
+      if(!the2dcurve2.IsNull()) GeomLib::SameRange(Precision::Confusion(), the2dcurve2, fp2, lp2, f, l, thenew2);
     }*/
-  
+
   Standard_Real maxdev; 
   if ((BRep_Tool::Tolerance(theFirstVer))<=(BRep_Tool::Tolerance(theSecondVer))) 
     maxdev = (BRep_Tool::Tolerance(theSecondVer));
index c7e500c0bd5ba4884ae67c7eb06291d54d368b32..e5f268724a2288b8939df29d454bb5b7fae6742f 100644 (file)
@@ -209,7 +209,7 @@ Standard_Boolean ShapeFix_IntersectionTool::CutEdge(const TopoDS_Edge &edge,
         if(tc->BasisCurve()->IsKind(STANDARD_TYPE(Geom2d_Line))) {
           BRep_Builder B;
           B.Range(edge,Min(pend,cut),Max(pend,cut));
-          if( Abs(pend-lp)<Precision::PConfusion() ) { // cut from the begining
+          if( Abs(pend-lp)<Precision::PConfusion() ) { // cut from the beginning
             Standard_Real cut3d = (cut-fp)*(b-a)/(lp-fp);
             B.Range(edge, a+cut3d, b, Standard_True);
             iscutline = Standard_True;
@@ -320,7 +320,7 @@ Standard_Boolean ShapeFix_IntersectionTool::SplitEdge1(const Handle(ShapeExtend_
 
 //=======================================================================
 //function : SplitEdge2
-//purpose  : auxilary: split edge[a,b] om two part e1[a,param1]
+//purpose  : auxiliary: split edge[a,b] om two part e1[a,param1]
 //                     and e2[param2,b] using vertex vert
 //                     (remove segment (param1,param2) from edge)
 //=======================================================================
@@ -716,7 +716,7 @@ Standard_Boolean ShapeFix_IntersectionTool::UnionVertexes(const Handle(ShapeExte
 
 //=======================================================================
 //function : CreateBoxes2d
-//purpose  : auxilary
+//purpose  : auxiliary
 //=======================================================================
 static Bnd_Box2d CreateBoxes2d(const Handle(ShapeExtend_WireData)& sewd, 
                                       const TopoDS_Face& face,
@@ -754,7 +754,7 @@ static Bnd_Box2d CreateBoxes2d(const Handle(ShapeExtend_WireData)& sewd,
 
 //=======================================================================
 //function : SelectIntPnt
-//purpose  : auxilary
+//purpose  : auxiliary
 //=======================================================================
 static void SelectIntPnt(const Geom2dInt_GInter& Inter,
                          IntRes2d_IntersectionPoint& IP,
@@ -785,7 +785,7 @@ static void SelectIntPnt(const Geom2dInt_GInter& Inter,
 
 //=======================================================================
 //function : FindVertAndSplitEdge
-//purpose  : auxilary
+//purpose  : auxiliary
 //=======================================================================
 Standard_Boolean ShapeFix_IntersectionTool::FindVertAndSplitEdge
            (const Standard_Real param1,
index 404267b5a10ee62a2d29a92791b786c28f98094a..c15adc4061a012732577c4e36faf93c749c3fe75 100644 (file)
@@ -50,37 +50,37 @@ class ShapeFix_Shape : public ShapeFix_Root
 
 public:
 
-  
+
   //! Empty Constructor
   Standard_EXPORT ShapeFix_Shape();
-  
+
   //! Initislises by shape.
   Standard_EXPORT ShapeFix_Shape(const TopoDS_Shape& shape);
-  
+
   //! Initislises by shape.
   Standard_EXPORT void Init (const TopoDS_Shape& shape);
-  
+
   //! Iterates on sub- shape and performs fixes
   Standard_EXPORT Standard_Boolean Perform (const Message_ProgressRange& theProgress = Message_ProgressRange());
-  
+
   //! Returns resulting shape
   Standard_EXPORT TopoDS_Shape Shape() const;
-  
+
   //! Returns tool for fixing solids.
     Handle(ShapeFix_Solid) FixSolidTool() const;
-  
+
   //! Returns tool for fixing shells.
     Handle(ShapeFix_Shell) FixShellTool() const;
-  
+
   //! Returns tool for fixing faces.
     Handle(ShapeFix_Face) FixFaceTool() const;
-  
+
   //! Returns tool for fixing wires.
     Handle(ShapeFix_Wire) FixWireTool() const;
-  
+
   //! Returns tool for fixing edges.
     Handle(ShapeFix_Edge) FixEdgeTool() const;
-  
+
   //! Returns the status of the last Fix.
   //! This can be a combination of the following flags:
   //! ShapeExtend_DONE1: some free edges were fixed
@@ -90,43 +90,43 @@ public:
   //! ShapeExtend_DONE5: some free solids were fixed
   //! ShapeExtend_DONE6: shapes in compound(s) were fixed
   Standard_EXPORT Standard_Boolean Status (const ShapeExtend_Status status) const;
-  
+
   //! Sets message registrator
   Standard_EXPORT virtual void SetMsgRegistrator (const Handle(ShapeExtend_BasicMsgRegistrator)& msgreg) Standard_OVERRIDE;
-  
+
   //! Sets basic precision value (also to FixSolidTool)
   Standard_EXPORT virtual void SetPrecision (const Standard_Real preci) Standard_OVERRIDE;
-  
+
   //! Sets minimal allowed tolerance (also to FixSolidTool)
   Standard_EXPORT virtual void SetMinTolerance (const Standard_Real mintol) Standard_OVERRIDE;
-  
+
   //! Sets maximal allowed tolerance (also to FixSolidTool)
   Standard_EXPORT virtual void SetMaxTolerance (const Standard_Real maxtol) Standard_OVERRIDE;
-  
+
   //! Returns (modifiable) the mode for applying fixes of
   //! ShapeFix_Solid, by default True.
     Standard_Integer& FixSolidMode();
-  
+
   //! Returns (modifiable) the mode for applying fixes of
   //! ShapeFix_Shell, by default True.
     Standard_Integer& FixFreeShellMode();
-  
+
   //! Returns (modifiable) the mode for applying fixes of
   //! ShapeFix_Face, by default True.
     Standard_Integer& FixFreeFaceMode();
-  
+
   //! Returns (modifiable) the mode for applying fixes of
   //! ShapeFix_Wire, by default True.
     Standard_Integer& FixFreeWireMode();
-  
+
   //! Returns (modifiable) the mode for applying
   //! ShapeFix::SameParameter after all fixes, by default True.
     Standard_Integer& FixSameParameterMode();
-  
+
   //! Returns (modifiable) the mode for applying
   //! ShapeFix::FixVertexPosition before all fixes, by default False.
     Standard_Integer& FixVertexPositionMode();
-  
+
   //! Returns (modifiable) the mode for fixing tolerances of vertices on whole shape
   //! after performing all fixes
     Standard_Integer& FixVertexTolMode();
@@ -138,10 +138,10 @@ public:
 
 protected:
 
-  
+
   //! Fixes same parameterization problem on the passed shape
   //! by updating tolerances of the corresponding topological
-  //! entitites.
+  //! entities.
   Standard_EXPORT void SameParameter (const TopoDS_Shape& shape, const Standard_Boolean enforce,
                                       const Message_ProgressRange& theProgress = Message_ProgressRange());
 
index 83f54f1f10e0097dfa2f9c72c654120cb1020393..fb8cd9bc6461debc33bfc13cb659b817c72c8801 100644 (file)
@@ -367,7 +367,7 @@ static Standard_Boolean AddMultiConexityFaces(TopTools_SequenceOfShape& Lface,
     }
   }
   
-  // Attemp to create shell from unconnected which have not only multiconnexity boundary.
+  // Attempt to create shell from unconnected which have not only multiconnexity boundary.
   TopTools_SequenceOfShape aTmpShells;
   if(!llPosibleShells.IsEmpty()) {
     TopTools_MapOfShape aMap;
@@ -390,7 +390,7 @@ static Standard_Boolean AddMultiConexityFaces(TopTools_SequenceOfShape& Lface,
     }
   }
   
-  //Add choosen faces to shells.
+  //Add chosen faces to shells.
   for(Standard_Integer k1 =1; k1 <= AddShapes.Length(); k1++) {
     TopTools_DataMapOfShapeInteger MapOtherShells;
     TopTools_MapOfShape dire,reve;
@@ -452,7 +452,7 @@ static Standard_Boolean AddMultiConexityFaces(TopTools_SequenceOfShape& Lface,
       continue;
     }
     
-    //Adds face to open shells containg the same multishared edges.
+    //Adds face to open shells containing the same multishared edges.
     //For nonmanifold mode creation ine shell from face and shells containing the same multishared edges.
     // If one face can be added to a few shells (case of compsolid) face will be added to each shell.
     done = Standard_True;
@@ -552,12 +552,11 @@ static void GetClosedShells(TopTools_SequenceOfShape& Shells, TopTools_SequenceO
 }
 //=======================================================================
 // function : GlueClosedCandidate
-// purpose  :Attemt firstly to create closed shells from sequence of open shells.
+// purpose  : First, attempt to create closed shells from sequence of open shells.
 //=======================================================================
 static void GlueClosedCandidate(TopTools_SequenceOfShape& OpenShells,
                                                     const TopTools_MapOfShape& aMapMultiConnectEdges,
                                                     TopTools_SequenceOfShape& aSeqNewShells)
-                                                    
 {
   // Creating new shells if some open shells contain the same free boundary.
   for(Standard_Integer i = 1 ; i < OpenShells.Length();i++ )  {
@@ -597,13 +596,12 @@ static void GlueClosedCandidate(TopTools_SequenceOfShape& OpenShells,
           isReversed = Standard_True;
         nbedge++;
       }
-      
+
       if(!isAddShell) continue;
       MapOtherShells.Bind(OpenShells.Value(j),isReversed);
     }
     if(MapOtherShells.IsEmpty()) continue;
-    
-    
+
     if (!MapOtherShells.IsEmpty())
     {
       // Case of compsolid when more than two shells have the same free boundary.
@@ -615,8 +613,8 @@ static void GlueClosedCandidate(TopTools_SequenceOfShape& OpenShells,
         aSeqCandidate.Append(aIt.Key());
       }
       
-      //Creation all possibly shells from choosen candidate.And
-      // addition of them to temporary sequence.
+      //Creation of all possible shells from chosen candidate.
+      // And the addition of them to temporary sequence.
       
       TopTools_SequenceOfShape aTmpSeq;
       for(Standard_Integer k =1; k <= aSeqCandidate.Length(); k++) {
@@ -638,7 +636,7 @@ static void GlueClosedCandidate(TopTools_SequenceOfShape& OpenShells,
           aTmpSeq.Append(aNewSh);
         }
       }
-      
+
       //Choice from temporary sequence shells contains different set of faces (case of compsolid) 
       TopTools_SequenceOfShape aRemainShells;
       GetClosedShells(aTmpSeq,aRemainShells);
@@ -796,9 +794,9 @@ static void CreateClosedShell(TopTools_SequenceOfShape& OpenShells,
                               const TopTools_MapOfShape& aMapMultiConnectEdges)
 {
   TopTools_SequenceOfShape aNewShells;
-  //Attemt firstly to create closed shells.
+  //First, attempt to create closed shells.
   GlueClosedCandidate(OpenShells,aMapMultiConnectEdges,aNewShells);
-  
+
   // Creating new shells if some open shells contain the multishared same edges.
   for(Standard_Integer i = 1 ; i < OpenShells.Length();i++ )  {
     Standard_Boolean isAddShell = Standard_False;
@@ -827,32 +825,32 @@ static void CreateClosedShell(TopTools_SequenceOfShape& OpenShells,
            || (edge2.Orientation() == TopAbs_REVERSED && reve.Contains(edge2)))
           isReversed = Standard_True;
       }
-      
+
       if(!isAddShell) continue;
       BRep_Builder aB;
-      
+
       for(TopExp_Explorer aExpF21(OpenShells.Value(j),TopAbs_FACE); aExpF21.More(); aExpF21.Next()) {
         TopoDS_Shape aFace = aExpF21.Current();
         if(isReversed)
           aFace.Reverse();
         aB.Add( aShell,aFace);
       }
-      
+
       OpenShells.ChangeValue(i) = aShell;
       OpenShells.Remove(j--);
     }
   }
+
   OpenShells.Append(aNewShells);
-  
+
 }
-  
+
 
 //=======================================================================
 // function : FixFaceOrientation
 // purpose  : 
 //=======================================================================
-  
+
 Standard_Boolean ShapeFix_Shell::FixFaceOrientation(
     const TopoDS_Shell& shell,
     const Standard_Boolean isAccountMultiConex,
index 0e1ab6279949a930d8c2d3b2720e658f172d93b4..4942e07c35ed756c2a6411bfd10d46e41808cd0e 100644 (file)
@@ -61,7 +61,7 @@ public:
   
   //! Fixes orientation of faces in shell.
   //! Changes orientation of face in the shell, if it is oriented opposite
-  //! to neigbouring faces. If it is not possible to orient all faces in the
+  //! to neighbouring faces. If it is not possible to orient all faces in the
   //! shell (like in case of mebious band), this method orients only subset
   //! of faces. Other faces are stored in Error compound.
   //! Modes :
index e04e1d775a2a34b8acaae26c555b86d7be24567e..631c4c936f6035e049de9fa955190c7a1a5b02c9 100644 (file)
@@ -465,7 +465,7 @@ Standard_Boolean ShapeFix_Solid::Perform(const Message_ProgressRange& theProgres
       if(!aShell.IsNull()) {
         TopoDS_Solid aSol = SolidFromShell(aShell);
         if(ShapeExtend::DecodeStatus(myStatus,ShapeExtend_DONE2)) {
-          SendWarning (Message_Msg ("FixAdvSolid.FixOrientation.MSG20"));// Orientaion of shell was corrected.
+          SendWarning (Message_Msg ("FixAdvSolid.FixOrientation.MSG20"));// Orientation of shell was corrected.
           Context()->Replace(tmpShape,aSol);
           tmpShape = aSol;
         }
@@ -485,7 +485,7 @@ Standard_Boolean ShapeFix_Solid::Perform(const Message_ProgressRange& theProgres
     TopTools_SequenceOfShape aSeqShells;
     TopTools_IndexedMapOfShape aMapSolids;
     if(CreateSolids(aResShape,aMapSolids)) {
-      SendWarning (Message_Msg ("FixAdvSolid.FixOrientation.MSG20"));// Orientaion of shell was corrected.. 
+      SendWarning (Message_Msg ("FixAdvSolid.FixOrientation.MSG20"));// Orientation of shell was corrected.. 
       if(aMapSolids.Extent() ==1) {
         TopoDS_Shape aResSol = aMapSolids.FindKey(1);
         if(aResShape.ShapeType() == TopAbs_SHELL && myCreateOpenSolidMode) {
index 44b774c2e20167830ee3e7ff8ff4e968bf451ab1..b50cdebdd0ce6263cc657c7b2ad01f57904d5462 100644 (file)
@@ -217,7 +217,7 @@ Standard_Boolean ShapeFix_SplitTool::CutEdge(const TopoDS_Edge &edge,
         if(tc->BasisCurve()->IsKind(STANDARD_TYPE(Geom2d_Line))) {
           BRep_Builder B;
           B.Range(edge,Min(pend,cut),Max(pend,cut));
-          if( Abs(pend-lp)<Precision::PConfusion() ) { // cut from the begining
+          if( Abs(pend-lp)<Precision::PConfusion() ) { // cut from the beginning
             Standard_Real cut3d = (cut-fp)*(b-a)/(lp-fp);
             if(cut3d <= Precision::PConfusion())
               return Standard_False;
index b0f2de88b0bc55eddc37692aebd58744db7c5913..fcfe71b8e973994b4cc3b3cd75f9052081edb86c 100644 (file)
@@ -607,7 +607,7 @@ Standard_Boolean ShapeFix_Wire::FixEdgeCurves()
          }
          if ( seq.Length() >0 ) { // supposed that edge is SP
 #ifdef OCCT_DEBUG
-           std::cout << "Edge going over singularity detected; splitted" << std::endl;
+           std::cout << "Edge going over singularity detected; split" << std::endl;
 #endif
       Standard_Boolean isFwd = ( E.Orientation() == TopAbs_FORWARD );
       E.Orientation ( TopAbs_FORWARD );
@@ -1024,7 +1024,7 @@ Standard_Boolean ShapeFix_Wire::FixSelfIntersection()
        boxes(i) = box;
       }
     }
-    
+
     Standard_Boolean isFail = Standard_False, isDone = Standard_False;
     for(Standard_Integer num1 = 1; num1 < nb-1; num1++) {
       Standard_Integer fin = (num1 == 1 ? nb-1 : nb);
@@ -1035,15 +1035,15 @@ Standard_Boolean ShapeFix_Wire::FixSelfIntersection()
          isDone |= LastFixStatus ( ShapeExtend_DONE1 );
        }
     }
-    
+
     if(isFail)
       myStatusSelfIntersection |= ShapeExtend::EncodeStatus ( ShapeExtend_FAIL3 );
     if(isDone)
       myStatusSelfIntersection |= ShapeExtend::EncodeStatus ( ShapeExtend_DONE5 );
 #ifdef OCCT_DEBUG
     if (StatusSelfIntersection (ShapeExtend_DONE5))
-      std::cout << "Warning: ShapeFix_Wire::FixSelfIntersection: Non ajacent intersection fixed" << std::endl;
-#endif   
+      std::cout << "Warning: ShapeFix_Wire::FixSelfIntersection: Non adjacent intersection fixed" << std::endl;
+#endif
 */
   }
 
@@ -2354,7 +2354,7 @@ Standard_Boolean ShapeFix_Wire::FixSelfIntersectingEdge (const Standard_Integer
 
 //=======================================================================
 //function : ComputeLocalDeviation
-//purpose  : auxilary
+//purpose  : auxiliary
 //=======================================================================
 static Standard_Real ComputeLocalDeviation (const TopoDS_Edge &edge, 
                                            const gp_Pnt &pint,const gp_Pnt &pnt,
@@ -2657,7 +2657,7 @@ Standard_Boolean ShapeFix_Wire::FixIntersectingEdges (const Standard_Integer num
 //function : FixIntersectingEdges
 //purpose  : 
 //=======================================================================
-//pdn 17.03.99 fixing non ajacent intersection by increasing tolerance of vertex
+//pdn 17.03.99 fixing non adjacent intersection by increasing tolerance of vertex
 
 Standard_Boolean ShapeFix_Wire::FixIntersectingEdges (const Standard_Integer num1,
                                                      const Standard_Integer num2)
index a266bc218b8d0d7029decf6a053d903adf87e37d..c3fa62a6c431b5227906701f96e0f7b8a523af6b 100644 (file)
@@ -62,7 +62,7 @@ DEFINE_STANDARD_HANDLE(ShapeFix_Wire, ShapeFix_Root)
 //! curve to vertices, or recomputing curves of the edge)
 //!
 //! When fix can be made in more than one way (e.g., either
-//! by increasing tolerance or shifting a vertex), it is choosen
+//! by increasing tolerance or shifting a vertex), it is chosen
 //! according to the flags:
 //! ModifyTopologyMode - allows modification of the topology.
 //! This flag can be set when fixing a wire on
@@ -338,12 +338,12 @@ public:
   //! - what is smaller), it should be removed
   //! It can be with no problem if its two vertices are the same
   //! Else, if lockvtx is False, it is removed and its end vertex
-  //! is put on the preceeding edge
+  //! is put on the preceding edge
   //! But if lockvtx is True, this edge must be kept ...
   Standard_EXPORT Standard_Boolean FixSmall (const Standard_Integer num, const Standard_Boolean lockvtx, const Standard_Real precsmall);
   
-  //! Fixes connected edges (preceeding and current)
-  //! Forces Vertices (end of preceeding-begin of current) to be
+  //! Fixes connected edges (preceding and current)
+  //! Forces Vertices (end of preceding-begin of current) to be
   //! the same one
   //! Tests with starting preci or, if given greater, <prec>
   //! If <prec> is -1 then MaxTolerance() is taken.
@@ -430,7 +430,7 @@ public:
   
     Standard_Boolean StatusNotches (const ShapeExtend_Status status) const;
   
-  //! Querying the status of perfomed API fixing procedures
+  //! Querying the status of performed API fixing procedures
   //! Each Status..() methods gives information about the last call to
   //! the corresponding Fix..() method of API level:
   //! OK  : no problems detected; nothing done
index b07e969260ebeb12dbd96651cec9aecf155cacb3..c8fb6b3e8a380b4ab2d88b64b4f2d46ee8155261 100644 (file)
@@ -293,7 +293,7 @@ static Standard_Real AdjustOnPeriodic3d (const Handle(Geom_Curve)& c,
 
   if (convert) 
   {
-    // Check that gap satisfies the precision - in this case no convertation produced
+    // Check that gap satisfies the precision - in this case no conversion produced
     if (cpnt1.Distance(vpnt) < preci && cpnt2.Distance(vpnt) < preci)
       return Standard_False;
 
@@ -499,7 +499,7 @@ static Standard_Real AdjustOnPeriodic3d (const Handle(Geom_Curve)& c,
          u2 = Proj.Parameter(index);
        }
       }
-      // Ajust parameters on periodic curves
+      // Adjust parameters on periodic curves
       u1 = AdjustOnPeriodic3d(c1,reversed1,first1,last1,u1);
       u2 = AdjustOnPeriodic3d(c2,!reversed2,first2,last2,u2);
       // Check points to satisfy distance criterium
@@ -549,7 +549,7 @@ static Standard_Real AdjustOnPeriodic3d (const Handle(Geom_Curve)& c,
            for (Standard_Integer i=1; i<=Extr.NbExtrema(); i++) 
             {
              Extr.Parameters(i,uu1,uu2);
-             // Ajust parameters on periodic curves
+             // Adjust parameters on periodic curves
              uu1 = AdjustOnPeriodic3d(c1,reversed1,first1,last1,uu1);
              uu2 = AdjustOnPeriodic3d(c2,!reversed2,first2,last2,uu2);
              pp1 = c1->Value(uu1); pp2 = c2->Value(uu2);
@@ -582,7 +582,7 @@ static Standard_Real AdjustOnPeriodic3d (const Handle(Geom_Curve)& c,
              Extr.Parameters(index1,uu1,uu2);
            }
            else Extr.LowerDistanceParameters(uu1,uu2);
-           // Ajust parameters on periodic curves
+           // Adjust parameters on periodic curves
            uu1 = AdjustOnPeriodic3d(c1,reversed1,first1,last1,uu1);
            uu2 = AdjustOnPeriodic3d(c2,!reversed2,first2,last2,uu2);
            // Check points to satisfy distance criterium
@@ -602,7 +602,7 @@ static Standard_Real AdjustOnPeriodic3d (const Handle(Geom_Curve)& c,
           }
        }
       }
-      
+
       try 
       {
         OCC_CATCH_SIGNALS
@@ -648,7 +648,7 @@ static Standard_Real AdjustOnPeriodic3d (const Handle(Geom_Curve)& c,
       }  
     }
   }
-  
+
   if (done1 || done2) 
   {
 
@@ -701,7 +701,7 @@ static Standard_Real AdjustOnPeriodic3d (const Handle(Geom_Curve)& c,
          Context()->Replace(aOldV,anewV);
        }
       }
-      
+
       Context()->Replace(E1,newE1);
       sbwd->Set(newE1,n1);
     }
@@ -717,7 +717,7 @@ static Standard_Real AdjustOnPeriodic3d (const Handle(Geom_Curve)& c,
       SFST.SetTolerance(newE2,::Precision::Confusion(),TopAbs_EDGE);
       B.SameRange(newE2,Standard_False);
 //      B.SameParameter(newE2,Standard_False);
-      
+
       //To keep NM vertices belonging initial edges
       TopoDS_Iterator aItv(E2,Standard_False);
       for( ; aItv.More(); aItv.Next()) {
@@ -744,7 +744,7 @@ static Standard_Real AdjustOnPeriodic3d (const Handle(Geom_Curve)& c,
 
 //=======================================================================
 //function : FixGap2d
-//purpose  : 
+//purpose  :
 //=======================================================================
 
 static Standard_Real AdjustOnPeriodic2d (const Handle(Geom2d_Curve)& pc,
@@ -819,19 +819,19 @@ static Standard_Real AdjustOnPeriodic2d (const Handle(Geom2d_Curve)& pc,
   Standard_Real first1, last1, first2, last2;
   if (reversed1) 
   { 
-    first1 = clast1;  last1 = cfirst1; 
+    first1 = clast1;  last1 = cfirst1;
   }
-  else           
+  else
   { 
-    first1 = cfirst1; last1 = clast1;  
+    first1 = cfirst1; last1 = clast1;
   }
-  if (reversed2) 
+  if (reversed2)
   { 
-    first2 = clast2;  last2 = cfirst2; 
+    first2 = clast2;  last2 = cfirst2;
   }
-  else           
+  else
   { 
-    first2 = cfirst2; last2 = clast2;  
+    first2 = cfirst2; last2 = clast2;
   }
 
   Handle(Geom2d_Curve) pc1 = PC1, pc2 = PC2;
@@ -840,14 +840,14 @@ static Standard_Real AdjustOnPeriodic2d (const Handle(Geom2d_Curve)& pc,
   Standard_Boolean basic = Standard_False;
   Standard_Boolean trimmed1 = Standard_False, offset1 = Standard_False;
   Standard_Real offval1 = 0.;
-  while (!basic) 
+  while (!basic)
   {
-    if (pc1->IsKind(STANDARD_TYPE(Geom2d_TrimmedCurve))) 
+    if (pc1->IsKind(STANDARD_TYPE(Geom2d_TrimmedCurve)))
     {
       pc1 = Handle(Geom2d_TrimmedCurve)::DownCast(pc1)->BasisCurve();
       trimmed1 = Standard_True;
     }
-    else if (pc1->IsKind(STANDARD_TYPE(Geom2d_OffsetCurve))) 
+    else if (pc1->IsKind(STANDARD_TYPE(Geom2d_OffsetCurve)))
     {
       Handle(Geom2d_OffsetCurve) oc = Handle(Geom2d_OffsetCurve)::DownCast(pc1);
       pc1 = oc->BasisCurve();
@@ -1150,7 +1150,7 @@ static Standard_Real AdjustOnPeriodic2d (const Handle(Geom2d_Curve)& pc,
            if (flag1==1) IP = IS.FirstPoint();
            else          IP = IS.LastPoint();
          }
-         // Ajust parameters on periodic curves
+         // Adjust parameters on periodic curves
          Standard_Real u1 = AdjustOnPeriodic2d(pc1,reversed1,first1,last1,
                                                IP.ParamOnFirst());
          Standard_Real u2 = AdjustOnPeriodic2d(pc2,!reversed2,first2,last2,
@@ -1177,7 +1177,7 @@ static Standard_Real AdjustOnPeriodic2d (const Handle(Geom2d_Curve)& pc,
         {
          Standard_Real u1, u2;
          Extr.LowerDistanceParameters(u1,u2);
-         // Ajust parameters on periodic curves
+         // Adjust parameters on periodic curves
          u1 = AdjustOnPeriodic2d(pc1,reversed1,first1,last1,u1);
          u2 = AdjustOnPeriodic2d(pc2,!reversed2,first2,last2,u2);
          // Check points to satisfy distance criterium
@@ -1232,7 +1232,7 @@ static Standard_Real AdjustOnPeriodic2d (const Handle(Geom2d_Curve)& pc,
            u2 = Proj.Parameter(index);
          }
        }
-       // Ajust parameters on periodic curves
+       // Adjust parameters on periodic curves
        u1 = AdjustOnPeriodic2d(pc1,reversed1,first1,last1,u1);
        u2 = AdjustOnPeriodic2d(pc2,!reversed2,first2,last2,u2);
        // Process special case of projection
@@ -1283,7 +1283,7 @@ static Standard_Real AdjustOnPeriodic2d (const Handle(Geom2d_Curve)& pc,
          if (cpnt1.Distance(ipnt2)<cpnt2.Distance(ipnt1)) u1 = ipar1;
          else                                             u2 = ipar2;
        }
-       // Ajust parameters on periodic curves
+       // Adjust parameters on periodic curves
        u1 = AdjustOnPeriodic2d(pc1,reversed1,first1,last1,u1);
        u2 = AdjustOnPeriodic2d(pc2,!reversed2,first2,last2,u2);
        // Check points to satisfy distance criterium
@@ -1458,7 +1458,7 @@ static Standard_Real AdjustOnPeriodic2d (const Handle(Geom2d_Curve)& pc,
                      if (flag==1) IP = IS.FirstPoint();
                      else         IP = IS.LastPoint();
                    }
-                   // Ajust parameters on periodic curve
+                   // Adjust parameters on periodic curve
                    uu = AdjustOnPeriodic2d(pc,(j==1? reversed1 : !reversed2),
                                             fpar,lpar,IP.ParamOnSecond());
                    if (j==1 && Abs(cfirst1-uu) > ::Precision::PConfusion())
index 0b1bdf0057be572896bdc396efaa6b12f9f37306..465c5f89412fde0c1ebc8aa67727f6789eac6eb1 100644 (file)
@@ -541,10 +541,10 @@ Standard_Boolean ShapeFix_Wireframe::CheckSmallEdges(TopTools_MapOfShape& theSma
     if (theEdgeList.Extent()) theFaceWithSmall.Bind(facet,theEdgeList);
   }
   
-  //========================================================================
-  // Author : enk 
-  // Purpose: Analizing of shape for small edges , if edge don't lie on face
-  //========================================================================
+  //=========================================================================
+  // Author : enk
+  // Purpose: Analyzing of shape for small edges, if edge doesn't lie on face
+  //=========================================================================
   for (TopExp_Explorer expw1(myShape,TopAbs_WIRE,TopAbs_FACE); expw1.More(); expw1.Next()) 
   {
     SAW.SetPrecision(Precision());
@@ -1021,7 +1021,7 @@ Standard_Boolean ShapeFix_Wireframe::MergeSmallEdges(TopTools_MapOfShape& theSma
                }
                else 
                 {
-                  //gka protection aginst removing circles
+                  //gka protection against removing circles
                   TopoDS_Edge ed = (take_next ? edge1 : edge2);
                   ShapeAnalysis_Edge sae;
                   Handle(Geom_Curve) c3d;
@@ -1469,7 +1469,7 @@ Standard_Boolean ShapeFix_Wireframe::MergeSmallEdges(TopTools_MapOfShape& theSma
                }
                else 
                 {
-                  //gka protection aginst removing circles
+                  //gka protection against removing circles
                   TopoDS_Edge ed = (take_next ? edge1 : edge2);
                   ShapeAnalysis_Edge sae;
                   Handle(Geom_Curve) c3d;
index 108f062bbd5c6c4b1078ad589e56eec9c056d3be..c086a7675ffafd154fd59a893a5cd3e94f969c5c 100644 (file)
@@ -57,7 +57,7 @@ public:
   
   //! Applies BRepTools_Modification to a shape,
   //! taking into account sharing of components of compounds.
-  //! if theMutableInput vat is set to true then imput shape S
+  //! if theMutableInput vat is set to true then input shape S
   //! can be modified during the modification process.
   Standard_EXPORT static TopoDS_Shape ApplyModifier (const TopoDS_Shape& S, 
                                                      const Handle(ShapeProcess_ShapeContext)& context, 
index 5459e92dbd7eae9afe87f31967020dba55bfc527..71bb627b9c6aa77ea26144cdaf27025a61d5fa46 100644 (file)
@@ -60,49 +60,34 @@ class ShapeUpgrade_RemoveInternalWires;
 class ShapeUpgrade_UnifySameDomain;
 
 
-//! This package provides tools
-//! for splitting and converting shapes by some criteria. It
-//! provides modifications of the kind when one topological
-//! object can be converted or splitted to several ones. In
-//! particular this package contains high level API classes which perform:
+//! This package provides tools for splitting and converting shapes by some criteria.
+//! It provides modifications of the kind when one topological
+//! object can be converted or split in to several ones.
+//! In particular this package contains high level API classes which perform:
 //! converting geometry of shapes up to given continuity,
 //! splitting revolutions by U to segments less than given value,
-//! converting to beziers,
-//! splitting closed faces.
+//! converting to beziers, splitting closed faces.
 class ShapeUpgrade 
 {
 public:
 
   DEFINE_STANDARD_ALLOC
 
-  
   //! Unifies same domain faces and edges of specified shape
-  Standard_EXPORT static Standard_Boolean C0BSplineToSequenceOfC1BSplineCurve (const Handle(Geom_BSplineCurve)& BS, Handle(TColGeom_HSequenceOfBoundedCurve)& seqBS);
-  
-  //! Converts C0 B-Spline curve into sequence of C1 B-Spline curves.
-  //! This method splits B-Spline at the knots with multiplicities
-  //! equal to degree, i.e. unlike method
-  //! GeomConvert::C0BSplineToArrayOfC1BSplineCurve this one does not
-  //! use any tolerance and therefore does not change the geometry of
-  //! B-Spline.
-  //! Returns True if C0 B-Spline was successfully splitted, else
-  //! returns False (if BS is C1 B-Spline).
-  Standard_EXPORT static Standard_Boolean C0BSplineToSequenceOfC1BSplineCurve (const Handle(Geom2d_BSplineCurve)& BS, Handle(TColGeom2d_HSequenceOfBoundedCurve)& seqBS);
-
-
-
-
-protected:
-
-
-
+  Standard_EXPORT static Standard_Boolean C0BSplineToSequenceOfC1BSplineCurve (const Handle(Geom_BSplineCurve)& BS,
+                                                                               Handle(TColGeom_HSequenceOfBoundedCurve)& seqBS);
 
+  //! Converts C0 B-Spline curve into sequence of C1 B-Spline curves.
+  //! This method splits B-Spline at the knots with multiplicities equal to degree,
+  //! i.e. unlike method GeomConvert::C0BSplineToArrayOfC1BSplineCurve
+  //! this one does not use any tolerance and therefore does not change the geometry of B-Spline.
+  //! Returns True if C0 B-Spline was successfully split,
+  //! else returns False (if BS is C1 B-Spline).
+  Standard_EXPORT static Standard_Boolean C0BSplineToSequenceOfC1BSplineCurve (const Handle(Geom2d_BSplineCurve)& BS,
+                                                                               Handle(TColGeom2d_HSequenceOfBoundedCurve)& seqBS);
 
 private:
 
-
-
-
 friend class ShapeUpgrade_Tool;
 friend class ShapeUpgrade_EdgeDivide;
 friend class ShapeUpgrade_ClosedEdgeDivide;
@@ -138,10 +123,4 @@ friend class ShapeUpgrade_UnifySameDomain;
 
 };
 
-
-
-
-
-
-
 #endif // _ShapeUpgrade_HeaderFile
index a411d6973765064e2cc59e6980d12773f8fe324a..07b335441efeaaeda33a66dd0dfc4e673cc616ba 100644 (file)
@@ -180,7 +180,7 @@ Standard_Boolean ShapeUpgrade_ClosedFaceDivide::SplitSurface()
          isUSplit = Standard_True;
        }
 #ifdef OCCT_DEBUG
-       else std::cout << "Warning: SU_ClosedFaceDivide: Thin face, not splitted" << std::endl;
+       else std::cout << "Warning: SU_ClosedFaceDivide: Thin face, not split" << std::endl;
 #endif
       }
     }
@@ -201,7 +201,7 @@ Standard_Boolean ShapeUpgrade_ClosedFaceDivide::SplitSurface()
          isUSplit = Standard_False;
        }
 #ifdef OCCT_DEBUG
-       else std::cout << "Warning: SU_ClosedFaceDivide: Thin face, not splitted" << std::endl;
+       else std::cout << "Warning: SU_ClosedFaceDivide: Thin face, not split" << std::endl;
 #endif
       }
     }
index 1b73d0af8c7c3c6f90006d62bfd849c99927e068..db34cc82dd6fba3d90581723daccada928d77203 100644 (file)
@@ -37,7 +37,6 @@ class ShapeUpgrade_ClosedFaceDivide : public ShapeUpgrade_FaceDivide
 
 public:
 
-  
   //! Creates empty  constructor.
   Standard_EXPORT ShapeUpgrade_ClosedFaceDivide();
   
@@ -48,35 +47,20 @@ public:
   //! from source face.
   Standard_EXPORT virtual Standard_Boolean SplitSurface() Standard_OVERRIDE;
   
-  //! Sets the number of cutting lines by which closed face
-  //! will be splitted. The resulting faces will be num+1.
+  //! Sets the number of cutting lines by which closed face will be split.
+  //! The resulting faces will be num+1.
   Standard_EXPORT void SetNbSplitPoints (const Standard_Integer num);
   
   //! Returns the number of splitting points
   Standard_EXPORT Standard_Integer GetNbSplitPoints() const;
 
 
-
-
   DEFINE_STANDARD_RTTIEXT(ShapeUpgrade_ClosedFaceDivide,ShapeUpgrade_FaceDivide)
 
-protected:
-
-
-
-
 private:
 
-
   Standard_Integer myNbSplit;
 
-
 };
 
-
-
-
-
-
-
 #endif // _ShapeUpgrade_ClosedFaceDivide_HeaderFile
index 7e2f45bed9f8ef03ed4af335e1d0c4230cb7fbe7..ee833c04c4ec5458583dd6bad7642b2cbfbd933f 100644 (file)
@@ -134,7 +134,7 @@ void ShapeUpgrade_ConvertCurve2dToBezier::Compute()
     Handle(Geom2d_BSplineCurve) aBSpline2d;
     Standard_Real Shift = 0.;
     if(myCurve->IsKind(STANDARD_TYPE(Geom2d_Conic))) {
-      Handle(Geom2d_Curve) tcurve = new Geom2d_TrimmedCurve(myCurve,First,Last); //protection agains parabols ets
+      Handle(Geom2d_Curve) tcurve = new Geom2d_TrimmedCurve(myCurve,First,Last); //protection against parabols ets
       Geom2dConvert_ApproxCurve approx (tcurve, Precision::Approximation(), 
                                        GeomAbs_C1, 100, 6 );
       if ( approx.HasResult() )
index a635c9a879483b624d579cd0450819c78b73ddc7..80e36d2f7e08f8ef588416a7f7755dfda083b3c1 100644 (file)
@@ -35,35 +35,24 @@ class ShapeUpgrade_ConvertCurve2dToBezier : public ShapeUpgrade_SplitCurve2d
 
 public:
 
-  
   //! Empty constructor.
   Standard_EXPORT ShapeUpgrade_ConvertCurve2dToBezier();
-  
+
   //! Converts curve into a list of beziers, and stores the
   //! splitting parameters on original curve.
   Standard_EXPORT virtual void Compute() Standard_OVERRIDE;
-  
+
   //! Splits a list of beziers computed by Compute method according
   //! the split values and splitting parameters.
   Standard_EXPORT virtual void Build (const Standard_Boolean Segment) Standard_OVERRIDE;
-  
-  //! Returns the list of splitted parameters in original curve
-  //! parametrisation.
-  Standard_EXPORT Handle(TColStd_HSequenceOfReal) SplitParams() const;
-
-
 
+  //! Returns the list of split parameters in original curve parametrisation.
+  Standard_EXPORT Handle(TColStd_HSequenceOfReal) SplitParams() const;
 
   DEFINE_STANDARD_RTTIEXT(ShapeUpgrade_ConvertCurve2dToBezier,ShapeUpgrade_SplitCurve2d)
 
-protected:
-
-
-
-
 private:
 
-  
   //! Returns the list of bezier curves correspondent to original
   //! curve.
   Standard_EXPORT Handle(TColGeom2d_HSequenceOfCurve) Segments() const;
@@ -71,13 +60,6 @@ private:
   Handle(TColGeom2d_HSequenceOfCurve) mySegments;
   Handle(TColStd_HSequenceOfReal) mySplitParams;
 
-
 };
 
-
-
-
-
-
-
 #endif // _ShapeUpgrade_ConvertCurve2dToBezier_HeaderFile
index 802e1d557a6b95af5e282aee302deadd0f6d5472..ff37b0051467cfb266de64a6b0175aed5637a9cb 100644 (file)
@@ -117,7 +117,7 @@ void ShapeUpgrade_ConvertCurve3dToBezier::Compute()
     Handle(Geom_BSplineCurve) aBSpline;
     Standard_Real Shift = 0.;
     if(myCurve->IsKind(STANDARD_TYPE(Geom_Conic))) {
-      Handle(Geom_Curve) tcurve = new Geom_TrimmedCurve(myCurve,First,Last); //protection agains parabols ets
+      Handle(Geom_Curve) tcurve = new Geom_TrimmedCurve(myCurve,First,Last); //protection against parabols ets
       GeomConvert_ApproxCurve approx (tcurve, Precision::Approximation(), 
                                      GeomAbs_C1, 100, 6 );
       if ( approx.HasResult() )
index ff5da44eacb8cae09154404466a57b3dbe049d85..55946c969f7c529ca5741a346df512adc44a83bd 100644 (file)
@@ -35,7 +35,6 @@ class ShapeUpgrade_ConvertCurve3dToBezier : public ShapeUpgrade_SplitCurve3d
 
 public:
 
-  
   //! Empty constructor
   Standard_EXPORT ShapeUpgrade_ConvertCurve3dToBezier();
   
@@ -65,23 +64,13 @@ public:
   //! the split values and splitting parameters.
   Standard_EXPORT virtual void Build (const Standard_Boolean Segment) Standard_OVERRIDE;
   
-  //! Returns the list of splitted parameters in original curve
-  //! parametrisation.
+  //! Returns the list of split parameters in original curve parametrisation.
   Standard_EXPORT Handle(TColStd_HSequenceOfReal) SplitParams() const;
 
-
-
-
   DEFINE_STANDARD_RTTIEXT(ShapeUpgrade_ConvertCurve3dToBezier,ShapeUpgrade_SplitCurve3d)
 
-protected:
-
-
-
-
 private:
 
-  
   //! Returns the list of bezier curves correspondent to original
   //! curve.
   Standard_EXPORT Handle(TColGeom_HSequenceOfCurve) Segments() const;
@@ -92,14 +81,8 @@ private:
   Standard_Boolean myCircleMode;
   Standard_Boolean myConicMode;
 
-
 };
 
-
 #include <ShapeUpgrade_ConvertCurve3dToBezier.lxx>
 
-
-
-
-
 #endif // _ShapeUpgrade_ConvertCurve3dToBezier_HeaderFile
index 9e6b94b9397128b8dd83959488de710d4d786bfb..15e70936022cf7dd16e8c81103e3d8223a58427e 100644 (file)
@@ -150,7 +150,7 @@ Standard_Boolean ShapeUpgrade_FaceDivide::SplitSurface ()
   SplitSurf->Init ( surf, Uf, Ul, Vf, Vl );
   SplitSurf->Perform(mySegmentMode);
 
-  // If surface was neither splitted nor modified, do nothing
+  // If surface was neither split nor modified, do nothing
   if ( ! SplitSurf->Status ( ShapeExtend_DONE ) ) return Standard_False;
     
   // if surface was modified, force copying all vertices (and edges as consequence)
index b03577badd5d494efe6471ab8c7dc1eae543212b..5653bfa294447bd5ac0c8012b137ec21d46f1733 100644 (file)
@@ -88,11 +88,11 @@ public:
   
   //! Queries the status of last call to Perform
   //! OK   : no splitting was done (or no call to Perform)
-  //! DONE1: some edges were splitted
-  //! DONE2: surface was splitted
+  //! DONE1: some edges were split
+  //! DONE2: surface was split
   //! DONE3: surface was modified without splitting
   //! FAIL1: some fails encountered during splitting wires
-  //! FAIL2: face cannot be splitted
+  //! FAIL2: face cannot be split
   Standard_EXPORT Standard_Boolean Status (const ShapeExtend_Status status) const;
   
   //! Sets the tool for splitting surfaces.
index 6f1aa863f616e210c302f35dd6e74a3647a5d596..5a75b6a03e944ed0060c87420d3fcf90823e4ed8 100644 (file)
@@ -37,13 +37,13 @@ class ShapeUpgrade_RemoveLocations : public Standard_Transient
 public:
 
   
-  //! Empy constructor
+  //! Empty constructor
   Standard_EXPORT ShapeUpgrade_RemoveLocations();
   
   //! Removes all location correspodingly to RemoveLevel.
   Standard_EXPORT Standard_Boolean Remove (const TopoDS_Shape& theShape);
   
-  //! Returns shape with removed locatins.
+  //! Returns shape with removed locations.
     TopoDS_Shape GetResult() const;
   
   //! sets level starting with that location will be removed,
index 729849596983d69f73c4a2e0825b9e4c57cf36aa..b4b4f85e88abd5034fd773205252d8b93c2c2d48 100644 (file)
@@ -97,9 +97,9 @@ public:
   
   //! Queries the status of last call to Perform
   //! OK   : no splitting was done (or no call to Perform)
-  //! DONE1: some edges were splitted
-  //! DONE2: surface was splitted
-  //! FAIL1: some errors occured
+  //! DONE1: some edges were split
+  //! DONE2: surface was split
+  //! FAIL1: some errors occurred
   Standard_EXPORT Standard_Boolean Status (const ShapeExtend_Status status) const;
   
   //! Sets the tool for splitting faces.
index 8900e21db35157ff01b8a002b5b17894910c3db0..a8da8a215881638b40f5ab4aed3952bcc6cd64c1 100644 (file)
@@ -177,7 +177,7 @@ void ShapeUpgrade_SplitCurve3dContinuity::Compute()
 //       if (ShapeUpgrade::Debug()) std::cout<<". Correction at Knot "<<iknot<<std::endl;
          myStatus |= ShapeExtend::EncodeStatus ( ShapeExtend_DONE3 );
           if(newMultiplicity == 0) {
-            //in case if knot is completelly removed
+            //in case if knot is completely removed
             //it is necessary to modify last idex and decrease current knot index
             LastInd = MyBSpline->LastUKnotIndex()-1;
             iknot--;
index cec3dbd159bd1ad75499ddfd0b05809522b94c61..92acbda395285fc3a7af104c091ffc8181f72014 100644 (file)
@@ -116,7 +116,7 @@ static Standard_Real TrueValueOfOffset(const Standard_Real theValue,
 
 //=======================================================================
 //function : UpdateBoundaries
-//purpose  : auxilary
+//purpose  : auxiliary
 //=======================================================================
 static void UpdateBoundaries(const Handle(Geom2d_Curve)& thePCurve,
                              const Standard_Real         theFirst,
@@ -524,7 +524,7 @@ static Standard_Boolean FindClosestPoints(const TopoDS_Edge& theEdge1,
 
 //=======================================================================
 //function : ReconstructMissedSeam
-//purpose  : auxilary
+//purpose  : auxiliary
 //=======================================================================
 static void ReconstructMissedSeam(const TopTools_SequenceOfShape& theEdges,
                                   const TopTools_SequenceOfShape& theRemovedEdges,
@@ -740,7 +740,7 @@ static void ReconstructMissedSeam(const TopTools_SequenceOfShape& theEdges,
 
 //=======================================================================
 //function : SameSurf
-//purpose  : auxilary
+//purpose  : auxiliary
 //=======================================================================
 static Standard_Boolean SameSurf(const Handle(Geom_Surface)& theS1, const Handle(Geom_Surface)& theS2)
 {
@@ -876,7 +876,7 @@ static Standard_Boolean SameSurf(const Handle(Geom_Surface)& theS1, const Handle
 }
 //=======================================================================
 //function : TransformPCurves
-//purpose  : auxilary
+//purpose  : auxiliary
 //=======================================================================
 static void TransformPCurves(const TopoDS_Face& theRefFace,
                              const TopoDS_Face& theFace,
@@ -1004,7 +1004,7 @@ static void TransformPCurves(const TopoDS_Face& theRefFace,
                              
 //=======================================================================
 //function : AddPCurves
-//purpose  : auxilary
+//purpose  : auxiliary
 //=======================================================================
 static void AddPCurves(const TopTools_SequenceOfShape& theFaces,
                        const TopoDS_Face&              theRefFace,
@@ -1029,7 +1029,7 @@ static void AddPCurves(const TopTools_SequenceOfShape& theFaces,
 
 //=======================================================================
 //function : AddOrdinaryEdges
-//purpose  : auxilary
+//purpose  : auxiliary
 //=======================================================================
 // adds edges from the shape to the sequence
 // seams and equal edges are dropped
@@ -1081,7 +1081,7 @@ static Standard_Boolean AddOrdinaryEdges(TopTools_SequenceOfShape& edges,
 
 //=======================================================================
 //function : getCylinder
-//purpose  : auxilary
+//purpose  : auxiliary
 //=======================================================================
 static Standard_Boolean getCylinder(Handle(Geom_Surface)& theInSurface,
                                     gp_Cylinder& theOutCylinder)
@@ -1140,7 +1140,7 @@ static Standard_Boolean getCylinder(Handle(Geom_Surface)& theInSurface,
 
 //=======================================================================
 //function : ClearRts
-//purpose  : auxilary
+//purpose  : auxiliary
 //=======================================================================
 static Handle(Geom_Surface) ClearRts(const Handle(Geom_Surface)& aSurface)
 {
@@ -1396,7 +1396,7 @@ static TopoDS_Edge GlueEdgesWithPCurves(const TopTools_SequenceOfShape& aChain,
     PrevEdge = anEdge;
   }
   Handle(TColGeom_HArray1OfBSplineCurve)  concatcurve;     //array of the concatenated curves
-  Handle(TColStd_HArray1OfInteger)        ArrayOfIndices;  //array of the remining Vertex
+  Handle(TColStd_HArray1OfInteger)        ArrayOfIndices;  //array of the remaining Vertex
   Standard_Boolean closed_flag = Standard_False;
   GeomConvert::ConcatC1(tab_c3d,
                         tabtolvertex,
@@ -1443,7 +1443,7 @@ static TopoDS_Edge GlueEdgesWithPCurves(const TopTools_SequenceOfShape& aChain,
       PrevEdge = anEdge;
     }
     Handle(TColGeom2d_HArray1OfBSplineCurve)  concatc2d;     //array of the concatenated curves
-    Handle(TColStd_HArray1OfInteger)        ArrayOfInd2d;  //array of the remining Vertex
+    Handle(TColStd_HArray1OfInteger)        ArrayOfInd2d;  //array of the remaining Vertex
     closed_flag = Standard_False;
     Geom2dConvert::ConcatC1(tab_c2d,
                             tabtolvertex,
@@ -1696,7 +1696,7 @@ void ShapeUpgrade_UnifySameDomain::UnionPCurves(const TopTools_SequenceOfShape&
       }
 
       Handle(TColGeom2d_HArray1OfBSplineCurve)  concatc2d;     //array of the concatenated curves
-      Handle(TColStd_HArray1OfInteger)        ArrayOfInd2d;  //array of the remining Vertex
+      Handle(TColStd_HArray1OfInteger)        ArrayOfInd2d;  //array of the remaining Vertex
       Standard_Boolean aClosedFlag = Standard_False;
       Geom2dConvert::ConcatC1(tab_c2d,
         tabtolvertex,
@@ -2059,7 +2059,7 @@ Standard_Boolean ShapeUpgrade_UnifySameDomain::MergeSubSeq(const TopTools_Sequen
     }
     if(NeedUnion) {
 #ifdef OCCT_DEBUG
-      std::cout<<"can not make analitical union => make approximation"<<std::endl;
+      std::cout<<"can not make analytical union => make approximation"<<std::endl;
 #endif
       TopoDS_Edge E = GlueEdgesWithPCurves(theChain, VF, VL);
       OutEdge = E;
@@ -2258,7 +2258,7 @@ static void GenerateSubSeq (const TopTools_SequenceOfShape& anInpEdgeSeq,
 
 //=======================================================================
 //function : MergeEdges
-//purpose  : auxilary
+//purpose  : auxiliary
 //=======================================================================
 Standard_Boolean ShapeUpgrade_UnifySameDomain::MergeEdges(TopTools_SequenceOfShape& SeqEdges,
                                                           const TopTools_IndexedDataMapOfShapeListOfShape& theVFmap,
@@ -3142,11 +3142,11 @@ void ShapeUpgrade_UnifySameDomain::IntUnifyFaces(const TopoDS_Shape& theInpShape
               Standard_Real DiffV = Abs(aPoint.Y() - CurPoint.Y());
               if (Uperiod != 0. &&
                   DiffU > CoordTol &&
-                  Abs(DiffU - Uperiod) > CoordTol) //may be is is a deg.vertex
+                  Abs(DiffU - Uperiod) > CoordTol) //may be it is a deg.vertex
                 continue;
               if (Vperiod != 0. &&
                   DiffV > CoordTol &&
-                  Abs(DiffV - Vperiod) > CoordTol) //may be is is a deg.vertex
+                  Abs(DiffV - Vperiod) > CoordTol) //may be it is a deg.vertex
                 continue;
               
               //Check: may be <CurPoint> and <aPoint> are on Period from each other
index 6571674b5faaef1904f002d2766502e708c4e818..6a200fc3147efaeb65542a23f17fdec5da6768a4 100644 (file)
@@ -48,8 +48,8 @@ DEFINE_STANDARD_HANDLE(ShapeUpgrade_WireDivide, ShapeUpgrade_Tool)
 //! Splits 3D curve and pcurve(s) of the edge on the face.
 //! Other pcurves which may be associated with the edge are simply
 //! copied.
-//! If 3D curve is splitted then pcurve on the face is splitted as
-//! well, and wice-versa.
+//! If 3D curve is split then pcurve on the face is split as
+//! well, and vice-versa.
 //! Input shape is not modified.
 //! The modifications made are recorded in external context
 //! (ShapeBuild_ReShape). This tool is applied to all edges
@@ -98,8 +98,8 @@ public:
   Standard_EXPORT const TopoDS_Wire& Wire() const;
   
   //! Queries status of last call to Perform()
-  //! OK - no edges were splitted, wire left untouched
-  //! DONE1 - some edges were splitted
+  //! OK - no edges were split, wire left untouched
+  //! DONE1 - some edges were split
   //! FAIL1 - some edges have no 3d curve (skipped)
   //! FAIL2 - some edges have no pcurve (skipped)
   Standard_EXPORT Standard_Boolean Status (const ShapeExtend_Status status) const;
index 78b25e1cb771e8916585cfed94288123a5314753..bc601165c6f5cde1f41ea00e9eeec6f5d2e6285a 100644 (file)
@@ -208,7 +208,7 @@ Standard_MMgrFactory::~Standard_MMgrFactory()
 // WNT MSVC++) to put destructing function in code segment that is called
 // after destructors of other (even static) objects. However, this is not 
 // done by the moment since it is compiler-dependent and there is no guarantee 
-// thatsome other object calling memory manager is not placed also in that segment...
+// that some other object calling memory manager is not placed also in that segment...
 //
 // Note that C runtime function atexit() could not help in this problem 
 // since its behaviour is the same as for destructors of static objects 
index e472446e1920f38a9bba803feab74d4f22f7527e..559f45473d16ca46194526d7041a4eca94253bb1 100644 (file)
@@ -50,7 +50,7 @@ public:
 
   //! Main constructor.
   //! Passed pointer is stored as is (memory is NOT copied nor released with destructor).
-  //! @param theBegin pointer to the beggining of pre-allocated buffer
+  //! @param theBegin pointer to the beginning of pre-allocated buffer
   //! @param theSize  length of pre-allocated buffer
   Standard_EXPORT Standard_ArrayStreamBuffer (const char*  theBegin,
                                               const size_t theSize);
@@ -60,7 +60,7 @@ public:
 
   //! (Re)-initialize the stream.
   //! Passed pointer is stored as is (memory is NOT copied nor released with destructor).
-  //! @param theBegin pointer to the beggining of pre-allocated buffer
+  //! @param theBegin pointer to the beginning of pre-allocated buffer
   //! @param theSize  length of pre-allocated buffer
   Standard_EXPORT virtual void Init (const char*  theBegin,
                                      const size_t theSize);
index f220fbadb118442379b09d6e5cabac57684ab4f0..64350101404ebc6db73fe21b5f8d2b5f5c3b6396 100644 (file)
@@ -21,7 +21,7 @@
 //! By the moment, only operations necessary for reference counter
 //! in Standard_Transient objects are implemented.
 //!
-//! This is preffered to use fixed size types "int32_t" / "int64_t" for
+//! This is preferred to use fixed size types "int32_t" / "int64_t" for
 //! correct function declarations however we leave "int" assuming it is 32bits for now.
 
 #ifndef _Standard_Atomic_HeaderFile
index 3b3beba7610760c8673efb620fd2ddb526c1a424..004785382ac7b5f9697f5b9bfa23cbce23c5e854 100755 (executable)
@@ -48,7 +48,7 @@
 //! Thus following calls to sprintf, atoi and other functions will use "C" locale.
 //! Destructor of this class will return original locale.
 //!
-//! Notice that this functionality is platfrom dependent and intended only to workaround alien code
+//! Notice that this functionality is platform dependent and intended only to workaround alien code
 //! that doesn't setup locale correctly.
 //!
 //! Internally you should prefer more portable C++ locale interfaces
index 9f5b4e39f97ed100bb718b9addfd1e8917af3772..df696d77e107c9ac5b2a360a03bd9e3f4ab0adf7 100755 (executable)
@@ -62,7 +62,7 @@ Standard_Integer HashCodes (const Standard_CString theString, const Standard_Int
 //======================================================================
 
 #ifdef __APPLE__
-  // There are a lot of *_l functions availalbe on Mac OS X - we use them
+  // There are a lot of *_l functions available on Mac OS X - we use them
   #define SAVE_TL()
 #elif defined(_MSC_VER)
   // MSVCRT has equivalents with slightly different syntax
index b64357935fbb62d2349c7484ef54decbc8146b97..3d85fe6cbd43f17214985b9e3f9dedf5ab37e4ff 100644 (file)
@@ -13,9 +13,8 @@
 // commercial license or contractual agreement.
 
 //============================================================================
-//==== Titre: Standard_Character.hxx
-//==== Role : The header file of primitve type "Character" from package 
-//====        "Standard"
+//==== Title: Standard_Character.hxx
+//==== Role : The header file of primitive type "Character" from package "Standard"
 //==== 
 //==== Implementation:  This is a primitive type implemented as typedef
 //====        typedef char Standard_Character
index 6bce994c64941f68615f75459463bc84a489286e..eec5c9dc92e6aa8ef98de847ab1262af2f1f21c6 100644 (file)
 //! Append into output value: "Name": { field dumped values }
 //! It computes Dump of the parent. The expected field is a parent class name to call ClassName::Dump.
 //! Use this macro for parent of the current class.
-//! The macros is recursive. Recursive is stoped when the depth value becomes equal to zero.
+//! The macros is recursive. Recursive is stopped when the depth value becomes equal to zero.
 //! Depth = -1 is the default value, dump here is unlimited.
 #define OCCT_DUMP_BASE_CLASS(theOStream, theDepth, theField) \
 { \
index 7129919c4abc05a93d0b41c4bf6ee39c0cfe3953..3fc6c189d99b680169eb8299dbaced6028891dee 100644 (file)
@@ -13,7 +13,7 @@
 // commercial license or contractual agreement.
 
 //============================================================================
-//==== Titre: Standard_ErrorHandler.cxx
+//==== Title: Standard_ErrorHandler.cxx
 //==== Role : class "Standard_ErrorHandler" implementation.
 //============================================================================
 #include <Standard_ErrorHandler.hxx>
index 4a54ce0324b41bf80a07762c971238c07b477156..926bb9e0b761b08c81201feb975b3fdf0ede2938 100644 (file)
@@ -13,9 +13,8 @@
 // commercial license or contractual agreement.
 
 //============================================================================
-//==== Titre: Standard_ExtCharacter.hxx
-//==== Role : The headr file of primitve type "ExtCharacter" from package 
-//====        "Standard"
+//==== Title: Standard_ExtCharacter.hxx
+//==== Role : The headr file of primitive type "ExtCharacter" from package "Standard"
 //==== 
 //==== Implementation:  This is a primitive type implemented with typedef
 //====                  Excepting "Unicod encoding"
index fb4e83484bac1dc22a5751d08d04a02ea6fbe20f..2953de89126133ec0ea9384695eb68743681a602 100644 (file)
@@ -13,7 +13,7 @@
 // commercial license or contractual agreement.
 
 //============================================================================
-//==== Titre: Standard_ExtString.hxx
+//==== Title: Standard_ExtString.hxx
 //==== 
 //==== Implementation:  This is a primitive type implementadef with typedef
 //====        typedef short* Standard_ExtString;
index 81889b4b26807a2609b264da4fe2acba43aa74c6..9ba6935472c1b557cec48e1395a04bb320f0ec06 100644 (file)
@@ -120,10 +120,10 @@ extern "C" int getpagesize() ;
 
 /* In the allocated block, first bytes are used for storing of memory manager's data.
    (size of block). The minimal size of these data is sizeof(int).
-   The memory allocated in system usually alligned by 16 bytes.Tthe aligment of the 
-   data area in the memory block is shfted on BLOCK_SHIFT*sizeof(Standard_Size) 
+   The memory allocated in system usually aligned by 16 bytes. The alignment of the
+   data area in the memory block is shfted on BLOCK_SHIFT*sizeof(Standard_Size)
    bytes.
-   It is OK for WNT, SUN and Linux systems, but on SGI aligment should be 8 bytes.
+   It is OK for WNT, SUN and Linux systems, but on SGI alignment should be 8 bytes.
    So, BLOCK_SHIFT is formed as macro for support on other possible platforms.
 */
 
index b510367c1e4549966fce04857558d899a817bc09..c9bcda081033f9ebc5f9d24627f59ddddbed065b 100644 (file)
@@ -21,7 +21,7 @@
 # define _Standard_Macro_HeaderFile
 
 //! @def Standard_OVERRIDE
-//! Should be used in declarations of virtual methods overriden in the
+//! Should be used in declarations of virtual methods overridden in the
 //! derived classes, to cause compilation error in the case if that virtual 
 //! function disappears or changes its signature in the base class.
 //!
index cd1ec788a633475e7e0fe9c74fe8d502f0f82af5..dfdfb6a28968d481ecfbb656cf72616cc3b34f3a 100644 (file)
   * @brief Mutex: a class to synchronize access to shared data. 
   *
   * This is simple encapsulation of tools provided by the
-  * operating system to syncronize access to shared data 
+  * operating system to synchronize access to shared data
   * from threads within one process.
   *
   * Current implementation is very simple and straightforward;
-  * it is just a wrapper around POSIX pthread librray on UNIX/Linux,
+  * it is just a wrapper around POSIX pthread library on UNIX/Linux,
   * and CRITICAL_SECTIONs on Windows NT. It does not provide any
-  * advanced functionaly such as recursive calls to the same mutex from 
-  * within one thread (such call will froze the execution).
+  * advanced functionality such as recursive calls to the same mutex from
+  * within one thread (such call will freeze the execution).
   *
   * Note that all the methods of that class are made inline, in order
   * to keep maximal performance. This means that a library using the mutex
index ce3949781056f157c8558ccc7adfea6788e0e065..6139c5e2fe577446de0052c9fe7e9629144eb497 100644 (file)
@@ -144,7 +144,7 @@ Standard_Real Sign(const Standard_Real a, const Standard_Real b)
 }
 
 //==========================================================================
-//===== The special routines for "IEEE" and differents hardwares ===========
+//===== The special routines for "IEEE" and different hardware =============
 //==========================================================================
 union RealMap {
   double real;
@@ -153,17 +153,17 @@ union RealMap {
 
 //--------------------------------------------------------------------
 // HardwareHighBitsOfDouble :  
-//    Returns 1 if the low bits are at end.   (exemple: decmips and ALPHA )
-//    Returns 0 if the low bits are at begin. (exemple: sun, sgi, ...)
+//    Returns 1 if the low bits are at end.   (example: decmips and ALPHA )
+//    Returns 0 if the low bits are at begin. (example: sun, sgi, ...)
 //--------------------------------------------------------------------
 static int HardwareHighBitsOfDouble()
 {
   RealMap MaxDouble;
   MaxDouble.real = DBL_MAX;
   //=========================================================
-  // reperesentation of the max double in IEEE is 
-  //      "7fef ffff ffff ffff"   for the big indiens.
-  //      "ffff ffff 7fef ffff"   for the littel indiens.
+  // representation of the max double in IEEE is
+  //      "7fef ffff ffff ffff"   for the big endians.
+  //      "ffff ffff 7fef ffff"   for the little endians.
   //=========================================================
 
   if(MaxDouble.map[1] != 0xffffffff){
@@ -175,17 +175,17 @@ static int HardwareHighBitsOfDouble()
 
 //--------------------------------------------------------------------
 // HardwareLowBitsOfDouble :  
-//    Returns 0 if the low bits are at end.   (exemple: decmips )
-//    Returns 1 if the low bits are at begin. (exemple: sun, sgi, ...)
+//    Returns 0 if the low bits are at end.   (example: decmips )
+//    Returns 1 if the low bits are at begin. (example: sun, sgi, ...)
 //--------------------------------------------------------------------
 static int HardwareLowBitsOfDouble()
 {
   RealMap MaxDouble;
   MaxDouble.real = DBL_MAX;
   //=========================================================
-  // reperesentation of the max double in IEEE is 
-  //      "7fef ffff ffff ffff"   for the big indiens.
-  //      "ffff ffff 7fef ffff"   for the littel indiens.
+  // representation of the max double in IEEE is
+  //      "7fef ffff ffff ffff"   for the big endians.
+  //      "ffff ffff 7fef ffff"   for the little endians.
   //=========================================================
 
   if(MaxDouble.map[1] != 0xffffffff){
@@ -211,7 +211,7 @@ double NextAfter(const double x, const double y)
     //=========================================
     //   -oo__________0___________+oo
     //               x=y
-    //  The direction is "Null", so there is nothing after 
+    //  The direction is "Null", so there is nothing after
     //=========================================
 
   } else if (((x<y) && (x>=0.0)) || ((x>y) && (x<0.0))) {
@@ -254,9 +254,9 @@ Standard_Real     ATanh(const Standard_Real Value)
 { 
   if ( (Value <= -1.) || (Value >= 1.) ){
 #ifdef OCCT_DEBUG
-    std::cout << "Illegal agument in ATanh" << std::endl ;
+    std::cout << "Illegal argument in ATanh" << std::endl ;
 #endif
-    throw Standard_NumericError("Illegal agument in ATanh");
+    throw Standard_NumericError("Illegal argument in ATanh");
   }
 #if __QNX__
   return std::atanh(Value);
@@ -272,9 +272,9 @@ Standard_Real     ACosh (const Standard_Real Value)
 { 
   if ( Value < 1. ){
 #ifdef OCCT_DEBUG
-    std::cout << "Illegal agument in ACosh" << std::endl ;
+    std::cout << "Illegal argument in ACosh" << std::endl ;
 #endif
-    throw Standard_NumericError("Illegal agument in ACosh");
+    throw Standard_NumericError("Illegal argument in ACosh");
   }
 #if __QNX__
   return std::acosh(Value);
@@ -317,9 +317,9 @@ Standard_Real     Sinh (const Standard_Real Value)
 Standard_Real     Log (const Standard_Real Value) 
 {   if ( Value <= 0. ){
 #ifdef OCCT_DEBUG
-    std::cout << "Illegal agument in Log" << std::endl ;
+    std::cout << "Illegal argument in Log" << std::endl ;
 #endif
-    throw Standard_NumericError("Illegal agument in Log");
+    throw Standard_NumericError("Illegal argument in Log");
   } 
  return log(Value); 
 }
@@ -330,9 +330,9 @@ Standard_Real     Sqrt (const Standard_Real Value)
 { 
   if (  Value < 0. ){
 #ifdef OCCT_DEBUG
-    std::cout << "Illegal agument in Sqrt" << std::endl ;
+    std::cout << "Illegal argument in Sqrt" << std::endl ;
 #endif
-    throw Standard_NumericError("Illegal agument in Sqrt");
+    throw Standard_NumericError("Illegal argument in Sqrt");
   } 
  return sqrt(Value); 
 }
index aca73cb2efaddf0b00a389bb905be8af08388794..9c9d193f3c1e90480a7e826b3f1f0c0d38f5d0b2 100644 (file)
@@ -28,7 +28,7 @@
 // ===============================================
 
 // ==================================
-// Methods implemeted in Standard_Real.cxx
+// Methods implemented in Standard_Real.cxx
 // ==================================
 
 //! Computes a hash code for the given real, in the range [1, theUpperBound]
@@ -76,7 +76,7 @@ inline Standard_Boolean  IsEqual (const Standard_Real Value1,
          //  *********************************** //
          //       Class methods                  //
          //                                      //
-         //  Machine-dependant values            //
+         //  Machine-dependent values            //
          //  Should be taken from include file   //
          //  *********************************** //
 
@@ -142,7 +142,7 @@ inline Standard_Integer  RealSize()
 
 
          //=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=//
-         //   End of machine-dependant values   //
+         //   End of machine-dependent values   //
          //=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=//
 
 
@@ -176,7 +176,7 @@ inline Standard_Real     Cos (const Standard_Real Value)
 // Epsilon : The function returns absolute value of difference
 //           between 'Value' and other nearest value of
 //           Standard_Real type.
-//           Nearest value is choseen in direction of infinity
+//           Nearest value is chosen in direction of infinity
 //           the same sign as 'Value'.
 //           If 'Value' is 0 then returns minimal positive value
 //           of Standard_Real type.
index fea03833b12acecf59f7677421b1bef42f745cd1..81d07405ebed68effa6cbfa94fddc68cddf058f5 100644 (file)
@@ -24,7 +24,7 @@
          //  *********************************** //
          //       Class methods                  //
          //                                      //
-         //  Machine-dependant values            //
+         //  Machine-dependent values            //
          //  Should be taken from include file   //
          //  *********************************** //
 
@@ -136,7 +136,7 @@ inline Standard_ShortReal     Min (const Standard_ShortReal Val1,
 // ===============================================
 
 // ==================================
-// Methods implemeted in Standard_ShortReal.cxx
+// Methods implemented in Standard_ShortReal.cxx
 // ==================================
 
 //! Computes a hash code for the given short real, in the range [1, theUpperBound]
index b18c8b049a0749add3cfd91956449e821765d4b1..db42bc039d913736a64fa5bd16331185895b419e 100644 (file)
@@ -99,7 +99,7 @@ namespace {
     return theRegistry;
   }
 
-  // To initialize theRegistry map as soon as possible to be destoryed the latest
+  // To initialize theRegistry map as soon as possible to be destroyed the latest
   Handle(Standard_Type) theType = STANDARD_TYPE(Standard_Transient);
 }
 
index 351f532f9de98bfd3c30eba1f12176c2443296ca..ca47a76d8e2d4d202d46a2900ca25b5011abb8ca 100644 (file)
@@ -12,7 +12,7 @@
 // commercial license or contractual agreement.
 
 //!@file
-//! Supresses compiler warnings.
+//! Suppresses compiler warnings.
 //!
 //! Standard_WarningsDisable.hxx disables all compiler warnings.
 //! Standard_WarningsRestore.hxx restore the previous state of warnings.
index e947e0b147010a0e161dc15d12c0603399497f16..6b88f25236511f3bcf27ce57874c628995b9dc50 100644 (file)
@@ -123,7 +123,7 @@ void StdLPersistent_Collection::mapBase<Base>::import
 
 //=======================================================================
 //function : ImportAttribute
-//purpose  : Import transient attribuite from the persistent data
+//purpose  : Import transient attribute from the persistent data
 //=======================================================================
 template <template<class> class BaseT,
           class HArrayClass,
@@ -156,7 +156,7 @@ void StdLPersistent_Collection::instance_1<Instance>::Read
 
 //=======================================================================
 //function : ImportAttribute
-//purpose  : Import transient attribuite from the persistent data
+//purpose  : Import transient attribute from the persistent data
 //=======================================================================
 template <class Instance>
 void StdLPersistent_Collection::instance_1<Instance>::ImportAttribute()
index 1f9d22f4f3a95eddb5215ff252464c5d33c4eeb3..dbf8fc844060e6b912c3b7717e79b9f02e5af509 100644 (file)
@@ -115,7 +115,7 @@ class StdLPersistent_Collection
     : public BaseT <typename StdObjMgt_Attribute<AttribClass>::SingleRef>
   {
   public:
-    //! Import transient attribuite from the persistent data.
+    //! Import transient attribute from the persistent data.
     Standard_EXPORT virtual void ImportAttribute();
   };
 
@@ -132,7 +132,7 @@ class StdLPersistent_Collection
     //! Read persistent data from a file.
     Standard_EXPORT virtual void Read (StdObjMgt_ReadData& theReadData);
 
-    //! Import transient attribuite from the persistent data.
+    //! Import transient attribute from the persistent data.
     Standard_EXPORT virtual void ImportAttribute();
 
   private:
index 9f39588c9bf590b366c99930c75a9c7604e755db..182b9db9607fbbbaaf30f010b3866a1bccd2a3f5 100644 (file)
@@ -104,7 +104,7 @@ Handle(TDF_Data) StdLPersistent_Data::Import() const
   Handle(TDF_Data) aData = new TDF_Data;
   Parser (*myLabels->Array(), *myAttributes->Array()).FillLabel (aData->Root());
 
-  // Import transient attribuites from persistent data
+  // Import transient attributes from persistent data
   StdLPersistent_HArray1OfPersistent::Iterator anAttribIter (*myAttributes->Array());
   for (; anAttribIter.More(); anAttribIter.Next())
   {
index 6d61612386edf89cf61690fb0e45b4499340d3b8..57a75d7486658e19a6d78e0bc70ccb8a85639ab1 100644 (file)
@@ -25,7 +25,7 @@ static void ImportName (const Handle(TDataStd_Relation)&  theAttribute,
 
 //=======================================================================
 //function : Import
-//purpose  : Import transient attribuite from the persistent data
+//purpose  : Import transient attribute from the persistent data
 //=======================================================================
 template <class AttribClass>
 void StdLPersistent_Dependency::instance<AttribClass>::Import
index 5e29e7918fec3b767bb71bbd9d9755bc5fa73edc..c427efc6f3951a89aa480b928c9eaafad4bb1b29 100644 (file)
@@ -44,7 +44,7 @@ class StdLPersistent_Dependency
     //! Returns persistent type name
     Standard_CString PName() const;
 
-    //! Import transient attribuite from the persistent data.
+    //! Import transient attribute from the persistent data.
     void Import (const Handle(AttribClass)& theAttribute) const;
 
   private:
index f981bdfea15758a9a1afb95d6814b46721a553a9..7d70575ef6e9f08344783130b53038f9d0b0d47a 100644 (file)
@@ -40,7 +40,7 @@ public:
   //! Returns persistent type name
   inline Standard_CString PName() const { return "PFunction_Function"; }
 
-  //! Import transient attribuite from the persistent data.
+  //! Import transient attribute from the persistent data.
   void Import (const Handle(TFunction_Function)& theAttribute) const
   {
     theAttribute->SetDriverGUID (myDriverGUID);
index cbb0e32c9849018cfc2be339fbecb7657b1110f8..c294605bb35a3f4a54a373a50368b73a740086f1 100644 (file)
@@ -41,7 +41,7 @@ static typename HArray::ArrayHandle
 
 //=======================================================================
 //function : Import
-//purpose  : Import transient attribuite from the persistent data
+//purpose  : Import transient attribute from the persistent data
 //=======================================================================
 void StdLPersistent_NamedData::Import
   (const Handle(TDataStd_NamedData)& theAttribute) const
index b1132b6f98be4f77c4c2d51df7f1d42cec2c819e..e260600e4db43bb017468effb9532c478f7adcb2 100644 (file)
@@ -80,7 +80,7 @@ public:
   //! Returns persistent type name
   Standard_CString PName() const { return "PDataStd_NamedData"; }
 
-  //! Import transient attribuite from the persistent data.
+  //! Import transient attribute from the persistent data.
   void Import (const Handle(TDataStd_NamedData)& theAttribute) const;
 
 private:
index e1a0c2417aaf79fd78629a433a6bcce3d5a1e66c..ba3799b54532132da1c61a80b8bb75a9570c26b7 100644 (file)
@@ -40,7 +40,7 @@ public:
   //! Returns persistent type name
   Standard_CString PName() const { return "PDataStd_Real"; }
 
-  //! Import transient attribuite from the persistent data.
+  //! Import transient attribute from the persistent data.
   void Import (const Handle(TDataStd_Real)& theAttribute) const
   {
     theAttribute->Set (myValue);
index 7caa24a46659d69fe7bc5a5e3715bbf4343d6320..78d0087885ee355e8d8baee2cac3a9127f7162d1 100644 (file)
@@ -47,7 +47,7 @@ void StdLPersistent_TreeNode::PChildren
 
 //=======================================================================
 //function : CreateAttribute
-//purpose  : Create an empty transient attribuite
+//purpose  : Create an empty transient attribute
 //=======================================================================
 Handle(TDF_Attribute) StdLPersistent_TreeNode::CreateAttribute()
 {
@@ -58,7 +58,7 @@ Handle(TDF_Attribute) StdLPersistent_TreeNode::CreateAttribute()
 
 //=======================================================================
 //function : ImportAttribute
-//purpose  : Import transient attribuite from the persistent data
+//purpose  : Import transient attribute from the persistent data
 //=======================================================================
 void StdLPersistent_TreeNode::ImportAttribute()
 {
index 2f4838c8750304975b9d4c8f8ea55d5127a14fed..3fecc4405993dca14f941eb02b6da5491beaab9a 100644 (file)
@@ -38,10 +38,10 @@ public:
   virtual Standard_CString PName() const
     { return "PDataStd_TreeNode"; }
 
-  //! Create an empty transient attribuite
+  //! Create an empty transient attribute
   Standard_EXPORT virtual Handle(TDF_Attribute) CreateAttribute();
 
-  //! Import transient attribuite from the persistent data.
+  //! Import transient attribute from the persistent data.
   Standard_EXPORT virtual void ImportAttribute();
 
 private:
index a06abeb1991dcb9f393127782539c6e0f8f3d052..d3d819e182b078701517d7e662932586fe321301 100644 (file)
@@ -19,7 +19,7 @@
 
 //=======================================================================
 //function : ImportAttribute
-//purpose  : Import transient attribuite from the persistent data
+//purpose  : Import transient attribute from the persistent data
 //=======================================================================
 template <class AttribClass>
 void StdLPersistent_Value::integer<AttribClass>::ImportAttribute()
@@ -29,7 +29,7 @@ void StdLPersistent_Value::integer<AttribClass>::ImportAttribute()
 
 //=======================================================================
 //function : ImportAttribute
-//purpose  : Import transient attribuite from the persistent data
+//purpose  : Import transient attribute from the persistent data
 //=======================================================================
 template <class AttribClass, class HStringClass>
 void StdLPersistent_Value::string<AttribClass, HStringClass>::ImportAttribute()
@@ -45,7 +45,7 @@ void StdLPersistent_Value::string<AttribClass, HStringClass>::ImportAttribute()
 
 //=======================================================================
 //function : ImportAttribute
-//purpose  : Import transient attribuite from the persistent data
+//purpose  : Import transient attribute from the persistent data
 //=======================================================================
 template<>
 void StdLPersistent_Value::string<TDF_Reference>::ImportAttribute()
@@ -61,7 +61,7 @@ void StdLPersistent_Value::string<TDF_Reference>::ImportAttribute()
 
 //=======================================================================
 //function : ImportAttribute
-//purpose  : Import transient attribuite from the persistent data
+//purpose  : Import transient attribute from the persistent data
 //=======================================================================
 template<>
 void StdLPersistent_Value::string<TDataStd_UAttribute>::ImportAttribute()
@@ -69,7 +69,7 @@ void StdLPersistent_Value::string<TDataStd_UAttribute>::ImportAttribute()
 
 //=======================================================================
 //function : CreateAttribute
-//purpose  : Create an empty transient attribuite
+//purpose  : Create an empty transient attribute
 //=======================================================================
 Handle(TDF_Attribute) StdLPersistent_Value::UAttribute::CreateAttribute()
 {
index 2dea8937ecd15534d4d074db27711ed6ebf2f045..bd2627f630d870de4751ec6593acefd71e1452d8 100644 (file)
@@ -33,7 +33,7 @@ class StdLPersistent_Value
   class integer : public StdObjMgt_Attribute<AttribClass>::SingleInt
   {
   public:
-    //! Import transient attribuite from the persistent data.
+    //! Import transient attribute from the persistent data.
     Standard_EXPORT virtual void ImportAttribute();
   };
 
@@ -42,7 +42,7 @@ class StdLPersistent_Value
   class string : public StdObjMgt_Attribute<AttribClass>::SingleRef
   {
   public:
-    //! Import transient attribuite from the persistent data.
+    //! Import transient attribute from the persistent data.
     Standard_EXPORT virtual void ImportAttribute();
   };
 
@@ -66,7 +66,7 @@ public:
   class UAttribute : public string <TDataStd_UAttribute>
   {
   public:
-    //! Create an empty transient attribuite
+    //! Create an empty transient attribute
     Standard_EXPORT virtual Handle(TDF_Attribute) CreateAttribute();
     Standard_CString PName() const { return "PDataStd_UAttribute"; }
   };
@@ -74,7 +74,7 @@ public:
   class Integer : public integer <TDataStd_Integer>
   {
   public:
-    //! Create an empty transient attribuite
+    //! Create an empty transient attribute
     Standard_EXPORT virtual Handle(TDF_Attribute) CreateAttribute();
     Standard_CString PName() const { return "PDataStd_Integer"; }
   };
@@ -82,7 +82,7 @@ public:
   class Name : public string <TDataStd_Name>
   {
   public:
-    //! Create an empty transient attribuite
+    //! Create an empty transient attribute
     Standard_EXPORT virtual Handle(TDF_Attribute) CreateAttribute();
     Standard_CString PName() const { return "PDataStd_Name"; }
   };
@@ -90,7 +90,7 @@ public:
   class AsciiString : public string <TDataStd_AsciiString, StdLPersistent_HString::Ascii>
   {
   public:
-    //! Create an empty transient attribuite
+    //! Create an empty transient attribute
     Standard_EXPORT virtual Handle(TDF_Attribute) CreateAttribute();
     Standard_CString PName() const { return "PDataStd_AsciiString"; }
   };
index 21c53d5a70953a049df828d10275f4cb2b7cac3a..477814784b2211a95766f87a4e18fd59d514fa0f 100644 (file)
@@ -41,7 +41,7 @@ public:
   //! Returns persistent type name
   inline Standard_CString PName() const { return "PDataStd_Variable"; }
 
-  //! Import transient attribuite from the persistent data.
+  //! Import transient attribute from the persistent data.
   void Import (const Handle(TDataStd_Variable)& theAttribute) const
   {
     theAttribute->Constant (myIsConstant);
index 8d9b6db323f3c169aa65dd1e6f6c92ecf8ba40ea..3aae4b103e5d1a65539c2cf14f6fc4d648b26e53 100644 (file)
@@ -38,7 +38,7 @@ protected:
     //! Returns persistent type name
     Standard_CString PName() const;
 
-    //! Import transient attribuite from the persistent data
+    //! Import transient attribute from the persistent data
     virtual void ImportAttribute() {}
   };
 
index 238ba10a85b37244571b89783ee9dd1bb06e8159..a77cba2cc38e639ff389ac5ce1630ff605132f02 100644 (file)
@@ -39,7 +39,7 @@ public:
   //! Returns persistent type name
   inline Standard_CString PName() const { return "PDocStd_XLink"; }
 
-  //! Import transient attribuite from the persistent data.
+  //! Import transient attribute from the persistent data.
   void Import (const Handle(TDocStd_XLink)& theAttribute) const
   {
     if (myDocEntry)
index c0731ad021d9e42f1f0d06b88afaf6b521387dd1..18a010e181b32cf922431e49b93a54100ac4dbe9 100644 (file)
@@ -26,11 +26,11 @@ class StdObjMgt_Attribute : public Standard_Transient
   class base : public StdObjMgt_Persistent
   {
   public:
-    //! Create an empty transient attribuite
+    //! Create an empty transient attribute
     virtual Handle(TDF_Attribute) CreateAttribute()
       { return myTransient = new Transient; }
 
-    //! Get transient attribuite for the persistent data
+    //! Get transient attribute for the persistent data
     virtual Handle(TDF_Attribute) GetAttribute() const
       { return Handle(TDF_Attribute)(myTransient); }
 
@@ -79,7 +79,7 @@ private:
     virtual Standard_CString PName() const 
       { return myPersistent->PName(); }
 
-    //! Import transient attribuite from the persistent data
+    //! Import transient attribute from the persistent data
     virtual void ImportAttribute()
     {
       if (myPersistent && this->myTransient)
index 2107caa0ea4fb0e720603f8d15e06b632ce78979..44a3efc5635b3f2e15a079d956a32fb3b30a0afd 100644 (file)
@@ -23,7 +23,7 @@ StdObjMgt_Persistent::StdObjMgt_Persistent()
 //=======================================================================
 //function : ImportDocument
 //purpose  : Import transient document from the persistent data
-//           (to be overriden by document class;
+//           (to be overridden by document class;
 //           does nothing by default for other classes).
 //=======================================================================
 void StdObjMgt_Persistent::ImportDocument
@@ -31,8 +31,8 @@ void StdObjMgt_Persistent::ImportDocument
 
 //=======================================================================
 //function : CreateAttribute
-//purpose  : Create an empty transient attribuite
-//           (to be overriden by attribute classes;
+//purpose  : Create an empty transient attribute
+//           (to be overridden by attribute classes;
 //           does nothing and returns a null handle by default for other classes)
 //=======================================================================
 Handle(TDF_Attribute) StdObjMgt_Persistent::CreateAttribute()
@@ -40,8 +40,8 @@ Handle(TDF_Attribute) StdObjMgt_Persistent::CreateAttribute()
 
 //=======================================================================
 //function : GetAttribute
-//purpose  : Get transient attribuite for the persistent data
-//           (to be overriden by attribute classes;
+//purpose  : Get transient attribute for the persistent data
+//           (to be overridden by attribute classes;
 //           returns a null handle by default for non-attribute classes)
 //=======================================================================
 Handle(TDF_Attribute) StdObjMgt_Persistent::GetAttribute() const
@@ -49,8 +49,8 @@ Handle(TDF_Attribute) StdObjMgt_Persistent::GetAttribute() const
 
 //=======================================================================
 //function : ImportAttribute
-//purpose  : Import transient attribuite from the persistent data
-//           (to be overriden by attribute classes;
+//purpose  : Import transient attribute from the persistent data
+//           (to be overridden by attribute classes;
 //           does nothing by default for non-attribute classes)
 //=======================================================================
 void StdObjMgt_Persistent::ImportAttribute() {}
@@ -58,7 +58,7 @@ void StdObjMgt_Persistent::ImportAttribute() {}
 //=======================================================================
 //function : AsciiString
 //purpose  : Get referenced ASCII string
-//           (to be overriden by ASCII string class;
+//           (to be overridden by ASCII string class;
 //           returns a null handle by default for other classes)
 //=======================================================================
 Handle(TCollection_HAsciiString) StdObjMgt_Persistent::AsciiString() const
@@ -67,7 +67,7 @@ Handle(TCollection_HAsciiString) StdObjMgt_Persistent::AsciiString() const
 //=======================================================================
 //function : ExtString
 //purpose  : Get referenced extended string
-//           (to be overriden by extended string class;
+//           (to be overridden by extended string class;
 //           returns a null handle by default for other classes)
 //=======================================================================
 Handle(TCollection_HExtendedString) StdObjMgt_Persistent::ExtString() const
@@ -76,7 +76,7 @@ Handle(TCollection_HExtendedString) StdObjMgt_Persistent::ExtString() const
 //=======================================================================
 //function : Label
 //purpose  : Get a label expressed by referenced extended string
-//           (to be overriden by extended string class;
+//           (to be overridden by extended string class;
 //           returns a null label by default for other classes)
 //=======================================================================
 TDF_Label StdObjMgt_Persistent::Label (const Handle(TDF_Data)&) const
index 0bd21374cb8370b440c99157d52b3a9664cf71dc..88f7f9fb0107bf262f2dbd505a2702441f891b7b 100644 (file)
@@ -61,38 +61,38 @@ public:
   virtual Standard_CString PName() const = 0;
 
   //! Import transient document from the persistent data
-  //! (to be overriden by document class;
+  //! (to be overridden by document class;
   //! does nothing by default for other classes).
   Standard_EXPORT virtual void ImportDocument
     (const Handle(TDocStd_Document)& theDocument) const;
 
-  //! Create an empty transient attribuite
-  //! (to be overriden by attribute classes;
+  //! Create an empty transient attribute
+  //! (to be overridden by attribute classes;
   //! does nothing and returns a null handle by default for other classes).
   Standard_EXPORT virtual Handle(TDF_Attribute) CreateAttribute();
 
-  //! Get transient attribuite for the persistent data
-  //! (to be overriden by attribute classes;
+  //! Get transient attribute for the persistent data
+  //! (to be overridden by attribute classes;
   //! returns a null handle by default for non-attribute classes).
   Standard_EXPORT virtual Handle(TDF_Attribute) GetAttribute() const;
 
-  //! Import transient attribuite from the persistent data
-  //! (to be overriden by attribute classes;
+  //! Import transient attribute from the persistent data
+  //! (to be overridden by attribute classes;
   //! does nothing by default for non-attribute classes).
   Standard_EXPORT virtual void ImportAttribute();
 
   //! Get referenced ASCII string
-  //! (to be overriden by ASCII string class;
+  //! (to be overridden by ASCII string class;
   //! returns a null handle by default for other classes).
   Standard_EXPORT virtual Handle(TCollection_HAsciiString) AsciiString() const;
 
   //! Get referenced extended string
-  //! (to be overriden by extended string class;
+  //! (to be overridden by extended string class;
   //! returns a null handle by default for other classes).
   Standard_EXPORT virtual Handle(TCollection_HExtendedString) ExtString() const;
 
   //! Get a label expressed by referenced extended string
-  //! (to be overriden by extended string class;
+  //! (to be overridden by extended string class;
   //! returns a null label by default for other classes).
   Standard_EXPORT virtual TDF_Label Label (const Handle(TDF_Data)& theDF) const;
 
index 60ac1147e98b8780bb8c01778c7f0d25e336c993..d58a0c946f897a2f623e72e9f7ded02e20cbe1a4 100644 (file)
 
 //=======================================================================
 //function : ImportAttribute
-//purpose  : Import transient attribuite from the persistent data
+//purpose  : Import transient attribute from the persistent data
 //=======================================================================
 void StdPersistent_DataXtd::Geometry::ImportAttribute()
   { myTransient->SetType (static_cast<TDataXtd_GeometryEnum> (myData)); }
 
 //=======================================================================
 //function : ImportAttribute
-//purpose  : Import transient attribuite from the persistent data
+//purpose  : Import transient attribute from the persistent data
 //=======================================================================
 void StdPersistent_DataXtd::Position::ImportAttribute()
   { myTransient->SetPosition (myData); }
index 91c40154e52bc697432e0971e3d384e74d2773fd..925ae55f9fa40a088e45d1b8039e7ad3c95114e5 100644 (file)
@@ -47,14 +47,14 @@ public:
   class Geometry : public StdObjMgt_Attribute<TDataXtd_Geometry>::SingleInt
   {
   public:
-    //! Import transient attribuite from the persistent data.
+    //! Import transient attribute from the persistent data.
     Standard_EXPORT virtual void ImportAttribute();
   };
 
   class Position : public StdObjMgt_Attribute<TDataXtd_Position>::Simple<gp_Pnt>
   {
   public:
-    //! Import transient attribuite from the persistent data.
+    //! Import transient attribute from the persistent data.
     Standard_EXPORT virtual void ImportAttribute();
   };
 };
index d158aff54e4f866ca1d442b41486385fa7211ea2..97c6a2340cb7af5b5fa699043043f52575e540f5 100644 (file)
@@ -19,7 +19,7 @@
 
 //=======================================================================
 //function : Import
-//purpose  : Import transient attribuite from the persistent data
+//purpose  : Import transient attribute from the persistent data
 //=======================================================================
 void StdPersistent_DataXtd_Constraint::Import
   (const Handle(TDataXtd_Constraint)& theAttribute) const
index dc3ea3620254cf98cb4a91664040eef196de1aec..4d8e7ae34c59ff78433b080198872d123e44c5b5 100644 (file)
@@ -47,7 +47,7 @@ public:
   //! Returns persistent type name
   inline Standard_CString PName() const { return "PDataXtd_Constraint"; }
 
-  //! Import transient attribuite from the persistent data.
+  //! Import transient attribute from the persistent data.
   void Import (const Handle(TDataXtd_Constraint)& theAttribute) const;
 
 private:
index 75a36a167eae57d514d0159ec08e649e7213357d..4986e163255bb136e2b09322f257aa0dc714a423 100644 (file)
@@ -20,7 +20,7 @@
 
 //=======================================================================
 //function : Import
-//purpose  : Import transient attribuite from the persistent data
+//purpose  : Import transient attribute from the persistent data
 //=======================================================================
 void StdPersistent_DataXtd_PatternStd::Import
   (const Handle(TDataXtd_PatternStd)& theAttribute) const
index acb17822974850700c0ee8d8f2a3bbe6e21b728d..d8dc5d9ead0e23d9a76aacd4412682b3c72a195a 100644 (file)
@@ -50,7 +50,7 @@ public:
   //! Returns persistent type name
   inline Standard_CString PName() const { return "PDataXtd_PatternStd"; }
 
-  //! Import transient attribuite from the persistent data.
+  //! Import transient attribute from the persistent data.
   void Import (const Handle(TDataXtd_PatternStd)& theAttribute) const;
 
 private:
index a2609dfd16e4e158dd50f13c4a68171d5f4fe058..ecaa4128aa8e8af6585cf5f304164d2863918fc9 100644 (file)
@@ -21,7 +21,7 @@
 
 //=======================================================================
 //function : Import
-//purpose  : Import transient attribuite from the persistent data
+//purpose  : Import transient attribute from the persistent data
 //=======================================================================
 void StdPersistent_Naming::NamedShape::Import
   (const Handle(TNaming_NamedShape)& theAttribute) const
@@ -168,7 +168,7 @@ void StdPersistent_Naming::Name_2::Import
 
 //=======================================================================
 //function : ImportAttribute
-//purpose  : Import transient attribuite from the persistent data
+//purpose  : Import transient attribute from the persistent data
 //=======================================================================
 void StdPersistent_Naming::Naming::ImportAttribute()
 {
@@ -182,7 +182,7 @@ void StdPersistent_Naming::Naming::ImportAttribute()
 
 //=======================================================================
 //function : ImportAttribute
-//purpose  : Import transient attribuite from the persistent data
+//purpose  : Import transient attribute from the persistent data
 //=======================================================================
 void StdPersistent_Naming::Naming_1::ImportAttribute()
 {
index cbd7a1bb0893f10d02626e2187dd6147440a2726..78cf6ecb7e1aac35eca57446ca565b08322a56a5 100644 (file)
@@ -48,7 +48,7 @@ public:
     //! Returns persistent type name
     inline Standard_CString PName() const { return "PNaming_NamedShape"; }
 
-    //! Import transient attribuite from the persistent data.
+    //! Import transient attribute from the persistent data.
     void Import (const Handle(TNaming_NamedShape)& theAttribute) const;
 
   private:
@@ -134,14 +134,14 @@ public:
   class Naming : public StdObjMgt_Attribute<TNaming_Naming>::SingleRef
   {
   public:
-    //! Import transient attribuite from the persistent data.
+    //! Import transient attribute from the persistent data.
     Standard_EXPORT virtual void ImportAttribute();
   };
 
   class Naming_1 : public Naming
   {
   public:
-    //! Import transient attribuite from the persistent data.
+    //! Import transient attribute from the persistent data.
     Standard_EXPORT virtual void ImportAttribute();
   };
 
index 986eabda37359cd4a1ccd422a5dc71cb263b95b5..fc369a4a6d7aea263933493b2097fe5f7a107dda 100644 (file)
@@ -16,7 +16,7 @@
 
 //=======================================================================
 //function : Import
-//purpose  : Import transient attribuite from the persistent data
+//purpose  : Import transient attribute from the persistent data
 //=======================================================================
 void StdPersistent_PPrsStd::AISPresentation::Import
   (const Handle(TDataXtd_Presentation)& theAttribute) const
@@ -52,7 +52,7 @@ void StdPersistent_PPrsStd::AISPresentation::Import
 
 //=======================================================================
 //function : Import
-//purpose  : Import transient attribuite from the persistent data
+//purpose  : Import transient attribute from the persistent data
 //=======================================================================
 void StdPersistent_PPrsStd::AISPresentation_1::Import
   (const Handle(TDataXtd_Presentation)& theAttribute) const
index c5664f4787355563adef666449a268021ed6737c..42772886f6b66ab440410544aeaeb83481727d34 100644 (file)
@@ -46,7 +46,7 @@ public:
     //! Returns persistent type name
     inline Standard_CString PName() const { return "PPrsStd_AISPresentation"; }
 
-    //! Import transient attribuite from the persistent data.
+    //! Import transient attribute from the persistent data.
     void Import (const Handle(TDataXtd_Presentation)& theAttribute) const;
 
   private:
@@ -76,7 +76,7 @@ public:
     //! Returns persistent type name
     inline Standard_CString PName() const { return "PPrsStd_AISPresentation_1"; }
 
-    //! Import transient attribuite from the persistent data.
+    //! Import transient attribute from the persistent data.
     void Import (const Handle(TDataXtd_Presentation)& theAttribute) const;
 
   private:
index 9facb1d7f68672ef1ae41a7da7c5caae9c9c961d..869e6053c9567e5c738b285d840ac39d6db9d1b0 100644 (file)
@@ -18,7 +18,7 @@
 #include <Font_TextFormatter.hxx>
 
 // =======================================================================
-// Function : Perfrom
+// Function : Perform
 // Purpose  :
 // =======================================================================
 TopoDS_Shape StdPrs_BRepTextBuilder::Perform (StdPrs_BRepFont&          theFont,
index d1c4f07ed9e30a34fd33b8f1572c40c2252e8f1a..d32fee6d14cd583ea9c8e5ddf646396e093be1a0 100644 (file)
@@ -15,7 +15,7 @@
 // commercial license or contractual agreement.
 
 // Great zoom leads to non-coincidence of
-// a point and non-infinite lines passing throught this point:
+// a point and non-infinite lines passing through this point:
 
 #include <Adaptor3d_Curve.hxx>
 #include <Bnd_Box.hxx>
index e54668ffe2bd1d1f22bb1d55a4b8245686c4d42f..bb4a3caf3159d03d7e52cdbb446d43ae3d189d29 100644 (file)
@@ -13,7 +13,7 @@
 // commercial license or contractual agreement.
 
 // Great zoom leads to non-coincidence of
-// a point and non-infinite lines passing throught this point:
+// a point and non-infinite lines passing through this point:
 
 #include <Adaptor3d_Curve.hxx>
 #include <Bnd_Box.hxx>
index 8db2debbdfaa59a15bf7eb6a82b8319c78be061a..d7f1ef7ffcbb406169b72530daf2a3bc141b1a03 100644 (file)
@@ -81,7 +81,7 @@ namespace
     }
   }
 
-  //! Reoder and adjust to the limit a curve's parameter values.
+  //! Reorder and adjust to the limit a curve's parameter values.
   //! @param theCurve [in] the curve.
   //! @param theLimit [in] the parameter limit value.
   //! @param theFirst [in/out] the first parameter value.
@@ -442,7 +442,7 @@ void StdPrs_Isolines::addOnSurface (const Handle(BRepAdaptor_Surface)& theSurfac
         Standard_Real aU1 = anEdgeCurve->FirstParameter();
         Standard_Real aU2 = anEdgeCurve->LastParameter();
 
-        // MSV 17.08.06 OCC13144: U2 occured less than U1, to overcome it
+        // MSV 17.08.06 OCC13144: U2 occurred less than U1, to overcome it
         // ensure that distance U2-U1 is not greater than aLimit*2,
         // if greater then choose an origin and use aLimit to define
         // U1 and U2 anew.
index db8c18475e622e8e6f7fadb68174f6b12d30950f..244c29610a30c237f80aaea6e89aeae4e5b55136 100644 (file)
@@ -163,7 +163,7 @@ public:
                                             const TColStd_SequenceOfReal&       theUIsoParams,
                                             const TColStd_SequenceOfReal&       theVIsoParams);
 
-  //! Evalute sequence of parameters for drawing uv isolines for a given face.
+  //! Evaluate sequence of parameters for drawing uv isolines for a given face.
   //! @param theFace [in] the face.
   //! @param theNbIsoU [in] the number of u isolines.
   //! @param theNbIsoV [in] the number of v isolines.
index 4f5cd24aea96f5bded47ef88c287a94eea39963d..8072ee92d800d962f6d6f21878f576a23c24bb27 100644 (file)
@@ -45,7 +45,7 @@ class TopoDS_Face;
 //! puts them in an entity called Selection (see package SelectMgr) and returns it.
 //!
 //! A Priority for the decomposed pickable objects can be given ;
-//! by default There is A Preset Hierachy:
+//! by default There is A Preset Hierarchy:
 //! Vertex             priority : 5
 //! Edge               priority : 4
 //! Wire               priority : 3
@@ -82,7 +82,7 @@ public:
   //! called to compute sensitive entities on faces.
   Standard_EXPORT static void Load (const Handle(SelectMgr_Selection)& aSelection, const TopoDS_Shape& aShape, const TopAbs_ShapeEnum aType, const Standard_Real theDeflection, const Standard_Real theDeviationAngle, const Standard_Boolean AutoTriangulation = Standard_True, const Standard_Integer aPriority = -1, const Standard_Integer NbPOnEdge = 9, const Standard_Real MaximalParameter = 500);
   
-  //! Same  functionnalities  ; the  only
+  //! Same  functionalities  ; the  only
   //! difference is that  the selectable object from which the
   //! selection comes is stored in each Sensitive EntityOwner;
   //! decomposition of <aShape> into sensitive entities following
index 0d10895a0a7349b852c0f6bf0da3f907aa8430fa..891722df2700481760dae4b28e1fd04eadabb60c 100644 (file)
@@ -82,16 +82,16 @@ public:
   //! Returns data type
   Standard_EXPORT TCollection_ExtendedString DataType() const;
 
-  //! Add <theUserInfo> to the user informations
+  //! Add <theUserInfo> to the user information
   Standard_EXPORT void AddToUserInfo(const TCollection_AsciiString& theUserInfo);
 
-  //! Return the user informations
+  //! Return the user information
   Standard_EXPORT const TColStd_SequenceOfAsciiString& UserInfo() const;
 
-  //! Add <theUserInfo> to the user informations
+  //! Add <theUserInfo> to the user information
   Standard_EXPORT void AddToComments(const TCollection_ExtendedString& aComment);
 
-  //! Return the user informations
+  //! Return the user information
   Standard_EXPORT const TColStd_SequenceOfExtendedString& Comments() const;
 
   //! Returns the number of persistent objects
index 36c3a02def9a0232b6f6711f7334a63e3bd65fcf..03c32fb4c2d6fad8482b5289a8f28fcdaf2559b8 100644 (file)
@@ -88,7 +88,7 @@ public:
     usedRepresentation = theUsedRepresentation;
   }
   
-  //! Retuns field UsedRepresentation
+  //! Returns field UsedRepresentation
   inline Handle(StepRepr_Representation) UsedRepresentation() const
   {
     return usedRepresentation;
index 2c222e9342f2176b6bee23419e570712f1e6b4db..1e2d1291880e5c8f06662aa206d43a43074e2b5a 100644 (file)
@@ -28,10 +28,10 @@ void StepBasic_ConversionBasedUnitAndLengthUnit::Init(const Handle(StepBasic_Dim
                                                      const Handle(TCollection_HAsciiString)& aName,
                                                      const Handle(StepBasic_MeasureWithUnit)& aConversionFactor)
 {
-  // --- ANDOR componant fields ---
+  // --- ANDOR component fields ---
   StepBasic_ConversionBasedUnit::Init(aDimensions, aName, aConversionFactor);
   
-  // --- ANDOR componant fields ---
+  // --- ANDOR component fields ---
   lengthUnit = new StepBasic_LengthUnit();
   lengthUnit->Init(aDimensions);
 }
index ca94c4bb2ac3f3ba673a39ce8d4007f697c21401..8353815bc8a67ab0b933cb72b63438d0908fab1f 100644 (file)
@@ -41,10 +41,10 @@ void StepBasic_ConversionBasedUnitAndMassUnit::Init
    const Handle(TCollection_HAsciiString)& aName,
    const Handle(StepBasic_MeasureWithUnit)& aConversionFactor)
 {
-  // --- ANDOR componant fields ---
+  // --- ANDOR component fields ---
   StepBasic_ConversionBasedUnit::Init(aDimensions, aName, aConversionFactor);
   
-  // --- ANDOR componant fields ---
+  // --- ANDOR component fields ---
   massUnit = new StepBasic_MassUnit();
   massUnit->Init(aDimensions);
 }
index b72c5b654918544105e53b7f0227e5d9e0208752..d9f51bb26999389f8a2d663e9e1482bcce142c45 100644 (file)
@@ -30,10 +30,10 @@ void StepBasic_ConversionBasedUnitAndPlaneAngleUnit::Init(const Handle(StepBasic
                                                          const Handle(TCollection_HAsciiString)& aName,
                                                          const Handle(StepBasic_MeasureWithUnit)& aConversionFactor)
 {
-  // --- ANDOR componant fields ---
+  // --- ANDOR component fields ---
   StepBasic_ConversionBasedUnit::Init(aDimensions, aName, aConversionFactor);
        
-  // --- ANDOR componant fields ---
+  // --- ANDOR component fields ---
   planeAngleUnit = new StepBasic_PlaneAngleUnit();
   planeAngleUnit->Init(aDimensions);
 }
index 12c5bc91b1140e61be064f08372bc608f7132f8e..2f8fe48d3ba8f82d4102c5d8f0c6b01f3d63c907 100644 (file)
@@ -30,10 +30,10 @@ void StepBasic_ConversionBasedUnitAndRatioUnit::Init(const Handle(StepBasic_Dime
                                                     const Handle(TCollection_HAsciiString)& aName,
                                                     const Handle(StepBasic_MeasureWithUnit)& aConversionFactor)
 {
-  // --- ANDOR componant fields ---
+  // --- ANDOR component fields ---
   StepBasic_ConversionBasedUnit::Init(aDimensions, aName, aConversionFactor);
        
-  // --- ANDOR componant fields ---
+  // --- ANDOR component fields ---
   ratioUnit = new StepBasic_RatioUnit();
   ratioUnit->Init(aDimensions);
 }
index fab575aa7547e0443a2f871c1214a60518aa7ef0..641aa0f667470fd541cc1131079e9fef63c3c704 100644 (file)
@@ -30,10 +30,10 @@ void StepBasic_ConversionBasedUnitAndSolidAngleUnit::Init(const Handle(StepBasic
                                                          const Handle(TCollection_HAsciiString)& aName,
                                                          const Handle(StepBasic_MeasureWithUnit)& aConversionFactor)
 {
-  // --- ANDOR componant fields ---
+  // --- ANDOR component fields ---
   StepBasic_ConversionBasedUnit::Init(aDimensions, aName, aConversionFactor);
 
-  // --- ANDOR componant fields ---
+  // --- ANDOR component fields ---
   solidAngleUnit = new StepBasic_SolidAngleUnit();
   solidAngleUnit->Init(aDimensions);
 }
index b3129200ed76b384a3b67d9deb03e3256ecd94f6..c68948703a4d94cfbf1061dee345bc7abffb56bd 100644 (file)
@@ -30,10 +30,10 @@ void StepBasic_ConversionBasedUnitAndTimeUnit::Init(const Handle(StepBasic_Dimen
                                                    const Handle(TCollection_HAsciiString)& aName,
                                                    const Handle(StepBasic_MeasureWithUnit)& aConversionFactor)
 {
-  // --- ANDOR componant fields ---
+  // --- ANDOR component fields ---
   StepBasic_ConversionBasedUnit::Init(aDimensions, aName, aConversionFactor);
   
-  // --- ANDOR componant fields ---
+  // --- ANDOR component fields ---
   timeUnit = new StepBasic_TimeUnit();
   timeUnit->Init(aDimensions);
 }
index c94aed97c927aa0a4df7cacc27c5ed3642ccedc9..1156ffef3a695dd179569d4a1e6c3f23b40f53c8 100644 (file)
@@ -85,7 +85,7 @@ void StepBasic_SiUnit::SetDimensions(const Handle(StepBasic_DimensionalExponents
 Handle(StepBasic_DimensionalExponents) StepBasic_SiUnit::Dimensions() const
 {
   // WARNING : the field is redefined.
-  // method body is not yet automaticly wrote
+  // method body is not yet automatically wrote
 
   // attention : dimensional exponent retourne incorrect (pointeur NULL).
   // on devrait, en fonction du nom de l unite SI, construire un dimensional
index aa5946c58844f82af0449be350f85fbc83bc1bff..14b98bb81c08d9d97b862310a1f2516434f3af15 100644 (file)
@@ -29,13 +29,13 @@ void StepBasic_SiUnitAndLengthUnit::Init(const Standard_Boolean hasAprefix,
                                         const StepBasic_SiUnitName aName)
 {
   // --- classe inherited fields ---
-  // --- ANDOR componant fields ---
+  // --- ANDOR component fields ---
   lengthUnit = new StepBasic_LengthUnit();
   Handle(StepBasic_DimensionalExponents) aDimensions;
   aDimensions.Nullify();
   lengthUnit->Init(aDimensions);
 
-  // --- ANDOR componant fields ---
+  // --- ANDOR component fields ---
   StepBasic_SiUnit::Init(hasAprefix, aPrefix, aName);
 }
 
index 280b4e38f6f1ddefe94d66890a808dc848186570..71b8b4d7d7ec61876de80109ceae28583ef00c56 100644 (file)
@@ -39,13 +39,13 @@ void StepBasic_SiUnitAndMassUnit::Init(const Standard_Boolean hasAprefix,
                                        const StepBasic_SiUnitName aName)
 {
   // --- classe inherited fields ---
-  // --- ANDOR componant fields ---
+  // --- ANDOR component fields ---
   massUnit = new StepBasic_MassUnit();
   Handle(StepBasic_DimensionalExponents) aDimensions;
   aDimensions.Nullify();
   massUnit->Init(aDimensions);
 
-  // --- ANDOR componant fields ---
+  // --- ANDOR component fields ---
   StepBasic_SiUnit::Init(hasAprefix, aPrefix, aName);
 }
 
index a31e6d838cb0615da147fff221dcb8bd57fd33ef..9ea9ef4f76e2fee569472f12184d67373e545f28 100644 (file)
@@ -29,13 +29,13 @@ void StepBasic_SiUnitAndPlaneAngleUnit::Init(const Standard_Boolean hasAprefix,
                                             const StepBasic_SiUnitName aName)
 {
   // --- classe inherited fields ---
-  // --- ANDOR componant fields ---
+  // --- ANDOR component fields ---
   planeAngleUnit = new StepBasic_PlaneAngleUnit();
   Handle(StepBasic_DimensionalExponents) aDimensions;
   aDimensions.Nullify();
   planeAngleUnit->Init(aDimensions);
 
-  // --- ANDOR componant fields ---
+  // --- ANDOR component fields ---
   StepBasic_SiUnit::Init(hasAprefix, aPrefix, aName);
 }
 
index 82bd1628e5d037c211ef4db8b6acb60c4632d540..80259c2cd3888989e2935b439bd86269b1295356 100644 (file)
@@ -29,10 +29,10 @@ void StepBasic_SiUnitAndRatioUnit::Init(const Standard_Boolean hasAprefix,
                                        const StepBasic_SiUnitName aName)
 {
   // --- class inherited fields ---
-  // --- ANDOR componant fields ---
+  // --- ANDOR component fields ---
   StepBasic_SiUnit::Init(hasAprefix, aPrefix, aName);
     
-  // --- ANDOR componant fields ---
+  // --- ANDOR component fields ---
   ratioUnit = new StepBasic_RatioUnit();
   Handle(StepBasic_DimensionalExponents) aDimensions;
   aDimensions.Nullify();
index eac4868e12e292fd5078feceadb5a436790bfae1..14b144e9e48f95975af45c1652eb74a256befc69 100644 (file)
@@ -29,10 +29,10 @@ void StepBasic_SiUnitAndSolidAngleUnit::Init(const Standard_Boolean hasAprefix,
                                             const StepBasic_SiUnitName aName)
 {
   // --- class inherited fields ---
-  // --- ANDOR componant fields ---
+  // --- ANDOR component fields ---
   StepBasic_SiUnit::Init(hasAprefix, aPrefix, aName);
     
-  // --- ANDOR componant fields ---
+  // --- ANDOR component fields ---
   solidAngleUnit = new StepBasic_SolidAngleUnit();
   Handle(StepBasic_DimensionalExponents) aDimensions;
   aDimensions.Nullify();
index a5116ff32d42b2fd67d95d64321f6d5708535a02..1c97e2b5737f240716f376ef71b5c8e64b74a969 100644 (file)
@@ -39,10 +39,10 @@ void StepBasic_SiUnitAndThermodynamicTemperatureUnit::Init(const Standard_Boolea
                                                            const StepBasic_SiUnitName aName)
 {
   // --- class inherited fields ---
-  // --- ANDOR componant fields ---
+  // --- ANDOR component fields ---
   StepBasic_SiUnit::Init(hasAprefix, aPrefix, aName);
     
-  // --- ANDOR componant fields ---
+  // --- ANDOR component fields ---
   thermodynamicTemperatureUnit = new StepBasic_ThermodynamicTemperatureUnit();
   Handle(StepBasic_DimensionalExponents) aDimensions;
   aDimensions.Nullify();
index 43542fb5c23e02c7daa3b4e90bed5502ff8c3c06..ac50f3a49c44db9e48b124c94ff2e071a42bedc5 100644 (file)
@@ -29,10 +29,10 @@ void StepBasic_SiUnitAndTimeUnit::Init(const Standard_Boolean hasAprefix,
                                       const StepBasic_SiUnitName aName)
 {
   // --- class inherited fields ---
-  // --- ANDOR componant fields ---
+  // --- ANDOR component fields ---
   StepBasic_SiUnit::Init(hasAprefix, aPrefix, aName);
 
-  // --- ANDOR componant fields ---
+  // --- ANDOR component fields ---
   timeUnit = new StepBasic_TimeUnit();
   Handle(StepBasic_DimensionalExponents) aDimensions;
   aDimensions.Nullify();
index 1ae79d6136e46d536695f3d089d1624cb1e95a8b..3ea2d54435f48244baed2b5bd0db6aae044d28c8 100644 (file)
@@ -41,20 +41,20 @@ class StepData_SelectMember;
 //! declared as for a kind (Integer String etc), then declared as
 //! a list with its initial size, after this its items are set
 //! Also it can be set in once if the HArray is ready
-class StepData_Field 
+class StepData_Field
 {
 public:
 
   DEFINE_STANDARD_ALLOC
 
-  
+
   //! Creates a Field, empty ("no value defined")
   Standard_EXPORT StepData_Field();
-  
+
   //! Creates a Field from another one. If <copy> is True, Handled
   //! data (Select,String,List, not entities) are copied
   Standard_EXPORT StepData_Field(const StepData_Field& other, const Standard_Boolean copy = Standard_False);
-  
+
   //! Gets the copy of the values of another field
   Standard_EXPORT void CopyFrom (const StepData_Field& other);
 
@@ -69,122 +69,122 @@ public:
   //! Just before SetList, predeclares it as "any"
   //! A Kind can be directly set here to declare a type
   Standard_EXPORT void Clear (const Standard_Integer kind = 0);
-  
+
   //! Codes a Field as derived (no proper value)
   Standard_EXPORT void SetDerived();
-  
+
   //! Directly sets the Integer value, if its Kind matches
   //! Integer, Boolean, Logical, or Enum (does not change Kind)
   Standard_EXPORT void SetInt (const Standard_Integer val);
-  
+
   //! Sets an Integer value (before SetList* declares it as Integer)
   Standard_EXPORT void SetInteger (const Standard_Integer val = 0);
-  
+
   //! Sets a Boolean value (or predeclares a list as boolean)
   Standard_EXPORT void SetBoolean (const Standard_Boolean val = Standard_False);
-  
+
   //! Sets a Logical Value (or predeclares a list as logical)
   Standard_EXPORT void SetLogical (const StepData_Logical val = StepData_LFalse);
-  
+
   //! Sets a Real    Value (or predeclares a list as Real);
   Standard_EXPORT void SetReal (const Standard_Real val = 0.0);
-  
-  //! Sets a String  Value (or predeclares a list as String)
-  //! Does not redefine the Kind if it is alread String or Enum
+
+  //! Sets a String Value (or predeclares a list as String)
+  //! Does not redefine the Kind if it is already String or Enum
   Standard_EXPORT void SetString (const Standard_CString val = "");
-  
+
   //! Sets an Enum Value (as its integer counterpart)
   //! (or predeclares a list as Enum)
   //! If <text> is given , also sets its textual expression
   //! <val> negative means unknown (known values begin at 0)
   Standard_EXPORT void SetEnum (const Standard_Integer val = -1, const Standard_CString text = "");
-  
+
   //! Sets a SelectMember (for Integer,Boolean,Enum,Real,Logical)
   //! Hence, the value of the field is accessed through this member
   Standard_EXPORT void SetSelectMember (const Handle(StepData_SelectMember)& val);
-  
+
   //! Sets an Entity Value
   Standard_EXPORT void SetEntity (const Handle(Standard_Transient)& val);
-  
+
   //! Predeclares a list as of entity
   Standard_EXPORT void SetEntity();
-  
+
   //! Declares a field as a list, with an initial size
   //! Initial lower is defaulted as 1, can be defined
   //! The list starts empty, typed by the last Set*
   //! If no Set* before, sets it as "any" (transient/select)
   Standard_EXPORT void SetList (const Standard_Integer size, const Standard_Integer first = 1);
-  
+
   //! Declares a field as an homogeneous square list, with initial
   //! sizes, and initial lowers
   Standard_EXPORT void SetList2 (const Standard_Integer siz1, const Standard_Integer siz2, const Standard_Integer f1 = 1, const Standard_Integer f2 = 1);
-  
+
   //! Sets an undetermined value : can be String, SelectMember,
   //! HArray(1-2) ... else, an Entity
   //! In case of an HArray, determines and records its size(s)
   Standard_EXPORT void Set (const Handle(Standard_Transient)& val);
-  
+
   //! Declares an item of the list as undefined
   //! (ignored if list not defined as String,Entity or Any)
   Standard_EXPORT void ClearItem (const Standard_Integer num);
-  
+
   //! Internal access to an Integer Value for a list, plus its kind
   Standard_EXPORT void SetInt (const Standard_Integer num, const Standard_Integer val, const Standard_Integer kind);
-  
+
   //! Sets an Integer Value for a list (rank num)
   //! (recognizes a SelectMember)
   Standard_EXPORT void SetInteger (const Standard_Integer num, const Standard_Integer val);
-  
+
   Standard_EXPORT void SetBoolean (const Standard_Integer num, const Standard_Boolean val);
-  
+
   Standard_EXPORT void SetLogical (const Standard_Integer num, const StepData_Logical val);
-  
+
   //! Sets an Enum Value (Integer counterpart), also its text
   //! expression if known (if list has been set as "any")
   Standard_EXPORT void SetEnum (const Standard_Integer num, const Standard_Integer val, const Standard_CString text = "");
-  
+
   Standard_EXPORT void SetReal (const Standard_Integer num, const Standard_Real val);
-  
+
   Standard_EXPORT void SetString (const Standard_Integer num, const Standard_CString val);
-  
+
   Standard_EXPORT void SetEntity (const Standard_Integer num, const Handle(Standard_Transient)& val);
-  
+
   Standard_EXPORT Standard_Boolean IsSet (const Standard_Integer n1 = 1, const Standard_Integer n2 = 1) const;
-  
+
   //! Returns the kind of an item in a list or double list
   //! It is the kind of the list, except if it is "Any", in such a
   //! case the true kind is determined and returned
   Standard_EXPORT Standard_Integer ItemKind (const Standard_Integer n1 = 1, const Standard_Integer n2 = 1) const;
-  
+
   //! Returns the kind of the field
   //! <type> True (D) : returns only the type itself
   //! else, returns the complete kind
   Standard_EXPORT Standard_Integer Kind (const Standard_Boolean type = Standard_True) const;
-  
+
   Standard_EXPORT Standard_Integer Arity() const;
-  
+
   Standard_EXPORT Standard_Integer Length (const Standard_Integer index = 1) const;
-  
+
   Standard_EXPORT Standard_Integer Lower (const Standard_Integer index = 1) const;
-  
+
   Standard_EXPORT Standard_Integer Int() const;
-  
+
   Standard_EXPORT Standard_Integer Integer (const Standard_Integer n1 = 1, const Standard_Integer n2 = 1) const;
-  
+
   Standard_EXPORT Standard_Boolean Boolean (const Standard_Integer n1 = 1, const Standard_Integer n2 = 1) const;
-  
+
   Standard_EXPORT StepData_Logical Logical (const Standard_Integer n1 = 1, const Standard_Integer n2 = 1) const;
-  
+
   Standard_EXPORT Standard_Real Real (const Standard_Integer n1 = 1, const Standard_Integer n2 = 1) const;
-  
+
   Standard_EXPORT Standard_CString String (const Standard_Integer n1 = 1, const Standard_Integer n2 = 1) const;
-  
+
   Standard_EXPORT Standard_Integer Enum (const Standard_Integer n1 = 1, const Standard_Integer n2 = 1) const;
-  
+
   Standard_EXPORT Standard_CString EnumText (const Standard_Integer n1 = 1, const Standard_Integer n2 = 1) const;
-  
+
   Standard_EXPORT Handle(Standard_Transient) Entity (const Standard_Integer n1 = 1, const Standard_Integer n2 = 1) const;
-  
+
   Standard_EXPORT Handle(Standard_Transient) Transient() const;
 
 
index 5f83066d248a946bd8b90919c8ba3e5d9f844aaf..c4f8dfa083b8619a39eb920e3cb1b63d56ec2396 100644 (file)
@@ -67,7 +67,7 @@ public:
   //! recognized by the resources
   Standard_EXPORT virtual Standard_Integer TypeNumber (const Handle(Standard_Type)& atype) const Standard_OVERRIDE;
   
-  //! Calls GlobalCheck for each of its recorded ressources
+  //! Calls GlobalCheck for each of its recorded resources
   Standard_EXPORT virtual Standard_Boolean GlobalCheck (const Interface_Graph& G, Handle(Interface_Check)& ach) const Standard_OVERRIDE;
   
   //! Returns the Schema Name attached to each class of Protocol
index ee99849f0f19ff5b11e55f54b32e3c83327ec9cb..9baf5a681a6894cdf42bc0984184f0892cffa645 100644 (file)
@@ -44,7 +44,7 @@ public:
   //! Adds a Module bound with a Protocol to the list : does
   //! nothing if already in the list, THAT IS, Same Type (exact
   //! match) and Same State (that is, IsEqual is not required)
-  //! Once added, stores its attached Protocol in correspondance
+  //! Once added, stores its attached Protocol in correspondence
   Standard_EXPORT void Add (const Handle(StepData_ReadWriteModule)& amodule, const Handle(StepData_Protocol)& aprotocol);
   
   //! Returns the Module stored in a given GlobalNode
index 05040ef80abb3eea89e297267d55895e6e73a1ce..c146699f10feff70a201ec4b1d399199d462d286 100644 (file)
@@ -43,12 +43,11 @@ class StepData_SelectMember;
 //! to control an input Argument
 //!
 //! This class implies to designate each member Type by a Case
-//! Number which is a positive Integer value (this allows a faster
-//! treatement).
+//! Number which is a positive Integer value (this allows a faster treatment).
 //!
 //! With this class, a specific SelectType can :
 //! - recognize an Entity as complying or not with its definition,
-//! - storing it, with the garanty that the stored Entity complies
+//! - storing it, with the guarantee that the stored Entity complies
 //! with the definition of the SelectType
 //! - and (if judged useful) give the stored Entity under the good
 //! Type rather than simply "Transient".
index 646b6ee256c3400348c68790c44a40b33e18640c..77625a90b181045be1c7ccf27612d884035c9730 100644 (file)
@@ -35,7 +35,7 @@ class StepData_StepWriter;
 //! these features :
 //! - same form as for writing a STEP File (because it is clear
 //! and compact enough, even if the names of the fields do not
-//! appear) : thus, no additionnal resource is required
+//! appear) : thus, no additional resource is required
 //! - possibility to look for an entity itself (only its Type or
 //! with its content), an entity and it shared items (one level)
 //! or all the entities its refers to, directly or recursively.
@@ -61,7 +61,7 @@ public:
   Standard_EXPORT StepData_StepWriter& StepWriter();
   
   //! Dumps a Entity on an Messenger. Returns True if
-  //! sucess, False, if the entity to dump has not been recognized
+  //! success, False, if the entity to dump has not been recognized
   //! by the Protocol. <level> can have one of these values :
   //! - 0 : prints the TYPE only, as known in STEP Files (StepType)
   //! If <ent> has not been regognized by the Protocol, or if its
@@ -72,7 +72,7 @@ public:
   //! - 2 : dumps the entity completely, plus the item its refers to
   //! at first level (a header message designates the starting
   //! entity of the dump) <Lists Shared and Implied>
-  //! - 3 : dumps the entity and its refered items at any levels
+  //! - 3 : dumps the entity and its referred items at any levels
   //!
   //! For levels 1,2,3, the numbers displayed (form #nnn) are the
   //! numbers of the corresponding entities in the Model
index 7a291054beb89df638da18722eb578a58ac24587..953f16617163aa61ae9f2a6d87c384fc78b6b14c 100644 (file)
@@ -57,7 +57,7 @@ public:
   //! returns Header entities under the form of an iterator
   Standard_EXPORT Interface_EntityIterator Header() const;
   
-  //! says if a Header entity has a specifed type
+  //! says if a Header entity has a specified type
   Standard_EXPORT Standard_Boolean HasHeaderEntity (const Handle(Standard_Type)& atype) const;
   
   //! Returns Header entity with specified type, if there is
index ca2ebcff7c7fb4aa40eb91b984ce650c668dbdad..9cbda7914beca9fc221a0dd0d492e70ebdf1647c 100644 (file)
@@ -1289,7 +1289,7 @@ Standard_Boolean StepData_StepReaderData::ReadEntity(const Standard_Integer num,
         if (!sel.Matches(entent))
         {
           errmess = new String("Parameter n0.%d (%s) : Entity has illegal type");
-          //fot not suppported STEP entity
+          //fot not supported STEP entity
           if (!entent.IsNull() && entent->IsKind(STANDARD_TYPE(StepData_UndefinedEntity)))
             sel.SetValue(entent);
         }
index 5cc8619e6461bd21d5c97388e80e11a1b686c7f4..b46a3013c71df7f8c5f43cdd6adb97feff3042c3 100644 (file)
@@ -50,9 +50,9 @@ class StepData_StepReaderData;
 DEFINE_STANDARD_HANDLE(StepData_StepReaderData, Interface_FileReaderData)
 
 //! Specific FileReaderData for Step
-//! Contains litteral description of entities (for each one : type
+//! Contains literal description of entities (for each one : type
 //! as a string, ident, parameter list)
-//! provides references evaluation, plus access to litteral data
+//! provides references evaluation, plus access to literal data
 //! and specific access methods (Boolean, XY, XYZ)
 class StepData_StepReaderData : public Interface_FileReaderData
 {
@@ -99,9 +99,9 @@ public:
   //! For a SubList or a Scope mark, <types> remains empty
   Standard_EXPORT void ComplexType (const Standard_Integer num, TColStd_SequenceOfAsciiString& types) const;
   
-  //! Returns the Next "Componant" for a Complex Type Entity, of
-  //! which <num> is already a Componant (the first one or a next one)
-  //! Returns 0 for a Simple Type or for the last Componant
+  //! Returns the Next "Component" for a Complex Type Entity, of
+  //! which <num> is already a Component (the first one or a next one)
+  //! Returns 0 for a Simple Type or for the last Component
   Standard_EXPORT Standard_Integer NextForComplex (const Standard_Integer num) const;
   
   //! Determines the first component which brings a given name, for
@@ -170,7 +170,7 @@ public:
   //! And if reading does not match its own description, the result
   //! will be False
   //! If <val> is not it not yet created, it will be (SelectNamed)
-  //! Usefull if a field is defined as a SelectMember, directly
+  //! useful if a field is defined as a SelectMember, directly
   //! (SELECT with no Entity as member)
   //! But SelectType also manages SelectMember (for SELECT with
   //! some members as Entity, some other not)
index fe22bb87140ca896346ae504f3c845e6cfef5090..a5547779510d28e0e1855e96bd4efef71b6fa6db 100644 (file)
@@ -35,7 +35,7 @@ class Interface_InterfaceModel;
 
 
 //! Specific FileReaderTool for Step; works with FileReaderData
-//! provides references evaluation, plus access to litteral data
+//! provides references evaluation, plus access to literal data
 //! and specific methods defined by FileReaderTool
 //! Remarks : works with a ReaderLib to load Entities
 class StepData_StepReaderTool  : public Interface_FileReaderTool
index dc3695de8dba704f935b40e7f608da11a85d9387..cfaee621741ee446b9dd91ad5f049f34f47bc98f 100644 (file)
@@ -12,7 +12,7 @@
 // commercial license or contractual agreement.
 
 // List of changes:
-//skl 29.01.2003 - deleted one space symbol at the begining
+//skl 29.01.2003 - deleted one space symbol at the beginning
 //                 of strings from Header Section
 
 #include <Interface_Check.hxx>
index 33e0df39e379e3840b5f272e5910d81d6a607f99..2202946e2b84764c8be27972eba7f66d12818459 100644 (file)
@@ -109,7 +109,7 @@ public:
   Standard_EXPORT void SendData();
   
   //! Send an Entity of the Data Section. If it corresponds to a
-  //! Scope, also Sends the Scope informations and contained Items
+  //! Scope, also Sends the Scope information and contained Items
   Standard_EXPORT void SendEntity (const Standard_Integer nument, const StepData_WriterLib& lib);
   
   //! sets end of section; to be done before passing to next one
@@ -158,21 +158,21 @@ public:
   //! sets entity's StepType, opens brakets, starts param no to 0
   //! params are separated by comma
   //! Remark : for a Multiple Type Entity (see Express ANDOR clause)
-  //! StartComplex must be called before sending componants, then
-  //! each "Componant" must be send separately (one call to
-  //! StartEntity for each one) : the Type which preceeds is then
-  //! automaticaly closed. Once all the componants have been sent,
+  //! StartComplex must be called before sending components, then
+  //! each "Component" must be sent separately (one call to
+  //! StartEntity for each one) : the Type which precedes is then
+  //! automatically closed. Once all the components have been sent,
   //! EndComplex must be called, then and only then EndEntity
   Standard_EXPORT void StartEntity (const TCollection_AsciiString& atype);
   
   //! sends the start of a complex entity, which is a simple open
   //! bracket (without increasing braket level)
   //! It must be called JUST AFTER SendEntity and BEFORE sending
-  //! componants, each one begins by StartEntity
+  //! components, each one begins by StartEntity
   Standard_EXPORT void StartComplex();
   
   //! sends the end of a complex entity : a simple closed bracket
-  //! It must be called AFTER sending all the componants and BEFORE
+  //! It must be called AFTER sending all the components and BEFORE
   //! the final call to EndEntity
   Standard_EXPORT void EndComplex();
   
@@ -200,13 +200,13 @@ public:
   
   //! prepares adding a parameter (that is, adds ',' except for
   //! first one); normally for internal use; can be used to send
-  //! a totally empty parameter (with no litteral value)
+  //! a totally empty parameter (with no literal value)
   Standard_EXPORT void AddParam();
   
   //! sends an integer parameter
   Standard_EXPORT void Send (const Standard_Integer val);
   
-  //! sends a real parameter (wroks with FloatWriter)
+  //! sends a real parameter (works with FloatWriter)
   Standard_EXPORT void Send (const Standard_Real val);
   
   //! sends a text given as string (it will be set between '...')
@@ -232,20 +232,20 @@ public:
   //! sends a string exactly as it is given
   Standard_EXPORT void SendString (const Standard_CString val);
   
-  //! sends an enum given by String (litteral expression)
+  //! sends an enum given by String (literal expression)
   //! adds '.' around it if not done
   //! Remark : val can be computed by class EnumTool from StepData:
   //! StepWriter.SendEnum (myenum.Text(enumval));
   Standard_EXPORT void SendEnum (const TCollection_AsciiString& val);
   
-  //! sends an enum given by String (litteral expression)
+  //! sends an enum given by String (literal expression)
   //! adds '.' around it if not done
   Standard_EXPORT void SendEnum (const Standard_CString val);
   
   //! sends an array of real
   Standard_EXPORT void SendArrReal (const Handle(TColStd_HArray1OfReal)& anArr);
   
-  //! sends an undefined (optionnal absent) parameter (by '$')
+  //! sends an undefined (optional absent) parameter (by '$')
   Standard_EXPORT void SendUndef();
   
   //! sends a "Derived" parameter (by '*'). A Derived Parameter has
index d3e2a46996a2e9998a827ea179b700a74f587ab7..c53febd361b949a0a50c562d0d3b8597f0a8d691 100644 (file)
@@ -66,7 +66,7 @@ public:
   //! Returns True if <me> defines a Multiple Type Entity (see ANDOR)
   Standard_EXPORT Standard_Boolean IsComplex() const;
   
-  //! For a Multiple Type Entity, returns the Next "Componant"
+  //! For a Multiple Type Entity, returns the Next "Component"
   //! For more than two Types, iterative definition (Next->Next...)
   //! Returns a Null Handle for the end of the List
   Standard_EXPORT Handle(StepData_UndefinedEntity) Next() const;
index 49c98adae2b887b66d793ff852f375187bb8ccad..5d0b39c1b721c17e6beb84bdb6204a903013451d 100644 (file)
@@ -119,7 +119,7 @@ private:
   class ArgumentsPage;  //!< List of arguments pages, contains all text derived from Flex
   class Scope;          //!< List of scopes pages, contains all records for external processing
   class RecordsPage;    //!< List of records pages, contains all records
-  class ErrorsPage;     //!< List of errors messages, containts all errors
+  class ErrorsPage;     //!< List of errors messages, contains all errors
 
 public:
 
@@ -252,7 +252,7 @@ private:
   char* myCurrType;              //!< Type of last record read
   char* mySubArg;                //!< Ident last record (possible sub-list)
   Interface_ParamType myTypeArg; //!< Type of last argument read
-  Argument* myCurrArg;           //!< Current node of the argumets list
+  Argument* myCurrArg;           //!< Current node of the arguments list
   Record* myFirstRec;            //!< First node of the records list
   Record* myCurRec;              //!< Current node of the records list
   Record* myLastRec;             //!< Last node of the records list
index 726a65e215febcccbab60aa3bc97c1f90880b934..6519477cccfbdcdd849f133384a2c61cb8096126 100644 (file)
@@ -56,12 +56,12 @@ void StepGeom_BSplineCurveWithKnotsAndRationalBSplineCurve::Init(
 
        StepGeom_BSplineCurve::Init(aName, aDegree, aControlPointsList, aCurveForm, aClosedCurve, aSelfIntersect);
 
-       // --- ANDOR componant fields ---
+       // --- ANDOR component fields ---
 
        bSplineCurveWithKnots = new StepGeom_BSplineCurveWithKnots();
        bSplineCurveWithKnots->Init(aName, aDegree, aControlPointsList, aCurveForm, aClosedCurve, aSelfIntersect, aKnotMultiplicities, aKnots, aKnotSpec);
 
-       // --- ANDOR componant fields ---
+       // --- ANDOR component fields ---
 
        rationalBSplineCurve = new StepGeom_RationalBSplineCurve();
        rationalBSplineCurve->Init(aName, aDegree, aControlPointsList, aCurveForm, aClosedCurve, aSelfIntersect, aWeightsData);
index 4f2d27c678b4d2aed52562780632b5661cf67f49..bb4f57b64f7fc523dca4ed47b1f9dd09ccdff8e4 100644 (file)
@@ -62,12 +62,12 @@ void StepGeom_BSplineSurfaceWithKnotsAndRationalBSplineSurface::Init(
 
        StepGeom_BSplineSurface::Init(aName, aUDegree, aVDegree, aControlPointsList, aSurfaceForm, aUClosed, aVClosed, aSelfIntersect);
 
-       // --- ANDOR componant fields ---
+       // --- ANDOR component fields ---
 
        bSplineSurfaceWithKnots = new StepGeom_BSplineSurfaceWithKnots();
        bSplineSurfaceWithKnots->Init(aName, aUDegree, aVDegree, aControlPointsList, aSurfaceForm, aUClosed, aVClosed, aSelfIntersect, aUMultiplicities, aVMultiplicities, aUKnots, aVKnots, aKnotSpec);
 
-       // --- ANDOR componant fields ---
+       // --- ANDOR component fields ---
 
        rationalBSplineSurface = new StepGeom_RationalBSplineSurface();
        rationalBSplineSurface->Init(aName, aUDegree, aVDegree, aControlPointsList, aSurfaceForm, aUClosed, aVClosed, aSelfIntersect, aWeightsData);
index bfe3b77db32300698b4e05f8ff77b6f8e0fafd73..538ef67f1a2ee02356ba7d2df183796379155f79 100644 (file)
@@ -53,12 +53,12 @@ void StepGeom_BezierCurveAndRationalBSplineCurve::Init(
 
        StepGeom_BSplineCurve::Init(aName, aDegree, aControlPointsList, aCurveForm, aClosedCurve, aSelfIntersect);
 
-       // --- ANDOR componant fields ---
+       // --- ANDOR component fields ---
 
        bezierCurve = new StepGeom_BezierCurve();
        bezierCurve->Init(aName, aDegree, aControlPointsList, aCurveForm, aClosedCurve, aSelfIntersect);
 
-       // --- ANDOR componant fields ---
+       // --- ANDOR component fields ---
 
        rationalBSplineCurve = new StepGeom_RationalBSplineCurve();
        rationalBSplineCurve->Init(aName, aDegree, aControlPointsList, aCurveForm, aClosedCurve, aSelfIntersect, aWeightsData);
index 9bbedfb2e09f6d1c07d9e34e3f51b75dbe6d9cd1..214cf8a026914b909415d5a02b50ba88db819f6e 100644 (file)
@@ -57,12 +57,12 @@ void StepGeom_BezierSurfaceAndRationalBSplineSurface::Init(
 
        StepGeom_BSplineSurface::Init(aName, aUDegree, aVDegree, aControlPointsList, aSurfaceForm, aUClosed, aVClosed, aSelfIntersect);
 
-       // --- ANDOR componant fields ---
+       // --- ANDOR component fields ---
 
        bezierSurface = new StepGeom_BezierSurface();
        bezierSurface->Init(aName, aUDegree, aVDegree, aControlPointsList, aSurfaceForm, aUClosed, aVClosed, aSelfIntersect);
 
-       // --- ANDOR componant fields ---
+       // --- ANDOR component fields ---
 
        rationalBSplineSurface = new StepGeom_RationalBSplineSurface();
        rationalBSplineSurface->Init(aName, aUDegree, aVDegree, aControlPointsList, aSurfaceForm, aUClosed, aVClosed, aSelfIntersect, aWeightsData);
index c17466a43fa83e634c137bb77cb9933026811569..fa1a7e173d26ff75963870e43731d577ba2169ea 100644 (file)
@@ -69,17 +69,17 @@ void StepGeom_GeomRepContextAndGlobUnitAssCtxAndGlobUncertaintyAssCtx::Init
 
   StepRepr_RepresentationContext::Init(aContextIdentifier, aContextType);
   
-  // --- ANDOR componant fields : GeometricRepresentationContext ---
+  // --- ANDOR component fields : GeometricRepresentationContext ---
   
   geometricRepresentationContext = new StepGeom_GeometricRepresentationContext();
   geometricRepresentationContext->Init(aContextIdentifier, aContextType, aCoordinateSpaceDimension);
   
-  // --- ANDOR componant fields : GlobalUnitAssignedContext ---
+  // --- ANDOR component fields : GlobalUnitAssignedContext ---
   
   globalUnitAssignedContext = new StepRepr_GlobalUnitAssignedContext();
   globalUnitAssignedContext->Init(aContextIdentifier, aContextType, aUnits);
 
-  // --- ANDOR componant fields : GlobalUncertaintyAssignedContext ---
+  // --- ANDOR component fields : GlobalUncertaintyAssignedContext ---
 
   globalUncertaintyAssignedContext = new StepRepr_GlobalUncertaintyAssignedContext();
   globalUncertaintyAssignedContext->Init(aContextIdentifier, aContextType, anUncertainty);
index 4e78afdbe765dc8df2d517420ea80b920be6443e..35e5d7f28f04812c02ff09b01697bdc3282e6db6 100644 (file)
@@ -47,12 +47,12 @@ void StepGeom_GeometricRepresentationContextAndGlobalUnitAssignedContext::Init(
 
        StepRepr_RepresentationContext::Init(aContextIdentifier, aContextType);
 
-       // --- ANDOR componant fields ---
+       // --- ANDOR component fields ---
 
        geometricRepresentationContext = new StepGeom_GeometricRepresentationContext();
        geometricRepresentationContext->Init(aContextIdentifier, aContextType, aCoordinateSpaceDimension);
 
-       // --- ANDOR componant fields ---
+       // --- ANDOR component fields ---
 
        globalUnitAssignedContext = new StepRepr_GlobalUnitAssignedContext();
        globalUnitAssignedContext->Init(aContextIdentifier, aContextType, aUnits);
index 736539d5c68738ffa9fa31b423427c8c649349dd..6c5d2e72e483824a301e0cd0304220d1d4c8f856 100644 (file)
@@ -46,12 +46,12 @@ void StepGeom_GeometricRepresentationContextAndParametricRepresentationContext::
   
   StepRepr_RepresentationContext::Init(aContextIdentifier, aContextType);
   
-  // --- ANDOR componant fields ---
+  // --- ANDOR component fields ---
   
   geometricRepresentationContext = new StepGeom_GeometricRepresentationContext();
   geometricRepresentationContext->Init(aContextIdentifier, aContextType, aCoordinateSpaceDimension);
   
-  // --- ANDOR componant fields ---
+  // --- ANDOR component fields ---
   
   parametricRepresentationContext = new StepRepr_ParametricRepresentationContext();
   parametricRepresentationContext->Init(aContextIdentifier, aContextType);
index 03fb560add7143f6e4fe2e3bd9c3735178a5c694..2ea4e0037cb460c2d36c01702004d73c62efb70b 100644 (file)
@@ -53,12 +53,12 @@ void StepGeom_QuasiUniformCurveAndRationalBSplineCurve::Init(
 
        StepGeom_BSplineCurve::Init(aName, aDegree, aControlPointsList, aCurveForm, aClosedCurve, aSelfIntersect);
 
-       // --- ANDOR componant fields ---
+       // --- ANDOR component fields ---
 
        quasiUniformCurve = new StepGeom_QuasiUniformCurve();
        quasiUniformCurve->Init(aName, aDegree, aControlPointsList, aCurveForm, aClosedCurve, aSelfIntersect);
 
-       // --- ANDOR componant fields ---
+       // --- ANDOR component fields ---
 
        rationalBSplineCurve = new StepGeom_RationalBSplineCurve();
        rationalBSplineCurve->Init(aName, aDegree, aControlPointsList, aCurveForm, aClosedCurve, aSelfIntersect, aWeightsData);
index ae9cb1f617078851e06e63409317fa61637d4a1e..142666b6b5c6975a1096b41c35a805ac2ac390e2 100644 (file)
@@ -57,12 +57,12 @@ void StepGeom_QuasiUniformSurfaceAndRationalBSplineSurface::Init(
 
        StepGeom_BSplineSurface::Init(aName, aUDegree, aVDegree, aControlPointsList, aSurfaceForm, aUClosed, aVClosed, aSelfIntersect);
 
-       // --- ANDOR componant fields ---
+       // --- ANDOR component fields ---
 
        quasiUniformSurface = new StepGeom_QuasiUniformSurface();
        quasiUniformSurface->Init(aName, aUDegree, aVDegree, aControlPointsList, aSurfaceForm, aUClosed, aVClosed, aSelfIntersect);
 
-       // --- ANDOR componant fields ---
+       // --- ANDOR component fields ---
 
        rationalBSplineSurface = new StepGeom_RationalBSplineSurface();
        rationalBSplineSurface->Init(aName, aUDegree, aVDegree, aControlPointsList, aSurfaceForm, aUClosed, aVClosed, aSelfIntersect, aWeightsData);
index 11a972380470dc2421621d0f1e829219d366e2af..2315315e8d37353742adbf5bab3ec894f6adc909 100644 (file)
@@ -53,12 +53,12 @@ void StepGeom_UniformCurveAndRationalBSplineCurve::Init(
 
        StepGeom_BSplineCurve::Init(aName, aDegree, aControlPointsList, aCurveForm, aClosedCurve, aSelfIntersect);
 
-       // --- ANDOR componant fields ---
+       // --- ANDOR component fields ---
 
        rationalBSplineCurve = new StepGeom_RationalBSplineCurve();
        rationalBSplineCurve->Init(aName, aDegree, aControlPointsList, aCurveForm, aClosedCurve, aSelfIntersect, aWeightsData);
 
-       // --- ANDOR componant fields ---
+       // --- ANDOR component fields ---
 
        uniformCurve = new StepGeom_UniformCurve();
        uniformCurve->Init(aName, aDegree, aControlPointsList, aCurveForm, aClosedCurve, aSelfIntersect);
index b30c7a82dee82060f18686d66288587d1f0ad63b..a0a0a60006fc6c28ddf12fde9276a292266ca59b 100644 (file)
@@ -57,12 +57,12 @@ void StepGeom_UniformSurfaceAndRationalBSplineSurface::Init(
 
        StepGeom_BSplineSurface::Init(aName, aUDegree, aVDegree, aControlPointsList, aSurfaceForm, aUClosed, aVClosed, aSelfIntersect);
 
-       // --- ANDOR componant fields ---
+       // --- ANDOR component fields ---
 
        rationalBSplineSurface = new StepGeom_RationalBSplineSurface();
        rationalBSplineSurface->Init(aName, aUDegree, aVDegree, aControlPointsList, aSurfaceForm, aUClosed, aVClosed, aSelfIntersect, aWeightsData);
 
-       // --- ANDOR componant fields ---
+       // --- ANDOR component fields ---
 
        uniformSurface = new StepGeom_UniformSurface();
        uniformSurface->Init(aName, aUDegree, aVDegree, aControlPointsList, aSurfaceForm, aUClosed, aVClosed, aSelfIntersect);
index 0832978b111842f7a7035939400871a6f7aabdcc..4d2592695921562284b17650eb66d8a3d82e3458 100644 (file)
@@ -59,7 +59,7 @@ public:
   
   //! Sets Main Format to a new value
   //! Remark : SetFormat, SetZeroSuppress and SetFormatForRange are
-  //! independant
+  //! independent
   Standard_EXPORT void SetFormat (const Standard_CString format = "%E");
   
   //! Sets Format for Range to a new value with its range of
index 7005377944ad53180942b4921484bf1d69261a5c..7427f6f66310eb3cf7513b638523132bd9802073 100644 (file)
@@ -47,12 +47,12 @@ void StepShape_FacetedBrepAndBrepWithVoids::Init
 
        StepShape_ManifoldSolidBrep::Init(aName, aOuter);
        
-       // --- ANDOR componant fields ---
+       // --- ANDOR component fields ---
        
        brepWithVoids = new StepShape_BrepWithVoids();
        brepWithVoids->Init(aName, aOuter, aVoids);
        
-       // --- ANDOR componant fields ---
+       // --- ANDOR component fields ---
        
        facetedBrep = new StepShape_FacetedBrep();
        facetedBrep->Init(aName, aOuter);
index 3a9cef224e3331242f8410bf981eb3ad41ed831f..33246d6464c13a4cb05f84c3d3339017272aa4ed 100644 (file)
@@ -44,12 +44,12 @@ void StepShape_LoopAndPath::Init(
 
        StepRepr_RepresentationItem::Init(aName);
 
-       // --- ANDOR componant fields ---
+       // --- ANDOR component fields ---
 
        loop = new StepShape_Loop();
        loop->Init(aName);
 
-       // --- ANDOR componant fields ---
+       // --- ANDOR component fields ---
 
        path = new StepShape_Path();
        path->Init(aName, aEdgeList);
index 9625053b33901ae673c3ac7d2e274e8f5f2f52f9..2976aec5db7e3b8644702ed85d2484b42c5df510 100644 (file)
@@ -67,7 +67,7 @@ void StepShape_OrientedClosedShell::SetCfsFaces(const Handle(StepShape_HArray1Of
 Handle(StepShape_HArray1OfFace) StepShape_OrientedClosedShell::CfsFaces() const
 {
   // WARNING : the field is redefined.
-  // method body is not yet automaticly wrote
+  // method body is not yet automatically wrote
   // Attention, cette modif. est juste pour la compilation
   return closedShellElement->CfsFaces();
 }
@@ -75,7 +75,7 @@ Handle(StepShape_HArray1OfFace) StepShape_OrientedClosedShell::CfsFaces() const
 Handle(StepShape_Face) StepShape_OrientedClosedShell::CfsFacesValue(const Standard_Integer num) const
 {
   // WARNING : the field is redefined.
-  // method body is not yet automaticly wrote
+  // method body is not yet automatically wrote
   // Attention, cette modif. est juste pour la compilation  
   return closedShellElement->CfsFacesValue(num);
 }
@@ -83,7 +83,7 @@ Handle(StepShape_Face) StepShape_OrientedClosedShell::CfsFacesValue(const Standa
 Standard_Integer StepShape_OrientedClosedShell::NbCfsFaces () const
 {
   // WARNING : the field is redefined.
-  // method body is not yet automaticly wrote
+  // method body is not yet automatically wrote
   // Attention, cette modif. est juste pour la compilation  
   return closedShellElement->NbCfsFaces();
 }
index 82bbf369fb5f158f679464022290d3a515ffc66f..b161597a891d9ceb5e02462f31a38409b0d1a418 100644 (file)
@@ -70,7 +70,7 @@ void StepShape_OrientedEdge::SetEdgeStart(const Handle(StepShape_Vertex)& /*aEdg
 Handle(StepShape_Vertex) StepShape_OrientedEdge::EdgeStart() const
 {
        // WARNING : the field is redefined.
-       // method body is not yet automaticly wrote
+       // method body is not yet automatically wrote
   if (edgeElement.IsNull())
     return NULL;
   if (Orientation()) {
@@ -91,7 +91,7 @@ void StepShape_OrientedEdge::SetEdgeEnd(const Handle(StepShape_Vertex)& /*aEdgeE
 Handle(StepShape_Vertex) StepShape_OrientedEdge::EdgeEnd() const
 {
        // WARNING : the field is redefined.
-       // method body is not yet automaticly wrote
+       // method body is not yet automatically wrote
   if (edgeElement.IsNull())
     return NULL;
   if (Orientation()) {
index a6be662eb7243be67302be22eea4d05d51924d11..96ea7f4c2040a33e6ef13a6b2daede1340f298c1 100644 (file)
@@ -67,7 +67,7 @@ void StepShape_OrientedFace::SetBounds(const Handle(StepShape_HArray1OfFaceBound
 Handle(StepShape_HArray1OfFaceBound) StepShape_OrientedFace::Bounds() const
 {
   // WARNING : the field is redefined.
-  // method body is not yet automaticly wrote
+  // method body is not yet automatically wrote
   // Attention, cette modif. est juste pour la compilation  
   return faceElement->Bounds();
 
@@ -76,7 +76,7 @@ Handle(StepShape_HArray1OfFaceBound) StepShape_OrientedFace::Bounds() const
 Handle(StepShape_FaceBound) StepShape_OrientedFace::BoundsValue(const Standard_Integer num) const
 {
   // WARNING : the field is redefined.
-  // method body is not yet automaticly wrote
+  // method body is not yet automatically wrote
   // Attention, cette modif. est juste pour la compilation  
   return faceElement->BoundsValue(num);
 }
@@ -84,7 +84,7 @@ Handle(StepShape_FaceBound) StepShape_OrientedFace::BoundsValue(const Standard_I
 Standard_Integer StepShape_OrientedFace::NbBounds () const
 {
   // WARNING : the field is redefined.
-  // method body is not yet automaticly wrote
+  // method body is not yet automatically wrote
   // Attention, cette modif. est juste pour la compilation  
   return faceElement->NbBounds();
 }
index 30271449f9298a4ce92d81e02e1d36014d8c3630..dfa404ec96f8b82c616e91014842031e8491dd65 100644 (file)
@@ -67,7 +67,7 @@ void StepShape_OrientedOpenShell::SetCfsFaces(const Handle(StepShape_HArray1OfFa
 Handle(StepShape_HArray1OfFace) StepShape_OrientedOpenShell::CfsFaces() const
 {
   // WARNING : the field is redefined.
-  // method body is not yet automaticly wrote
+  // method body is not yet automatically wrote
   // Attention, cette modif. est juste pour la compilation  
   return openShellElement->CfsFaces();
 }
@@ -75,7 +75,7 @@ Handle(StepShape_HArray1OfFace) StepShape_OrientedOpenShell::CfsFaces() const
 Handle(StepShape_Face) StepShape_OrientedOpenShell::CfsFacesValue(const Standard_Integer num) const
 {
   // WARNING : the field is redefined.
-  // method body is not yet automaticly wrote
+  // method body is not yet automatically wrote
   // Attention, cette modif. est juste pour la compilation  
   return openShellElement->CfsFacesValue(num);
 }
@@ -83,7 +83,7 @@ Handle(StepShape_Face) StepShape_OrientedOpenShell::CfsFacesValue(const Standard
 Standard_Integer StepShape_OrientedOpenShell::NbCfsFaces () const
 {
   // WARNING : the field is redefined.
-  // method body is not yet automaticly wrote
+  // method body is not yet automatically wrote
   // Attention, cette modif. est juste pour la compilation  
   return openShellElement->NbCfsFaces();
 }
index 7b875d49ce2bdeeec3d50e256402b1e00ff0b51f..7b67e3719c18a94f60d606a6d646c2059dfbd63b 100644 (file)
@@ -67,7 +67,7 @@ void StepShape_OrientedPath::SetEdgeList(const Handle(StepShape_HArray1OfOriente
 Handle(StepShape_HArray1OfOrientedEdge) StepShape_OrientedPath::EdgeList() const
 {
   // WARNING : the field is redefined.
-  // method body is not yet automaticly wrote
+  // method body is not yet automatically wrote
   if (orientation)
     return pathElement->EdgeList();
   else {
@@ -80,7 +80,7 @@ Handle(StepShape_HArray1OfOrientedEdge) StepShape_OrientedPath::EdgeList() const
 Handle(StepShape_OrientedEdge) StepShape_OrientedPath::EdgeListValue(const Standard_Integer num) const
 {
        // WARNING : the field is redefined.
-       // method body is not yet automaticly wrote
+       // method body is not yet automatically wrote
   if (orientation)
     return pathElement->EdgeListValue(num);
   else {
@@ -92,6 +92,6 @@ Handle(StepShape_OrientedEdge) StepShape_OrientedPath::EdgeListValue(const Stand
 Standard_Integer StepShape_OrientedPath::NbEdgeList () const
 {
        // WARNING : the field is redefined.
-       // method body is not yet automaticly wrote
+       // method body is not yet automatically wrote
   return pathElement->NbEdgeList();
 }
index b65e1b0d9130936a38ccabb6cdd0fc3f1b48f084..ec9e51b084421ef52c1a8a18f756bc99f15752e2 100644 (file)
@@ -1387,7 +1387,7 @@ Handle(Geom_Line) StepToGeom::MakeLine (const Handle(StepGeom_Line)& SC)
   Handle(Geom_CartesianPoint) P = MakeCartesianPoint(SC->Pnt());
   if (! P.IsNull())
   {
-    // sln 22.10.2001. CTS23496: Line is not created if direction have not been succesfully created
+    // sln 22.10.2001. CTS23496: Line is not created if direction have not been successfully created
     Handle(Geom_VectorWithMagnitude) D = MakeVectorWithMagnitude (SC->Dir());
     if (! D.IsNull())
     {
@@ -1409,7 +1409,7 @@ Handle(Geom2d_Line) StepToGeom::MakeLine2d (const Handle(StepGeom_Line)& SC)
   Handle(Geom2d_CartesianPoint) P = MakeCartesianPoint2d(SC->Pnt());
   if (! P.IsNull())
   {
-    // sln 23.10.2001. CTS23496: Line is not created if direction have not been succesfully created
+    // sln 23.10.2001. CTS23496: Line is not created if direction have not been successfully created
     Handle(Geom2d_VectorWithMagnitude) D = MakeVectorWithMagnitude2d (SC->Dir());
     if (! D.IsNull())
     {
@@ -1697,7 +1697,7 @@ Handle(Geom_SurfaceOfLinearExtrusion) StepToGeom::MakeSurfaceOfLinearExtrusion (
   Handle(Geom_Curve) C = MakeCurve (SS->SweptCurve());
   if (! C.IsNull())
   {
-    // sln 23.10.2001. CTS23496: Surface is not created if extrusion axis have not been succesfully created
+    // sln 23.10.2001. CTS23496: Surface is not created if extrusion axis have not been successfully created
     Handle(Geom_VectorWithMagnitude) V = MakeVectorWithMagnitude (SS->ExtrusionAxis());
     if (! V.IsNull())
     {
@@ -1919,7 +1919,7 @@ static Standard_Boolean  ExtractParameter
     }
   }
 // if the MasterRepresentation is unspecified:
-// if a ParameterValue exists, it is prefered
+// if a ParameterValue exists, it is preferred
 
   for ( i = 1 ; i <= nbSel ; i++) {
     StepGeom_TrimmingSelect theSel = TS->Value(i);
@@ -2149,7 +2149,7 @@ Handle(Geom2d_BSplineCurve) StepToGeom::MakeTrimmedCurve2d (const Handle(StepGeo
 
 Handle(Geom_VectorWithMagnitude) StepToGeom::MakeVectorWithMagnitude (const Handle(StepGeom_Vector)& SV)
 {
-  // sln 22.10.2001. CTS23496: Vector is not created if direction have not been succesfully created
+  // sln 22.10.2001. CTS23496: Vector is not created if direction have not been successfully created
   Handle(Geom_Direction) D = MakeDirection (SV->Orientation());
   if (! D.IsNull())
   {
@@ -2165,7 +2165,7 @@ Handle(Geom_VectorWithMagnitude) StepToGeom::MakeVectorWithMagnitude (const Hand
 
 Handle(Geom2d_VectorWithMagnitude) StepToGeom::MakeVectorWithMagnitude2d (const Handle(StepGeom_Vector)& SV)
 {
-  // sln 23.10.2001. CTS23496: Vector is not created if direction have not been succesfully created (MakeVectorWithMagnitude2d(...) function)
+  // sln 23.10.2001. CTS23496: Vector is not created if direction have not been successfully created (MakeVectorWithMagnitude2d(...) function)
   Handle(Geom2d_Direction) D = MakeDirection2d (SV->Orientation());
   if (! D.IsNull())
   {
index 1fcbc6607d1c7a5a8cb51273b5b4a8bf32ff5328..4705cf0d0c073895e5b2c4dcf97428837fbfaf47 100644 (file)
@@ -156,7 +156,7 @@ void StepToTopoDS_Builder::Init
 
     if ( TP->TraceLevel() > 2 )
     {
-      sout << "Geometric Statitics : " << std::endl;
+      sout << "Geometric Statistics : " << std::endl;
       sout << "   Surface Continuity : - C0 : " << myTool.C0Surf() << std::endl;
       sout << "                        - C1 : " << myTool.C1Surf() << std::endl;
       sout << "                        - C2 : " << myTool.C2Surf() << std::endl;
@@ -263,7 +263,7 @@ void StepToTopoDS_Builder::Init
   
   if ( TP->TraceLevel() > 2 )
   {
-    sout << "Geometric Statitics : " << std::endl;
+    sout << "Geometric Statistics : " << std::endl;
     sout << "   Surface Continuity : - C0 : " << myTool.C0Surf() << std::endl;
     sout << "                        - C1 : " << myTool.C1Surf() << std::endl;
     sout << "                        - C2 : " << myTool.C2Surf() << std::endl;
@@ -478,7 +478,7 @@ void StepToTopoDS_Builder::Init
   
   if ( TP->TraceLevel() > 2 )
   {
-    sout << "Geometric Statitics : " << std::endl;
+    sout << "Geometric Statistics : " << std::endl;
     sout << "   Surface Continuity : - C0 : " << myTool.C0Surf() << std::endl;
     sout << "                        - C1 : " << myTool.C1Surf() << std::endl;
     sout << "                        - C2 : " << myTool.C2Surf() << std::endl;
index 3a6bec4b4fcec192b53c41231392b79ff66fc33d..19e5d18517eb3f64ae266fd0c813c652b1e2771c 100644 (file)
@@ -170,7 +170,7 @@ Standard_Boolean  StepToTopoDS_GeometricTool::IsLikeSeam
     }
     // the two oriented edges are not in the same wire
     if (nbOE == 1) {
-      // check is the two pcurve are not indentical ?
+      // check if the two pcurves are not identical ?
       Handle(StepGeom_Line) line1 = Handle(StepGeom_Line)::DownCast
         (StepPCurve1->ReferenceToCurve()->ItemsValue(1));
       Handle(StepGeom_Line) line2 = Handle(StepGeom_Line)::DownCast
index 42456b7a814276dff77565b2ab864c55ed497c04..9de5910cf6ad46c6ec8b1e82bb650c94ac3a6a18 100644 (file)
@@ -329,7 +329,7 @@ void StepToTopoDS_TranslateEdgeLoop::Init(const Handle(StepShape_FaceBound)& Fac
         anException.Print(std::cout); std::cout << std::endl;
 #endif
         (void)anException;
-        TP->AddFail(C, "Exeption was raised. Curve geometry definition is incorrect");
+        TP->AddFail(C, "Exception was raised. Curve geometry definition is incorrect");
       }
     }
 
@@ -581,8 +581,8 @@ void StepToTopoDS_TranslateEdgeLoop::Init(const Handle(StepShape_FaceBound)& Fac
       if (hasPcurve && (isSeam || ThereIsLikeSeam)) {
 
         // -----------------------------------------------------------
-        // The Edge is a Seam Edge : The pcurve wich is FORWARD has to
-        //                           be identified
+        // The Edge is a Seam Edge : The pcurve which is FORWARD has
+        //                           to be identified
         // -----------------------------------------------------------
 
         if ((!C2d1.IsNull()) && (!C2d2.IsNull())) {
index fb66ba3efc46ad51b601c955ac8ee88a96bf67be..a955d900827da07fa133d4f0627c6cbfae0d6bec 100644 (file)
@@ -174,7 +174,7 @@ public:
   Standard_EXPORT virtual Storage_Error Close() = 0;
 
 public:
-  //!@name Ouput methods
+  //!@name Output methods
 
   Standard_EXPORT virtual Storage_BaseDriver& PutReference (const Standard_Integer aValue) = 0;
   
index 3e0ca3718a61a1175865b633fb5c7ce5159fbc44..8bec85e82ef8978c3c6cd3f7f43d6e010ebbfff7 100644 (file)
@@ -145,19 +145,19 @@ public:
   //! returns data type
   Standard_EXPORT TCollection_ExtendedString DataType() const;
   
-  //! add <theUserInfo> to the user informations
+  //! add <theUserInfo> to the user information
   Standard_EXPORT void AddToUserInfo (const TCollection_AsciiString& anInfo);
   
-  //! return the user informations
+  //! return the user information
   Standard_EXPORT const TColStd_SequenceOfAsciiString& UserInfo() const;
   
-  //! add <theUserInfo> to the user informations
+  //! add <theUserInfo> to the user information
   Standard_EXPORT void AddToComments (const TCollection_ExtendedString& aComment);
   
-  //! return the user informations
+  //! return the user information
   Standard_EXPORT const TColStd_SequenceOfExtendedString& Comments() const;
   
-  //! the the number of persistent objects
+  //! the number of persistent objects
   //! Return:
   //! the number of persistent objects readed
   Standard_EXPORT Standard_Integer NumberOfObjects() const;
index f0f3237a1c81f863f52157000bfd4b5fc7a67c1f..a2c8d157bb9cb09a44238500cccca7fa9fa0b284 100644 (file)
 //! been opened in the correct mode
 //! -   Storage_VSCloseError : an error has
 //! occurred when closing the driver
-//! -   Storage_VSAlreadyOpen : the driver is   already open
-//! -   Storage_VSNotOpen : the driver is not   open
+//! -   Storage_VSAlreadyOpen : the driver is already open
+//! -   Storage_VSNotOpen : the driver is not open
 //! -   Storage_VSSectionNotFound : a section
 //! has not been found in the driver
 //! -   Storage_VSWriteError : an error occurred when writing the driver
 //! -   Storage_VSFormatError : the file format is wrong
 //! -   Storage_VSUnknownType : a type is not known from the schema
-//! -   Storage_VSTypeMismatch : trying to read   a wrong type
-//! -   Storage_VSInternalError : an internal error  has been detected
+//! -   Storage_VSTypeMismatch : trying to read a wrong type
+//! -   Storage_VSInternalError : an internal error has been detected
 //! -   Storage_VSExtCharParityError : an error
-//! has occurred while reading 16 bit characte
+//! has occurred while reading 16 bit character
 enum Storage_Error
 {
 Storage_VSOk,
index 7ce511b8c6f8a6d9eb80e8c98238d5fe101e79f8..f3e820d45f1e876603048b51a3e55212a8eb8501 100644 (file)
@@ -77,19 +77,19 @@ public:
   //! returns data type
   Standard_EXPORT TCollection_ExtendedString DataType() const;
   
-  //! add <theUserInfo> to the user informations
+  //! add <theUserInfo> to the user information
   Standard_EXPORT void AddToUserInfo (const TCollection_AsciiString& theUserInfo);
   
-  //! return the user informations
+  //! return the user information
   Standard_EXPORT const TColStd_SequenceOfAsciiString& UserInfo() const;
   
-  //! add <theUserInfo> to the user informations
+  //! add <theUserInfo> to the user information
   Standard_EXPORT void AddToComments (const TCollection_ExtendedString& aComment);
   
-  //! return the user informations
+  //! return the user information
   Standard_EXPORT const TColStd_SequenceOfExtendedString& Comments() const;
   
-  //! the the number of persistent objects
+  //! the number of persistent objects
   //! Return:
   //! the number of persistent objects readed
   Standard_EXPORT Standard_Integer NumberOfObjects() const;
index b557452aebafa4015454d93a3defc68df5d4c33d..b564412b74bd2a34ddec046a0da4b46ee84d7f7e 100644 (file)
@@ -110,13 +110,13 @@ public:
   //! returns True if theType migration is identified
   //! the callback support provides a way to read a file
   //! with a incomplete schema.
-  //! ex. : A file contains 3 types a,b and c.
+  //! ex. : A file contains 3 types a, b, and c.
   //! The  application's  schema  contains  only 2
   //! type a and b. If you try to read the file in
   //! the application, you  will  have an error.To
   //! bypass this  problem  you  can  give to your
   //! application's schema  a  callback  used when
-  //! the schema dosent  know  how  to handle this
+  //! the schema doesn't know  how  to handle this
   //! type.
   Standard_EXPORT static Standard_Boolean CheckTypeMigration (const TCollection_AsciiString& theTypeName, TCollection_AsciiString& theNewName);
   
index 9a064a4a41653c03bd525956bbb8e368eaa16cbf..1e37cd83cbf9799d73e1763cbf16c9d0598dc368 100644 (file)
@@ -42,7 +42,7 @@ public:
   
   Standard_EXPORT Sweep_NumShapeIterator();
   
-  //! Resest the NumShapeIterator on sub-shapes of <aShape>.
+  //! Reset the NumShapeIterator on sub-shapes of <aShape>.
   Standard_EXPORT void Init (const Sweep_NumShape& aShape);
   
   //! Returns True if there is a current sub-shape.
index ea2a17a37c07f6585c7b12a5ad94985457832762..ca6d87092e396dcabcce4f522b727bbbd2cb3e0d 100644 (file)
@@ -21,7 +21,7 @@
 #include <gp_Vec.hxx>
 
 //=========================================================================
-//   Creation d une translation 3d de gp de vecteur de tanslation Vec.    +
+//   Creation d une translation 3d de gp de vecteur de translation Vec.   +
 //=========================================================================
 gce_MakeTranslation::
   gce_MakeTranslation(const gp_Vec&  Vec ) {
@@ -29,7 +29,7 @@ gce_MakeTranslation::
  }
 
 //=========================================================================
-//   Creation d une translation 3d de gp de vecteur de tanslation le      +
+//   Creation d une translation 3d de gp de vecteur de translation le     +
 //   vecteur reliant Point1 a Point2.                                     +
 //=========================================================================
 
index 63f0278a55cb0442342918f449c4ce484aa5d741..57ae25609a8b2371311609f40893b4e783f7de53 100644 (file)
@@ -21,7 +21,7 @@
 #include <gp_Vec2d.hxx>
 
 //=========================================================================
-//   Creation d une translation 2d de gp de vecteur de tanslation Vec.    +
+//   Creation d une translation 2d de gp de vecteur de translation Vec.   +
 //=========================================================================
 gce_MakeTranslation2d::
   gce_MakeTranslation2d(const gp_Vec2d&  Vec ) {
@@ -29,7 +29,7 @@ gce_MakeTranslation2d::
  }
 
 //=========================================================================
-//   Creation d une translation 2d de gp de vecteur de tanslation le      +
+//   Creation d une translation 2d de gp de vecteur de translation le     +
 //   vecteur reliant Point1 a Point2.                                     +
 //=========================================================================
 
index c358413d6b344697e7c0d9462585934ba4ce1de8..3efc5e17fd5e637a3cf4df3429dac556c4d3bb68 100644 (file)
@@ -50,7 +50,7 @@ public:
 
   
   //! Creates an axis object representing Z axis of
-  //! the reference co-ordinate system.
+  //! the reference coordinate system.
     gp_Ax1();
   
 
index a249c162d6628544c651214b8231209f064280a3..5fdc7076aad24b1bc5efbe7556930931be206a34 100644 (file)
@@ -58,7 +58,7 @@ public:
 
   
   //! Creates an object representing the reference
-  //! co-ordinate system (OXY).
+  //! coordinate system (OXY).
     gp_Ax22d();
   
 
index 03b9ff26d70ab9f12429546b280fc430d1bf3f69..a484c953d46aa3c0e028b50d373ad9f90d22db1f 100644 (file)
@@ -56,7 +56,7 @@ public:
 
   
   //! Creates an axis object representing X axis of
-  //! the reference co-ordinate system.
+  //! the reference coordinate system.
     gp_Ax2d();
   
 
index 39659f608cc87bb6aea94c286beed99e97724fcb..572811e9cbcce031815dea86eda296258634b056 100644 (file)
 //!
 //! The name of the enumeration
 //! corresponds to order of rotations, prefixed by type
-//! of co-ordinate system used:
+//! of coordinate system used:
 //! - Intrinsic: rotations are made around axes of rotating
-//!   co-ordinate system associated with the object
+//!   coordinate system associated with the object
 //! - Extrinsic: rotations are made around axes of fixed
-//!   (static) co-ordinate system
+//!   (static) coordinate system
 //!
 //! Two specific values are provided for most frequently used
 //! conventions: classic Euler angles (intrinsic ZXZ) and