mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
0025621: CAST analysis - Avoid constructors not supplying an initial value for all non-static data members
The constructors of classes from following files have been fixed to ensure that all non-static fields are initialized: Adaptor2d_Line2d.cxx Adaptor3d_IsoCurve.cxx Adaptor3d_OffsetCurve.cxx AdvApp2Var_ApproxAFunc2Var.cxx AIS_Dimension.cxx AIS_InteractiveContext.cxx Aspect_DisplayConnection.cxx BiTgte_CurveOnEdge.cxx BiTgte_CurveOnVertex.cxx BRepAdaptor_CompCurve.cxx BRepMesh_Circle.hxx BRepMesh_Delaun.cxx BRepToIGES_BREntity.cxx ChFi2d_AnaFilletAlgo.cxx ChFi2d_ChamferAPI.cxx ChFi2d_FilletAlgo.cxx ChFi2d_FilletAlgo.hxx Extrema_ExtPExtS.cxx Font_FTFont.cxx GccEnt_QualifiedCirc.cxx Geom2dAdaptor_Curve.cxx IGESData_IGESEntity.cxx IGESData_DefSwitch.cxx IGESToBRep_CurveAndSurface.cxx LDOM_XmlReader.cxx math_TrigonometricFunctionRoots.cxx NCollection_ListNode.hxx ProjLib_CompProjectedCurve.cxx ProjLib_ComputeApproxOnPolarSurface.cxx Select3D_Box2d.hxx Select3D_PointData.hxx
This commit is contained in:
@@ -122,9 +122,9 @@ GeomAbs_Shape Geom2dAdaptor_Curve::LocalContinuity(const Standard_Real U1,
|
||||
//=======================================================================
|
||||
|
||||
Geom2dAdaptor_Curve::Geom2dAdaptor_Curve()
|
||||
: myTypeCurve(GeomAbs_OtherCurve),
|
||||
myFirst(0.),
|
||||
myLast(0.)
|
||||
: myTypeCurve(GeomAbs_OtherCurve),
|
||||
myFirst (0.0),
|
||||
myLast (0.0)
|
||||
{
|
||||
}
|
||||
|
||||
@@ -133,9 +133,12 @@ Geom2dAdaptor_Curve::Geom2dAdaptor_Curve()
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Geom2dAdaptor_Curve::Geom2dAdaptor_Curve(const Handle(Geom2d_Curve)& C)
|
||||
Geom2dAdaptor_Curve::Geom2dAdaptor_Curve(const Handle(Geom2d_Curve)& theCrv)
|
||||
: myTypeCurve(GeomAbs_OtherCurve),
|
||||
myFirst (0.0),
|
||||
myLast (0.0)
|
||||
{
|
||||
Load(C);
|
||||
Load(theCrv);
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
@@ -143,11 +146,14 @@ Geom2dAdaptor_Curve::Geom2dAdaptor_Curve(const Handle(Geom2d_Curve)& C)
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
Geom2dAdaptor_Curve::Geom2dAdaptor_Curve(const Handle(Geom2d_Curve)& C,
|
||||
const Standard_Real UFirst,
|
||||
const Standard_Real ULast)
|
||||
Geom2dAdaptor_Curve::Geom2dAdaptor_Curve(const Handle(Geom2d_Curve)& theCrv,
|
||||
const Standard_Real theUFirst,
|
||||
const Standard_Real theULast)
|
||||
: myTypeCurve(GeomAbs_OtherCurve),
|
||||
myFirst (theUFirst),
|
||||
myLast (theULast)
|
||||
{
|
||||
Load(C,UFirst,ULast);
|
||||
Load(theCrv, theUFirst, theULast);
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user