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:
@@ -75,6 +75,7 @@ static Standard_Real CrossProd(const Handle(Geom2d_Geometry)& Geom1,
|
||||
//=============================================================================
|
||||
MAT2d_Circuit::MAT2d_Circuit(const GeomAbs_JoinType aJoinType,
|
||||
const Standard_Boolean IsOpenResult)
|
||||
: direction(0.0)
|
||||
{
|
||||
myJoinType = aJoinType;
|
||||
myIsOpenResult = IsOpenResult;
|
||||
|
@@ -27,6 +27,13 @@ IMPLEMENT_STANDARD_RTTIEXT(MAT2d_Connexion,Standard_Transient)
|
||||
//purpose :
|
||||
//=============================================================================
|
||||
MAT2d_Connexion::MAT2d_Connexion()
|
||||
: lineA(0),
|
||||
lineB(0),
|
||||
itemA(0),
|
||||
itemB(0),
|
||||
distance(0.0),
|
||||
parameterOnA(0.0),
|
||||
parameterOnB(0.0)
|
||||
{
|
||||
}
|
||||
|
||||
|
@@ -31,6 +31,8 @@
|
||||
// purpose :
|
||||
//========================================================================
|
||||
MAT2d_Mat2d::MAT2d_Mat2d(const Standard_Boolean IsOpenResult)
|
||||
: semiInfinite(Standard_False),
|
||||
isDone(Standard_False)
|
||||
{
|
||||
myIsOpenResult = IsOpenResult;
|
||||
thenumberofbisectors = 0;
|
||||
|
@@ -34,6 +34,8 @@
|
||||
//purpose :
|
||||
//============================================================================
|
||||
MAT2d_MiniPath::MAT2d_MiniPath()
|
||||
: theDirection(1.0),
|
||||
indStart(0)
|
||||
{
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user