diff --git a/src/ApplicationFramework/TKBin/BinDrivers/BinDrivers.cxx b/src/ApplicationFramework/TKBin/BinDrivers/BinDrivers.cxx index de1e6dea51..001ba58020 100644 --- a/src/ApplicationFramework/TKBin/BinDrivers/BinDrivers.cxx +++ b/src/ApplicationFramework/TKBin/BinDrivers/BinDrivers.cxx @@ -33,10 +33,8 @@ static Standard_GUID BinStorageDriver("03a56835-8269-11d5-aab2-0050044b1af1"); static Standard_GUID BinRetrievalDriver("03a56836-8269-11d5-aab2-0050044b1af1"); -//======================================================================= -// function : Factory -// purpose : PLUGIN FACTORY -//======================================================================= +//================================================================================================= + const Handle(Standard_Transient)& BinDrivers::Factory(const Standard_GUID& theGUID) { if (theGUID == BinStorageDriver) diff --git a/src/ApplicationFramework/TKBinL/BinLDrivers/BinLDrivers.cxx b/src/ApplicationFramework/TKBinL/BinLDrivers/BinLDrivers.cxx index e7de8fb335..504a0c69df 100644 --- a/src/ApplicationFramework/TKBinL/BinLDrivers/BinLDrivers.cxx +++ b/src/ApplicationFramework/TKBinL/BinLDrivers/BinLDrivers.cxx @@ -31,10 +31,8 @@ static Standard_GUID BinLStorageDriver("13a56835-8269-11d5-aab2-0050044b1af1"); static Standard_GUID BinLRetrievalDriver("13a56836-8269-11d5-aab2-0050044b1af1"); -//======================================================================= -// function : Factory -// purpose : PLUGIN FACTORY -//======================================================================= +//================================================================================================= + const Handle(Standard_Transient)& BinLDrivers::Factory(const Standard_GUID& theGUID) { if (theGUID == BinLStorageDriver) diff --git a/src/ApplicationFramework/TKBinL/BinLDrivers/BinLDrivers_DocumentSection.cxx b/src/ApplicationFramework/TKBinL/BinLDrivers/BinLDrivers_DocumentSection.cxx index 1ed874a7fb..5a1ab97989 100644 --- a/src/ApplicationFramework/TKBinL/BinLDrivers/BinLDrivers_DocumentSection.cxx +++ b/src/ApplicationFramework/TKBinL/BinLDrivers/BinLDrivers_DocumentSection.cxx @@ -17,10 +17,7 @@ #include #include -//======================================================================= -// function : BinLDrivers_DocumentSection -// purpose : Empty constructor -//======================================================================= +//================================================================================================= BinLDrivers_DocumentSection::BinLDrivers_DocumentSection() : myIsPostRead(Standard_False) @@ -106,7 +103,7 @@ void BinLDrivers_DocumentSection::WriteTOC(Standard_OStream& theStream if (aBufSize < aLen) aBufSize += sizeof(Standard_Integer); - // Write the buffer: size + string + // Write the buffer: size + string #ifdef DO_INVERSE aBufSz[0] = InverseInt((Standard_Integer)aBufSize); #else diff --git a/src/ApplicationFramework/TKBinL/BinObjMgt/BinObjMgt_Persistent.cxx b/src/ApplicationFramework/TKBinL/BinObjMgt/BinObjMgt_Persistent.cxx index 9d39c84a89..c3fe03701d 100644 --- a/src/ApplicationFramework/TKBinL/BinObjMgt/BinObjMgt_Persistent.cxx +++ b/src/ApplicationFramework/TKBinL/BinObjMgt/BinObjMgt_Persistent.cxx @@ -39,10 +39,7 @@ typedef struct unsigned char Data4[8]; // 8-bytes long on all OS } BinObjMgt_UUID; -//======================================================================= -// function : BinObjMgt_Persistent -// purpose : Empty constructor -//======================================================================= +//================================================================================================= BinObjMgt_Persistent::BinObjMgt_Persistent() : myIndex(1), diff --git a/src/ApplicationFramework/TKCAF/TNaming/TNaming.cxx b/src/ApplicationFramework/TKCAF/TNaming/TNaming.cxx index e8f5336a73..0dd26958bc 100644 --- a/src/ApplicationFramework/TKCAF/TNaming/TNaming.cxx +++ b/src/ApplicationFramework/TKCAF/TNaming/TNaming.cxx @@ -697,10 +697,7 @@ Standard_OStream& TNaming::Print(const TNaming_NameType NAME, Standard_OStream& return s; } -//======================================================================= -// function : Print -// purpose : Prints UsedShapes. -//======================================================================= +//================================================================================================= Standard_OStream& TNaming::Print(const TDF_Label& ACCESS, Standard_OStream& s) { diff --git a/src/ApplicationFramework/TKCAF/TNaming/TNaming_Naming.cxx b/src/ApplicationFramework/TKCAF/TNaming/TNaming_Naming.cxx index f3e3cc1abf..ed5bb87341 100644 --- a/src/ApplicationFramework/TKCAF/TNaming/TNaming_Naming.cxx +++ b/src/ApplicationFramework/TKCAF/TNaming/TNaming_Naming.cxx @@ -2165,10 +2165,7 @@ TNaming_Name& TNaming_Naming::ChangeName() return myName; } -//======================================================================= -// function : Regenerate -// purpose : idem designer -//======================================================================= +//================================================================================================= Standard_Boolean TNaming_Naming::Regenerate(TDF_LabelMap& MDF) diff --git a/src/ApplicationFramework/TKCAF/TNaming/TNaming_TranslateTool.cxx b/src/ApplicationFramework/TKCAF/TNaming/TNaming_TranslateTool.cxx index 01580d413d..440deed9be 100644 --- a/src/ApplicationFramework/TKCAF/TNaming/TNaming_TranslateTool.cxx +++ b/src/ApplicationFramework/TKCAF/TNaming/TNaming_TranslateTool.cxx @@ -50,10 +50,8 @@ IMPLEMENT_STANDARD_RTTIEXT(TNaming_TranslateTool, Standard_Transient) // myTriangleMode(aTriMode) //{ //} -//======================================================================= -// function : Add -// purpose : Adds S2 in S1 -//======================================================================= +//================================================================================================= + void TNaming_TranslateTool::Add(TopoDS_Shape& S1, const TopoDS_Shape& S2) const { BRep_Builder B; diff --git a/src/ApplicationFramework/TKCDF/LDOM/LDOMBasicString.cxx b/src/ApplicationFramework/TKCDF/LDOM/LDOMBasicString.cxx index a72a4cbd31..05f7c7b5af 100644 --- a/src/ApplicationFramework/TKCDF/LDOM/LDOMBasicString.cxx +++ b/src/ApplicationFramework/TKCDF/LDOM/LDOMBasicString.cxx @@ -84,10 +84,7 @@ LDOMBasicString::LDOMBasicString(const char* aValue, } } -//======================================================================= -// function : LDOMBasicString -// purpose : Copy constructor -//======================================================================= +//================================================================================================= LDOMBasicString::LDOMBasicString(const LDOMBasicString& anOther) : myType(anOther.Type()) diff --git a/src/ApplicationFramework/TKCDF/LDOM/LDOM_BasicElement.cxx b/src/ApplicationFramework/TKCDF/LDOM/LDOM_BasicElement.cxx index edd85582d4..6cd6b4af32 100644 --- a/src/ApplicationFramework/TKCDF/LDOM/LDOM_BasicElement.cxx +++ b/src/ApplicationFramework/TKCDF/LDOM/LDOM_BasicElement.cxx @@ -163,10 +163,7 @@ const LDOM_BasicAttribute& LDOM_BasicElement::GetAttribute(const LDOMBasicString return aNullAttribute; } -//======================================================================= -// function : GetFirstAttribute -// purpose : private method -//======================================================================= +//================================================================================================= const LDOM_BasicAttribute* LDOM_BasicElement::GetFirstAttribute( const LDOM_BasicNode*& theLastCh, diff --git a/src/ApplicationFramework/TKCDF/LDOM/LDOM_CharacterData.cxx b/src/ApplicationFramework/TKCDF/LDOM/LDOM_CharacterData.cxx index b8b20f6246..a2fb951180 100644 --- a/src/ApplicationFramework/TKCDF/LDOM/LDOM_CharacterData.cxx +++ b/src/ApplicationFramework/TKCDF/LDOM/LDOM_CharacterData.cxx @@ -49,10 +49,7 @@ LDOM_CharacterData& LDOM_CharacterData::operator=(const LDOM_CharacterData& theO return *this; } -//======================================================================= -// function : setData -// purpose : replace the data -//======================================================================= +//================================================================================================= void LDOM_CharacterData::setData(const LDOMString& theValue) { diff --git a/src/ApplicationFramework/TKCDF/LDOM/LDOM_NodeList.cxx b/src/ApplicationFramework/TKCDF/LDOM/LDOM_NodeList.cxx index 8b27b82c83..e9c7d3cf43 100644 --- a/src/ApplicationFramework/TKCDF/LDOM/LDOM_NodeList.cxx +++ b/src/ApplicationFramework/TKCDF/LDOM/LDOM_NodeList.cxx @@ -44,10 +44,7 @@ void LDOM_NodeList::Append(const LDOM_BasicNode& aNode) const mySeq->Append(&aNode); } -//======================================================================= -// function : LDOM_NodeList -// purpose : Copy constructor -//======================================================================= +//================================================================================================= LDOM_NodeList::LDOM_NodeList(const LDOM_NodeList& theOther) { diff --git a/src/ApplicationFramework/TKCDF/LDOM/LDOM_OSStream.cxx b/src/ApplicationFramework/TKCDF/LDOM/LDOM_OSStream.cxx index 421acd3a88..55b50475c0 100644 --- a/src/ApplicationFramework/TKCDF/LDOM/LDOM_OSStream.cxx +++ b/src/ApplicationFramework/TKCDF/LDOM/LDOM_OSStream.cxx @@ -87,10 +87,7 @@ int LDOM_SBuffer::overflow(int c) return c; } -//======================================================================= -// function : underflow -// purpose : redefined virtual -//======================================================================= +//================================================================================================= int LDOM_SBuffer::underflow() { diff --git a/src/ApplicationFramework/TKCDF/LDOM/LDOM_XmlWriter.cxx b/src/ApplicationFramework/TKCDF/LDOM/LDOM_XmlWriter.cxx index 3680edc64f..ffb058902e 100644 --- a/src/ApplicationFramework/TKCDF/LDOM/LDOM_XmlWriter.cxx +++ b/src/ApplicationFramework/TKCDF/LDOM/LDOM_XmlWriter.cxx @@ -377,10 +377,8 @@ void LDOM_XmlWriter::Write(Standard_OStream& theOStream, const LDOMBasicString& } } -//======================================================================= -// function : Write -// purpose : Stream out a char -//======================================================================= +//================================================================================================= + void LDOM_XmlWriter::Write(Standard_OStream& theOStream, const char theChar) { theOStream.write(&theChar, sizeof(char)); diff --git a/src/ApplicationFramework/TKLCAF/TDF/TDF_Data.cxx b/src/ApplicationFramework/TKLCAF/TDF/TDF_Data.cxx index e48f65e628..a2ac965af0 100644 --- a/src/ApplicationFramework/TKLCAF/TDF/TDF_Data.cxx +++ b/src/ApplicationFramework/TKLCAF/TDF/TDF_Data.cxx @@ -88,10 +88,7 @@ IMPLEMENT_STANDARD_RTTIEXT(TDF_Data, Standard_Transient) aDelta->AddAttributeDelta(DELTACREATION); \ } -//======================================================================= -// function : TDF_Data -// purpose : empty constructor -//======================================================================= +//================================================================================================= TDF_Data::TDF_Data() : myTransaction(0), diff --git a/src/ApplicationFramework/TKLCAF/TDF/TDF_DataSet.cxx b/src/ApplicationFramework/TKLCAF/TDF/TDF_DataSet.cxx index d33e85a78e..4a2a24025c 100644 --- a/src/ApplicationFramework/TKLCAF/TDF/TDF_DataSet.cxx +++ b/src/ApplicationFramework/TKLCAF/TDF/TDF_DataSet.cxx @@ -26,10 +26,8 @@ IMPLEMENT_STANDARD_RTTIEXT(TDF_DataSet, Standard_Transient) -//======================================================================= -// function : TDF_DataSet -// purpose : Creates a DataSet. -//======================================================================= +//================================================================================================= + TDF_DataSet::TDF_DataSet() {} //================================================================================================= diff --git a/src/ApplicationFramework/TKLCAF/TDF/TDF_IDFilter.cxx b/src/ApplicationFramework/TKLCAF/TDF/TDF_IDFilter.cxx index 4589b311db..f9df398d85 100644 --- a/src/ApplicationFramework/TKLCAF/TDF/TDF_IDFilter.cxx +++ b/src/ApplicationFramework/TKLCAF/TDF/TDF_IDFilter.cxx @@ -76,10 +76,7 @@ void TDF_IDFilter::Keep(const TDF_IDList& anIDList) } } -//======================================================================= -// function : Ignore -// purpose : Ignores an ID. -//======================================================================= +//================================================================================================= void TDF_IDFilter::Ignore(const Standard_GUID& anID) { diff --git a/src/ApplicationFramework/TKLCAF/TDF/TDF_Label.cxx b/src/ApplicationFramework/TKLCAF/TDF/TDF_Label.cxx index 5ebe043c1a..6c8691ad79 100644 --- a/src/ApplicationFramework/TKLCAF/TDF/TDF_Label.cxx +++ b/src/ApplicationFramework/TKLCAF/TDF/TDF_Label.cxx @@ -343,10 +343,7 @@ TDF_LabelNode* TDF_Label::FindOrAddChild(const Standard_Integer aTag, return childLabelNode; } -//======================================================================= -// function : InternalDump -// purpose : Private method. -//======================================================================= +//================================================================================================= void TDF_Label::InternalDump(Standard_OStream& anOS, const TDF_IDFilter& aFilter, diff --git a/src/ApplicationFramework/TKLCAF/TDF/TDF_Reference.cxx b/src/ApplicationFramework/TKLCAF/TDF/TDF_Reference.cxx index 69cc2b8020..466430d49d 100644 --- a/src/ApplicationFramework/TKLCAF/TDF/TDF_Reference.cxx +++ b/src/ApplicationFramework/TKLCAF/TDF/TDF_Reference.cxx @@ -48,10 +48,7 @@ Handle(TDF_Reference) TDF_Reference::Set(const TDF_Label& L, const TDF_Label& Or return A; } -//======================================================================= -// function : TDF_Reference -// purpose : Empty Constructor -//======================================================================= +//================================================================================================= TDF_Reference::TDF_Reference() {} diff --git a/src/ApplicationFramework/TKLCAF/TDF/TDF_Tool.cxx b/src/ApplicationFramework/TKLCAF/TDF/TDF_Tool.cxx index 2a70b4c680..94d43817b2 100644 --- a/src/ApplicationFramework/TKLCAF/TDF/TDF_Tool.cxx +++ b/src/ApplicationFramework/TKLCAF/TDF/TDF_Tool.cxx @@ -558,10 +558,7 @@ void TDF_Tool::DeductLabels(TDF_LabelList& aLabelList, TDF_LabelIntegerMap& aLab } } -//======================================================================= -// function : DeepDump -// purpose : Deep dump of a DF. -//======================================================================= +//================================================================================================= void TDF_Tool::DeepDump(Standard_OStream& anOS, const Handle(TDF_Data)& aDF) { @@ -645,10 +642,7 @@ void TDF_Tool::ExtendedDeepDump(Standard_OStream& anOS, anOS << " dumped between " << --i << std::endl; } -//======================================================================= -// function : ExtendedDeepDump -// purpose : Internal method. -//======================================================================= +//================================================================================================= static void TDF_Tool_ExtendedDeepDump(Standard_OStream& anOS, const TDF_Label& aLabel, diff --git a/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_AsciiString.cxx b/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_AsciiString.cxx index dafcd91d18..c386d6301e 100644 --- a/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_AsciiString.cxx +++ b/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_AsciiString.cxx @@ -117,10 +117,8 @@ void TDataStd_AsciiString::SetID(const Standard_GUID& theGuid) myID = theGuid; } -//======================================================================= -// function : SetID -// purpose : sets default ID -//======================================================================= +//================================================================================================= + void TDataStd_AsciiString::SetID() { Backup(); diff --git a/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_BooleanArray.cxx b/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_BooleanArray.cxx index 2d253f0358..66338e11c1 100644 --- a/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_BooleanArray.cxx +++ b/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_BooleanArray.cxx @@ -82,10 +82,8 @@ static Handle(TDataStd_BooleanArray) SetAttr(const TDF_Label& label, return A; } -//======================================================================= -// function : TDataStd_BooleanArray -// purpose : Empty Constructor -//======================================================================= +//================================================================================================= + TDataStd_BooleanArray::TDataStd_BooleanArray() : myID(GetID()) { @@ -217,10 +215,8 @@ void TDataStd_BooleanArray::SetID(const Standard_GUID& theGuid) myID = theGuid; } -//======================================================================= -// function : SetID -// purpose : sets default ID -//======================================================================= +//================================================================================================= + void TDataStd_BooleanArray::SetID() { Backup(); diff --git a/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_BooleanList.cxx b/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_BooleanList.cxx index 896f461552..fdde89847d 100644 --- a/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_BooleanList.cxx +++ b/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_BooleanList.cxx @@ -49,10 +49,8 @@ static Handle(TDataStd_BooleanList) SetAttr(const TDF_Label& label, const Standa return A; } -//======================================================================= -// function : TDataStd_BooleanList -// purpose : Empty Constructor -//======================================================================= +//================================================================================================= + TDataStd_BooleanList::TDataStd_BooleanList() : myID(GetID()) { @@ -219,10 +217,7 @@ void TDataStd_BooleanList::SetID(const Standard_GUID& theGuid) myID = theGuid; } -//======================================================================= -// function : SetID -// purpose : sets default ID -//======================================================================= +//================================================================================================= void TDataStd_BooleanList::SetID() { diff --git a/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_ByteArray.cxx b/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_ByteArray.cxx index 4664132cd2..e269d28936 100644 --- a/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_ByteArray.cxx +++ b/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_ByteArray.cxx @@ -35,10 +35,8 @@ const Standard_GUID& TDataStd_ByteArray::GetID() return TDataStd_ByteArrayID; } -//======================================================================= -// function : TDataStd_ByteArray -// purpose : Empty Constructor -//======================================================================= +//================================================================================================= + TDataStd_ByteArray::TDataStd_ByteArray() : myIsDelta(Standard_False), myID(GetID()) @@ -210,10 +208,7 @@ void TDataStd_ByteArray::SetID(const Standard_GUID& theGuid) myID = theGuid; } -//======================================================================= -// function : SetID -// purpose : sets default ID -//======================================================================= +//================================================================================================= void TDataStd_ByteArray::SetID() { diff --git a/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_Comment.cxx b/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_Comment.cxx index 40de9771b6..acdd02d9a9 100644 --- a/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_Comment.cxx +++ b/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_Comment.cxx @@ -87,10 +87,7 @@ void TDataStd_Comment::SetID(const Standard_GUID& theGuid) myID = theGuid; } -//======================================================================= -// function : SetID -// purpose : sets default ID -//======================================================================= +//================================================================================================= void TDataStd_Comment::SetID() { diff --git a/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_ExtStringArray.cxx b/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_ExtStringArray.cxx index 823db6b9f3..5fc6dc2228 100644 --- a/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_ExtStringArray.cxx +++ b/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_ExtStringArray.cxx @@ -219,10 +219,7 @@ void TDataStd_ExtStringArray::SetID(const Standard_GUID& theGuid) myID = theGuid; } -//======================================================================= -// function : SetID -// purpose : sets default ID -//======================================================================= +//================================================================================================= void TDataStd_ExtStringArray::SetID() { diff --git a/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_ExtStringList.cxx b/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_ExtStringList.cxx index b13deec08c..5a51ddfa66 100644 --- a/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_ExtStringList.cxx +++ b/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_ExtStringList.cxx @@ -50,10 +50,8 @@ static Handle(TDataStd_ExtStringList) SetAttr(const TDF_Label& label, const Stan return A; } -//======================================================================= -// function : TDataStd_ExtStringList -// purpose : Empty Constructor -//======================================================================= +//================================================================================================= + TDataStd_ExtStringList::TDataStd_ExtStringList() : myID(GetID()) { @@ -275,10 +273,7 @@ void TDataStd_ExtStringList::SetID(const Standard_GUID& theGuid) myID = theGuid; } -//======================================================================= -// function : SetID -// purpose : sets default ID -//======================================================================= +//================================================================================================= void TDataStd_ExtStringList::SetID() { diff --git a/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_Integer.cxx b/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_Integer.cxx index ef087a70e2..7de239d38b 100644 --- a/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_Integer.cxx +++ b/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_Integer.cxx @@ -73,10 +73,7 @@ Handle(TDataStd_Integer) TDataStd_Integer::Set(const TDF_Label& L, return SetAttr(L, V, theGuid); } -//======================================================================= -// function : TDataStd_Integer -// purpose : Empty Constructor -//======================================================================= +//================================================================================================= TDataStd_Integer::TDataStd_Integer() : myValue(-1), @@ -129,10 +126,8 @@ void TDataStd_Integer::SetID(const Standard_GUID& theGuid) myID = theGuid; } -//======================================================================= -// function : SetID -// purpose : sets default ID -//======================================================================= +//================================================================================================= + void TDataStd_Integer::SetID() { Backup(); diff --git a/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_IntegerArray.cxx b/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_IntegerArray.cxx index 3054066830..0f937b3b21 100644 --- a/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_IntegerArray.cxx +++ b/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_IntegerArray.cxx @@ -62,10 +62,7 @@ static Handle(TDataStd_IntegerArray) SetAttr(const TDF_Label& label, return A; } -//======================================================================= -// function : TDataStd_IntegerArray -// purpose : Empty Constructor -//======================================================================= +//================================================================================================= TDataStd_IntegerArray::TDataStd_IntegerArray() : myIsDelta(Standard_False), @@ -219,10 +216,7 @@ void TDataStd_IntegerArray::SetID(const Standard_GUID& theGuid) myID = theGuid; } -//======================================================================= -// function : SetID -// purpose : sets default ID -//======================================================================= +//================================================================================================= void TDataStd_IntegerArray::SetID() { diff --git a/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_IntegerList.cxx b/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_IntegerList.cxx index e7d6108f22..886349f4f9 100644 --- a/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_IntegerList.cxx +++ b/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_IntegerList.cxx @@ -49,10 +49,8 @@ static Handle(TDataStd_IntegerList) SetAttr(const TDF_Label& label, const Standa return A; } -//======================================================================= -// function : TDataStd_IntegerList -// purpose : Empty Constructor -//======================================================================= +//================================================================================================= + TDataStd_IntegerList::TDataStd_IntegerList() : myID(GetID()) { @@ -268,10 +266,7 @@ void TDataStd_IntegerList::SetID(const Standard_GUID& theGuid) myID = theGuid; } -//======================================================================= -// function : SetID -// purpose : sets default ID -//======================================================================= +//================================================================================================= void TDataStd_IntegerList::SetID() { diff --git a/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_Name.cxx b/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_Name.cxx index c3af5a73ea..4cb8e426aa 100644 --- a/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_Name.cxx +++ b/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_Name.cxx @@ -95,10 +95,7 @@ void TDataStd_Name::SetID(const Standard_GUID& theGuid) myID = theGuid; } -//======================================================================= -// function : SetID -// purpose : sets default ID -//======================================================================= +//================================================================================================= void TDataStd_Name::SetID() { diff --git a/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_NamedData.cxx b/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_NamedData.cxx index b8c6bbb07f..a10af023ed 100644 --- a/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_NamedData.cxx +++ b/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_NamedData.cxx @@ -44,10 +44,8 @@ const Standard_GUID& TDataStd_NamedData::GetID() return TDataStd_NamedDataID; } -//======================================================================= -// function : TDataStd_NamedData -// purpose : Empty Constructor -//======================================================================= +//================================================================================================= + TDataStd_NamedData::TDataStd_NamedData() {} //================================================================================================= diff --git a/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_Real.cxx b/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_Real.cxx index 74c325d3b2..c9dd6738ce 100644 --- a/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_Real.cxx +++ b/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_Real.cxx @@ -73,10 +73,7 @@ Handle(TDataStd_Real) TDataStd_Real::Set(const TDF_Label& L, return SetAttr(L, V, theGuid); } -//======================================================================= -// function : TDataStd_Real -// purpose : Empty constructor -//======================================================================= +//================================================================================================= TDataStd_Real::TDataStd_Real() : myValue(RealFirst()), @@ -156,10 +153,8 @@ void TDataStd_Real::SetID(const Standard_GUID& theGuid) myID = theGuid; } -//======================================================================= -// function : SetID -// purpose : sets default ID -//======================================================================= +//================================================================================================= + void TDataStd_Real::SetID() { Backup(); diff --git a/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_RealArray.cxx b/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_RealArray.cxx index 226c628b40..86dc8c3a53 100644 --- a/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_RealArray.cxx +++ b/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_RealArray.cxx @@ -62,10 +62,7 @@ static Handle(TDataStd_RealArray) SetAttr(const TDF_Label& label, return A; } -//======================================================================= -// function : TDataStd_RealArray -// purpose : Empty Constructor -//======================================================================= +//================================================================================================= TDataStd_RealArray::TDataStd_RealArray() : myIsDelta(Standard_False), @@ -218,10 +215,7 @@ void TDataStd_RealArray::SetID(const Standard_GUID& theGuid) myID = theGuid; } -//======================================================================= -// function : SetID -// purpose : sets default ID -//======================================================================= +//================================================================================================= void TDataStd_RealArray::SetID() { diff --git a/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_RealList.cxx b/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_RealList.cxx index 4d15b9296b..f1c916fb1f 100644 --- a/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_RealList.cxx +++ b/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_RealList.cxx @@ -49,10 +49,8 @@ static Handle(TDataStd_RealList) SetAttr(const TDF_Label& label, const Standard_ return A; } -//======================================================================= -// function : TDataStd_RealList -// purpose : Empty Constructor -//======================================================================= +//================================================================================================= + TDataStd_RealList::TDataStd_RealList() : myID(GetID()) { @@ -268,10 +266,8 @@ void TDataStd_RealList::SetID(const Standard_GUID& theGuid) myID = theGuid; } -//======================================================================= -// function : SetID -// purpose : sets default ID -//======================================================================= +//================================================================================================= + void TDataStd_RealList::SetID() { Backup(); diff --git a/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_ReferenceArray.cxx b/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_ReferenceArray.cxx index db052f9f85..2f0b0d2304 100644 --- a/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_ReferenceArray.cxx +++ b/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_ReferenceArray.cxx @@ -58,10 +58,8 @@ static Handle(TDataStd_ReferenceArray) SetAttr(const TDF_Label& label, return A; } -//======================================================================= -// function : TDataStd_ReferenceArray -// purpose : Empty Constructor -//======================================================================= +//================================================================================================= + TDataStd_ReferenceArray::TDataStd_ReferenceArray() : myID(GetID()) { @@ -209,10 +207,7 @@ void TDataStd_ReferenceArray::SetID(const Standard_GUID& theGuid) myID = theGuid; } -//======================================================================= -// function : SetID -// purpose : sets default ID -//======================================================================= +//================================================================================================= void TDataStd_ReferenceArray::SetID() { diff --git a/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_ReferenceList.cxx b/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_ReferenceList.cxx index b310a605d2..5d3e731f10 100644 --- a/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_ReferenceList.cxx +++ b/src/ApplicationFramework/TKLCAF/TDataStd/TDataStd_ReferenceList.cxx @@ -50,10 +50,8 @@ static Handle(TDataStd_ReferenceList) SetAttr(const TDF_Label& label, const Stan return A; } -//======================================================================= -// function : TDataStd_ReferenceList -// purpose : Empty Constructor -//======================================================================= +//================================================================================================= + TDataStd_ReferenceList::TDataStd_ReferenceList() : myID(GetID()) { @@ -269,10 +267,8 @@ void TDataStd_ReferenceList::SetID(const Standard_GUID& theGuid) myID = theGuid; } -//======================================================================= -// function : SetID -// purpose : sets default ID -//======================================================================= +//================================================================================================= + void TDataStd_ReferenceList::SetID() { Backup(); diff --git a/src/ApplicationFramework/TKLCAF/TDocStd/TDocStd_Document.cxx b/src/ApplicationFramework/TKLCAF/TDocStd/TDocStd_Document.cxx index 5873a9daf9..816906acda 100644 --- a/src/ApplicationFramework/TKLCAF/TDocStd/TDocStd_Document.cxx +++ b/src/ApplicationFramework/TKLCAF/TDocStd/TDocStd_Document.cxx @@ -240,10 +240,7 @@ void TDocStd_Document::AbortCommand() AbortTransaction(); } -//======================================================================= -// function : CommitTransaction -// purpose : Private method. -//======================================================================= +//================================================================================================= Standard_Boolean TDocStd_Document::CommitTransaction() { @@ -339,10 +336,7 @@ Standard_Boolean TDocStd_Document::CommitTransaction() return isDone; } -//======================================================================= -// function : AbortTransaction -// purpose : Private method. -//======================================================================= +//================================================================================================= void TDocStd_Document::AbortTransaction() { @@ -376,10 +370,7 @@ void TDocStd_Document::AbortTransaction() } } -//======================================================================= -// function :OpenTransaction -// purpose : Private method. -//======================================================================= +//================================================================================================= void TDocStd_Document::OpenTransaction() { diff --git a/src/ApplicationFramework/TKLCAF/TDocStd/TDocStd_XLink.cxx b/src/ApplicationFramework/TKLCAF/TDocStd/TDocStd_XLink.cxx index b8e4c8c904..498a1224b6 100644 --- a/src/ApplicationFramework/TKLCAF/TDocStd/TDocStd_XLink.cxx +++ b/src/ApplicationFramework/TKLCAF/TDocStd/TDocStd_XLink.cxx @@ -43,10 +43,7 @@ TDocStd_XLink::TDocStd_XLink() { } -//======================================================================= -// function : Set -// purpose : Class method. -//======================================================================= +//================================================================================================= Handle(TDocStd_XLink) TDocStd_XLink::Set(const TDF_Label& atLabel) { diff --git a/src/ApplicationFramework/TKLCAF/TDocStd/TDocStd_XLinkRoot.cxx b/src/ApplicationFramework/TKLCAF/TDocStd/TDocStd_XLinkRoot.cxx index 6e5c6f24bf..c9cab775df 100644 --- a/src/ApplicationFramework/TKLCAF/TDocStd/TDocStd_XLinkRoot.cxx +++ b/src/ApplicationFramework/TKLCAF/TDocStd/TDocStd_XLinkRoot.cxx @@ -41,10 +41,7 @@ const Standard_GUID& TDocStd_XLinkRoot::GetID() return myID; } -//======================================================================= -// function : Set -// purpose : CLASS method. -//======================================================================= +//================================================================================================= Handle(TDocStd_XLinkRoot) TDocStd_XLinkRoot::Set(const Handle(TDF_Data)& aDF) { diff --git a/src/ApplicationFramework/TKLCAF/TFunction/TFunction_Driver.cxx b/src/ApplicationFramework/TKLCAF/TFunction/TFunction_Driver.cxx index bd521e0a94..03033752f6 100644 --- a/src/ApplicationFramework/TKLCAF/TFunction/TFunction_Driver.cxx +++ b/src/ApplicationFramework/TKLCAF/TFunction/TFunction_Driver.cxx @@ -23,10 +23,7 @@ IMPLEMENT_STANDARD_RTTIEXT(TFunction_Driver, Standard_Transient) TFunction_Driver::TFunction_Driver() {} -//======================================================================= -// function : Init -// purpose : Initialization -//======================================================================= +//================================================================================================= void TFunction_Driver::Init(const TDF_Label& L) { diff --git a/src/ApplicationFramework/TKLCAF/TFunction/TFunction_Logbook.cxx b/src/ApplicationFramework/TKLCAF/TFunction/TFunction_Logbook.cxx index 04eb30517a..7759bd2ee3 100644 --- a/src/ApplicationFramework/TKLCAF/TFunction/TFunction_Logbook.cxx +++ b/src/ApplicationFramework/TKLCAF/TFunction/TFunction_Logbook.cxx @@ -58,10 +58,8 @@ const Standard_GUID& TFunction_Logbook::ID() const return GetID(); } -//======================================================================= -// function : TFunction_Logbook -// purpose : A Logbook creation -//======================================================================= +//================================================================================================= + TFunction_Logbook::TFunction_Logbook() : isDone(Standard_False) { diff --git a/src/ApplicationFramework/TKStd/ShapePersistent/ShapePersistent.cxx b/src/ApplicationFramework/TKStd/ShapePersistent/ShapePersistent.cxx index 559d32ff26..c382e1b9db 100644 --- a/src/ApplicationFramework/TKStd/ShapePersistent/ShapePersistent.cxx +++ b/src/ApplicationFramework/TKStd/ShapePersistent/ShapePersistent.cxx @@ -21,10 +21,8 @@ #include #include -//======================================================================= -// function : BindTypes -// purpose : Register types -//======================================================================= +//================================================================================================= + void ShapePersistent::BindTypes(StdObjMgt_MapOfInstantiators& theMap) { theMap.Bind("PTopoDS_HArray1OfHShape"); diff --git a/src/ApplicationFramework/TKStd/StdDrivers/StdDrivers.cxx b/src/ApplicationFramework/TKStd/StdDrivers/StdDrivers.cxx index 3e81649126..9647f2d270 100644 --- a/src/ApplicationFramework/TKStd/StdDrivers/StdDrivers.cxx +++ b/src/ApplicationFramework/TKStd/StdDrivers/StdDrivers.cxx @@ -61,10 +61,8 @@ void StdDrivers::DefineFormat(const Handle(TDocStd_Application)& theApp) 0); } -//======================================================================= -// function : BindTypes -// purpose : Register types -//======================================================================= +//================================================================================================= + void StdDrivers::BindTypes(StdObjMgt_MapOfInstantiators& theMap) { StdLPersistent ::BindTypes(theMap); diff --git a/src/ApplicationFramework/TKStd/StdDrivers/StdDrivers_DocumentRetrievalDriver.cxx b/src/ApplicationFramework/TKStd/StdDrivers/StdDrivers_DocumentRetrievalDriver.cxx index d61b6a4ec1..f555e4e3f8 100644 --- a/src/ApplicationFramework/TKStd/StdDrivers/StdDrivers_DocumentRetrievalDriver.cxx +++ b/src/ApplicationFramework/TKStd/StdDrivers/StdDrivers_DocumentRetrievalDriver.cxx @@ -16,10 +16,8 @@ IMPLEMENT_STANDARD_RTTIEXT(StdDrivers_DocumentRetrievalDriver, StdLDrivers_DocumentRetrievalDriver) -//======================================================================= -// function : bindTypes -// purpose : Register types -//======================================================================= +//================================================================================================= + void StdDrivers_DocumentRetrievalDriver::bindTypes(StdObjMgt_MapOfInstantiators& theMap) { StdDrivers::BindTypes(theMap); diff --git a/src/ApplicationFramework/TKStd/StdPersistent/StdPersistent.cxx b/src/ApplicationFramework/TKStd/StdPersistent/StdPersistent.cxx index 36697993a6..b197f10ccb 100644 --- a/src/ApplicationFramework/TKStd/StdPersistent/StdPersistent.cxx +++ b/src/ApplicationFramework/TKStd/StdPersistent/StdPersistent.cxx @@ -23,10 +23,8 @@ #include #include -//======================================================================= -// function : BindTypes -// purpose : Register types -//======================================================================= +//================================================================================================= + void StdPersistent::BindTypes(StdObjMgt_MapOfInstantiators& theMap) { // Non-attribute data diff --git a/src/ApplicationFramework/TKStdL/StdLDrivers/StdLDrivers.cxx b/src/ApplicationFramework/TKStdL/StdLDrivers/StdLDrivers.cxx index e44796b6ff..1cd8a3cf8f 100644 --- a/src/ApplicationFramework/TKStdL/StdLDrivers/StdLDrivers.cxx +++ b/src/ApplicationFramework/TKStdL/StdLDrivers/StdLDrivers.cxx @@ -58,10 +58,8 @@ void StdLDrivers::DefineFormat(const Handle(TDocStd_Application)& theApp) 0); } -//======================================================================= -// function : BindTypes -// purpose : Register types -//======================================================================= +//================================================================================================= + void StdLDrivers::BindTypes(StdObjMgt_MapOfInstantiators& theMap) { StdLPersistent::BindTypes(theMap); diff --git a/src/ApplicationFramework/TKStdL/StdLDrivers/StdLDrivers_DocumentRetrievalDriver.cxx b/src/ApplicationFramework/TKStdL/StdLDrivers/StdLDrivers_DocumentRetrievalDriver.cxx index fc4cb94835..3af02e1352 100644 --- a/src/ApplicationFramework/TKStdL/StdLDrivers/StdLDrivers_DocumentRetrievalDriver.cxx +++ b/src/ApplicationFramework/TKStdL/StdLDrivers/StdLDrivers_DocumentRetrievalDriver.cxx @@ -232,10 +232,7 @@ Handle(StdObjMgt_Persistent) StdLDrivers_DocumentRetrievalDriver::read( return aReadData.PersistentObject(aRootData.Roots()->First()->Reference()); } -//======================================================================= -// function : Read -// purpose : not implemented -//======================================================================= +//================================================================================================= void StdLDrivers_DocumentRetrievalDriver::Read(Standard_IStream& /*theIStream*/, const Handle(Storage_Data)& /*theStorageData*/, @@ -301,10 +298,8 @@ void StdLDrivers_DocumentRetrievalDriver::raiseOnStorageError(Storage_Error theE } } -//======================================================================= -// function : bindTypes -// purpose : Register types -//======================================================================= +//================================================================================================= + void StdLDrivers_DocumentRetrievalDriver::bindTypes(StdObjMgt_MapOfInstantiators& theMap) { StdLDrivers::BindTypes(theMap); diff --git a/src/ApplicationFramework/TKStdL/StdLPersistent/StdLPersistent.cxx b/src/ApplicationFramework/TKStdL/StdLPersistent/StdLPersistent.cxx index c56cc61095..26e4428793 100644 --- a/src/ApplicationFramework/TKStdL/StdLPersistent/StdLPersistent.cxx +++ b/src/ApplicationFramework/TKStdL/StdLPersistent/StdLPersistent.cxx @@ -28,10 +28,8 @@ #include #include -//======================================================================= -// function : BindTypes -// purpose : Register types -//======================================================================= +//================================================================================================= + void StdLPersistent::BindTypes(StdObjMgt_MapOfInstantiators& theMap) { // Non-attribute data diff --git a/src/ApplicationFramework/TKTObj/TObj/TObj_Model.cxx b/src/ApplicationFramework/TKTObj/TObj/TObj_Model.cxx index a04185c905..79bea012b4 100644 --- a/src/ApplicationFramework/TKTObj/TObj/TObj_Model.cxx +++ b/src/ApplicationFramework/TKTObj/TObj/TObj_Model.cxx @@ -65,10 +65,7 @@ TObj_Model::~TObj_Model() Close(); } -//======================================================================= -// function : CloseDocument -// purpose : free OCAF document -//======================================================================= +//================================================================================================= void TObj_Model::CloseDocument(const Handle(TDocStd_Document)& theDoc) { diff --git a/src/ApplicationFramework/TKTObj/TObj/TObj_TIntSparseArray.cxx b/src/ApplicationFramework/TKTObj/TObj/TObj_TIntSparseArray.cxx index a6c87bfb09..c91d8ee8a8 100644 --- a/src/ApplicationFramework/TKTObj/TObj/TObj_TIntSparseArray.cxx +++ b/src/ApplicationFramework/TKTObj/TObj/TObj_TIntSparseArray.cxx @@ -23,10 +23,7 @@ IMPLEMENT_STANDARD_RTTIEXT(TObj_TIntSparseArray, TDF_Attribute) -//======================================================================= -// function : TObj_TIntSparseArray -// purpose : Empty constructor -//======================================================================= +//================================================================================================= TObj_TIntSparseArray::TObj_TIntSparseArray() : myVector(100), diff --git a/src/ApplicationFramework/TKVCAF/TPrsStd/TPrsStd_AISPresentation.cxx b/src/ApplicationFramework/TKVCAF/TPrsStd/TPrsStd_AISPresentation.cxx index 3b36f74460..16b4cd2e14 100644 --- a/src/ApplicationFramework/TKVCAF/TPrsStd/TPrsStd_AISPresentation.cxx +++ b/src/ApplicationFramework/TKVCAF/TPrsStd/TPrsStd_AISPresentation.cxx @@ -606,28 +606,22 @@ void TPrsStd_AISPresentation::Paste(const Handle(TDF_Attribute)& theInto, anInto->myAIS.Nullify(); } -//======================================================================= -// function : AfterAddition -// purpose : erase if displayed -//======================================================================= +//================================================================================================= + void TPrsStd_AISPresentation::AfterAddition() { AfterResume(); } -//======================================================================= -// function : BeforeRemoval -// purpose : erase if displayed -//======================================================================= +//================================================================================================= + void TPrsStd_AISPresentation::BeforeRemoval() { BeforeForget(); } -//======================================================================= -// function : BeforeForget -// purpose : erase if displayed -//======================================================================= +//================================================================================================= + void TPrsStd_AISPresentation::BeforeForget() { if (!myAIS.IsNull()) diff --git a/src/ApplicationFramework/TKXml/XmlDrivers/XmlDrivers.cxx b/src/ApplicationFramework/TKXml/XmlDrivers/XmlDrivers.cxx index e7a6f1dcf0..03ee6ce34d 100644 --- a/src/ApplicationFramework/TKXml/XmlDrivers/XmlDrivers.cxx +++ b/src/ApplicationFramework/TKXml/XmlDrivers/XmlDrivers.cxx @@ -31,10 +31,8 @@ static Standard_GUID XmlStorageDriver("03a56820-8269-11d5-aab2-0050044b1af1"); static Standard_GUID XmlRetrievalDriver("03a56822-8269-11d5-aab2-0050044b1af1"); -//======================================================================= -// function : Factory -// purpose : PLUGIN FACTORY -//======================================================================= +//================================================================================================= + const Handle(Standard_Transient)& XmlDrivers::Factory(const Standard_GUID& theGUID) { if (theGUID == XmlStorageDriver) diff --git a/src/ApplicationFramework/TKXmlL/XmlLDrivers/XmlLDrivers.cxx b/src/ApplicationFramework/TKXmlL/XmlLDrivers/XmlLDrivers.cxx index da44b80383..119f838b7e 100644 --- a/src/ApplicationFramework/TKXmlL/XmlLDrivers/XmlLDrivers.cxx +++ b/src/ApplicationFramework/TKXmlL/XmlLDrivers/XmlLDrivers.cxx @@ -31,10 +31,8 @@ static Standard_GUID XmlLStorageDriver("13a56820-8269-11d5-aab2-0050044b1af1"); static Standard_GUID XmlLRetrievalDriver("13a56822-8269-11d5-aab2-0050044b1af1"); -//======================================================================= -// function : Factory -// purpose : PLUGIN FACTORY -//======================================================================= +//================================================================================================= + const Handle(Standard_Transient)& XmlLDrivers::Factory(const Standard_GUID& theGUID) { if (theGUID == XmlLStorageDriver) @@ -61,10 +59,8 @@ const Handle(Standard_Transient)& XmlLDrivers::Factory(const Standard_GUID& theG #define SLENGTH 80 -//======================================================================= -// function : CreationDate -// purpose : mm/dd/yy -//======================================================================= +//================================================================================================= + TCollection_AsciiString XmlLDrivers::CreationDate() { Standard_Character nowstr[SLENGTH]; diff --git a/src/ApplicationFramework/TKXmlL/XmlLDrivers/XmlLDrivers_NamespaceDef.cxx b/src/ApplicationFramework/TKXmlL/XmlLDrivers/XmlLDrivers_NamespaceDef.cxx index 6bb6bed996..86fee584f6 100644 --- a/src/ApplicationFramework/TKXmlL/XmlLDrivers/XmlLDrivers_NamespaceDef.cxx +++ b/src/ApplicationFramework/TKXmlL/XmlLDrivers/XmlLDrivers_NamespaceDef.cxx @@ -15,10 +15,8 @@ #include -//======================================================================= -// function : XmlLDrivers_NamespaceDef -// purpose : Empty constructor -//======================================================================= +//================================================================================================= + XmlLDrivers_NamespaceDef::XmlLDrivers_NamespaceDef() {} //================================================================================================= diff --git a/src/ApplicationFramework/TKXmlL/XmlObjMgt/XmlObjMgt_Persistent.cxx b/src/ApplicationFramework/TKXmlL/XmlObjMgt/XmlObjMgt_Persistent.cxx index bf2519e990..dc1dbb2949 100644 --- a/src/ApplicationFramework/TKXmlL/XmlObjMgt/XmlObjMgt_Persistent.cxx +++ b/src/ApplicationFramework/TKXmlL/XmlObjMgt/XmlObjMgt_Persistent.cxx @@ -19,10 +19,8 @@ #include #include -//======================================================================= -// function : XmlObjMgt_Persistent -// purpose : empty constructor -//======================================================================= +//================================================================================================= + XmlObjMgt_Persistent::XmlObjMgt_Persistent() : myID(0) { diff --git a/src/DataExchange/TKDESTEP/RWStepAP214/RWStepAP214_ReadWriteModule.cxx b/src/DataExchange/TKDESTEP/RWStepAP214/RWStepAP214_ReadWriteModule.cxx index 0ab8e359c6..28c6f18f98 100644 --- a/src/DataExchange/TKDESTEP/RWStepAP214/RWStepAP214_ReadWriteModule.cxx +++ b/src/DataExchange/TKDESTEP/RWStepAP214/RWStepAP214_ReadWriteModule.cxx @@ -6212,10 +6212,7 @@ Standard_Boolean RWStepAP214_ReadWriteModule::ComplexType( return Standard_True; } -//======================================================================= -// function : ReadStep -// purpose : Reading of a file -//======================================================================= +//================================================================================================= void RWStepAP214_ReadWriteModule::ReadStep(const Standard_Integer CN, const Handle(StepData_StepReaderData)& data, @@ -10838,10 +10835,7 @@ void RWStepAP214_ReadWriteModule::ReadStep(const Standard_Integer return; } -//======================================================================= -// function : WriteStep -// purpose : Writing of a file -//======================================================================= +//================================================================================================= void RWStepAP214_ReadWriteModule::WriteStep(const Standard_Integer CN, StepData_StepWriter& SW, diff --git a/src/DataExchange/TKDESTEP/STEPConstruct/STEPConstruct_UnitContext.cxx b/src/DataExchange/TKDESTEP/STEPConstruct/STEPConstruct_UnitContext.cxx index 0ebcbdb451..0e79dce272 100644 --- a/src/DataExchange/TKDESTEP/STEPConstruct/STEPConstruct_UnitContext.cxx +++ b/src/DataExchange/TKDESTEP/STEPConstruct/STEPConstruct_UnitContext.cxx @@ -246,10 +246,7 @@ Standard_Real STEPConstruct_UnitContext::ConvertSiPrefix(const StepBasic_SiPrefi return 1.; } -// ========================================================================== -// Method : STEPConstruct_UnitContext::SiUnitNameFactor -// Purpose : -// ========================================================================== +//================================================================================================= Standard_Boolean STEPConstruct_UnitContext::SiUnitNameFactor( const Handle(StepBasic_SiUnit)& aSiUnit, @@ -268,10 +265,7 @@ Standard_Boolean STEPConstruct_UnitContext::SiUnitNameFactor( } } -// ========================================================================== -// Method : STEPConstruct_UnitContext::ComputeFactors -// Purpose : -// ========================================================================== +//================================================================================================= Standard_Integer STEPConstruct_UnitContext::ComputeFactors( const Handle(StepRepr_GlobalUnitAssignedContext)& aContext, @@ -488,10 +482,7 @@ Standard_Integer STEPConstruct_UnitContext::ComputeFactors(const Handle(StepBasi return status; } -// ========================================================================== -// Method : STEPConstruct_UnitContext::ComputeTolerance -// Purpose : -// ========================================================================== +//================================================================================================= Standard_Integer STEPConstruct_UnitContext::ComputeTolerance( const Handle(StepRepr_GlobalUncertaintyAssignedContext)& aContext) @@ -556,82 +547,64 @@ Standard_Integer STEPConstruct_UnitContext::ComputeTolerance( return status; } -// ========================================================================== -// Method : STEPConstruct_UnitContext::LengthFactor -// Purpose : -// ========================================================================== +//================================================================================================= + Standard_Real STEPConstruct_UnitContext::LengthFactor() const { return lengthFactor; } -// ========================================================================== -// Method : STEPConstruct_UnitContext::PlaneAngleFactor -// Purpose : -// ========================================================================== +//================================================================================================= + Standard_Real STEPConstruct_UnitContext::PlaneAngleFactor() const { return planeAngleFactor; } -// ========================================================================== -// Method : STEPConstruct_UnitContext::SolidAngleFactor -// Purpose : -// ========================================================================== +//================================================================================================= + Standard_Real STEPConstruct_UnitContext::SolidAngleFactor() const { return solidAngleFactor; } -// ========================================================================== -// Method : STEPConstruct_UnitContext::Uncertainty -// Purpose : -// ========================================================================== +//================================================================================================= + Standard_Real STEPConstruct_UnitContext::Uncertainty() const { return theUncertainty; } -// ========================================================================== -// Method : STEPConstruct_UnitContext::HasUncertainty -// Purpose : -// ========================================================================== +//================================================================================================= + Standard_Boolean STEPConstruct_UnitContext::HasUncertainty() const { return hasUncertainty; } -// ========================================================================== -// Method : STEPConstruct_UnitContext::LengthDone -// Purpose : -// ========================================================================== +//================================================================================================= + Standard_Boolean STEPConstruct_UnitContext::LengthDone() const { return lengthDone; } -// ========================================================================== -// Method : STEPConstruct_UnitContext::PlaneAngleDone -// Purpose : -// ========================================================================== +//================================================================================================= + Standard_Boolean STEPConstruct_UnitContext::PlaneAngleDone() const { return planeAngleDone; } -// ========================================================================== -// Method : STEPConstruct_UnitContext::SolidAngleDone -// Purpose : -// ========================================================================== +//================================================================================================= + Standard_Boolean STEPConstruct_UnitContext::SolidAngleDone() const { return solidAngleDone; } -// ========================================================================== -// Method : STEPConstruct_UnitContext::StatusMessage -// Purpose : -// ========================================================================== +//================================================================================================= + Standard_CString STEPConstruct_UnitContext::StatusMessage(const Standard_Integer status) const { switch (status) diff --git a/src/DataExchange/TKDESTEP/STEPControl/STEPControl_ActorRead.cxx b/src/DataExchange/TKDESTEP/STEPControl/STEPControl_ActorRead.cxx index 2f365aac50..0f713e1c7f 100644 --- a/src/DataExchange/TKDESTEP/STEPControl/STEPControl_ActorRead.cxx +++ b/src/DataExchange/TKDESTEP/STEPControl/STEPControl_ActorRead.cxx @@ -2346,10 +2346,8 @@ void STEPControl_ActorRead::computeIDEASClosings( } } -//======================================================================= -// Method : SetModel -// Purpose : -//======================================================================= +//================================================================================================= + void STEPControl_ActorRead::SetModel(const Handle(Interface_InterfaceModel)& theModel) { myModel = theModel; diff --git a/src/DataExchange/TKDESTEP/StepData/StepData_Factors.cxx b/src/DataExchange/TKDESTEP/StepData/StepData_Factors.cxx index 6b990fbbe3..0a3607a076 100644 --- a/src/DataExchange/TKDESTEP/StepData/StepData_Factors.cxx +++ b/src/DataExchange/TKDESTEP/StepData/StepData_Factors.cxx @@ -13,10 +13,8 @@ #include -// ============================================================================ -// Method : Constructor -// Purpose: -// ============================================================================ +//================================================================================================= + StepData_Factors::StepData_Factors() : myLengthFactor(1.), myPlaneAngleFactor(1.), @@ -27,10 +25,8 @@ StepData_Factors::StepData_Factors() { } -// ============================================================================ -// Method : InitializeFactors -// Purpose: -// ============================================================================ +//================================================================================================= + void StepData_Factors::InitializeFactors(const Standard_Real theLengthFactor, const Standard_Real thePlaneAngleFactor, const Standard_Real theSolidAngleFactor) @@ -42,64 +38,50 @@ void StepData_Factors::InitializeFactors(const Standard_Real theLengthFactor, myFactDR = thePlaneAngleFactor; } -// ============================================================================ -// Method : LengthFactor -// Purpose: -// ============================================================================ +//================================================================================================= + Standard_Real StepData_Factors::LengthFactor() const { return myLengthFactor; } -// ============================================================================ -// Method : PlaneAngleFactor -// Purpose: -// ============================================================================ +//================================================================================================= + Standard_Real StepData_Factors::PlaneAngleFactor() const { return myPlaneAngleFactor; } -// ============================================================================ -// Method : SolidAngleFactor -// Purpose: -// ============================================================================ +//================================================================================================= + Standard_Real StepData_Factors::SolidAngleFactor() const { return mySolidAngleFactor; } -// ============================================================================ -// Method : FactorRadianDegree -// Purpose: -// ============================================================================ +//================================================================================================= + Standard_Real StepData_Factors::FactorRadianDegree() const { return myFactRD; } -// ============================================================================ -// Method : FactorDegreeRadian -// Purpose: -// ============================================================================ +//================================================================================================= + Standard_Real StepData_Factors::FactorDegreeRadian() const { return myFactDR; } -// ============================================================================ -// Method : SetCascadeUnit -// Purpose: -// ============================================================================ +//================================================================================================= + void StepData_Factors::SetCascadeUnit(const Standard_Real theUnit) { myCascadeUnit = theUnit; } -// ============================================================================ -// Method : CascadeUnit -// Purpose: -// ============================================================================ +//================================================================================================= + Standard_Real StepData_Factors::CascadeUnit() const { return myCascadeUnit; diff --git a/src/DataExchange/TKDESTEP/StepToTopoDS/StepToTopoDS_Builder.cxx b/src/DataExchange/TKDESTEP/StepToTopoDS/StepToTopoDS_Builder.cxx index a2df896329..a95789ef76 100644 --- a/src/DataExchange/TKDESTEP/StepToTopoDS/StepToTopoDS_Builder.cxx +++ b/src/DataExchange/TKDESTEP/StepToTopoDS/StepToTopoDS_Builder.cxx @@ -104,10 +104,8 @@ static void ResetPreci(Handle(StepData_StepModel)& theStepModel, } } -// ============================================================================ -// Method : StepToTopoDS_Builder -// Purpose : Empty constructor -// ============================================================================ +//================================================================================================= + StepToTopoDS_Builder::StepToTopoDS_Builder() : myError(StepToTopoDS_BuilderOther) { diff --git a/src/DataExchange/TKDESTEP/StepToTopoDS/StepToTopoDS_Tool.cxx b/src/DataExchange/TKDESTEP/StepToTopoDS/StepToTopoDS_Tool.cxx index bd220e74c4..7a1de3aa7b 100644 --- a/src/DataExchange/TKDESTEP/StepToTopoDS/StepToTopoDS_Tool.cxx +++ b/src/DataExchange/TKDESTEP/StepToTopoDS/StepToTopoDS_Tool.cxx @@ -26,10 +26,8 @@ #include #include -// ============================================================================ -// Method : StepToTopoDS_Tool::StepToTopoDS_Tool -// Purpose : Empty Constructor -// ============================================================================ +//================================================================================================= + StepToTopoDS_Tool::StepToTopoDS_Tool() : myComputePC(Standard_False), myNbC0Surf(0), @@ -55,10 +53,7 @@ StepToTopoDS_Tool::StepToTopoDS_Tool(const StepToTopoDS_DataMapOfTRI& Ma Init(Map, TP); } -// ============================================================================ -// Method : Init -// Purpose : Init with a Map -// ============================================================================ +//================================================================================================= void StepToTopoDS_Tool::Init(const StepToTopoDS_DataMapOfTRI& Map, const Handle(Transfer_TransientProcess)& TP) @@ -112,70 +107,49 @@ const TopoDS_Shape& StepToTopoDS_Tool::Find( return myDataMap.Find(TRI); } -// ============================================================================ -// Method : StepToTopoDS_Tool::ClearEdgeMap -// Purpose : -// ============================================================================ +//================================================================================================= void StepToTopoDS_Tool::ClearEdgeMap() { myEdgeMap.Clear(); } -// ============================================================================ -// Method : StepToTopoDS_Tool::IsEdgeBound -// Purpose : -// ============================================================================ +//================================================================================================= Standard_Boolean StepToTopoDS_Tool::IsEdgeBound(const StepToTopoDS_PointPair& PP) { return myEdgeMap.IsBound(PP); } -// ============================================================================ -// Method : StepToTopoDS_Tool_BindEdge -// Purpose : -// ============================================================================ +//================================================================================================= void StepToTopoDS_Tool::BindEdge(const StepToTopoDS_PointPair& PP, const TopoDS_Edge& E) { myEdgeMap.Bind(PP, E); } -// ============================================================================ -// Method : StepToTopoDS_Tool::FindEdge -// Purpose : -// ============================================================================ +//================================================================================================= const TopoDS_Edge& StepToTopoDS_Tool::FindEdge(const StepToTopoDS_PointPair& PP) { return myEdgeMap.Find(PP); } -// ============================================================================ -// Method : StepToTopoDS_Tool::ClearVertexMap -// Purpose : -// ============================================================================ +//================================================================================================= void StepToTopoDS_Tool::ClearVertexMap() { myVertexMap.Clear(); } -// ============================================================================ -// Method : StepToTopoDS_Tool::IsVertexBound -// Purpose : -// ============================================================================ +//================================================================================================= Standard_Boolean StepToTopoDS_Tool::IsVertexBound(const Handle(StepGeom_CartesianPoint)& PG) { return myVertexMap.IsBound(PG); } -// ============================================================================ -// Method : StepToTopoDS_Tool::BindVertex -// Purpose : -// ============================================================================ +//================================================================================================= void StepToTopoDS_Tool::BindVertex(const Handle(StepGeom_CartesianPoint)& P, const TopoDS_Vertex& V) { @@ -185,30 +159,21 @@ void StepToTopoDS_Tool::BindVertex(const Handle(StepGeom_CartesianPoint)& P, con #endif } -// ============================================================================ -// Method : StepToTopoDS_Tool::FindVertex -// Purpose : -// ============================================================================ +//================================================================================================= const TopoDS_Vertex& StepToTopoDS_Tool::FindVertex(const Handle(StepGeom_CartesianPoint)& P) { return myVertexMap.Find(P); } -// ============================================================================ -// Method : ComputePCurve -// Purpose : -// ============================================================================ +//================================================================================================= void StepToTopoDS_Tool::ComputePCurve(const Standard_Boolean B) { myComputePC = B; } -// ============================================================================ -// Method : ComputePCurve -// Purpose : -// ============================================================================ +//================================================================================================= Standard_Boolean StepToTopoDS_Tool::ComputePCurve() const { diff --git a/src/DataExchange/TKDESTEP/StepToTopoDS/StepToTopoDS_TranslateEdge.cxx b/src/DataExchange/TKDESTEP/StepToTopoDS/StepToTopoDS_TranslateEdge.cxx index 8c88daaf26..9192190bcb 100644 --- a/src/DataExchange/TKDESTEP/StepToTopoDS/StepToTopoDS_TranslateEdge.cxx +++ b/src/DataExchange/TKDESTEP/StepToTopoDS/StepToTopoDS_TranslateEdge.cxx @@ -63,10 +63,8 @@ //: d8 // Used in I-DEAS-like STP processing (ssv; 15.11.2010) // #define DEBUG -// ============================================================================ -// Method : DecodeMakeEdgeError -// Purpose : -// ============================================================================ +//================================================================================================= + static void DecodeMakeEdgeError(const BRepLib_MakeEdge& ME, const Handle(Standard_Transient)& orig, const Handle(Geom_Curve)& myCurve, @@ -135,10 +133,7 @@ static void DecodeMakeEdgeError(const BRepLib_MakeEdge& ME, #endif } -// ============================================================================ -// Method : StepToTopoDS_TranslateEdge::StepToTopoDS_TranslateEdge -// Purpose : Empty Constructor -// ============================================================================ +//================================================================================================= static Handle(Geom_Curve) MakeCurve(const Handle(StepGeom_Curve)& C1, const Handle(Transfer_TransientProcess)& TP, diff --git a/src/DataExchange/TKDESTEP/StepToTopoDS/StepToTopoDS_TranslateEdgeLoop.cxx b/src/DataExchange/TKDESTEP/StepToTopoDS/StepToTopoDS_TranslateEdgeLoop.cxx index f768c65692..04d6130c23 100644 --- a/src/DataExchange/TKDESTEP/StepToTopoDS/StepToTopoDS_TranslateEdgeLoop.cxx +++ b/src/DataExchange/TKDESTEP/StepToTopoDS/StepToTopoDS_TranslateEdgeLoop.cxx @@ -75,19 +75,14 @@ #include #include -// ============================================================================ -// Method : RemoveSinglePCurve -// Purpose : -// ============================================================================ +//================================================================================================= + static void RemoveSinglePCurve(const TopoDS_Edge& aEdge, const TopoDS_Face& aFace) { ShapeBuild_Edge().RemovePCurve(aEdge, aFace); } -// ============================================================================ -// Method : RemovePCurves -// Purpose : -// ============================================================================ +//================================================================================================= static void RemovePCurves(const TopoDS_Wire& aWire, const TopoDS_Face& aFace) { @@ -176,10 +171,7 @@ static void CheckPCurves(TopoDS_Wire& aWire, } } -// ============================================================================ -// Method : StepToTopoDS_TranslateEdgeLoop::StepToTopoDS_TranslateEdgeLoop -// Purpose : Empty Constructor -// ============================================================================ +//================================================================================================= StepToTopoDS_TranslateEdgeLoop::StepToTopoDS_TranslateEdgeLoop() : myError(StepToTopoDS_TranslateEdgeLoopOther) diff --git a/src/DataExchange/TKDESTEP/StepToTopoDS/StepToTopoDS_TranslateFace.cxx b/src/DataExchange/TKDESTEP/StepToTopoDS/StepToTopoDS_TranslateFace.cxx index e8e20fca6f..f3496599d7 100644 --- a/src/DataExchange/TKDESTEP/StepToTopoDS/StepToTopoDS_TranslateFace.cxx +++ b/src/DataExchange/TKDESTEP/StepToTopoDS/StepToTopoDS_TranslateFace.cxx @@ -426,10 +426,8 @@ static Handle(Poly_Triangulation) CreatePolyTriangulation( } } // namespace -// ============================================================================ -// Method : StepToTopoDS_TranslateFace -// Purpose : Empty Constructor -// ============================================================================ +//================================================================================================= + StepToTopoDS_TranslateFace::StepToTopoDS_TranslateFace() : myError(StepToTopoDS_TranslateFaceOther) { diff --git a/src/DataExchange/TKDESTEP/StepToTopoDS/StepToTopoDS_TranslatePolyLoop.cxx b/src/DataExchange/TKDESTEP/StepToTopoDS/StepToTopoDS_TranslatePolyLoop.cxx index 0e9c09cf3d..0e6894f810 100644 --- a/src/DataExchange/TKDESTEP/StepToTopoDS/StepToTopoDS_TranslatePolyLoop.cxx +++ b/src/DataExchange/TKDESTEP/StepToTopoDS/StepToTopoDS_TranslatePolyLoop.cxx @@ -41,20 +41,15 @@ #include // #include -// ============================================================================ -// Method : -// Purpose : -// ============================================================================ +//================================================================================================= + StepToTopoDS_TranslatePolyLoop::StepToTopoDS_TranslatePolyLoop() : myError(StepToTopoDS_TranslatePolyLoopOther) { done = Standard_False; } -// ============================================================================ -// Method : -// Purpose : -// ============================================================================ +//================================================================================================= StepToTopoDS_TranslatePolyLoop::StepToTopoDS_TranslatePolyLoop( const Handle(StepShape_PolyLoop)& PL, @@ -66,10 +61,7 @@ StepToTopoDS_TranslatePolyLoop::StepToTopoDS_TranslatePolyLoop( Init(PL, T, S, F, theLocalFactors); } -// ============================================================================ -// Method : -// Purpose : -// ============================================================================ +//================================================================================================= void StepToTopoDS_TranslatePolyLoop::Init(const Handle(StepShape_PolyLoop)& PL, StepToTopoDS_Tool& aTool, @@ -199,10 +191,7 @@ void StepToTopoDS_TranslatePolyLoop::Init(const Handle(StepShape_PolyLoop)& PL, } } -// ============================================================================ -// Method : -// Purpose : -// ============================================================================ +//================================================================================================= const TopoDS_Shape& StepToTopoDS_TranslatePolyLoop::Value() const { @@ -210,10 +199,7 @@ const TopoDS_Shape& StepToTopoDS_TranslatePolyLoop::Value() const return myResult; } -// ============================================================================ -// Method : -// Purpose : -// ============================================================================ +//================================================================================================= StepToTopoDS_TranslatePolyLoopError StepToTopoDS_TranslatePolyLoop::Error() const { diff --git a/src/DataExchange/TKDESTEP/StepToTopoDS/StepToTopoDS_TranslateShell.cxx b/src/DataExchange/TKDESTEP/StepToTopoDS/StepToTopoDS_TranslateShell.cxx index a8a896680d..acb3ce2962 100644 --- a/src/DataExchange/TKDESTEP/StepToTopoDS/StepToTopoDS_TranslateShell.cxx +++ b/src/DataExchange/TKDESTEP/StepToTopoDS/StepToTopoDS_TranslateShell.cxx @@ -35,10 +35,8 @@ #include #include -// ============================================================================ -// Method : StepToTopoDS_TranslateShell::StepToTopoDS_TranslateShell -// Purpose : Empty Constructor -// ============================================================================ +//================================================================================================= + StepToTopoDS_TranslateShell::StepToTopoDS_TranslateShell() : myError(StepToTopoDS_TranslateShellOther) { diff --git a/src/DataExchange/TKDESTEP/StepToTopoDS/StepToTopoDS_TranslateSolid.cxx b/src/DataExchange/TKDESTEP/StepToTopoDS/StepToTopoDS_TranslateSolid.cxx index 745d4deaff..b7a38051d6 100644 --- a/src/DataExchange/TKDESTEP/StepToTopoDS/StepToTopoDS_TranslateSolid.cxx +++ b/src/DataExchange/TKDESTEP/StepToTopoDS/StepToTopoDS_TranslateSolid.cxx @@ -30,10 +30,8 @@ #include #include -// ============================================================================ -// Method : StepToTopoDS_TranslateSolid::StepToTopoDS_TranslateSolid -// Purpose : Empty Constructor -// ============================================================================ +//================================================================================================= + StepToTopoDS_TranslateSolid::StepToTopoDS_TranslateSolid() : myError(StepToTopoDS_TranslateSolidOther) { diff --git a/src/DataExchange/TKDESTEP/StepToTopoDS/StepToTopoDS_TranslateVertex.cxx b/src/DataExchange/TKDESTEP/StepToTopoDS/StepToTopoDS_TranslateVertex.cxx index b34d9fcc02..3274b6625a 100644 --- a/src/DataExchange/TKDESTEP/StepToTopoDS/StepToTopoDS_TranslateVertex.cxx +++ b/src/DataExchange/TKDESTEP/StepToTopoDS/StepToTopoDS_TranslateVertex.cxx @@ -33,10 +33,8 @@ // #include // For I-DEAS-like processing (ssv; 15.11.2010) -// ============================================================================ -// Method : StepToTopoDS_TranslateVertex::StepToTopoDS_TranslateVertex -// Purpose : Empty Constructor -// ============================================================================ +//================================================================================================= + StepToTopoDS_TranslateVertex::StepToTopoDS_TranslateVertex() : myError(StepToTopoDS_TranslateVertexOther) { diff --git a/src/DataExchange/TKDESTEP/StepToTopoDS/StepToTopoDS_TranslateVertexLoop.cxx b/src/DataExchange/TKDESTEP/StepToTopoDS/StepToTopoDS_TranslateVertexLoop.cxx index 67aeb4fb41..506935a963 100644 --- a/src/DataExchange/TKDESTEP/StepToTopoDS/StepToTopoDS_TranslateVertexLoop.cxx +++ b/src/DataExchange/TKDESTEP/StepToTopoDS/StepToTopoDS_TranslateVertexLoop.cxx @@ -33,10 +33,8 @@ #include // #include -// ============================================================================ -// Method : StepToTopoDS_TranslateVertexLoop::StepToTopoDS_TranslateVertexLoop -// Purpose : Empty Constructor -// ============================================================================ +//================================================================================================= + StepToTopoDS_TranslateVertexLoop::StepToTopoDS_TranslateVertexLoop() : myError(StepToTopoDS_TranslateVertexLoopOther) { diff --git a/src/DataExchange/TKDESTEP/TopoDSToStep/TopoDSToStep_Builder.cxx b/src/DataExchange/TKDESTEP/TopoDSToStep/TopoDSToStep_Builder.cxx index fff8e937a9..f5f0b295ad 100644 --- a/src/DataExchange/TKDESTEP/TopoDSToStep/TopoDSToStep_Builder.cxx +++ b/src/DataExchange/TKDESTEP/TopoDSToStep/TopoDSToStep_Builder.cxx @@ -34,20 +34,16 @@ #include #include -// ============================================================================ -// Method : TopoDSToStep_Builder -// Purpose : -// ============================================================================ +//================================================================================================= + TopoDSToStep_Builder::TopoDSToStep_Builder() : myError(TopoDSToStep_BuilderOther) { done = Standard_False; } -// ============================================================================ -// Method : TopoDSToStep_Builder -// Purpose : -// ============================================================================ +//================================================================================================= + TopoDSToStep_Builder::TopoDSToStep_Builder(const TopoDS_Shape& aShape, TopoDSToStep_Tool& aTool, const Handle(Transfer_FinderProcess)& FP, @@ -59,10 +55,8 @@ TopoDSToStep_Builder::TopoDSToStep_Builder(const TopoDS_Shape& Init(aShape, aTool, FP, theTessellatedGeomParam, theLocalFactors, theProgress); } -// ============================================================================ -// Method : Init -// Purpose : -// ============================================================================ +//================================================================================================= + void TopoDSToStep_Builder::Init(const TopoDS_Shape& aShape, TopoDSToStep_Tool& myTool, const Handle(Transfer_FinderProcess)& FP, diff --git a/src/DataExchange/TKDESTEP/TopoDSToStep/TopoDSToStep_FacetedTool.cxx b/src/DataExchange/TKDESTEP/TopoDSToStep/TopoDSToStep_FacetedTool.cxx index 747645e6bd..4e40be5009 100644 --- a/src/DataExchange/TKDESTEP/TopoDSToStep/TopoDSToStep_FacetedTool.cxx +++ b/src/DataExchange/TKDESTEP/TopoDSToStep/TopoDSToStep_FacetedTool.cxx @@ -27,10 +27,8 @@ #include #include -// ============================================================================ -// Method : -// Purpose : -// ============================================================================ +//================================================================================================= + TopoDSToStep_FacetedError TopoDSToStep_FacetedTool::CheckTopoDSShape(const TopoDS_Shape& aShape) { TopExp_Explorer FaceExp, EdgeExp; diff --git a/src/DataExchange/TKDESTEP/TopoDSToStep/TopoDSToStep_WireframeBuilder.cxx b/src/DataExchange/TKDESTEP/TopoDSToStep/TopoDSToStep_WireframeBuilder.cxx index db6357d36a..3c4efa0012 100644 --- a/src/DataExchange/TKDESTEP/TopoDSToStep/TopoDSToStep_WireframeBuilder.cxx +++ b/src/DataExchange/TKDESTEP/TopoDSToStep/TopoDSToStep_WireframeBuilder.cxx @@ -52,20 +52,15 @@ #include #include -// ============================================================================ -// Method : TopoDSToStep_Builder::TopoDSToStep_Builder -// Purpose : -// ============================================================================ +//================================================================================================= + TopoDSToStep_WireframeBuilder::TopoDSToStep_WireframeBuilder() : myError(TopoDSToStep_BuilderOther) { done = Standard_False; } -// ============================================================================ -// Method : TopoDSToStep_Builder::TopoDSToStep_Builder -// Purpose : -// ============================================================================ +//================================================================================================= TopoDSToStep_WireframeBuilder::TopoDSToStep_WireframeBuilder( const TopoDS_Shape& aShape, @@ -86,20 +81,14 @@ void TopoDSToStep_WireframeBuilder::Init(const TopoDS_Shape& aShape, myResult = itemList; } -// ============================================================================ -// Method : TopoDSToStep_Builder::Error -// Purpose : -// ============================================================================ +//================================================================================================= TopoDSToStep_BuilderError TopoDSToStep_WireframeBuilder::Error() const { return myError; } -// ============================================================================ -// Method : TopoDSToStep_Builder::Value -// Purpose : -// ============================================================================ +//================================================================================================= const Handle(TColStd_HSequenceOfTransient)& TopoDSToStep_WireframeBuilder::Value() const { diff --git a/src/DataExchange/TKDEVRML/VrmlData/VrmlData_Node.cxx b/src/DataExchange/TKDEVRML/VrmlData/VrmlData_Node.cxx index 86a454274d..1c446d9318 100644 --- a/src/DataExchange/TKDEVRML/VrmlData/VrmlData_Node.cxx +++ b/src/DataExchange/TKDEVRML/VrmlData/VrmlData_Node.cxx @@ -34,10 +34,7 @@ IMPLEMENT_STANDARD_RTTIEXT(VrmlData_Node, Standard_Transient) static VrmlData_Scene MyDefaultScene; -//======================================================================= -// function : IsEqual -// purpose : Global method -//======================================================================= +//================================================================================================= Standard_Boolean IsEqual(const Handle(VrmlData_Node)& theOne, const Handle(VrmlData_Node)& theTwo) { diff --git a/src/DataExchange/TKXCAF/XCAFDoc/XCAFDoc_AssemblyGraph.cxx b/src/DataExchange/TKXCAF/XCAFDoc/XCAFDoc_AssemblyGraph.cxx index d25e6d048f..cc1a4f8abb 100644 --- a/src/DataExchange/TKXCAF/XCAFDoc/XCAFDoc_AssemblyGraph.cxx +++ b/src/DataExchange/TKXCAF/XCAFDoc/XCAFDoc_AssemblyGraph.cxx @@ -68,10 +68,7 @@ Standard_Boolean XCAFDoc_AssemblyGraph::IsDirectLink(const Standard_Integer theN return GetChildren(theNode1).Contains(theNode2); } -// ======================================================================= -// function : GetNodeType -// purpose : Returns node type -// ======================================================================= +//================================================================================================= XCAFDoc_AssemblyGraph::NodeType XCAFDoc_AssemblyGraph::GetNodeType( const Standard_Integer theNode) const diff --git a/src/DataExchange/TKXCAF/XCAFDoc/XCAFDoc_GraphNode.cxx b/src/DataExchange/TKXCAF/XCAFDoc/XCAFDoc_GraphNode.cxx index 6443811193..924891562e 100644 --- a/src/DataExchange/TKXCAF/XCAFDoc/XCAFDoc_GraphNode.cxx +++ b/src/DataExchange/TKXCAF/XCAFDoc/XCAFDoc_GraphNode.cxx @@ -138,10 +138,7 @@ void XCAFDoc_GraphNode::UnSetFather(const Standard_Integer Findex) } } -//======================================================================= -// function : UnSetFatherlink -// purpose : Remove link finily -//======================================================================= +//================================================================================================= void XCAFDoc_GraphNode::UnSetFatherlink(const Handle(XCAFDoc_GraphNode)& F) { @@ -175,10 +172,7 @@ void XCAFDoc_GraphNode::UnSetChild(const Standard_Integer Chindex) } } -//======================================================================= -// function : UnSetChildlink -// purpose : Remove link finily -//======================================================================= +//================================================================================================= void XCAFDoc_GraphNode::UnSetChildlink(const Handle(XCAFDoc_GraphNode)& Ch) { diff --git a/src/DataExchange/TKXSBase/XSControl/XSControl_Controller.cxx b/src/DataExchange/TKXSBase/XSControl/XSControl_Controller.cxx index 939864f073..856138860b 100644 --- a/src/DataExchange/TKXSBase/XSControl/XSControl_Controller.cxx +++ b/src/DataExchange/TKXSBase/XSControl/XSControl_Controller.cxx @@ -235,10 +235,7 @@ Standard_Boolean XSControl_Controller::RecognizeWriteTransient( return myAdaptorWrite->Recognize(new Transfer_TransientMapper(obj)); } -//======================================================================= -// function : TransferFinder -// purpose : internal function -//======================================================================= +//================================================================================================= static IFSelect_ReturnStatus TransferFinder(const Handle(Transfer_ActorOfFinderProcess)& theActor, const Handle(Transfer_Finder)& theMapper, diff --git a/src/Draw/TKDCAF/DDataStd/DDataStd_DrawPresentation.cxx b/src/Draw/TKDCAF/DDataStd/DDataStd_DrawPresentation.cxx index 0b71a25379..fef9b17852 100644 --- a/src/Draw/TKDCAF/DDataStd/DDataStd_DrawPresentation.cxx +++ b/src/Draw/TKDCAF/DDataStd/DDataStd_DrawPresentation.cxx @@ -183,10 +183,7 @@ void DDataStd_DrawPresentation::Paste(const Handle(TDF_Attribute)& Into, Handle(DDataStd_DrawPresentation)::DownCast(Into)->SetDrawable(myDrawable); } -//======================================================================= -// function : AfterAddition -// purpose : erase if displayed -//======================================================================= +//================================================================================================= void DDataStd_DrawPresentation::AfterAddition() { @@ -194,10 +191,7 @@ void DDataStd_DrawPresentation::AfterAddition() // if (isDisplayed) DrawDisplay (); } -//======================================================================= -// function : BeforeRemoval -// purpose : erase if displayed -//======================================================================= +//================================================================================================= void DDataStd_DrawPresentation::BeforeRemoval() { @@ -205,10 +199,7 @@ void DDataStd_DrawPresentation::BeforeRemoval() // if (isDisplayed) DrawErase (); } -//======================================================================= -// function : BeforeForget -// purpose : erase if displayed -//======================================================================= +//================================================================================================= void DDataStd_DrawPresentation::BeforeForget() { diff --git a/src/Draw/TKDCAF/DNaming/DNaming.cxx b/src/Draw/TKDCAF/DNaming/DNaming.cxx index 7cc3b11888..3b9245d463 100644 --- a/src/Draw/TKDCAF/DNaming/DNaming.cxx +++ b/src/Draw/TKDCAF/DNaming/DNaming.cxx @@ -731,10 +731,8 @@ Handle(TFunction_Function) DNaming::GetLastFunction(const Handle(TDataStd_UAttri return aLastFun; } -//======================================================================= -// function : GetObjectFromFunction -// purpose : Returns Object -//======================================================================= +//================================================================================================= + Handle(TDataStd_UAttribute) DNaming::GetObjectFromFunction( const Handle(TFunction_Function)& theFunction) { diff --git a/src/Draw/TKDraw/DBRep/DBRep_IsoBuilder.cxx b/src/Draw/TKDraw/DBRep/DBRep_IsoBuilder.cxx index 4370a290f0..9b06e44855 100644 --- a/src/Draw/TKDraw/DBRep/DBRep_IsoBuilder.cxx +++ b/src/Draw/TKDraw/DBRep/DBRep_IsoBuilder.cxx @@ -42,10 +42,7 @@ static Standard_Real IntersectorTangency = Precision::PConfusion(); static Standard_Real HatcherConfusion2d = 1.e-8; static Standard_Real HatcherConfusion3d = 1.e-8; -//======================================================================= -// Function : DBRep_IsoBuilder -// Purpose : Constructeur. -//======================================================================= +//================================================================================================= DBRep_IsoBuilder::DBRep_IsoBuilder(const TopoDS_Face& TopologicalFace, const Standard_Real Infinite, diff --git a/src/Draw/TKDraw/Draw/Draw_Grid.cxx b/src/Draw/TKDraw/Draw/Draw_Grid.cxx index f91443216e..ad5c699f36 100644 --- a/src/Draw/TKDraw/Draw/Draw_Grid.cxx +++ b/src/Draw/TKDraw/Draw/Draw_Grid.cxx @@ -55,10 +55,7 @@ void Draw_Grid::Steps(const Standard_Real StepX, myIsActive = myStepX > MinimumStep && myStepY > MinimumStep && myStepZ > MinimumStep; } -//======================================================================= -// Function : DrawOn -// Purpose : Displays the grid. -//======================================================================= +//================================================================================================= void Draw_Grid::DrawOn(Draw_Display& Out) const { diff --git a/src/Draw/TKDraw/Draw/Draw_VariableCommands.cxx b/src/Draw/TKDraw/Draw/Draw_VariableCommands.cxx index 4e03f57ab5..a18527b96b 100644 --- a/src/Draw/TKDraw/Draw/Draw_VariableCommands.cxx +++ b/src/Draw/TKDraw/Draw/Draw_VariableCommands.cxx @@ -1183,10 +1183,8 @@ bool Draw::ParseInteger(const Standard_CString theExpressionString, return true; } -//======================================================================= -// function : Set -// purpose : set a TCL var -//======================================================================= +//================================================================================================= + void Draw::Set(const Standard_CString Name, const Standard_CString val) { Standard_PCharacter pName, pVal; diff --git a/src/Draw/TKDraw/DrawTrSurf/DrawTrSurf.cxx b/src/Draw/TKDraw/DrawTrSurf/DrawTrSurf.cxx index 470699b37c..54900d37d5 100644 --- a/src/Draw/TKDraw/DrawTrSurf/DrawTrSurf.cxx +++ b/src/Draw/TKDraw/DrawTrSurf/DrawTrSurf.cxx @@ -645,10 +645,8 @@ void DrawTrSurf::Set(const Standard_CString theName, const gp_Pnt2d& thePoint) Draw::Set(theName, aDrawPoint); } -//======================================================================= -// function : Set -// purpose : Geometry from Geom -//======================================================================= +//================================================================================================= + void DrawTrSurf::Set(const Standard_CString theName, const Handle(Geom_Geometry)& theGeometry, const Standard_Boolean isSenseMarker) @@ -753,10 +751,8 @@ void DrawTrSurf::Set(const Standard_CString theName, Draw::Set(theName, aDrawable); } -//======================================================================= -// function : Set -// purpose : Curve from Geom2d -//======================================================================= +//================================================================================================= + void DrawTrSurf::Set(const Standard_CString theName, const Handle(Geom2d_Curve)& theCurve, const Standard_Boolean isSenseMarker) diff --git a/src/Draw/TKDraw/DrawTrSurf/DrawTrSurf_Drawable.cxx b/src/Draw/TKDraw/DrawTrSurf/DrawTrSurf_Drawable.cxx index 8b3a29025c..c3d67384d9 100644 --- a/src/Draw/TKDraw/DrawTrSurf/DrawTrSurf_Drawable.cxx +++ b/src/Draw/TKDraw/DrawTrSurf/DrawTrSurf_Drawable.cxx @@ -45,10 +45,7 @@ DrawTrSurf_Drawable::DrawTrSurf_Drawable( { } -//======================================================================= -// function : DrawCurve2dOn -// purpose : draw a 2D curve -//======================================================================= +//================================================================================================= void DrawTrSurf_Drawable::DrawCurve2dOn(Adaptor2d_Curve2d& C, Draw_Display& aDisplay) const { @@ -128,10 +125,7 @@ static void PlotCurve(Draw_Display& aDisplay, } } -//======================================================================= -// function : DrawCurveOn -// purpose : draw a 3D curve -//======================================================================= +//================================================================================================= void DrawTrSurf_Drawable::DrawCurveOn(Adaptor3d_Curve& C, Draw_Display& aDisplay) const { diff --git a/src/Draw/TKQADraw/QABugs/QABugs_17.cxx b/src/Draw/TKQADraw/QABugs/QABugs_17.cxx index 4963ef5b06..61aeaa0ebc 100644 --- a/src/Draw/TKQADraw/QABugs/QABugs_17.cxx +++ b/src/Draw/TKQADraw/QABugs/QABugs_17.cxx @@ -1155,10 +1155,8 @@ static Standard_Integer OCCN1(Draw_Interpretor& di, Standard_Integer argc, const #include #include -//======================================================================= -// function : OCCN2 -// purpose : BOOLEAN OPERATION -//======================================================================= +//================================================================================================= + static Standard_Integer OCCN2(Draw_Interpretor& di, Standard_Integer argc, const char** argv) { if (argc > 2) diff --git a/src/Draw/TKTopTest/BRepTest/BRepTest_CheckCommands.cxx b/src/Draw/TKTopTest/BRepTest/BRepTest_CheckCommands.cxx index 230e3770d0..7575bb50a3 100644 --- a/src/Draw/TKTopTest/BRepTest/BRepTest_CheckCommands.cxx +++ b/src/Draw/TKTopTest/BRepTest/BRepTest_CheckCommands.cxx @@ -918,10 +918,8 @@ void StructuralDump(Draw_Interpretor& theCommands, } } -//======================================================================= -// function : checkshape -// purpose : Checks a shape -//======================================================================= +//================================================================================================= + static Standard_Integer checkshape(Draw_Interpretor& theCommands, Standard_Integer narg, const char** a) diff --git a/src/Draw/TKTopTest/BRepTest/BRepTest_FeatureCommands.cxx b/src/Draw/TKTopTest/BRepTest/BRepTest_FeatureCommands.cxx index 12f2aef11f..dcb955f6cc 100644 --- a/src/Draw/TKTopTest/BRepTest/BRepTest_FeatureCommands.cxx +++ b/src/Draw/TKTopTest/BRepTest/BRepTest_FeatureCommands.cxx @@ -1720,10 +1720,7 @@ static Standard_Integer ROF(Draw_Interpretor& theCommands, Standard_Integer narg return 0; } -//======================================================================= -// function : GLU -// purpose : Commande glue -//======================================================================= +//================================================================================================= static Standard_Integer GLU(Draw_Interpretor&, Standard_Integer narg, const char** a) { diff --git a/src/Draw/TKTopTest/MeshTest/MeshTest_CheckTopology.cxx b/src/Draw/TKTopTest/MeshTest/MeshTest_CheckTopology.cxx index 007fce7f30..5f86eccb75 100644 --- a/src/Draw/TKTopTest/MeshTest/MeshTest_CheckTopology.cxx +++ b/src/Draw/TKTopTest/MeshTest/MeshTest_CheckTopology.cxx @@ -46,10 +46,7 @@ static Standard_Real ComputeArea(const gp_XY& theP1, const gp_XY& theP2, const g return 0.5 * Abs((theP3 - theP1).Crossed(theP2 - theP1)); } -//======================================================================= -// function : Perform -// purpose : Performs checking -//======================================================================= +//================================================================================================= void MeshTest_CheckTopology::Perform(Draw_Interpretor& di) { diff --git a/src/Draw/TKTopTest/SWDRAW/SWDRAW_ShapeUpgrade.cxx b/src/Draw/TKTopTest/SWDRAW/SWDRAW_ShapeUpgrade.cxx index 17091ab853..6c9f39bb29 100644 --- a/src/Draw/TKTopTest/SWDRAW/SWDRAW_ShapeUpgrade.cxx +++ b/src/Draw/TKTopTest/SWDRAW/SWDRAW_ShapeUpgrade.cxx @@ -990,11 +990,8 @@ static Standard_Integer DT_SplitSurface(Draw_Interpretor& di, Standard_Integer n } //---------------gka -//======================================================================= -// function : offset2dcurve -// purpose : -// -//======================================================================= +//================================================================================================= + static Standard_Integer offset2dcurve(Draw_Interpretor& di, Standard_Integer argc, const char** argv) @@ -1016,11 +1013,8 @@ static Standard_Integer offset2dcurve(Draw_Interpretor& di, return 0; } -//======================================================================= -// function : offsetcurve -// purpose : -// -//======================================================================= +//================================================================================================= + static Standard_Integer offsetcurve(Draw_Interpretor& di, Standard_Integer argc, const char** argv) { if (argc < 5) diff --git a/src/Draw/TKViewerTest/ViewerTest/ViewerTest_ObjectCommands.cxx b/src/Draw/TKViewerTest/ViewerTest/ViewerTest_ObjectCommands.cxx index 68cca8c87c..2527087bee 100644 --- a/src/Draw/TKViewerTest/ViewerTest/ViewerTest_ObjectCommands.cxx +++ b/src/Draw/TKViewerTest/ViewerTest/ViewerTest_ObjectCommands.cxx @@ -5866,10 +5866,8 @@ static int TextToBRep(Draw_Interpretor& /*theDI*/, return 0; } -//======================================================================= -// function : VFont -// purpose : Font management -//======================================================================= +//================================================================================================= + struct FontComparator { bool operator()(const Handle(Font_SystemFont)& theFontA, const Handle(Font_SystemFont)& theFontB) diff --git a/src/Draw/TKViewerTest/ViewerTest/ViewerTest_ViewerCommands.cxx b/src/Draw/TKViewerTest/ViewerTest/ViewerTest_ViewerCommands.cxx index 48572cc8a1..24749e6b88 100644 --- a/src/Draw/TKViewerTest/ViewerTest/ViewerTest_ViewerCommands.cxx +++ b/src/Draw/TKViewerTest/ViewerTest/ViewerTest_ViewerCommands.cxx @@ -3329,10 +3329,7 @@ static int VZBuffTrihedron(Draw_Interpretor& /*theDI*/, return 0; } -//============================================================================== -// function : VRotate -// purpose : Camera Rotating -//============================================================================== +//================================================================================================= static int VRotate(Draw_Interpretor& /*theDi*/, Standard_Integer theArgNb, const char** theArgVec) { diff --git a/src/Draw/TKXDEDRAW/XDEDRAW/XDEDRAW_Notes.cxx b/src/Draw/TKXDEDRAW/XDEDRAW/XDEDRAW_Notes.cxx index 897bd9c52d..6a5fe17ed9 100644 --- a/src/Draw/TKXDEDRAW/XDEDRAW/XDEDRAW_Notes.cxx +++ b/src/Draw/TKXDEDRAW/XDEDRAW/XDEDRAW_Notes.cxx @@ -483,10 +483,8 @@ static Standard_Integer noteDelete(Draw_Interpretor& di, Standard_Integer argc, return 0; } -//======================================================================= -// function : noteDeleteAll -// purpose : deletes all notes -//======================================================================= +//================================================================================================= + static const cmd XNoteDeleteAll = {"XNoteDeleteAll", 2, "XNoteDeleteAll Doc"}; static Standard_Integer noteDeleteAll(Draw_Interpretor& di, diff --git a/src/Draw/TKXSDRAWGLTF/XSDRAWGLTF/XSDRAWGLTF.cxx b/src/Draw/TKXSDRAWGLTF/XSDRAWGLTF/XSDRAWGLTF.cxx index 9a9e06a895..191d862218 100644 --- a/src/Draw/TKXSDRAWGLTF/XSDRAWGLTF/XSDRAWGLTF.cxx +++ b/src/Draw/TKXSDRAWGLTF/XSDRAWGLTF/XSDRAWGLTF.cxx @@ -101,10 +101,8 @@ static bool parseCoordinateSystem(const char* theArg, RWMesh_CoordinateSystem& t return Standard_True; } -//============================================================================= -// function : ReadGltf -// purpose : Reads glTF file -//============================================================================= +//================================================================================================= + static Standard_Integer ReadGltf(Draw_Interpretor& theDI, Standard_Integer theNbArgs, const char** theArgVec) @@ -286,10 +284,8 @@ static Standard_Integer ReadGltf(Draw_Interpretor& theDI, return 0; } -//============================================================================= -// function : WriteGltf -// purpose : Writes glTF file -//============================================================================= +//================================================================================================= + static Standard_Integer WriteGltf(Draw_Interpretor& theDI, Standard_Integer theNbArgs, const char** theArgVec) diff --git a/src/Draw/TKXSDRAWOBJ/XSDRAWOBJ/XSDRAWOBJ.cxx b/src/Draw/TKXSDRAWOBJ/XSDRAWOBJ/XSDRAWOBJ.cxx index c74cc9e469..9c7e7c0f25 100644 --- a/src/Draw/TKXSDRAWOBJ/XSDRAWOBJ/XSDRAWOBJ.cxx +++ b/src/Draw/TKXSDRAWOBJ/XSDRAWOBJ/XSDRAWOBJ.cxx @@ -55,10 +55,8 @@ static bool parseCoordinateSystem(const char* theArg, RWMesh_CoordinateSystem& t return Standard_True; } -//============================================================================= -// function : ReadObj -// purpose : Reads OBJ file -//============================================================================= +//================================================================================================= + static Standard_Integer ReadObj(Draw_Interpretor& theDI, Standard_Integer theNbArgs, const char** theArgVec) @@ -232,10 +230,8 @@ static Standard_Integer ReadObj(Draw_Interpretor& theDI, return 0; } -///============================================================================= -// function : WriteObj -// purpose : Writes OBJ file -//============================================================================= +///================================================================================================= + static Standard_Integer WriteObj(Draw_Interpretor& theDI, Standard_Integer theNbArgs, const char** theArgVec) diff --git a/src/Draw/TKXSDRAWPLY/XSDRAWPLY/XSDRAWPLY.cxx b/src/Draw/TKXSDRAWPLY/XSDRAWPLY/XSDRAWPLY.cxx index 4317e1e843..7bb9bd6c65 100644 --- a/src/Draw/TKXSDRAWPLY/XSDRAWPLY/XSDRAWPLY.cxx +++ b/src/Draw/TKXSDRAWPLY/XSDRAWPLY/XSDRAWPLY.cxx @@ -36,10 +36,8 @@ #include #include -//======================================================================= -// function : writeply -// purpose : write PLY file -//======================================================================= +//================================================================================================= + static Standard_Integer WritePly(Draw_Interpretor& theDI, Standard_Integer theNbArgs, const char** theArgVec) diff --git a/src/Draw/TKXSDRAWSTL/XSDRAWSTL/XSDRAWSTL.cxx b/src/Draw/TKXSDRAWSTL/XSDRAWSTL/XSDRAWSTL.cxx index c76fd2bf66..aa4d4b3f98 100644 --- a/src/Draw/TKXSDRAWSTL/XSDRAWSTL/XSDRAWSTL.cxx +++ b/src/Draw/TKXSDRAWSTL/XSDRAWSTL/XSDRAWSTL.cxx @@ -77,10 +77,8 @@ static Standard_Integer writestl(Draw_Interpretor& di, Standard_Integer argc, co return 0; } -//============================================================================= -// function : readstl -// purpose : Reads stl file -//============================================================================= +//================================================================================================= + static Standard_Integer readstl(Draw_Interpretor& theDI, Standard_Integer theArgc, const char** theArgv) diff --git a/src/FoundationClasses/TKMath/Poly/Poly_CoherentTriangulation.cxx b/src/FoundationClasses/TKMath/Poly/Poly_CoherentTriangulation.cxx index e7c64d6978..52449c71e6 100644 --- a/src/FoundationClasses/TKMath/Poly/Poly_CoherentTriangulation.cxx +++ b/src/FoundationClasses/TKMath/Poly/Poly_CoherentTriangulation.cxx @@ -23,10 +23,7 @@ IMPLEMENT_STANDARD_RTTIEXT(Poly_CoherentTriangulation, Standard_Transient) -//======================================================================= -// function : Poly_CoherentTriangulation -// purpose : Empty constructor -//======================================================================= +//================================================================================================= Poly_CoherentTriangulation::Poly_CoherentTriangulation( const Handle(NCollection_BaseAllocator)& theAlloc) diff --git a/src/FoundationClasses/TKMath/TopLoc/TopLoc_Location.cxx b/src/FoundationClasses/TKMath/TopLoc/TopLoc_Location.cxx index 67dfc68a28..8cbaebe2dd 100644 --- a/src/FoundationClasses/TKMath/TopLoc/TopLoc_Location.cxx +++ b/src/FoundationClasses/TKMath/TopLoc/TopLoc_Location.cxx @@ -29,10 +29,7 @@ TopLoc_Location::TopLoc_Location() {} -//======================================================================= -// function : TopLoc_Location -// purpose : constructor Datum -//======================================================================= +//================================================================================================= TopLoc_Location::TopLoc_Location(const Handle(TopLoc_Datum3D)& D) { @@ -63,10 +60,7 @@ TopLoc_Location::operator gp_Trsf() const return Transformation(); } -//======================================================================= -// function : Inverted -// purpose : return the inverse -//======================================================================= +//================================================================================================= TopLoc_Location TopLoc_Location::Inverted() const { @@ -137,10 +131,7 @@ TopLoc_Location TopLoc_Location::Predivided(const TopLoc_Location& Other) const return Other.Inverted().Multiplied(*this); } -//======================================================================= -// function : Powered -// purpose : power elevation -//======================================================================= +//================================================================================================= TopLoc_Location TopLoc_Location::Powered(const Standard_Integer pwr) const { @@ -165,10 +156,7 @@ TopLoc_Location TopLoc_Location::Powered(const Standard_Integer pwr) const return Inverted().Powered(-pwr); } -//======================================================================= -// function : IsEqual -// purpose : operator == -//======================================================================= +//================================================================================================= // two locations are Equal if the Items have the same LocalValues and Powers // this is a recursive function to test it diff --git a/src/FoundationClasses/TKMath/math/math_BrentMinimum.cxx b/src/FoundationClasses/TKMath/math/math_BrentMinimum.cxx index e913215feb..93c8565049 100644 --- a/src/FoundationClasses/TKMath/math/math_BrentMinimum.cxx +++ b/src/FoundationClasses/TKMath/math/math_BrentMinimum.cxx @@ -18,10 +18,8 @@ static const Standard_Real CGOLD = 0.3819660; // 0.5*(3 - sqrt(5)); -//======================================================================= -// function : SHFT -// purpose : Shifts arguments -//======================================================================= +//================================================================================================= + inline void SHFT(Standard_Real& theA, Standard_Real& theB, Standard_Real& theC, Standard_Real& theD) { theA = theB; diff --git a/src/FoundationClasses/TKernel/FSD/FSD_File.cxx b/src/FoundationClasses/TKernel/FSD/FSD_File.cxx index 85ee0fe6e6..fc8ca61429 100644 --- a/src/FoundationClasses/TKernel/FSD/FSD_File.cxx +++ b/src/FoundationClasses/TKernel/FSD/FSD_File.cxx @@ -726,11 +726,8 @@ void FSD_File::ReadInfo(Standard_Integer& nbObj, } } -//======================================================================= -// function : ReadCompleteInfo -// purpose : -// -//======================================================================= +//================================================================================================= + void FSD_File::ReadCompleteInfo(Standard_IStream& /*theIStream*/, Handle(Storage_Data)& /*theData*/) { } diff --git a/src/FoundationClasses/TKernel/Message/Message_Algorithm.cxx b/src/FoundationClasses/TKernel/Message/Message_Algorithm.cxx index 6458b8349e..2d448c9586 100644 --- a/src/FoundationClasses/TKernel/Message/Message_Algorithm.cxx +++ b/src/FoundationClasses/TKernel/Message/Message_Algorithm.cxx @@ -339,10 +339,7 @@ Handle(TColStd_HSequenceOfHExtendedString) Message_Algorithm::GetMessageStrings( return Handle(TColStd_HSequenceOfHExtendedString)::DownCast(myReportStrings->Value(aFlagIndex)); } -//======================================================================= -// function : PrepareReport -// purpose : static method -//======================================================================= +//================================================================================================= TCollection_ExtendedString Message_Algorithm::PrepareReport( const Handle(TColStd_HPackedMapOfInteger)& theMapError, @@ -367,10 +364,7 @@ TCollection_ExtendedString Message_Algorithm::PrepareReport( return aNewReport; } -//======================================================================= -// function : PrepareReport -// purpose : static method -//======================================================================= +//================================================================================================= TCollection_ExtendedString Message_Algorithm::PrepareReport( const TColStd_SequenceOfHExtendedString& theReportSeq, diff --git a/src/FoundationClasses/TKernel/NCollection/NCollection_AccAllocator.cxx b/src/FoundationClasses/TKernel/NCollection/NCollection_AccAllocator.cxx index 6b56beb725..877b8aaa2e 100644 --- a/src/FoundationClasses/TKernel/NCollection/NCollection_AccAllocator.cxx +++ b/src/FoundationClasses/TKernel/NCollection/NCollection_AccAllocator.cxx @@ -37,10 +37,8 @@ NCollection_AccAllocator::~NCollection_AccAllocator() } } -//======================================================================= -// function : Allocate -// purpose : Allocate a memory -//======================================================================= +//================================================================================================= + void* NCollection_AccAllocator::Allocate(const size_t theSize) { const AlignedSize aSize(theSize); diff --git a/src/FoundationClasses/TKernel/NCollection/NCollection_AlignedAllocator.cxx b/src/FoundationClasses/TKernel/NCollection/NCollection_AlignedAllocator.cxx index e47a98bb7e..35795a5c31 100644 --- a/src/FoundationClasses/TKernel/NCollection/NCollection_AlignedAllocator.cxx +++ b/src/FoundationClasses/TKernel/NCollection/NCollection_AlignedAllocator.cxx @@ -26,10 +26,8 @@ NCollection_AlignedAllocator::NCollection_AlignedAllocator(const size_t theAlign // } -//======================================================================= -// function : Allocate -// purpose : allocate a memory -//======================================================================= +//================================================================================================= + void* NCollection_AlignedAllocator::Allocate(const size_t theSize) { return Standard::AllocateAligned(theSize, myAlignment); diff --git a/src/FoundationClasses/TKernel/NCollection/NCollection_BaseAllocator.cxx b/src/FoundationClasses/TKernel/NCollection/NCollection_BaseAllocator.cxx index 4e1cdd8d44..b6a368f0bb 100644 --- a/src/FoundationClasses/TKernel/NCollection/NCollection_BaseAllocator.cxx +++ b/src/FoundationClasses/TKernel/NCollection/NCollection_BaseAllocator.cxx @@ -24,10 +24,8 @@ void* NCollection_BaseAllocator::Allocate(const size_t theSize) return Standard::Allocate(theSize); } -//======================================================================= -// function : AllocateOptimal -// purpose : Optimal allocation -//======================================================================= +//================================================================================================= + void* NCollection_BaseAllocator::AllocateOptimal(const size_t theSize) { return Standard::AllocateOptimal(theSize); diff --git a/src/FoundationClasses/TKernel/NCollection/NCollection_BaseList.cxx b/src/FoundationClasses/TKernel/NCollection/NCollection_BaseList.cxx index 37c3c48cc3..202656b038 100644 --- a/src/FoundationClasses/TKernel/NCollection/NCollection_BaseList.cxx +++ b/src/FoundationClasses/TKernel/NCollection/NCollection_BaseList.cxx @@ -216,10 +216,7 @@ void NCollection_BaseList::PInsertAfter(NCollection_BaseList& theOther, Iterator } } -//======================================================================= -// function : PReverse -// purpose : reverse the list -//======================================================================= +//================================================================================================= void NCollection_BaseList::PReverse() { diff --git a/src/FoundationClasses/TKernel/NCollection/NCollection_IncAllocator.cxx b/src/FoundationClasses/TKernel/NCollection/NCollection_IncAllocator.cxx index 9910079ca2..1e4dc38950 100644 --- a/src/FoundationClasses/TKernel/NCollection/NCollection_IncAllocator.cxx +++ b/src/FoundationClasses/TKernel/NCollection/NCollection_IncAllocator.cxx @@ -90,10 +90,8 @@ NCollection_IncAllocator::~NCollection_IncAllocator() delete myMutex; } -//======================================================================= -// function : AllocateOptimal -// purpose : allocate a memory -//======================================================================= +//================================================================================================= + void* NCollection_IncAllocator::AllocateOptimal(const size_t theSize) { Standard_Mutex::Sentry aLock(myMutex); @@ -155,10 +153,8 @@ void* NCollection_IncAllocator::AllocateOptimal(const size_t theSize) return aRes; } -//======================================================================= -// function : Allocate -// purpose : Allocate a memory -//======================================================================= +//================================================================================================= + void* NCollection_IncAllocator::Allocate(const size_t theSize) { return AllocateOptimal(theSize); diff --git a/src/FoundationClasses/TKernel/NCollection/NCollection_WinHeapAllocator.cxx b/src/FoundationClasses/TKernel/NCollection/NCollection_WinHeapAllocator.cxx index f8304958fb..9eec85e1b7 100644 --- a/src/FoundationClasses/TKernel/NCollection/NCollection_WinHeapAllocator.cxx +++ b/src/FoundationClasses/TKernel/NCollection/NCollection_WinHeapAllocator.cxx @@ -22,10 +22,8 @@ IMPLEMENT_STANDARD_RTTIEXT(NCollection_WinHeapAllocator, NCollection_BaseAllocat #include #endif -//======================================================================= -// function : NCollection_WinHeapAllocator -// purpose : Main constructor -//======================================================================= +//================================================================================================= + NCollection_WinHeapAllocator::NCollection_WinHeapAllocator(const size_t theInitSizeBytes) : NCollection_BaseAllocator(), #if (defined(_WIN32) || defined(__WIN32__)) diff --git a/src/FoundationClasses/TKernel/OSD/OSD_FileNode.cxx b/src/FoundationClasses/TKernel/OSD/OSD_FileNode.cxx index 121934f036..4c505e5d32 100644 --- a/src/FoundationClasses/TKernel/OSD/OSD_FileNode.cxx +++ b/src/FoundationClasses/TKernel/OSD/OSD_FileNode.cxx @@ -421,10 +421,7 @@ void _osd_wnt_set_error(OSD_Error&, Standard_Integer, ...); static BOOL __fastcall _get_file_time(const wchar_t*, LPSYSTEMTIME, BOOL); static void __fastcall _test_raise(TCollection_AsciiString, Standard_CString); -//======================================================================= -// function : OSD_FileNode -// purpose : Empty Constructor -//======================================================================= +//================================================================================================= OSD_FileNode::OSD_FileNode() {} diff --git a/src/ModelingAlgorithms/TKBool/BRepFill/BRepFill_Draft.cxx b/src/ModelingAlgorithms/TKBool/BRepFill/BRepFill_Draft.cxx index fbadf5e872..9f7f5736b4 100644 --- a/src/ModelingAlgorithms/TKBool/BRepFill/BRepFill_Draft.cxx +++ b/src/ModelingAlgorithms/TKBool/BRepFill/BRepFill_Draft.cxx @@ -289,10 +289,8 @@ BRepFill_Draft::BRepFill_Draft(const TopoDS_Shape& S, const gp_Dir& Dir, const S SetDraft(); } -//======================================================================= -// function :SetOptions -// purpose : Defines the style -//====================================================================== +//================================================================================================= + void BRepFill_Draft::SetOptions(const BRepFill_TransitionStyle Style, const Standard_Real Min, const Standard_Real Max) diff --git a/src/ModelingAlgorithms/TKBool/BRepFill/BRepFill_Filling.cxx b/src/ModelingAlgorithms/TKBool/BRepFill/BRepFill_Filling.cxx index b8d11791f2..ccf7c57a66 100644 --- a/src/ModelingAlgorithms/TKBool/BRepFill/BRepFill_Filling.cxx +++ b/src/ModelingAlgorithms/TKBool/BRepFill/BRepFill_Filling.cxx @@ -757,10 +757,8 @@ Standard_Boolean BRepFill_Filling::IsDone() const return myIsDone; } -//======================================================================= -// function : Face -// purpose : returns the result -//====================================================================== +//================================================================================================= + TopoDS_Face BRepFill_Filling::Face() const { return myFace; diff --git a/src/ModelingAlgorithms/TKBool/BRepFill/BRepFill_LocationLaw.cxx b/src/ModelingAlgorithms/TKBool/BRepFill/BRepFill_LocationLaw.cxx index f26b522530..83225c59b9 100644 --- a/src/ModelingAlgorithms/TKBool/BRepFill/BRepFill_LocationLaw.cxx +++ b/src/ModelingAlgorithms/TKBool/BRepFill/BRepFill_LocationLaw.cxx @@ -40,10 +40,8 @@ IMPLEMENT_STANDARD_RTTIEXT(BRepFill_LocationLaw, Standard_Transient) -//======================================================================= -// function : Norm -// purpose : Norm of a Matrix -//======================================================================= +//================================================================================================= + static Standard_Real Norm(const gp_Mat& M) { Standard_Real R, Norme; diff --git a/src/ModelingAlgorithms/TKBool/BRepFill/BRepFill_PipeShell.cxx b/src/ModelingAlgorithms/TKBool/BRepFill/BRepFill_PipeShell.cxx index 98e19f8442..6ccc821273 100644 --- a/src/ModelingAlgorithms/TKBool/BRepFill/BRepFill_PipeShell.cxx +++ b/src/ModelingAlgorithms/TKBool/BRepFill/BRepFill_PipeShell.cxx @@ -433,10 +433,8 @@ void BRepFill_PipeShell::SetForceApproxC1(const Standard_Boolean ForceApproxC1) myForceApproxC1 = ForceApproxC1; } -//======================================================================= -// function : Add -// purpose : Add a Section -//======================================================================= +//================================================================================================= + void BRepFill_PipeShell::Add(const TopoDS_Shape& Profile, const Standard_Boolean WithContact, const Standard_Boolean WithCorrection) @@ -447,10 +445,8 @@ void BRepFill_PipeShell::Add(const TopoDS_Shape& Profile, ResetLoc(); } -//======================================================================= -// function : Add -// purpose : Add a Section -//======================================================================= +//================================================================================================= + void BRepFill_PipeShell::Add(const TopoDS_Shape& Profile, const TopoDS_Vertex& Location, const Standard_Boolean WithContact, @@ -562,10 +558,8 @@ void BRepFill_PipeShell::SetLaw(const TopoDS_Shape& Profile, ResetLoc(); } -//======================================================================= -// function : Delete -// purpose : Delete a section -//======================================================================= +//================================================================================================= + void BRepFill_PipeShell::DeleteProfile(const TopoDS_Shape& Profile) { Standard_Boolean Trouve = Standard_False; @@ -864,10 +858,8 @@ Standard_Boolean BRepFill_PipeShell::MakeSolid() return B; } -//======================================================================= -// function : Shape -// purpose : Return the result -//======================================================================= +//================================================================================================= + const TopoDS_Shape& BRepFill_PipeShell::Shape() const { return myShape; diff --git a/src/ModelingAlgorithms/TKBool/BRepFill/BRepFill_ShapeLaw.cxx b/src/ModelingAlgorithms/TKBool/BRepFill/BRepFill_ShapeLaw.cxx index 0fa4f3db3f..46fccaee32 100644 --- a/src/ModelingAlgorithms/TKBool/BRepFill/BRepFill_ShapeLaw.cxx +++ b/src/ModelingAlgorithms/TKBool/BRepFill/BRepFill_ShapeLaw.cxx @@ -85,10 +85,7 @@ BRepFill_ShapeLaw::BRepFill_ShapeLaw(const TopoDS_Wire& W, const Standard_Boolea myDone = Standard_True; } -//======================================================================= -// function : Create -// purpose : Evolutive Wire -//======================================================================= +//================================================================================================= BRepFill_ShapeLaw::BRepFill_ShapeLaw(const TopoDS_Wire& W, const Handle(Law_Function)& L, diff --git a/src/ModelingAlgorithms/TKBool/BRepProj/BRepProj_Projection.cxx b/src/ModelingAlgorithms/TKBool/BRepProj/BRepProj_Projection.cxx index 62bf86649e..29eca18ac6 100644 --- a/src/ModelingAlgorithms/TKBool/BRepProj/BRepProj_Projection.cxx +++ b/src/ModelingAlgorithms/TKBool/BRepProj/BRepProj_Projection.cxx @@ -186,10 +186,7 @@ BRepProj_Projection::BRepProj_Projection(const TopoDS_Shape& Wire, BuildSection(Shape, CylSurf.Shape()); } -//======================================================================= -// function : BRepProj_Projection -// purpose : Conical projection -//======================================================================= +//================================================================================================= BRepProj_Projection::BRepProj_Projection(const TopoDS_Shape& Wire, const TopoDS_Shape& Shape, diff --git a/src/ModelingAlgorithms/TKBool/TopOpeBRepDS/TopOpeBRepDS_Check.cxx b/src/ModelingAlgorithms/TKBool/TopOpeBRepDS/TopOpeBRepDS_Check.cxx index 9acf54ba28..da49557ac0 100644 --- a/src/ModelingAlgorithms/TKBool/TopOpeBRepDS/TopOpeBRepDS_Check.cxx +++ b/src/ModelingAlgorithms/TKBool/TopOpeBRepDS/TopOpeBRepDS_Check.cxx @@ -58,10 +58,8 @@ TopOpeBRepDS_Check::TopOpeBRepDS_Check() myMapShapeStatus.Clear(); } -//======================================================================= -// function : ChkIntg -// purpose : Check Integrity -//======================================================================= +//================================================================================================= + Standard_Boolean CheckEdgeParameter(const Handle(TopOpeBRepDS_HDataStructure)& myHDS); Standard_Boolean TopOpeBRepDS_Check::ChkIntg() diff --git a/src/ModelingAlgorithms/TKBool/TopOpeBRepDS/TopOpeBRepDS_HDataStructure.cxx b/src/ModelingAlgorithms/TKBool/TopOpeBRepDS/TopOpeBRepDS_HDataStructure.cxx index bd5e32c222..cbb49559da 100644 --- a/src/ModelingAlgorithms/TKBool/TopOpeBRepDS/TopOpeBRepDS_HDataStructure.cxx +++ b/src/ModelingAlgorithms/TKBool/TopOpeBRepDS/TopOpeBRepDS_HDataStructure.cxx @@ -126,10 +126,8 @@ void TopOpeBRepDS_HDataStructure::AddAncestors(const TopoDS_Shape& S, } } -//======================================================================= -// function : ChkIntg -// purpose : Check Integrity -//======================================================================= +//================================================================================================= + void TopOpeBRepDS_HDataStructure::ChkIntg() { // Check the integrity of the DS diff --git a/src/ModelingAlgorithms/TKFeat/BRepFeat/BRepFeat_MakeDPrism.cxx b/src/ModelingAlgorithms/TKFeat/BRepFeat/BRepFeat_MakeDPrism.cxx index c0a6ab9141..183bf52a6c 100644 --- a/src/ModelingAlgorithms/TKFeat/BRepFeat/BRepFeat_MakeDPrism.cxx +++ b/src/ModelingAlgorithms/TKFeat/BRepFeat/BRepFeat_MakeDPrism.cxx @@ -201,10 +201,7 @@ void BRepFeat_MakeDPrism::Add(const TopoDS_Edge& E, const TopoDS_Face& F) } } -//======================================================================= -// function : Perform -// purpose : feature of Height -//======================================================================= +//================================================================================================= void BRepFeat_MakeDPrism::Perform(const Standard_Real Height) { diff --git a/src/ModelingAlgorithms/TKFeat/BRepFeat/BRepFeat_MakePipe.cxx b/src/ModelingAlgorithms/TKFeat/BRepFeat/BRepFeat_MakePipe.cxx index b3d93bb610..4895f17bf4 100644 --- a/src/ModelingAlgorithms/TKFeat/BRepFeat/BRepFeat_MakePipe.cxx +++ b/src/ModelingAlgorithms/TKFeat/BRepFeat/BRepFeat_MakePipe.cxx @@ -227,10 +227,7 @@ void BRepFeat_MakePipe::Perform() } } -//======================================================================= -// function : Perform -// purpose : till shape Until -//======================================================================= +//================================================================================================= void BRepFeat_MakePipe::Perform(const TopoDS_Shape& Until) { diff --git a/src/ModelingAlgorithms/TKFeat/LocOpe/LocOpe_BuildShape.cxx b/src/ModelingAlgorithms/TKFeat/LocOpe/LocOpe_BuildShape.cxx index 6d563bb6c6..226b15da46 100644 --- a/src/ModelingAlgorithms/TKFeat/LocOpe/LocOpe_BuildShape.cxx +++ b/src/ModelingAlgorithms/TKFeat/LocOpe/LocOpe_BuildShape.cxx @@ -308,10 +308,7 @@ void LocOpe_BuildShape::Perform(const TopTools_ListOfShape& L) } } -//======================================================================= -// function : Add -// purpose : static function -//======================================================================= +//================================================================================================= static void Add(const Standard_Integer ind, TColStd_MapOfInteger& mapI, @@ -351,10 +348,7 @@ static void Add(const Standard_Integer ind, } } -//======================================================================= -// function : Propagate -// purpose : static function -//======================================================================= +//================================================================================================= static void Propagate(const TopoDS_Shape& F, TopoDS_Shape& Sh, @@ -428,10 +422,7 @@ static void Propagate(const TopoDS_Shape& F, } } -//======================================================================= -// function : IsInside -// purpose : static function -//======================================================================= +//================================================================================================= static Standard_Boolean IsInside(const TopoDS_Shape& S1, const TopoDS_Shape& S2) { diff --git a/src/ModelingAlgorithms/TKFillet/BRepBlend/BRepBlend_RstRstLineBuilder.cxx b/src/ModelingAlgorithms/TKFillet/BRepBlend/BRepBlend_RstRstLineBuilder.cxx index a87eb43877..d93ba24daf 100644 --- a/src/ModelingAlgorithms/TKFillet/BRepBlend/BRepBlend_RstRstLineBuilder.cxx +++ b/src/ModelingAlgorithms/TKFillet/BRepBlend/BRepBlend_RstRstLineBuilder.cxx @@ -1146,10 +1146,7 @@ void BRepBlend_RstRstLineBuilder::InternalPerform(Blend_RstRstFunction& Func, } } -//======================================================================= -// function : Recadre1 -// purpose : Contact lost on 1 -//======================================================================= +//================================================================================================= Standard_Boolean BRepBlend_RstRstLineBuilder::Recadre1(Blend_RstRstFunction& Func, Blend_SurfCurvFuncInv& Finv, diff --git a/src/ModelingAlgorithms/TKFillet/BlendFunc/BlendFunc_Corde.cxx b/src/ModelingAlgorithms/TKFillet/BlendFunc/BlendFunc_Corde.cxx index 0ebeda4648..ec2433bac9 100644 --- a/src/ModelingAlgorithms/TKFillet/BlendFunc/BlendFunc_Corde.cxx +++ b/src/ModelingAlgorithms/TKFillet/BlendFunc/BlendFunc_Corde.cxx @@ -136,10 +136,7 @@ const gp_Vec2d& BlendFunc_Corde::Tangent2dOnS() const return tg2d; } -//======================================================================= -// function : DerFguide -// purpose : dF/dw -//======================================================================= +//================================================================================================= void BlendFunc_Corde::DerFguide(const math_Vector& Sol, gp_Vec2d& DerF) { diff --git a/src/ModelingAlgorithms/TKFillet/ChFi3d/ChFi3d.cxx b/src/ModelingAlgorithms/TKFillet/ChFi3d/ChFi3d.cxx index b086d4fe60..34f08dade2 100644 --- a/src/ModelingAlgorithms/TKFillet/ChFi3d/ChFi3d.cxx +++ b/src/ModelingAlgorithms/TKFillet/ChFi3d/ChFi3d.cxx @@ -470,11 +470,7 @@ Standard_Integer ChFi3d::ConcaveSide(const BRepAdaptor_Surface& S1, return ChoixConge; } -//======================================================================= -// function : NextSide -// purpose : -// -//======================================================================= +//================================================================================================= Standard_Integer ChFi3d::NextSide(TopAbs_Orientation& Or1, TopAbs_Orientation& Or2, @@ -529,11 +525,7 @@ Standard_Integer ChFi3d::NextSide(TopAbs_Orientation& Or1, return ChoixConge; } -//======================================================================= -// function : NextSide -// purpose : -// -//======================================================================= +//================================================================================================= void ChFi3d::NextSide(TopAbs_Orientation& Or, const TopAbs_Orientation OrSave, @@ -549,11 +541,7 @@ void ChFi3d::NextSide(TopAbs_Orientation& Or, } } -//======================================================================= -// function : SameSide -// purpose : -// -//======================================================================= +//================================================================================================= Standard_Boolean ChFi3d::SameSide(const TopAbs_Orientation Or, const TopAbs_Orientation OrSave1, diff --git a/src/ModelingAlgorithms/TKFillet/ChFi3d/ChFi3d_Builder_0.cxx b/src/ModelingAlgorithms/TKFillet/ChFi3d/ChFi3d_Builder_0.cxx index 18354eee6a..fe9ff9484b 100644 --- a/src/ModelingAlgorithms/TKFillet/ChFi3d/ChFi3d_Builder_0.cxx +++ b/src/ModelingAlgorithms/TKFillet/ChFi3d/ChFi3d_Builder_0.cxx @@ -2002,11 +2002,8 @@ Handle(TopOpeBRepDS_SurfaceCurveInterference) ChFi3d_FilCurveInDS(const Standard return SC1; } -//======================================================================= -// function : TrsfTrans -// purpose : -// -//======================================================================= +//================================================================================================= + TopAbs_Orientation ChFi3d_TrsfTrans(const IntSurf_TypeTrans T1) { switch (T1) diff --git a/src/ModelingAlgorithms/TKFillet/ChFi3d/ChFi3d_Builder_6.cxx b/src/ModelingAlgorithms/TKFillet/ChFi3d/ChFi3d_Builder_6.cxx index 4bafa924e0..22b65ece23 100644 --- a/src/ModelingAlgorithms/TKFillet/ChFi3d/ChFi3d_Builder_6.cxx +++ b/src/ModelingAlgorithms/TKFillet/ChFi3d/ChFi3d_Builder_6.cxx @@ -146,11 +146,8 @@ static void drawline(const Handle(BRepBlend_Line)& lin, const Standard_Boolean i } } #endif -//======================================================================= -// function : SearchIndex -// purpose : -// -//======================================================================= +//================================================================================================= + static Standard_Integer SearchIndex(const Standard_Real Value, Handle(BRepBlend_Line)& Lin) { Standard_Integer NbPnt = Lin->NbPoints(), Ind; @@ -160,11 +157,8 @@ static Standard_Integer SearchIndex(const Standard_Real Value, Handle(BRepBlend_ return Ind; } -//======================================================================= -// function : IsObst -// purpose : -// -//======================================================================= +//================================================================================================= + static Standard_Integer nbedconnex(const TopTools_ListOfShape& L) { Standard_Integer nb = 0, i = 0; @@ -249,11 +243,7 @@ static Standard_Boolean IsObst(const ChFiDS_CommonPoint& CP, return !IsVois(E, Vref, VEMap, DONE, 0, prof); } -//======================================================================= -// function : CompParam -// purpose : -// -//======================================================================= +//================================================================================================= static void CompParam(const Geom2dAdaptor_Curve& Carc, Handle(Geom2d_Curve) Ctg, diff --git a/src/ModelingAlgorithms/TKFillet/ChFiKPart/ChFiKPart_ComputeData_FilPlnPln.cxx b/src/ModelingAlgorithms/TKFillet/ChFiKPart/ChFiKPart_ComputeData_FilPlnPln.cxx index f4753206cb..174a3d551f 100644 --- a/src/ModelingAlgorithms/TKFillet/ChFiKPart/ChFiKPart_ComputeData_FilPlnPln.cxx +++ b/src/ModelingAlgorithms/TKFillet/ChFiKPart/ChFiKPart_ComputeData_FilPlnPln.cxx @@ -37,10 +37,8 @@ #include #include -//======================================================================= -// function : MakeFillet -// Purpose : cas plan/plan. -//======================================================================= +//================================================================================================= + Standard_Boolean ChFiKPart_MakeFillet(TopOpeBRepDS_DataStructure& DStr, const Handle(ChFiDS_SurfData)& Data, const gp_Pln& Pl1, diff --git a/src/ModelingAlgorithms/TKFillet/ChFiKPart/ChFiKPart_ComputeData_Rotule.cxx b/src/ModelingAlgorithms/TKFillet/ChFiKPart/ChFiKPart_ComputeData_Rotule.cxx index 6702f635c1..121bd7e759 100644 --- a/src/ModelingAlgorithms/TKFillet/ChFiKPart/ChFiKPart_ComputeData_Rotule.cxx +++ b/src/ModelingAlgorithms/TKFillet/ChFiKPart/ChFiKPart_ComputeData_Rotule.cxx @@ -38,10 +38,8 @@ #include #include -//======================================================================= -// function : MakeRotule -// Purpose : cas plan/plan. -//======================================================================= +//================================================================================================= + Standard_Boolean ChFiKPart_MakeRotule(TopOpeBRepDS_DataStructure& DStr, const Handle(ChFiDS_SurfData)& Data, const gp_Pln& pl, diff --git a/src/ModelingAlgorithms/TKGeomAlgo/Geom2dHatch/Geom2dHatch_Element.cxx b/src/ModelingAlgorithms/TKGeomAlgo/Geom2dHatch/Geom2dHatch_Element.cxx index 2bf4523a80..4a400f5479 100644 --- a/src/ModelingAlgorithms/TKGeomAlgo/Geom2dHatch/Geom2dHatch_Element.cxx +++ b/src/ModelingAlgorithms/TKGeomAlgo/Geom2dHatch/Geom2dHatch_Element.cxx @@ -18,10 +18,7 @@ #include -//======================================================================= -// Function : Geom2dHatch_Element -// Purpose : Empty Constructor. -//======================================================================= +//================================================================================================= Geom2dHatch_Element::Geom2dHatch_Element() {} diff --git a/src/ModelingAlgorithms/TKGeomAlgo/Geom2dHatch/Geom2dHatch_Hatcher.cxx b/src/ModelingAlgorithms/TKGeomAlgo/Geom2dHatch/Geom2dHatch_Hatcher.cxx index 6bfa7bf680..99f77fdc22 100644 --- a/src/ModelingAlgorithms/TKGeomAlgo/Geom2dHatch/Geom2dHatch_Hatcher.cxx +++ b/src/ModelingAlgorithms/TKGeomAlgo/Geom2dHatch/Geom2dHatch_Hatcher.cxx @@ -1753,10 +1753,7 @@ const HatchGen_Domain& Geom2dHatch_Hatcher::Domain(const Standard_Integer IndH, //======================================================================= //======================================================================= -//======================================================================= -// Function : Dump -// Purpose : Dumps the hatcher. -//======================================================================= +//================================================================================================= void Geom2dHatch_Hatcher::Dump() const { diff --git a/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_BSplineCurves.cxx b/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_BSplineCurves.cxx index fcd577a6d8..b3a5fe4b1f 100644 --- a/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_BSplineCurves.cxx +++ b/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_BSplineCurves.cxx @@ -129,10 +129,7 @@ static Standard_Boolean Arrange(const Handle(Geom_BSplineCurve)& C1, return Standard_True; } -//======================================================================= -// function : SetSameDistribution -// purpose : Internal Use Only -//======================================================================= +//================================================================================================= static Standard_Integer SetSameDistribution(Handle(Geom_BSplineCurve)& C1, Handle(Geom_BSplineCurve)& C2) diff --git a/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_LocationDraft.cxx b/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_LocationDraft.cxx index 7840874665..6e819937d5 100644 --- a/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_LocationDraft.cxx +++ b/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_LocationDraft.cxx @@ -184,10 +184,8 @@ void GeomFill_LocationDraft::Prepare() } // for_ii } -//================================================================== -// Function: GetCurve -// Purpose : return the path -//================================================================== +//================================================================================================= + const Handle(Adaptor3d_Curve)& GeomFill_LocationDraft::GetCurve() const { return myCurve; diff --git a/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_SectionPlacement.cxx b/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_SectionPlacement.cxx index 18f659f37d..78fda3c320 100644 --- a/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_SectionPlacement.cxx +++ b/src/ModelingAlgorithms/TKGeomAlgo/GeomFill/GeomFill_SectionPlacement.cxx @@ -354,10 +354,8 @@ void GeomFill_SectionPlacement::SetLocation(const Handle(GeomFill_LocationLaw)& myLaw = L; } -//=============================================================== -// Function : Perform -// Purpose : Le plus simple -//=============================================================== +//================================================================================================= + void GeomFill_SectionPlacement::Perform(const Standard_Real Tol) { Handle(Adaptor3d_Curve) Path; diff --git a/src/ModelingAlgorithms/TKGeomAlgo/HatchGen/HatchGen_PointOnHatching.cxx b/src/ModelingAlgorithms/TKGeomAlgo/HatchGen/HatchGen_PointOnHatching.cxx index 8d2e996611..ef1270e33b 100644 --- a/src/ModelingAlgorithms/TKGeomAlgo/HatchGen/HatchGen_PointOnHatching.cxx +++ b/src/ModelingAlgorithms/TKGeomAlgo/HatchGen/HatchGen_PointOnHatching.cxx @@ -153,10 +153,7 @@ Standard_Boolean HatchGen_PointOnHatching::IsGreater(const HatchGen_PointOnHatch return (myParam - Point.myParam > Confusion); } -//======================================================================= -// Function : Dump -// Purpose : Dump of the point. -//======================================================================= +//================================================================================================= void HatchGen_PointOnHatching::Dump(const Standard_Integer Index) const { diff --git a/src/ModelingAlgorithms/TKGeomAlgo/IntPatch/IntPatch_InterferencePolyhedron.cxx b/src/ModelingAlgorithms/TKGeomAlgo/IntPatch/IntPatch_InterferencePolyhedron.cxx index 06eaa369c3..6207a578bf 100644 --- a/src/ModelingAlgorithms/TKGeomAlgo/IntPatch/IntPatch_InterferencePolyhedron.cxx +++ b/src/ModelingAlgorithms/TKGeomAlgo/IntPatch/IntPatch_InterferencePolyhedron.cxx @@ -28,10 +28,7 @@ static const int Pourcent3[9] = {0, 1, 2, 0, 1, 2, 0, 1, 2}; -//======================================================================= -// function : IntPatch_InterferencePolyhedron -// purpose : Empty constructor. -//======================================================================= +//================================================================================================= IntPatch_InterferencePolyhedron::IntPatch_InterferencePolyhedron() : Intf_Interference(Standard_False), diff --git a/src/ModelingAlgorithms/TKGeomAlgo/Intf/Intf_InterferencePolygon2d.cxx b/src/ModelingAlgorithms/TKGeomAlgo/Intf/Intf_InterferencePolygon2d.cxx index 6223ae027b..b56cea5819 100644 --- a/src/ModelingAlgorithms/TKGeomAlgo/Intf/Intf_InterferencePolygon2d.cxx +++ b/src/ModelingAlgorithms/TKGeomAlgo/Intf/Intf_InterferencePolygon2d.cxx @@ -30,10 +30,7 @@ namespace static const Standard_Real PRCANG = Precision::Angular(); } -//======================================================================= -// function : Intf_InterferencePolygon2d -// purpose : constructor empty -//======================================================================= +//================================================================================================= Intf_InterferencePolygon2d::Intf_InterferencePolygon2d() : Intf_Interference(Standard_False), diff --git a/src/ModelingAlgorithms/TKGeomAlgo/Law/Law_BSpline.cxx b/src/ModelingAlgorithms/TKGeomAlgo/Law/Law_BSpline.cxx index ebffdff633..b18280eb68 100644 --- a/src/ModelingAlgorithms/TKGeomAlgo/Law/Law_BSpline.cxx +++ b/src/ModelingAlgorithms/TKGeomAlgo/Law/Law_BSpline.cxx @@ -75,10 +75,7 @@ static void GetPoles(const TColStd_Array1OfReal& FP, } } -//======================================================================= -// function : CheckCurveData -// purpose : Internal use only -//======================================================================= +//================================================================================================= static void CheckCurveData(const TColStd_Array1OfReal& CPoles, const TColStd_Array1OfReal& CKnots, @@ -108,10 +105,7 @@ static void CheckCurveData(const TColStd_Array1OfReal& CPoles, throw Standard_ConstructionError(); } -//======================================================================= -// function : KnotAnalysis -// purpose : Internal use only -//======================================================================= +//================================================================================================= static void KnotAnalysis(const Standard_Integer Degree, const Standard_Boolean Periodic, diff --git a/src/ModelingAlgorithms/TKGeomAlgo/TopTrans/TopTrans_CurveTransition.cxx b/src/ModelingAlgorithms/TKGeomAlgo/TopTrans/TopTrans_CurveTransition.cxx index da5f8f1102..fbdd935616 100644 --- a/src/ModelingAlgorithms/TKGeomAlgo/TopTrans/TopTrans_CurveTransition.cxx +++ b/src/ModelingAlgorithms/TKGeomAlgo/TopTrans/TopTrans_CurveTransition.cxx @@ -21,10 +21,7 @@ #define SAME 0 #define LOWER -1 -//======================================================================= -// function : TopTrans_CurveTransition -// purpose : Empty Constructor. -//======================================================================= +//================================================================================================= TopTrans_CurveTransition::TopTrans_CurveTransition() : myCurv(0.0), @@ -396,10 +393,7 @@ Standard_Boolean TopTrans_CurveTransition::IsBefore(const Standard_Real Tole, return OneBefore; } -//======================================================================= -// function : Compare -// purpose : Compare two angles -//======================================================================= +//================================================================================================= Standard_Integer TopTrans_CurveTransition::Compare(const Standard_Real Ang1, const Standard_Real Ang2, diff --git a/src/ModelingAlgorithms/TKOffset/BRepOffset/BRepOffset_MakeOffset_1.cxx b/src/ModelingAlgorithms/TKOffset/BRepOffset/BRepOffset_MakeOffset_1.cxx index c66c945574..732a5bd4fd 100644 --- a/src/ModelingAlgorithms/TKOffset/BRepOffset/BRepOffset_MakeOffset_1.cxx +++ b/src/ModelingAlgorithms/TKOffset/BRepOffset/BRepOffset_MakeOffset_1.cxx @@ -202,10 +202,8 @@ static Standard_Boolean ProcessMicroEdge(const TopoDS_Edge& theEdge return bMicro; } -//======================================================================= -// function : UpdateOrigins -// purpose : Updating origins -//======================================================================= +//================================================================================================= + static void UpdateOrigins(const TopTools_ListOfShape& theLA, TopTools_DataMapOfShapeListOfShape& theOrigins, BOPAlgo_Builder& theGF) diff --git a/src/ModelingAlgorithms/TKOffset/BRepOffset/BRepOffset_Tool.cxx b/src/ModelingAlgorithms/TKOffset/BRepOffset/BRepOffset_Tool.cxx index a9ad3a77d2..1a8e966945 100644 --- a/src/ModelingAlgorithms/TKOffset/BRepOffset/BRepOffset_Tool.cxx +++ b/src/ModelingAlgorithms/TKOffset/BRepOffset/BRepOffset_Tool.cxx @@ -1126,10 +1126,7 @@ static Handle(Geom2d_Curve) ConcatPCurves(const TopoDS_Edge& E1, return newPCurve; } -//======================================================================= -// function : Glue -// purpose : glue two edges. -//======================================================================= +//================================================================================================= static TopoDS_Edge Glue(const TopoDS_Edge& E1, const TopoDS_Edge& E2, diff --git a/src/ModelingAlgorithms/TKOffset/BRepOffsetAPI/BRepOffsetAPI_MakePipe.cxx b/src/ModelingAlgorithms/TKOffset/BRepOffsetAPI/BRepOffsetAPI_MakePipe.cxx index 0dda477321..2db56f4a1e 100644 --- a/src/ModelingAlgorithms/TKOffset/BRepOffsetAPI/BRepOffsetAPI_MakePipe.cxx +++ b/src/ModelingAlgorithms/TKOffset/BRepOffsetAPI/BRepOffsetAPI_MakePipe.cxx @@ -90,10 +90,8 @@ TopoDS_Shape BRepOffsetAPI_MakePipe::LastShape() return myPipe.LastShape(); } -//======================================================================= -// function : Generated -// purpose : standard method -//======================================================================= +//================================================================================================= + const TopTools_ListOfShape& BRepOffsetAPI_MakePipe::Generated(const TopoDS_Shape& S) { myPipe.Generated(S, myGenerated); diff --git a/src/ModelingAlgorithms/TKPrim/BRepPrim/BRepPrim_Builder.cxx b/src/ModelingAlgorithms/TKPrim/BRepPrim/BRepPrim_Builder.cxx index 05bdc47d89..0ae8f87c89 100644 --- a/src/ModelingAlgorithms/TKPrim/BRepPrim/BRepPrim_Builder.cxx +++ b/src/ModelingAlgorithms/TKPrim/BRepPrim/BRepPrim_Builder.cxx @@ -54,20 +54,14 @@ void BRepPrim_Builder::MakeShell(TopoDS_Shell& S) const S.Closed(Standard_True); } -//======================================================================= -// function : MakeFace -// purpose : Make a Planar Face -//======================================================================= +//================================================================================================= void BRepPrim_Builder::MakeFace(TopoDS_Face& F, const gp_Pln& P) const { myBuilder.MakeFace(F, new Geom_Plane(P), Precision::Confusion()); } -//======================================================================= -// function : MakeWire -// purpose : Make an empty Wire -//======================================================================= +//================================================================================================= void BRepPrim_Builder::MakeWire(TopoDS_Wire& W) const { @@ -82,10 +76,7 @@ void BRepPrim_Builder::MakeDegeneratedEdge(TopoDS_Edge& E) const myBuilder.Degenerated(E, Standard_True); } -//======================================================================= -// function : MakeEdge -// purpose : Make a linear Edge -//======================================================================= +//================================================================================================= void BRepPrim_Builder::MakeEdge(TopoDS_Edge& E, const gp_Lin& L) const { @@ -136,20 +127,14 @@ void BRepPrim_Builder::SetPCurve(TopoDS_Edge& E, const TopoDS_Face& F, const gp_ myBuilder.UpdateEdge(E, new Geom2d_Circle(C), F, Precision::Confusion()); } -//======================================================================= -// function : MakeVertex -// purpose : Make a Vertex -//======================================================================= +//================================================================================================= void BRepPrim_Builder::MakeVertex(TopoDS_Vertex& V, const gp_Pnt& P) const { myBuilder.MakeVertex(V, P, Precision::Confusion()); } -//======================================================================= -// function : ReverseFace -// purpose : Reverse a Face -//======================================================================= +//================================================================================================= void BRepPrim_Builder::ReverseFace(TopoDS_Face& F) const { diff --git a/src/ModelingAlgorithms/TKPrim/BRepPrim/BRepPrim_GWedge.cxx b/src/ModelingAlgorithms/TKPrim/BRepPrim/BRepPrim_GWedge.cxx index f44f377403..2b40e347ac 100644 --- a/src/ModelingAlgorithms/TKPrim/BRepPrim/BRepPrim_GWedge.cxx +++ b/src/ModelingAlgorithms/TKPrim/BRepPrim/BRepPrim_GWedge.cxx @@ -180,10 +180,7 @@ BRepPrim_GWedge::BRepPrim_GWedge(const BRepPrim_Builder& B, BRepPrim_Wedge_Init(ShellBuilt, VerticesBuilt, EdgesBuilt, WiresBuilt, FacesBuilt); } -//======================================================================= -// function : BRepPrim_GWedge -// purpose : build a STEP wedge -//======================================================================= +//================================================================================================= BRepPrim_GWedge::BRepPrim_GWedge(const BRepPrim_Builder& B, const gp_Ax2& Axes, diff --git a/src/ModelingAlgorithms/TKShHealing/ShapeAnalysis/ShapeAnalysis_FreeBoundData.cxx b/src/ModelingAlgorithms/TKShHealing/ShapeAnalysis/ShapeAnalysis_FreeBoundData.cxx index ac9bad515b..0ba19c25b7 100644 --- a/src/ModelingAlgorithms/TKShHealing/ShapeAnalysis/ShapeAnalysis_FreeBoundData.cxx +++ b/src/ModelingAlgorithms/TKShHealing/ShapeAnalysis/ShapeAnalysis_FreeBoundData.cxx @@ -22,10 +22,8 @@ IMPLEMENT_STANDARD_RTTIEXT(ShapeAnalysis_FreeBoundData, Standard_Transient) -//======================================================================= -// function : ShapeAnalysis_FreeBoundData -// purpose : Empty constructor -//======================================================================= +//================================================================================================= + ShapeAnalysis_FreeBoundData::ShapeAnalysis_FreeBoundData() { myNotches = new TopTools_HSequenceOfShape(); diff --git a/src/ModelingAlgorithms/TKShHealing/ShapeAnalysis/ShapeAnalysis_FreeBounds.cxx b/src/ModelingAlgorithms/TKShHealing/ShapeAnalysis/ShapeAnalysis_FreeBounds.cxx index 77e03d30ae..7ce642b451 100644 --- a/src/ModelingAlgorithms/TKShHealing/ShapeAnalysis/ShapeAnalysis_FreeBounds.cxx +++ b/src/ModelingAlgorithms/TKShHealing/ShapeAnalysis/ShapeAnalysis_FreeBounds.cxx @@ -51,10 +51,8 @@ #include // ied_modif_for_compil_Nov-19-1998 -//======================================================================= -// function : ShapeAnalysis_FreeBounds -// purpose : Empty constructor -//======================================================================= +//================================================================================================= + ShapeAnalysis_FreeBounds::ShapeAnalysis_FreeBounds() {} //================================================================================================= diff --git a/src/ModelingAlgorithms/TKShHealing/ShapeAnalysis/ShapeAnalysis_FreeBoundsProperties.cxx b/src/ModelingAlgorithms/TKShHealing/ShapeAnalysis/ShapeAnalysis_FreeBoundsProperties.cxx index bc6c5bf0a3..df0e060047 100644 --- a/src/ModelingAlgorithms/TKShHealing/ShapeAnalysis/ShapeAnalysis_FreeBoundsProperties.cxx +++ b/src/ModelingAlgorithms/TKShHealing/ShapeAnalysis/ShapeAnalysis_FreeBoundsProperties.cxx @@ -85,10 +85,7 @@ static void ContourProperties(const TopoDS_Wire& wire, countourLength = length; } -//======================================================================= -// function : ShapeAnalysis_FreeBoundsProperties -// purpose : Empty constructor -//======================================================================= +//================================================================================================= ShapeAnalysis_FreeBoundsProperties::ShapeAnalysis_FreeBoundsProperties() { diff --git a/src/ModelingAlgorithms/TKShHealing/ShapeAnalysis/ShapeAnalysis_Surface.cxx b/src/ModelingAlgorithms/TKShHealing/ShapeAnalysis/ShapeAnalysis_Surface.cxx index 002729168a..557cc67e3d 100644 --- a/src/ModelingAlgorithms/TKShHealing/ShapeAnalysis/ShapeAnalysis_Surface.cxx +++ b/src/ModelingAlgorithms/TKShHealing/ShapeAnalysis/ShapeAnalysis_Surface.cxx @@ -477,10 +477,7 @@ Standard_Boolean ShapeAnalysis_Surface::ProjectDegenerated(const Standard_Intege return Standard_True; } -//======================================================================= -// method : IsDegenerated -// purpose: -//======================================================================= +//================================================================================================= Standard_Boolean ShapeAnalysis_Surface::IsDegenerated(const gp_Pnt2d& p2d1, const gp_Pnt2d& p2d2, diff --git a/src/ModelingAlgorithms/TKShHealing/ShapeAnalysis/ShapeAnalysis_Wire.cxx b/src/ModelingAlgorithms/TKShHealing/ShapeAnalysis/ShapeAnalysis_Wire.cxx index 161794cad9..3dfe97505c 100644 --- a/src/ModelingAlgorithms/TKShHealing/ShapeAnalysis/ShapeAnalysis_Wire.cxx +++ b/src/ModelingAlgorithms/TKShHealing/ShapeAnalysis/ShapeAnalysis_Wire.cxx @@ -1600,11 +1600,7 @@ Standard_Boolean ShapeAnalysis_Wire::CheckLacking(const Standard_Integer num, return Standard_True; } -//======================================================================= -// function : CheckLacking -// purpose : -// -//======================================================================= +//================================================================================================= Standard_Boolean ShapeAnalysis_Wire::CheckLacking(const Standard_Integer num, const Standard_Real Tolerance) diff --git a/src/ModelingAlgorithms/TKTopAlgo/BRepBuilderAPI/BRepBuilderAPI_FastSewing.cxx b/src/ModelingAlgorithms/TKTopAlgo/BRepBuilderAPI/BRepBuilderAPI_FastSewing.cxx index abe4884ccb..6bca83da0d 100644 --- a/src/ModelingAlgorithms/TKTopAlgo/BRepBuilderAPI/BRepBuilderAPI_FastSewing.cxx +++ b/src/ModelingAlgorithms/TKTopAlgo/BRepBuilderAPI/BRepBuilderAPI_FastSewing.cxx @@ -339,10 +339,8 @@ void BRepBuilderAPI_FastSewing::UpdateEdgeInfo(const Standard_Integer theIDPrevV aFace.SetEdge(theIDCurvOnFace, anEdge.myID); } -//======================================================================= -// function : CreateNewEdge -// purpose : Creates FS_Edge -//======================================================================= +//================================================================================================= + void BRepBuilderAPI_FastSewing::CreateNewEdge(const Standard_Integer theIDPrevVertex, const Standard_Integer theIDCurrVertex, const Standard_Integer theFaceID, diff --git a/src/ModelingAlgorithms/TKTopAlgo/BRepBuilderAPI/BRepBuilderAPI_Sewing.cxx b/src/ModelingAlgorithms/TKTopAlgo/BRepBuilderAPI/BRepBuilderAPI_Sewing.cxx index 98620a8063..2ca75c1ae4 100644 --- a/src/ModelingAlgorithms/TKTopAlgo/BRepBuilderAPI/BRepBuilderAPI_Sewing.cxx +++ b/src/ModelingAlgorithms/TKTopAlgo/BRepBuilderAPI/BRepBuilderAPI_Sewing.cxx @@ -1360,10 +1360,7 @@ void BRepBuilderAPI_Sewing::EvaluateDistances(TopTools_SequenceOfShape& sequence }*/ } -//======================================================================= -// function : IsMergedClosed -// purpose : internal use -//======================================================================= +//================================================================================================= Standard_Boolean BRepBuilderAPI_Sewing::IsMergedClosed(const TopoDS_Edge& Edge1, const TopoDS_Edge& Edge2, @@ -4209,10 +4206,7 @@ void BRepBuilderAPI_Sewing::GetFreeWires(TopTools_IndexedMapOfShape& MapFreeEdge } } -//======================================================================= -// function : IsDegeneratedWire -// purpose : internal use -//======================================================================= +//================================================================================================= static Standard_Boolean IsDegeneratedWire(const TopoDS_Shape& wire) { diff --git a/src/ModelingAlgorithms/TKTopAlgo/BRepCheck/BRepCheck_Wire.cxx b/src/ModelingAlgorithms/TKTopAlgo/BRepCheck/BRepCheck_Wire.cxx index f569d74fb3..60a4ec2297 100644 --- a/src/ModelingAlgorithms/TKTopAlgo/BRepCheck/BRepCheck_Wire.cxx +++ b/src/ModelingAlgorithms/TKTopAlgo/BRepCheck/BRepCheck_Wire.cxx @@ -534,10 +534,8 @@ static Standard_Boolean IsDistanceIn2DTolerance( return Standard_False; } -//======================================================================= -// function : Closed2d -// purpose : for periodic faces -//======================================================================= +//================================================================================================= + BRepCheck_Status BRepCheck_Wire::Closed2d(const TopoDS_Face& theFace, const Standard_Boolean Update) { Handle(BRepCheck_HListOfStatus) aHList; diff --git a/src/ModelingAlgorithms/TKTopAlgo/BRepExtrema/BRepExtrema_TriangleSet.cxx b/src/ModelingAlgorithms/TKTopAlgo/BRepExtrema/BRepExtrema_TriangleSet.cxx index 06d998fdbe..942a8182fd 100644 --- a/src/ModelingAlgorithms/TKTopAlgo/BRepExtrema/BRepExtrema_TriangleSet.cxx +++ b/src/ModelingAlgorithms/TKTopAlgo/BRepExtrema/BRepExtrema_TriangleSet.cxx @@ -323,10 +323,8 @@ Standard_Boolean BRepExtrema_TriangleSet::initEdge(const TopoDS_Edge& theEdg return Standard_True; } -//======================================================================= -// function : initNodes -// purpose : Initializes nodes -//======================================================================= +//================================================================================================= + void BRepExtrema_TriangleSet::initNodes(const TColgp_Array1OfPnt& theNodes, const gp_Trsf& theTrsf, const Standard_Integer theIndex) diff --git a/src/ModelingAlgorithms/TKTopAlgo/BRepGProp/BRepGProp_Gauss.cxx b/src/ModelingAlgorithms/TKTopAlgo/BRepGProp/BRepGProp_Gauss.cxx index 16bf17c51d..0989fff997 100644 --- a/src/ModelingAlgorithms/TKTopAlgo/BRepGProp/BRepGProp_Gauss.cxx +++ b/src/ModelingAlgorithms/TKTopAlgo/BRepGProp/BRepGProp_Gauss.cxx @@ -137,10 +137,8 @@ BRepGProp_Gauss::Inertia::Inertia() { } -//======================================================================= -// function : Inertia::Reset -// purpose : Zeroes all values. -//======================================================================= +//================================================================================================= + void BRepGProp_Gauss::Inertia::Reset() { memset(reinterpret_cast(this), 0, sizeof(BRepGProp_Gauss::Inertia)); diff --git a/src/ModelingAlgorithms/TKTopAlgo/BRepMAT2d/BRepMAT2d_BisectingLocus.cxx b/src/ModelingAlgorithms/TKTopAlgo/BRepMAT2d/BRepMAT2d_BisectingLocus.cxx index cf6138d829..9bfb8963cd 100644 --- a/src/ModelingAlgorithms/TKTopAlgo/BRepMAT2d/BRepMAT2d_BisectingLocus.cxx +++ b/src/ModelingAlgorithms/TKTopAlgo/BRepMAT2d/BRepMAT2d_BisectingLocus.cxx @@ -38,10 +38,8 @@ static void CutSketch(MAT2d_SequenceOfSequenceOfGeometry& Figure, MAT2d_DataMapOfBiIntInteger& NbSect); -//============================================================================= -// function : BRepMAT2d_BisectingLocus -// purpose : Constructeur vide. -//============================================================================= +//================================================================================================= + BRepMAT2d_BisectingLocus::BRepMAT2d_BisectingLocus() : isDone(Standard_False), nbContours(0) diff --git a/src/ModelingAlgorithms/TKTopAlgo/BRepMAT2d/BRepMAT2d_Explorer.cxx b/src/ModelingAlgorithms/TKTopAlgo/BRepMAT2d/BRepMAT2d_Explorer.cxx index 3532542bcb..25a1a3863c 100644 --- a/src/ModelingAlgorithms/TKTopAlgo/BRepMAT2d/BRepMAT2d_Explorer.cxx +++ b/src/ModelingAlgorithms/TKTopAlgo/BRepMAT2d/BRepMAT2d_Explorer.cxx @@ -491,10 +491,7 @@ TopoDS_Edge MakeEdge(const Handle(Geom2d_Curve)& theCurve, // Modified by Sergey KHROMOV - Wed Mar 6 17:40:14 2002 End // -//======================================================================= -// function : GetCurveType -// purpose : Get curve type. -//======================================================================= +//================================================================================================= GeomAbs_CurveType GetCurveType(const Handle(Geom2d_Curve)& theC2d) { diff --git a/src/ModelingAlgorithms/TKTopAlgo/Bisector/Bisector_FunctionInter.cxx b/src/ModelingAlgorithms/TKTopAlgo/Bisector/Bisector_FunctionInter.cxx index 3c569f306a..049cf433bb 100644 --- a/src/ModelingAlgorithms/TKTopAlgo/Bisector/Bisector_FunctionInter.cxx +++ b/src/ModelingAlgorithms/TKTopAlgo/Bisector/Bisector_FunctionInter.cxx @@ -50,10 +50,8 @@ void Bisector_FunctionInter::Perform(const Handle(Geom2d_Curve)& C, bisector2 = B2; } -//============================================================================= -// function : Value -// purpose : -///============================================================================= +//================================================================================================= + Standard_Boolean Bisector_FunctionInter::Value(const Standard_Real X, Standard_Real& F) { gp_Pnt2d PC = curve->Value(X); diff --git a/src/ModelingData/TKG2d/Geom2d/Geom2d_BSplineCurve.cxx b/src/ModelingData/TKG2d/Geom2d/Geom2d_BSplineCurve.cxx index 1d6d4aabe3..8953a6b4b3 100644 --- a/src/ModelingData/TKG2d/Geom2d/Geom2d_BSplineCurve.cxx +++ b/src/ModelingData/TKG2d/Geom2d/Geom2d_BSplineCurve.cxx @@ -45,10 +45,8 @@ IMPLEMENT_STANDARD_RTTIEXT(Geom2d_BSplineCurve, Geom2d_BoundedCurve) -//======================================================================= -// function : CheckCurveData -// purpose : Internal use only -//======================================================================= +//================================================================================================= + static void CheckCurveData(const TColgp_Array1OfPnt2d& CPoles, const TColStd_Array1OfReal& CKnots, const TColStd_Array1OfInteger& CMults, diff --git a/src/ModelingData/TKG2d/Geom2d/Geom2d_BezierCurve.cxx b/src/ModelingData/TKG2d/Geom2d/Geom2d_BezierCurve.cxx index 15b5283d96..7f9ab22120 100644 --- a/src/ModelingData/TKG2d/Geom2d/Geom2d_BezierCurve.cxx +++ b/src/ModelingData/TKG2d/Geom2d/Geom2d_BezierCurve.cxx @@ -117,10 +117,7 @@ Geom2d_BezierCurve::Geom2d_BezierCurve(const TColgp_Array1OfPnt2d& Poles, Init(npoles, nweights); } -//======================================================================= -// function : Increase -// purpose : increase degree -//======================================================================= +//================================================================================================= void Geom2d_BezierCurve::Increase(const Standard_Integer Deg) { diff --git a/src/ModelingData/TKG3d/Adaptor3d/Adaptor3d_CurveOnSurface.cxx b/src/ModelingData/TKG3d/Adaptor3d/Adaptor3d_CurveOnSurface.cxx index e564642163..75309b5a26 100644 --- a/src/ModelingData/TKG3d/Adaptor3d/Adaptor3d_CurveOnSurface.cxx +++ b/src/ModelingData/TKG3d/Adaptor3d/Adaptor3d_CurveOnSurface.cxx @@ -1814,10 +1814,7 @@ void Adaptor3d_CurveOnSurface::EvalFirstLastSurf() } } -//======================================================================= -// function :LocatePart_RevExt -// purpose : processes Knots -//======================================================================= +//================================================================================================= Standard_Boolean Adaptor3d_CurveOnSurface::LocatePart_RevExt(const gp_Pnt2d& UV, const gp_Vec2d& DUV, @@ -1885,10 +1882,7 @@ Standard_Boolean Adaptor3d_CurveOnSurface::LocatePart_Offset(const gp_Pnt2d& return Ok; } -//======================================================================= -// function :LocatePart -// purpose : for BSplineSurface -//======================================================================= +//================================================================================================= void Adaptor3d_CurveOnSurface::LocatePart(const gp_Pnt2d& UV, const gp_Vec2d& DUV, diff --git a/src/ModelingData/TKG3d/Geom/Geom_BSplineCurve.cxx b/src/ModelingData/TKG3d/Geom/Geom_BSplineCurve.cxx index eb6d5c5de0..6c7a86c93e 100644 --- a/src/ModelingData/TKG3d/Geom/Geom_BSplineCurve.cxx +++ b/src/ModelingData/TKG3d/Geom/Geom_BSplineCurve.cxx @@ -48,10 +48,8 @@ IMPLEMENT_STANDARD_RTTIEXT(Geom_BSplineCurve, Geom_BoundedCurve) -//======================================================================= -// function : CheckCurveData -// purpose : Internal use only -//======================================================================= +//================================================================================================= + static void CheckCurveData(const TColgp_Array1OfPnt& CPoles, const TColStd_Array1OfReal& CKnots, const TColStd_Array1OfInteger& CMults, diff --git a/src/ModelingData/TKG3d/Geom/Geom_BSplineSurface.cxx b/src/ModelingData/TKG3d/Geom/Geom_BSplineSurface.cxx index f820043b0a..eb280375dc 100644 --- a/src/ModelingData/TKG3d/Geom/Geom_BSplineSurface.cxx +++ b/src/ModelingData/TKG3d/Geom/Geom_BSplineSurface.cxx @@ -39,10 +39,8 @@ IMPLEMENT_STANDARD_RTTIEXT(Geom_BSplineSurface, Geom_BoundedSurface) -//======================================================================= -// function : CheckSurfaceData -// purpose : Internal use only. -//======================================================================= +//================================================================================================= + static void CheckSurfaceData(const TColgp_Array2OfPnt& SPoles, const TColStd_Array1OfReal& SUKnots, const TColStd_Array1OfReal& SVKnots, @@ -92,10 +90,7 @@ static void CheckSurfaceData(const TColgp_Array2OfPnt& SPoles, throw Standard_ConstructionError("Geom_BSplineSurface: # V Poles and degree mismatch"); } -//======================================================================= -// function : Rational -// purpose : Internal use only. -//======================================================================= +//================================================================================================= static void Rational(const TColStd_Array2OfReal& Weights, Standard_Boolean& Urational, diff --git a/src/ModelingData/TKG3d/Geom/Geom_BezierCurve.cxx b/src/ModelingData/TKG3d/Geom/Geom_BezierCurve.cxx index 083b2c3f98..fd8b7eddb6 100644 --- a/src/ModelingData/TKG3d/Geom/Geom_BezierCurve.cxx +++ b/src/ModelingData/TKG3d/Geom/Geom_BezierCurve.cxx @@ -120,10 +120,7 @@ Geom_BezierCurve::Geom_BezierCurve(const TColgp_Array1OfPnt& Poles, Init(npoles, nweights); } -//======================================================================= -// function : Increase -// purpose : increase degree -//======================================================================= +//================================================================================================= void Geom_BezierCurve::Increase(const Standard_Integer Deg) { diff --git a/src/ModelingData/TKG3d/Geom/Geom_BezierSurface.cxx b/src/ModelingData/TKG3d/Geom/Geom_BezierSurface.cxx index 97198b11aa..9aa80513ed 100644 --- a/src/ModelingData/TKG3d/Geom/Geom_BezierSurface.cxx +++ b/src/ModelingData/TKG3d/Geom/Geom_BezierSurface.cxx @@ -83,10 +83,7 @@ static void Rational(const TColStd_Array2OfReal& Weights, } } -//======================================================================= -// function : AddPoleCol -// purpose : Internal use only. -//======================================================================= +//================================================================================================= static void AddPoleCol(const TColgp_Array2OfPnt& Poles, const TColgp_Array1OfPnt& PoleCol, @@ -126,10 +123,7 @@ static void AddPoleCol(const TColgp_Array2OfPnt& Poles, } } -//======================================================================= -// function : AddRatPoleCol -// purpose : Internal use only. -//======================================================================= +//================================================================================================= static void AddRatPoleCol(const TColgp_Array2OfPnt& Poles, const TColStd_Array2OfReal& Weights, @@ -177,10 +171,7 @@ static void AddRatPoleCol(const TColgp_Array2OfPnt& Poles, } } -//======================================================================= -// function : AddPoleRow -// purpose : Internal use only. -//======================================================================= +//================================================================================================= static void AddPoleRow(const TColgp_Array2OfPnt& Poles, const TColgp_Array1OfPnt& PoleRow, diff --git a/src/ModelingData/TKGeomBase/CPnts/CPnts_AbscissaPoint.cxx b/src/ModelingData/TKGeomBase/CPnts/CPnts_AbscissaPoint.cxx index d4f275cc73..36f14bf74b 100644 --- a/src/ModelingData/TKGeomBase/CPnts/CPnts_AbscissaPoint.cxx +++ b/src/ModelingData/TKGeomBase/CPnts/CPnts_AbscissaPoint.cxx @@ -112,30 +112,21 @@ Standard_Real CPnts_AbscissaPoint::Length(const Adaptor2d_Curve2d& C) return CPnts_AbscissaPoint::Length(C, C.FirstParameter(), C.LastParameter()); } -//======================================================================= -// function : Length -// purpose : 3d with tolerance -//======================================================================= +//================================================================================================= Standard_Real CPnts_AbscissaPoint::Length(const Adaptor3d_Curve& C, const Standard_Real Tol) { return CPnts_AbscissaPoint::Length(C, C.FirstParameter(), C.LastParameter(), Tol); } -//======================================================================= -// function : Length -// purpose : 2d with tolerance -//======================================================================= +//================================================================================================= Standard_Real CPnts_AbscissaPoint::Length(const Adaptor2d_Curve2d& C, const Standard_Real Tol) { return CPnts_AbscissaPoint::Length(C, C.FirstParameter(), C.LastParameter(), Tol); } -//======================================================================= -// function : Length -// purpose : 3d with parameters -//======================================================================= +//================================================================================================= Standard_Real CPnts_AbscissaPoint::Length(const Adaptor3d_Curve& C, const Standard_Real U1, @@ -154,10 +145,7 @@ Standard_Real CPnts_AbscissaPoint::Length(const Adaptor3d_Curve& C, return Abs(TheLength.Value()); } -//======================================================================= -// function : Length -// purpose : 2d with parameters -//======================================================================= +//================================================================================================= Standard_Real CPnts_AbscissaPoint::Length(const Adaptor2d_Curve2d& C, const Standard_Real U1, diff --git a/src/ModelingData/TKGeomBase/Extrema/Extrema_ExtElCS.cxx b/src/ModelingData/TKGeomBase/Extrema/Extrema_ExtElCS.cxx index 4b7b3ed905..5a657c5150 100644 --- a/src/ModelingData/TKGeomBase/Extrema/Extrema_ExtElCS.cxx +++ b/src/ModelingData/TKGeomBase/Extrema/Extrema_ExtElCS.cxx @@ -556,19 +556,15 @@ void Extrema_ExtElCS::Perform(const gp_Circ&, const gp_Cone&) throw Standard_NotImplemented(); } -//======================================================================= -// function : Extrema_ExtElCS -// purpose : Circle/Sphere -//======================================================================= +//================================================================================================= + Extrema_ExtElCS::Extrema_ExtElCS(const gp_Circ& C, const gp_Sphere& S) { Perform(C, S); } -//======================================================================= -// function : Perform -// purpose : Circle/Sphere -//======================================================================= +//================================================================================================= + void Extrema_ExtElCS::Perform(const gp_Circ& C, const gp_Sphere& S) { myDone = Standard_False; diff --git a/src/ModelingData/TKGeomBase/GeomConvert/GeomConvert_Units.cxx b/src/ModelingData/TKGeomBase/GeomConvert/GeomConvert_Units.cxx index 3af783c6e5..55d9be55d6 100644 --- a/src/ModelingData/TKGeomBase/GeomConvert/GeomConvert_Units.cxx +++ b/src/ModelingData/TKGeomBase/GeomConvert/GeomConvert_Units.cxx @@ -33,10 +33,8 @@ #include #include -// ============================================================================ -// Method : RadianToDegree -// Purpose: -// ============================================================================ +//================================================================================================= + Handle(Geom2d_Curve) GeomConvert_Units::RadianToDegree(const Handle(Geom2d_Curve)& theCurve2d, const Handle(Geom_Surface)& theSurf, const Standard_Real theLengthFactor, @@ -302,10 +300,8 @@ Handle(Geom2d_Curve) GeomConvert_Units::DegreeToRadian(const Handle(Geom2d_Curve return aPcurve; } -// ============================================================================ -// Method : MirrorPCurve -// Purpose: -// ============================================================================ +//================================================================================================= + Handle(Geom2d_Curve) GeomConvert_Units::MirrorPCurve(const Handle(Geom2d_Curve)& theCurve) { Handle(Geom2d_Curve) theMirrored = Handle(Geom2d_Curve)::DownCast(theCurve->Copy()); diff --git a/src/ModelingData/TKGeomBase/IntAna/IntAna_QuadQuadGeo.cxx b/src/ModelingData/TKGeomBase/IntAna/IntAna_QuadQuadGeo.cxx index 224a187a17..0cb45ca667 100644 --- a/src/ModelingData/TKGeomBase/IntAna/IntAna_QuadQuadGeo.cxx +++ b/src/ModelingData/TKGeomBase/IntAna/IntAna_QuadQuadGeo.cxx @@ -321,10 +321,8 @@ Standard_Real EstimDist(const gp_Cone& theCon1, const gp_Cone& theCon2) return aDist; } -//======================================================================= -// function : IntAna_QuadQuadGeo -// purpose : Empty constructor -//======================================================================= +//================================================================================================= + IntAna_QuadQuadGeo::IntAna_QuadQuadGeo(void) : done(Standard_False), nbint(0), @@ -2691,10 +2689,8 @@ void IntAna_QuadQuadGeo::Perform(const gp_Torus& Tor1, } } -//======================================================================= -// function : Point -// purpose : Returns a Point -//======================================================================= +//================================================================================================= + gp_Pnt IntAna_QuadQuadGeo::Point(const Standard_Integer n) const { if (!done) @@ -2726,10 +2722,8 @@ gp_Pnt IntAna_QuadQuadGeo::Point(const Standard_Integer n) const return gp_Pnt(0, 0, 0); } -//======================================================================= -// function : Line -// purpose : Returns a Line -//======================================================================= +//================================================================================================= + gp_Lin IntAna_QuadQuadGeo::Line(const Standard_Integer n) const { if (!done) @@ -2750,10 +2744,8 @@ gp_Lin IntAna_QuadQuadGeo::Line(const Standard_Integer n) const } } -//======================================================================= -// function : Circle -// purpose : Returns a Circle -//======================================================================= +//================================================================================================= + gp_Circ IntAna_QuadQuadGeo::Circle(const Standard_Integer n) const { if (!done) @@ -2792,10 +2784,8 @@ gp_Circ IntAna_QuadQuadGeo::Circle(const Standard_Integer n) const } } -//======================================================================= -// function : Ellipse -// purpose : Returns a Elips -//======================================================================= +//================================================================================================= + gp_Elips IntAna_QuadQuadGeo::Ellipse(const Standard_Integer n) const { if (!done) @@ -2835,10 +2825,8 @@ gp_Elips IntAna_QuadQuadGeo::Ellipse(const Standard_Integer n) const } } -//======================================================================= -// function : Parabola -// purpose : Returns a Parabola -//======================================================================= +//================================================================================================= + gp_Parab IntAna_QuadQuadGeo::Parabola(const Standard_Integer n) const { if (!done) diff --git a/src/Visualization/TKIVtk/IVtkOCC/IVtkOCC_SelectableObject.cxx b/src/Visualization/TKIVtk/IVtkOCC/IVtkOCC_SelectableObject.cxx index 7a89aba8d0..4b5b39810a 100644 --- a/src/Visualization/TKIVtk/IVtkOCC/IVtkOCC_SelectableObject.cxx +++ b/src/Visualization/TKIVtk/IVtkOCC/IVtkOCC_SelectableObject.cxx @@ -28,10 +28,8 @@ IMPLEMENT_STANDARD_RTTIEXT(IVtkOCC_SelectableObject, SelectMgr_SelectableObject) -//============================================================================ -// Method: Constructor -// Purpose: -//============================================================================ +//================================================================================================= + IVtkOCC_SelectableObject::IVtkOCC_SelectableObject(const IVtkOCC_Shape::Handle& theShape) : SelectMgr_SelectableObject(PrsMgr_TOP_AllView), myShape(theShape) @@ -42,29 +40,23 @@ IVtkOCC_SelectableObject::IVtkOCC_SelectableObject(const IVtkOCC_Shape::Handle& } } -//============================================================================ -// Method: Constructor -// Purpose: -//============================================================================ +//================================================================================================= + IVtkOCC_SelectableObject::IVtkOCC_SelectableObject() : SelectMgr_SelectableObject(PrsMgr_TOP_AllView) { // } -//============================================================================ -// Method: Destructor -// Purpose: -//============================================================================ +//================================================================================================= + IVtkOCC_SelectableObject::~IVtkOCC_SelectableObject() { // } -//============================================================================ -// Method: SetShape -// Purpose: -//============================================================================ +//================================================================================================= + void IVtkOCC_SelectableObject::SetShape(const IVtkOCC_Shape::Handle& theShape) { myShape = theShape; @@ -78,10 +70,8 @@ void IVtkOCC_SelectableObject::SetShape(const IVtkOCC_Shape::Handle& theShape) myselections.Clear(); } -//============================================================================ -// Method: ComputeSelection -// Purpose: -//============================================================================ +//================================================================================================= + void IVtkOCC_SelectableObject::ComputeSelection(const Handle(SelectMgr_Selection)& theSelection, const Standard_Integer theMode) { @@ -126,10 +116,8 @@ void IVtkOCC_SelectableObject::ComputeSelection(const Handle(SelectMgr_Selection } } -//============================================================================ -// Method: BoundingBox -// Purpose: -//============================================================================ +//================================================================================================= + const Bnd_Box& IVtkOCC_SelectableObject::BoundingBox() { if (myShape.IsNull()) @@ -154,10 +142,8 @@ const Bnd_Box& IVtkOCC_SelectableObject::BoundingBox() return myBndBox; } -//============================================================================ -// Method: BoundingBox -// Purpose: -//============================================================================ +//================================================================================================= + void IVtkOCC_SelectableObject::BoundingBox(Bnd_Box& theBndBox) { BoundingBox(); diff --git a/src/Visualization/TKIVtk/IVtkOCC/IVtkOCC_Shape.cxx b/src/Visualization/TKIVtk/IVtkOCC/IVtkOCC_Shape.cxx index 1d564fa48d..ebe6482e0a 100644 --- a/src/Visualization/TKIVtk/IVtkOCC/IVtkOCC_Shape.cxx +++ b/src/Visualization/TKIVtk/IVtkOCC/IVtkOCC_Shape.cxx @@ -19,10 +19,8 @@ IMPLEMENT_STANDARD_RTTIEXT(IVtkOCC_Shape, IVtk_IShape) -//============================================================================ -// Method: Constructor -// Purpose: -//============================================================================ +//================================================================================================= + IVtkOCC_Shape::IVtkOCC_Shape(const TopoDS_Shape& theShape, const Handle(Prs3d_Drawer)& theDrawerLink) : myTopoDSShape(theShape), @@ -41,16 +39,12 @@ IVtkOCC_Shape::IVtkOCC_Shape(const TopoDS_Shape& theShape, buildSubShapeIdMap(); } -//============================================================================ -// Method: Destructor -// Purpose: -//============================================================================ +//================================================================================================= + IVtkOCC_Shape::~IVtkOCC_Shape() {} -//============================================================================ -// Method: GetSubShapeId -// Purpose: -//============================================================================ +//================================================================================================= + IVtk_IdType IVtkOCC_Shape::GetSubShapeId(const TopoDS_Shape& theSubShape) const { Standard_Integer anIndex = @@ -62,10 +56,8 @@ IVtk_IdType IVtkOCC_Shape::GetSubShapeId(const TopoDS_Shape& theSubShape) const return (IVtk_IdType)anIndex; } -//============================================================================ -// Method: getSubIds -// Purpose: -//============================================================================ +//================================================================================================= + IVtk_ShapeIdList IVtkOCC_Shape::GetSubIds(const IVtk_IdType theId) const { IVtk_ShapeIdList aRes; @@ -106,10 +98,8 @@ IVtk_ShapeIdList IVtkOCC_Shape::GetSubIds(const IVtk_IdType theId) const return aRes; } -//============================================================================ -// Method: GetSubShape -// Purpose: -//============================================================================ +//================================================================================================= + const TopoDS_Shape& IVtkOCC_Shape::GetSubShape(const IVtk_IdType theId) const { return mySubShapeIds.FindKey((Standard_Integer)theId); diff --git a/src/Visualization/TKIVtk/IVtkOCC/IVtkOCC_ViewerSelector.cxx b/src/Visualization/TKIVtk/IVtkOCC/IVtkOCC_ViewerSelector.cxx index 6ffa51dc81..511ac40377 100644 --- a/src/Visualization/TKIVtk/IVtkOCC/IVtkOCC_ViewerSelector.cxx +++ b/src/Visualization/TKIVtk/IVtkOCC/IVtkOCC_ViewerSelector.cxx @@ -21,10 +21,8 @@ IMPLEMENT_STANDARD_RTTIEXT(IVtkOCC_ViewerSelector, SelectMgr_ViewerSelector) -//============================================================================ -// Method: Constructor -// Purpose: -//============================================================================ +//================================================================================================= + IVtkOCC_ViewerSelector::IVtkOCC_ViewerSelector() : SelectMgr_ViewerSelector(), myPixTol(2), @@ -32,16 +30,12 @@ IVtkOCC_ViewerSelector::IVtkOCC_ViewerSelector() { } -//============================================================================ -// Method: Destructor -// Purpose: -//============================================================================ +//================================================================================================= + IVtkOCC_ViewerSelector::~IVtkOCC_ViewerSelector() {} -//============================================================================ -// Method: ConvertVtkToOccCamera -// Purpose: -//============================================================================ +//================================================================================================= + Handle(Graphic3d_Camera) IVtkOCC_ViewerSelector::ConvertVtkToOccCamera( const IVtk_IView::Handle& theView) { @@ -163,10 +157,8 @@ void IVtkOCC_ViewerSelector::Pick(const Standard_Integer theXMin, TraverseSensitives(-1); } -//============================================================================ -// Method: Pick -// Purpose: -//============================================================================ +//================================================================================================= + void IVtkOCC_ViewerSelector::Pick(double** thePoly, const int theNbPoints, const IVtk_IView::Handle& theView) diff --git a/src/Visualization/TKIVtk/IVtkTools/IVtkTools_DisplayModeFilter.cxx b/src/Visualization/TKIVtk/IVtkTools/IVtkTools_DisplayModeFilter.cxx index b223f63efe..e3bd44d68f 100644 --- a/src/Visualization/TKIVtk/IVtkTools/IVtkTools_DisplayModeFilter.cxx +++ b/src/Visualization/TKIVtk/IVtkTools/IVtkTools_DisplayModeFilter.cxx @@ -61,10 +61,8 @@ vtkStandardNewMacro(IVtkTools_DisplayModeFilter) myModesDefinition[DM_Shading] = aTypes; } -//============================================================================ -// Method: Destructor -// Purpose: -//============================================================================ +//================================================================================================= + IVtkTools_DisplayModeFilter::~IVtkTools_DisplayModeFilter() {} //============================================================================ @@ -81,10 +79,8 @@ int IVtkTools_DisplayModeFilter::RequestData(vtkInformation* theRequest, return Superclass::RequestData(theRequest, theInputVector, theOutputVector); } -//============================================================================ -// Method: PrintSelf -// Purpose: -//============================================================================ +//================================================================================================= + void IVtkTools_DisplayModeFilter::PrintSelf(std::ostream& theOs, vtkIndent theIndent) { this->Superclass::PrintSelf(theOs, theIndent); @@ -99,10 +95,8 @@ void IVtkTools_DisplayModeFilter::PrintSelf(std::ostream& theOs, vtkIndent theIn } } -//============================================================================ -// Method: SetDisplaySharedVertices -// Purpose: -//============================================================================ +//================================================================================================= + void IVtkTools_DisplayModeFilter::SetDisplaySharedVertices(const bool theDoDisplay) { if (myDoDisplaySharedVertices != theDoDisplay) @@ -126,10 +120,8 @@ void IVtkTools_DisplayModeFilter::SetDisplaySharedVertices(const bool theDoDispl } } -//============================================================================ -// Method: SetDisplayMode -// Purpose: -//============================================================================ +//================================================================================================= + void IVtkTools_DisplayModeFilter::SetDisplayMode(const IVtk_DisplayMode theMode) { if (myDisplayMode != theMode) @@ -139,28 +131,22 @@ void IVtkTools_DisplayModeFilter::SetDisplayMode(const IVtk_DisplayMode theMode) } } -//============================================================================ -// Method: GetDisplayMode -// Purpose: -//============================================================================ +//================================================================================================= + IVtk_DisplayMode IVtkTools_DisplayModeFilter::GetDisplayMode() const { return myDisplayMode; } -//============================================================================ -// Method: meshTypesForMode -// Purpose: -//============================================================================ +//================================================================================================= + const IVtk_IdTypeMap& IVtkTools_DisplayModeFilter::MeshTypesForMode(IVtk_DisplayMode theMode) const { return myModesDefinition[theMode]; } -//============================================================================ -// Method: setMeshTypesForMode -// Purpose: -//============================================================================ +//================================================================================================= + void IVtkTools_DisplayModeFilter::SetMeshTypesForMode(IVtk_DisplayMode theMode, const IVtk_IdTypeMap& theMeshTypes) { @@ -168,10 +154,8 @@ void IVtkTools_DisplayModeFilter::SetMeshTypesForMode(IVtk_DisplayMode theM Modified(); } -//============================================================================ -// Method: SetFaceBoundaryDraw -// Purpose: -//============================================================================ +//================================================================================================= + void IVtkTools_DisplayModeFilter::SetFaceBoundaryDraw(bool theToDraw) { myDrawFaceBoundaries = theToDraw; @@ -188,10 +172,8 @@ void IVtkTools_DisplayModeFilter::SetFaceBoundaryDraw(bool theToDraw) Modified(); } -//============================================================================ -// Method: SetSmoothShading -// Purpose: -//============================================================================ +//================================================================================================= + void IVtkTools_DisplayModeFilter::SetSmoothShading(bool theIsSmooth) { if (myIsSmoothShading != theIsSmooth) diff --git a/src/Visualization/TKIVtk/IVtkTools/IVtkTools_ShapeObject.cxx b/src/Visualization/TKIVtk/IVtkTools/IVtkTools_ShapeObject.cxx index 6f7512af10..3e19865cab 100644 --- a/src/Visualization/TKIVtk/IVtkTools/IVtkTools_ShapeObject.cxx +++ b/src/Visualization/TKIVtk/IVtkTools/IVtkTools_ShapeObject.cxx @@ -143,19 +143,15 @@ vtkStandardNewMacro(IVtkTools_ShapeObject) //============================================================================ IVtkTools_ShapeObject::~IVtkTools_ShapeObject() {} -//============================================================================ -// Method: SetShapeSource -// Purpose: -//============================================================================ +//================================================================================================= + void IVtkTools_ShapeObject::SetShapeSource(IVtkTools_ShapeDataSource* theDataSource) { myShapeSource = theDataSource; } -//============================================================================ -// Method: GetShapeSource -// Purpose: -//============================================================================ +//================================================================================================= + IVtkTools_ShapeDataSource* IVtkTools_ShapeObject::GetShapeSource() const { return myShapeSource; diff --git a/src/Visualization/TKOpenGl/OpenGl/OpenGl_BackgroundArray.cxx b/src/Visualization/TKOpenGl/OpenGl/OpenGl_BackgroundArray.cxx index 3e9c495976..79c932b728 100644 --- a/src/Visualization/TKOpenGl/OpenGl/OpenGl_BackgroundArray.cxx +++ b/src/Visualization/TKOpenGl/OpenGl/OpenGl_BackgroundArray.cxx @@ -19,10 +19,8 @@ #include #include -// ======================================================================= -// method : Constructor -// purpose : -// ======================================================================= +//================================================================================================= + OpenGl_BackgroundArray::OpenGl_BackgroundArray(const Graphic3d_TypeOfBackground theType) : OpenGl_PrimitiveArray(NULL, Graphic3d_TOPA_TRIANGLES, NULL, NULL, NULL), myType(theType), @@ -39,10 +37,8 @@ OpenGl_BackgroundArray::OpenGl_BackgroundArray(const Graphic3d_TypeOfBackground myGradientParams.type = Aspect_GradientFillMethod_None; } -// ======================================================================= -// method : SetTextureParameters -// purpose : -// ======================================================================= +//================================================================================================= + void OpenGl_BackgroundArray::SetTextureParameters(const Aspect_FillMethod theFillMethod) { if (myType != Graphic3d_TOB_TEXTURE) @@ -54,20 +50,16 @@ void OpenGl_BackgroundArray::SetTextureParameters(const Aspect_FillMethod theFil invalidateData(); } -// ======================================================================= -// method : SetTextureFillMethod -// purpose : -// ======================================================================= +//================================================================================================= + void OpenGl_BackgroundArray::SetTextureFillMethod(const Aspect_FillMethod theFillMethod) { myFillMethod = theFillMethod; invalidateData(); } -// ======================================================================= -// method : SetGradientParameters -// purpose : -// ======================================================================= +//================================================================================================= + void OpenGl_BackgroundArray::SetGradientParameters(const Quantity_Color& theColor1, const Quantity_Color& theColor2, const Aspect_GradientFillMethod theType) @@ -88,10 +80,8 @@ void OpenGl_BackgroundArray::SetGradientParameters(const Quantity_Color& invalidateData(); } -// ======================================================================= -// method : SetGradientFillMethod -// purpose : -// ======================================================================= +//================================================================================================= + void OpenGl_BackgroundArray::SetGradientFillMethod(const Aspect_GradientFillMethod theType) { if (myType != Graphic3d_TOB_GRADIENT) @@ -103,10 +93,8 @@ void OpenGl_BackgroundArray::SetGradientFillMethod(const Aspect_GradientFillMeth invalidateData(); } -// ======================================================================= -// method : IsDefined -// purpose : -// ======================================================================= +//================================================================================================= + bool OpenGl_BackgroundArray::IsDefined() const { switch (myType) @@ -123,19 +111,15 @@ bool OpenGl_BackgroundArray::IsDefined() const return Standard_False; } -// ======================================================================= -// method : invalidateData -// purpose : -// ======================================================================= +//================================================================================================= + void OpenGl_BackgroundArray::invalidateData() { myToUpdate = Standard_True; } -// ======================================================================= -// method : init -// purpose : -// ======================================================================= +//================================================================================================= + Standard_Boolean OpenGl_BackgroundArray::init(const Handle(OpenGl_Workspace)& theWorkspace) const { const Handle(OpenGl_Context)& aCtx = theWorkspace->GetGlContext(); @@ -191,10 +175,8 @@ Standard_Boolean OpenGl_BackgroundArray::init(const Handle(OpenGl_Workspace)& th return Standard_True; } -// ======================================================================= -// method : createGradientArray -// purpose : -// ======================================================================= +//================================================================================================= + Standard_Boolean OpenGl_BackgroundArray::createGradientArray( const Handle(OpenGl_Context)& theCtx) const { @@ -358,10 +340,8 @@ Standard_Boolean OpenGl_BackgroundArray::createGradientArray( return Standard_True; } -// ======================================================================= -// method : createTextureArray -// purpose : -// ======================================================================= +//================================================================================================= + Standard_Boolean OpenGl_BackgroundArray::createTextureArray( const Handle(OpenGl_Workspace)& theWorkspace) const { @@ -434,10 +414,8 @@ Standard_Boolean OpenGl_BackgroundArray::createTextureArray( return Standard_True; } -// ======================================================================= -// method : createCubeMapArray -// purpose : -// ======================================================================= +//================================================================================================= + Standard_Boolean OpenGl_BackgroundArray::createCubeMapArray() const { const Graphic3d_Attribute aCubeMapAttribInfo[] = {{Graphic3d_TOA_POS, Graphic3d_TOD_VEC3}}; @@ -481,10 +459,8 @@ Standard_Boolean OpenGl_BackgroundArray::createCubeMapArray() const return Standard_True; } -// ======================================================================= -// method : Render -// purpose : -// ======================================================================= +//================================================================================================= + void OpenGl_BackgroundArray::Render(const Handle(OpenGl_Workspace)& theWorkspace, Graphic3d_Camera::Projection theProjection) const { diff --git a/src/Visualization/TKOpenGl/OpenGl/OpenGl_GraduatedTrihedron.cxx b/src/Visualization/TKOpenGl/OpenGl/OpenGl_GraduatedTrihedron.cxx index 8483aa3741..c37d765364 100755 --- a/src/Visualization/TKOpenGl/OpenGl/OpenGl_GraduatedTrihedron.cxx +++ b/src/Visualization/TKOpenGl/OpenGl/OpenGl_GraduatedTrihedron.cxx @@ -166,10 +166,8 @@ Standard_ShortReal OpenGl_GraduatedTrihedron::getNormal(const Handle(OpenGl_Cont return aD2.Modulus() / (float)aViewport[2]; } -// ======================================================================= -// method : getDistancetoCorner -// purpose : -// ======================================================================= +//================================================================================================= + Standard_ShortReal OpenGl_GraduatedTrihedron::getDistanceToCorner( const OpenGl_Vec3& theNormal, const OpenGl_Vec3& theCenter, @@ -181,10 +179,8 @@ Standard_ShortReal OpenGl_GraduatedTrihedron::getDistanceToCorner( + theNormal.z() * (theZ - theCenter.z()); } -// ======================================================================= -// method : getGridAxes -// purpose : -// ======================================================================= +//================================================================================================= + Standard_ExtCharacter OpenGl_GraduatedTrihedron::getGridAxes(const Standard_ShortReal theCorners[8], GridAxes& theGridAxes) const { @@ -701,20 +697,16 @@ void OpenGl_GraduatedTrihedron::Render(const Handle(OpenGl_Workspace)& theWorksp aContext->ApplyWorldViewMatrix(); } -// ======================================================================= -// method : SetMinMax -// purpose : -// ======================================================================= +//================================================================================================= + void OpenGl_GraduatedTrihedron::SetMinMax(const OpenGl_Vec3& theMin, const OpenGl_Vec3& theMax) { myMin = theMin; myMax = theMax; } -// ======================================================================= -// method : OpenGl_GraduatedTrihedron::Axis constructor -// purpose : -// ======================================================================= +//================================================================================================= + OpenGl_GraduatedTrihedron::Axis::Axis(const Graphic3d_GraduatedTrihedron::AxisAspect& theAspect, const OpenGl_Vec3& theDirection) : Direction(theDirection), @@ -770,10 +762,8 @@ OpenGl_GraduatedTrihedron::Axis& OpenGl_GraduatedTrihedron::Axis::operator=(cons return *this; } -// ======================================================================= -// method : InitArrow -// purpose : -// ======================================================================= +//================================================================================================= + void OpenGl_GraduatedTrihedron::Axis::InitArrow(const Handle(OpenGl_Context)& theContext, const Standard_ShortReal theLength, const OpenGl_Vec3& theNormal) const diff --git a/src/Visualization/TKOpenGl/OpenGl/OpenGl_Window.cxx b/src/Visualization/TKOpenGl/OpenGl/OpenGl_Window.cxx index 7382d9b75c..84f3c4c799 100644 --- a/src/Visualization/TKOpenGl/OpenGl/OpenGl_Window.cxx +++ b/src/Visualization/TKOpenGl/OpenGl/OpenGl_Window.cxx @@ -827,10 +827,8 @@ Standard_Boolean OpenGl_Window::Activate() #if !defined(__APPLE__) || defined(HAVE_XLIB) -// ======================================================================= -// function : Resize -// purpose : call_subr_resize -// ======================================================================= +//================================================================================================= + void OpenGl_Window::Resize() { Graphic3d_Vec2i aWinSize; diff --git a/src/Visualization/TKV3d/AIS/AIS_Plane.cxx b/src/Visualization/TKV3d/AIS/AIS_Plane.cxx index 82b3d8d2d2..cd53808302 100644 --- a/src/Visualization/TKV3d/AIS/AIS_Plane.cxx +++ b/src/Visualization/TKV3d/AIS/AIS_Plane.cxx @@ -62,10 +62,8 @@ AIS_Plane::AIS_Plane(const Handle(Geom_Plane)& aComponent, const Standard_Boolea InitDrawerAttributes(); } -//======================================================================= -// function : AIS_Plane -// purpose : avec une position -//======================================================================= +//================================================================================================= + AIS_Plane::AIS_Plane(const Handle(Geom_Plane)& aComponent, const gp_Pnt& aCenter, const Standard_Boolean aCurrentMode) diff --git a/src/Visualization/TKV3d/AIS/AIS_PlaneTrihedron.cxx b/src/Visualization/TKV3d/AIS/AIS_PlaneTrihedron.cxx index 205a73f2e7..e0ec80d126 100644 --- a/src/Visualization/TKV3d/AIS/AIS_PlaneTrihedron.cxx +++ b/src/Visualization/TKV3d/AIS/AIS_PlaneTrihedron.cxx @@ -233,10 +233,8 @@ void AIS_PlaneTrihedron::SetColor(const Quantity_Color& aCol) SynchronizeAspects(); } -//======================================================================= -// function : ExtremityPoints -// purpose : to avoid warning -//======================================================================= +//================================================================================================= + // void AIS_Trihedron::ExtremityPoints(TColgp_Array1OfPnt& PP) const void ExtremityPoints(TColgp_Array1OfPnt& PP, const Handle(Geom_Plane)& myPlane, diff --git a/src/Visualization/TKV3d/DsgPrs/DsgPrs_AnglePresentation.cxx b/src/Visualization/TKV3d/DsgPrs/DsgPrs_AnglePresentation.cxx index cdc4deb1fd..820c0bec51 100644 --- a/src/Visualization/TKV3d/DsgPrs/DsgPrs_AnglePresentation.cxx +++ b/src/Visualization/TKV3d/DsgPrs/DsgPrs_AnglePresentation.cxx @@ -232,11 +232,7 @@ void DsgPrs_AnglePresentation::Add(const Handle(Prs3d_Presentation)& aPresentati aPresentation->CurrentGroup()->AddPrimitiveArray(aPrims); } -//========================================================================== -// function : DsgPrs_AnglePresentation::Add -// purpose : -// -//========================================================================== +//================================================================================================= void DsgPrs_AnglePresentation::Add(const Handle(Prs3d_Presentation)& aPresentation, const Handle(Prs3d_Drawer)& aDrawer, @@ -471,11 +467,7 @@ void DsgPrs_AnglePresentation::Add(const Handle(Prs3d_Presentation)& aPresentati } } -//========================================================================== -// function : DsgPrs_AnglePresentation::Add -// purpose : -// -//========================================================================== +//================================================================================================= void DsgPrs_AnglePresentation::Add(const Handle(Prs3d_Presentation)& aPresentation, const Handle(Prs3d_Drawer)& aDrawer, @@ -728,11 +720,7 @@ void DsgPrs_AnglePresentation::Add(const Handle(Prs3d_Presentation)& aPresentati DsgPrs::ComputeSymbol(aPresentation, LA, ptarr, ptarr1, dirarr, dirarr2, ArrowPrs); } -//========================================================================== -// function : DsgPrs_AnglePresentation::Add -// purpose : -// -//========================================================================== +//================================================================================================= void DsgPrs_AnglePresentation::Add(const Handle(Prs3d_Presentation)& aPresentation, const Handle(Prs3d_Drawer)& aDrawer, diff --git a/src/Visualization/TKV3d/SelectMgr/SelectMgr_SelectionManager.cxx b/src/Visualization/TKV3d/SelectMgr/SelectMgr_SelectionManager.cxx index 8139a924f9..e8f118b1d2 100644 --- a/src/Visualization/TKV3d/SelectMgr/SelectMgr_SelectionManager.cxx +++ b/src/Visualization/TKV3d/SelectMgr/SelectMgr_SelectionManager.cxx @@ -479,10 +479,8 @@ void SelectMgr_SelectionManager::Update(const Handle(SelectMgr_SelectableObject) } } -//================================================== -// Function: loadMode -// Purpose : Private Method -//================================================== +//================================================================================================= + void SelectMgr_SelectionManager::loadMode(const Handle(SelectMgr_SelectableObject)& theObject, const Standard_Integer theMode) { @@ -519,10 +517,8 @@ void SelectMgr_SelectionManager::loadMode(const Handle(SelectMgr_SelectableObjec buildBVH(aNewSel); } -//================================================== -// Function: buildBVH -// Purpose : Private Method -//================================================== +//================================================================================================= + void SelectMgr_SelectionManager::buildBVH(const Handle(SelectMgr_Selection)& theSelection) { if (mySelector->ToPrebuildBVH())