mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
0031035: Coding - uninitialized class fields reported by Visual Studio Code Analysis
Added initialization of fields that had not initialization Added default constructors to classes without constructors
This commit is contained in:
@@ -23,6 +23,15 @@
|
||||
#include <TopoDS_Iterator.hxx>
|
||||
#include <TopoDS_Shape.hxx>
|
||||
|
||||
//=======================================================================
|
||||
//function : ShapeAnalysis_Shell
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
ShapeAnalysis_Shell::ShapeAnalysis_Shell()
|
||||
: myConex(Standard_False)
|
||||
{
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
//function : Clear
|
||||
//purpose :
|
||||
|
@@ -37,6 +37,9 @@ public:
|
||||
DEFINE_STANDARD_ALLOC
|
||||
|
||||
|
||||
//! Empty constructor
|
||||
Standard_EXPORT ShapeAnalysis_Shell();
|
||||
|
||||
//! Clears data about loaded shells and performed checks
|
||||
Standard_EXPORT void Clear();
|
||||
|
||||
|
@@ -58,6 +58,7 @@ IMPLEMENT_STANDARD_RTTIEXT(ShapeAnalysis_TransferParametersProj,ShapeAnalysis_Tr
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
ShapeAnalysis_TransferParametersProj::ShapeAnalysis_TransferParametersProj()
|
||||
: myPrecision(0.0)
|
||||
{
|
||||
myMaxTolerance = 1; //Precision::Infinite(); ?? pdn
|
||||
myForceProj = Standard_False;
|
||||
|
Reference in New Issue
Block a user