1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-19 13:40:49 +03:00

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

Fix various typos via codespell.
This commit is contained in:
luz paz
2021-04-01 20:18:10 +03:00
committed by bugmaster
parent 00e9052bee
commit 5e6e59146f
59 changed files with 288 additions and 512 deletions

View File

@@ -50,7 +50,6 @@ LocOpe_SequenceOfLin.hxx
LocOpe_SequenceOfPntFace.hxx
LocOpe_SplitDrafts.cxx
LocOpe_SplitDrafts.hxx
LocOpe_SplitDrafts.lxx
LocOpe_Spliter.cxx
LocOpe_Spliter.hxx
LocOpe_Spliter.lxx

View File

@@ -78,7 +78,7 @@ public:
//! On the element of range <I>, searches the first
//! intersection point located after the parameter
//! <From>, wich orientation is not TopAbs_EXTERNAL.
//! <From>, which orientation is not TopAbs_EXTERNAL.
//! If found, returns <Standard_True>. <Or> contains
//! the orientation of the point, <IndFrom> and
//! <IndTo> represents the interval of index in the
@@ -91,7 +91,7 @@ public:
//! On the element of range <I>, searches the first
//! intersection point located before the parameter
//! <From>, wich orientation is not TopAbs_EXTERNAL.
//! <From>, which orientation is not TopAbs_EXTERNAL.
//! If found, returns <Standard_True>. <Or> contains
//! the orientation of the point, <IndFrom> and
//! <IndTo> represents the interval of index in the
@@ -104,7 +104,7 @@ public:
//! On the element of range <I>, searches the first
//! intersection point located after the index
//! <FromInd> ( >= FromInd + 1), wich orientation is
//! <FromInd> ( >= FromInd + 1), which orientation is
//! not TopAbs_EXTERNAL. If found, returns
//! <Standard_True>. <Or> contains the orientation of
//! the point, <IndFrom> and <IndTo> represents the
@@ -118,7 +118,7 @@ public:
//! On the element of range <I>, searches the first
//! intersection point located before the index
//! <FromInd> ( <= FromInd -1), wich orientation is
//! <FromInd> ( <= FromInd -1), which orientation is
//! not TopAbs_EXTERNAL. If found, returns
//! <Standard_True>. <Or> contains the orientation of
//! the point, <IndFrom> and <IndTo> represents the

View File

@@ -75,7 +75,7 @@ public:
const LocOpe_PntFace& Point (const Standard_Integer Index) const;
//! Searches the first intersection point located
//! after the parameter <From>, wich orientation is
//! after the parameter <From>, which orientation is
//! not TopAbs_EXTERNAL. If found, returns
//! <Standard_True>. <Or> contains the orientation of
//! the point, <IndFrom> and <IndTo> represents the
@@ -87,7 +87,7 @@ public:
Standard_EXPORT Standard_Boolean LocalizeAfter (const Standard_Real From, TopAbs_Orientation& Or, Standard_Integer& IndFrom, Standard_Integer& IndTo) const;
//! Searches the first intersection point located
//! before the parameter <From>, wich orientation is
//! before the parameter <From>, which orientation is
//! not TopAbs_EXTERNAL. If found, returns
//! <Standard_True>. <Or> contains the orientation of
//! the point, <IndFrom> and <IndTo> represents the
@@ -99,7 +99,7 @@ public:
Standard_EXPORT Standard_Boolean LocalizeBefore (const Standard_Real From, TopAbs_Orientation& Or, Standard_Integer& IndFrom, Standard_Integer& IndTo) const;
//! Searches the first intersection point located
//! after the index <FromInd> ( >= FromInd + 1), wich
//! after the index <FromInd> ( >= FromInd + 1), which
//! orientation is not TopAbs_EXTERNAL. If found,
//! returns <Standard_True>. <Or> contains the
//! orientation of the point, <IndFrom> and <IndTo>
@@ -111,7 +111,7 @@ public:
Standard_EXPORT Standard_Boolean LocalizeAfter (const Standard_Integer FromInd, TopAbs_Orientation& Or, Standard_Integer& IndFrom, Standard_Integer& IndTo) const;
//! Searches the first intersection point located
//! before the index <FromInd> ( <= FromInd -1), wich
//! before the index <FromInd> ( <= FromInd -1), which
//! orientation is not TopAbs_EXTERNAL. If found,
//! returns <Standard_True>. <Or> contains the
//! orientation of the point, <IndFrom> and <IndTo>

View File

