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

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

Fix various typos via codespell.
This commit is contained in:
luz paz
2021-04-19 11:42:46 +03:00
committed by bugmaster
parent b69e576af0
commit 316ea29318
339 changed files with 1743 additions and 1972 deletions

View 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

View 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 );

View 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
{

View 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 )

View 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;

View 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;

View 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);