@@ -14,7 +14,7 @@
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
// Modifed: Portage NT 7-5-97 DPF (return NewParameter)
#include <LocOpe_Generator.hxx>
#include <BRep_Builder.hxx>
#include <BRep_Tool.hxx>
@@ -35,7 +35,6 @@
#include <gp_Pln.hxx>
#include <LocOpe_BuildShape.hxx>
#include <LocOpe_GeneratedShape.hxx>
#include <LocOpe_Generator.hxx>
#include <Precision.hxx>
#include <Standard_NoSuchObject.hxx>
#include <Standard_NullObject.hxx>

View File

@@ -20,23 +20,16 @@
#include <Standard.hxx>
#include <Standard_DefineAlloc.hxx>
#include <Standard_Handle.hxx>
#include <Standard_Real.hxx>
#include <TopoDS_Shape.hxx>
#include <TopTools_DataMapOfShapeListOfShape.hxx>
#include <Standard_Real.hxx>
#include <Standard_Boolean.hxx>
#include <TopTools_ListOfShape.hxx>
class StdFail_NotDone;
class Standard_NoSuchObject;
class Standard_ConstructionError;
class Standard_NullObject;
class TopoDS_Shape;
class TopoDS_Face;
class TopoDS_Wire;
class gp_Dir;
class gp_Pln;
//! This class provides a tool to realize the
//! following operations on a shape :
//! - split a face of the shape with a wire,
@@ -48,14 +41,13 @@ public:
DEFINE_STANDARD_ALLOC
//! Empty constructor.
LocOpe_SplitDrafts();
LocOpe_SplitDrafts() {}
//! Creates the algorithm on the shape <S>.
LocOpe_SplitDrafts(const TopoDS_Shape& S) : myShape (S) {}
//! Creates the algoritm on the shape <S>.
LocOpe_SplitDrafts(const TopoDS_Shape& S);
//! Initializes the algoritm with the shape <S>.
//! Initializes the algorithm with the shape <S>.
Standard_EXPORT void Init (const TopoDS_Shape& S);
//! Splits the face <F> of the former given shape with
@@ -85,43 +77,23 @@ public:
//! angle.
Standard_EXPORT void Perform (const TopoDS_Face& F, const TopoDS_Wire& W, const gp_Dir& Extract, const gp_Pln& NPl, const Standard_Real Angle);
//! Returns <Standard_True> if the modification has
//! been succesfully performed.
Standard_Boolean IsDone() const;
const TopoDS_Shape& OriginalShape() const;
//! Returns <Standard_True> if the modification has been successfully performed.
Standard_Boolean IsDone() const { return !myResult.IsNull(); }
const TopoDS_Shape& OriginalShape() const { return myShape; }
//! Returns the modified shape.
Standard_EXPORT const TopoDS_Shape& Shape() const;
//! Manages the descendant shapes.
Standard_EXPORT const TopTools_ListOfShape& ShapesFromShape (const TopoDS_Shape& S) const;
protected:
private:
TopoDS_Shape myShape;
TopoDS_Shape myResult;
TopTools_DataMapOfShapeListOfShape myMap;
};
#include <LocOpe_SplitDrafts.lxx>
#endif // _LocOpe_SplitDrafts_HeaderFile

View File

@@ -1,54 +0,0 @@
// Created on: 1996-10-02
// Created by: Jacques GOUSSARD
// Copyright (c) 1996-1999 Matra Datavision
// Copyright (c) 1999-2014 OPEN CASCADE SAS
//
// This file is part of Open CASCADE Technology software library.
//
// This library is free software; you can redistribute it and/or modify it under
// the terms of the GNU Lesser General Public License version 2.1 as published
// by the Free Software Foundation, with special exception defined in the file
// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
// distribution for complete text of the license and disclaimer of any warranty.
//
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
//=======================================================================
//function : LocOpe_SplitDrafts
//purpose :
//=======================================================================
inline LocOpe_SplitDrafts::LocOpe_SplitDrafts ()
{}
//=======================================================================
//function : LocOpe_SplitDrafts
//purpose :
//=======================================================================
inline LocOpe_SplitDrafts::LocOpe_SplitDrafts (const TopoDS_Shape& S):
myShape(S)
{}
//=======================================================================
//function : IsDone
//purpose :
//=======================================================================
inline Standard_Boolean LocOpe_SplitDrafts::IsDone() const
{
return (!myResult.IsNull());
}
//=======================================================================
//function : OriginalShape
//purpose :
//=======================================================================
inline const TopoDS_Shape& LocOpe_SplitDrafts::OriginalShape () const
{
return myShape;
}

View File

@@ -53,7 +53,7 @@ public:
Standard_EXPORT void Init (const TopoDS_Shape& S);
//! Add splitting edges or wires for whole initial shape
//! withot additional specification edge->face, edge->edge
//! without additional specification edge->face, edge->edge
//! This method puts edge on the corresponding faces from initial shape
Standard_EXPORT Standard_Boolean Add(const TopTools_SequenceOfShape& theEdges);