mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-10 18:51:21 +03:00
0024275: Cppcheck warnings on uninitialized class members
Removed warning of cppcheck on uninitialized class members for non-array cases New additional compilation warnings on Windows platform from file OSD_Path.cxx were fixed Warnings about wrong initialization removed
This commit is contained in:
parent
e79a94b9a5
commit
c24d401753
@ -40,7 +40,10 @@
|
|||||||
//=======================================================================
|
//=======================================================================
|
||||||
|
|
||||||
Adaptor3d_IsoCurve::Adaptor3d_IsoCurve() :
|
Adaptor3d_IsoCurve::Adaptor3d_IsoCurve() :
|
||||||
myIso(GeomAbs_NoneIso)
|
myIso(GeomAbs_NoneIso),
|
||||||
|
myFirst ( 0. ),
|
||||||
|
myLast ( 0. ),
|
||||||
|
myParameter ( 0. )
|
||||||
{}
|
{}
|
||||||
|
|
||||||
//=======================================================================
|
//=======================================================================
|
||||||
@ -48,7 +51,10 @@ Adaptor3d_IsoCurve::Adaptor3d_IsoCurve() :
|
|||||||
//purpose :
|
//purpose :
|
||||||
//=======================================================================
|
//=======================================================================
|
||||||
|
|
||||||
Adaptor3d_IsoCurve::Adaptor3d_IsoCurve(const Handle(Adaptor3d_HSurface)& S)
|
Adaptor3d_IsoCurve::Adaptor3d_IsoCurve(const Handle(Adaptor3d_HSurface)& S) :
|
||||||
|
myFirst ( 0. ),
|
||||||
|
myLast ( 0. ),
|
||||||
|
myParameter ( 0. )
|
||||||
{
|
{
|
||||||
Load(S);
|
Load(S);
|
||||||
}
|
}
|
||||||
|
@ -33,7 +33,9 @@
|
|||||||
//=======================================================================
|
//=======================================================================
|
||||||
|
|
||||||
Adaptor3d_OffsetCurve::Adaptor3d_OffsetCurve() :
|
Adaptor3d_OffsetCurve::Adaptor3d_OffsetCurve() :
|
||||||
myOffset( 0.)
|
myOffset( 0.),
|
||||||
|
myFirst ( 0.),
|
||||||
|
myLast ( 0.)
|
||||||
{}
|
{}
|
||||||
|
|
||||||
//=======================================================================
|
//=======================================================================
|
||||||
@ -41,7 +43,9 @@ Adaptor3d_OffsetCurve::Adaptor3d_OffsetCurve() :
|
|||||||
//purpose :
|
//purpose :
|
||||||
//=======================================================================
|
//=======================================================================
|
||||||
|
|
||||||
Adaptor3d_OffsetCurve::Adaptor3d_OffsetCurve(const Handle(Adaptor2d_HCurve2d)& C)
|
Adaptor3d_OffsetCurve::Adaptor3d_OffsetCurve(const Handle(Adaptor2d_HCurve2d)& C) :
|
||||||
|
myFirst ( 0.),
|
||||||
|
myLast ( 0.)
|
||||||
{
|
{
|
||||||
Load(C);
|
Load(C);
|
||||||
}
|
}
|
||||||
@ -52,7 +56,9 @@ Adaptor3d_OffsetCurve::Adaptor3d_OffsetCurve(const Handle(Adaptor2d_HCurve2d)& C
|
|||||||
//=======================================================================
|
//=======================================================================
|
||||||
|
|
||||||
Adaptor3d_OffsetCurve::Adaptor3d_OffsetCurve(const Handle(Adaptor2d_HCurve2d)& C,
|
Adaptor3d_OffsetCurve::Adaptor3d_OffsetCurve(const Handle(Adaptor2d_HCurve2d)& C,
|
||||||
const Standard_Real Offset)
|
const Standard_Real Offset) :
|
||||||
|
myFirst ( 0.),
|
||||||
|
myLast ( 0.)
|
||||||
{
|
{
|
||||||
Load(C);
|
Load(C);
|
||||||
Load(Offset);
|
Load(Offset);
|
||||||
|
@ -95,7 +95,8 @@ myMaxDegInU(MaxDegInU),
|
|||||||
myMaxDegInV(MaxDegInV),
|
myMaxDegInV(MaxDegInV),
|
||||||
myMaxPatches(MaxPatch),
|
myMaxPatches(MaxPatch),
|
||||||
myDone(Standard_False),
|
myDone(Standard_False),
|
||||||
myHasResult(Standard_False)
|
myHasResult(Standard_False),
|
||||||
|
myCriterionError(0.)
|
||||||
{
|
{
|
||||||
myNumSubSpaces[0] = Num1DSS;
|
myNumSubSpaces[0] = Num1DSS;
|
||||||
myNumSubSpaces[1] = Num2DSS;
|
myNumSubSpaces[1] = Num2DSS;
|
||||||
|
@ -25,9 +25,18 @@
|
|||||||
//purpose :
|
//purpose :
|
||||||
//=======================================================================
|
//=======================================================================
|
||||||
|
|
||||||
inline BRepFeat_Form::BRepFeat_Form () :
|
inline BRepFeat_Form::BRepFeat_Form () :
|
||||||
mySbOK(Standard_False),myGSOK(Standard_False),mySFOK(Standard_False),
|
myFuse(Standard_False),
|
||||||
mySUOK(Standard_False),myGFOK(Standard_False)
|
myModify(Standard_False),
|
||||||
|
myPerfSelection(BRepFeat_NoSelection),
|
||||||
|
myJustGluer(Standard_False),
|
||||||
|
myJustFeat(Standard_False),
|
||||||
|
mySbOK(Standard_False),mySkOK(Standard_False),
|
||||||
|
myGSOK(Standard_False),mySFOK(Standard_False),
|
||||||
|
mySUOK(Standard_False),myGFOK(Standard_False),
|
||||||
|
myPSOK(Standard_False),
|
||||||
|
myStatusError(BRepFeat_NotInitialized)
|
||||||
|
|
||||||
{}
|
{}
|
||||||
|
|
||||||
//=======================================================================
|
//=======================================================================
|
||||||
|
@ -27,7 +27,10 @@
|
|||||||
//=======================================================================
|
//=======================================================================
|
||||||
|
|
||||||
inline BRepFeat_MakeCylindricalHole::BRepFeat_MakeCylindricalHole ():
|
inline BRepFeat_MakeCylindricalHole::BRepFeat_MakeCylindricalHole ():
|
||||||
myAxDef(Standard_False)
|
myAxDef(Standard_False),
|
||||||
|
myStatus(BRepFeat_NoError),
|
||||||
|
myIsBlind(Standard_False),
|
||||||
|
myValidate(Standard_False)
|
||||||
{}
|
{}
|
||||||
|
|
||||||
//=======================================================================
|
//=======================================================================
|
||||||
|
@ -27,7 +27,8 @@
|
|||||||
//=======================================================================
|
//=======================================================================
|
||||||
|
|
||||||
inline BRepGProp_Face::BRepGProp_Face(const Standard_Boolean IsUseSpan)
|
inline BRepGProp_Face::BRepGProp_Face(const Standard_Boolean IsUseSpan)
|
||||||
: myIsUseSpan(IsUseSpan)
|
: mySReverse (Standard_False),
|
||||||
|
myIsUseSpan(IsUseSpan)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -28,6 +28,9 @@ BRepMesh_Triangle::BRepMesh_Triangle()
|
|||||||
: myEdge1(0),
|
: myEdge1(0),
|
||||||
myEdge2(0),
|
myEdge2(0),
|
||||||
myEdge3(0),
|
myEdge3(0),
|
||||||
|
myOrientation1(Standard_False),
|
||||||
|
myOrientation2(Standard_False),
|
||||||
|
myOrientation3(Standard_False),
|
||||||
myMovability(BRepMesh_Free)
|
myMovability(BRepMesh_Free)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
@ -202,7 +202,12 @@ BSB_T3Bits::~BSB_T3Bits() {
|
|||||||
if(ToTest) { delete [] ToTest; ToTest=0; }
|
if(ToTest) { delete [] ToTest; ToTest=0; }
|
||||||
}
|
}
|
||||||
//=======================================================================
|
//=======================================================================
|
||||||
BSB_T3Bits::BSB_T3Bits(int size) {
|
BSB_T3Bits::BSB_T3Bits(int size)
|
||||||
|
: ind(0),
|
||||||
|
Xmin(0),Xmax(0),
|
||||||
|
Ymin(0),Ymax(0),
|
||||||
|
Zmin(0),Zmax(0)
|
||||||
|
{
|
||||||
switch (size) {
|
switch (size) {
|
||||||
case 128: { _DECAL=7; _DECAL2=14; _BASE=128; _BASEM1=127; break; }
|
case 128: { _DECAL=7; _DECAL2=14; _BASE=128; _BASEM1=127; break; }
|
||||||
case 64: { _DECAL=6; _DECAL2=12; _BASE= 64; _BASEM1= 63; break; }
|
case 64: { _DECAL=6; _DECAL2=12; _BASE= 64; _BASEM1= 63; break; }
|
||||||
|
@ -20,4 +20,8 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
inline CPnts_MyGaussFunction::CPnts_MyGaussFunction() {}
|
inline CPnts_MyGaussFunction::CPnts_MyGaussFunction() :
|
||||||
|
myFunction(NULL),
|
||||||
|
myData((Standard_Address) NULL)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
@ -19,4 +19,9 @@
|
|||||||
// and conditions governing the rights and limitations under the License.
|
// and conditions governing the rights and limitations under the License.
|
||||||
|
|
||||||
|
|
||||||
inline CPnts_MyRootFunction::CPnts_MyRootFunction() {}
|
inline CPnts_MyRootFunction::CPnts_MyRootFunction() :
|
||||||
|
myX0( 0. ),
|
||||||
|
myL( 0. ),
|
||||||
|
myOrder( 0 ),
|
||||||
|
myTol( 0. )
|
||||||
|
{}
|
||||||
|
@ -32,13 +32,25 @@ ChFi2d_ChamferAPI::ChFi2d_ChamferAPI()
|
|||||||
}
|
}
|
||||||
|
|
||||||
// A constructor accepting a wire consisting of two linear edges.
|
// A constructor accepting a wire consisting of two linear edges.
|
||||||
ChFi2d_ChamferAPI::ChFi2d_ChamferAPI(const TopoDS_Wire& theWire)
|
ChFi2d_ChamferAPI::ChFi2d_ChamferAPI(const TopoDS_Wire& theWire) :
|
||||||
|
myStart1(0.),
|
||||||
|
myEnd1(0.),
|
||||||
|
myStart2(0.),
|
||||||
|
myEnd2(0.),
|
||||||
|
myCommonStart1(Standard_False),
|
||||||
|
myCommonStart2(Standard_False)
|
||||||
{
|
{
|
||||||
Init(theWire);
|
Init(theWire);
|
||||||
}
|
}
|
||||||
|
|
||||||
// A constructor accepting two linear edges.
|
// A constructor accepting two linear edges.
|
||||||
ChFi2d_ChamferAPI::ChFi2d_ChamferAPI(const TopoDS_Edge& theEdge1, const TopoDS_Edge& theEdge2)
|
ChFi2d_ChamferAPI::ChFi2d_ChamferAPI(const TopoDS_Edge& theEdge1, const TopoDS_Edge& theEdge2) :
|
||||||
|
myStart1(0.),
|
||||||
|
myEnd1(0.),
|
||||||
|
myStart2(0.),
|
||||||
|
myEnd2(0.),
|
||||||
|
myCommonStart1(Standard_False),
|
||||||
|
myCommonStart2(Standard_False)
|
||||||
{
|
{
|
||||||
Init(theEdge1, theEdge2);
|
Init(theEdge1, theEdge2);
|
||||||
}
|
}
|
||||||
|
@ -149,7 +149,8 @@ class FilletPoint
|
|||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
//! Creates a point on a first curve by parameter on this curve.
|
//! Creates a point on a first curve by parameter on this curve.
|
||||||
FilletPoint(Standard_Real theParam) {myParam = theParam;}
|
FilletPoint(Standard_Real theParam) : myParam2(0.)
|
||||||
|
{myParam = theParam;}
|
||||||
|
|
||||||
//! Changes the point position by changing point parameter on the first curve.
|
//! Changes the point position by changing point parameter on the first curve.
|
||||||
void setParam(Standard_Real theParam) {myParam = theParam;}
|
void setParam(Standard_Real theParam) {myParam = theParam;}
|
||||||
|
@ -53,7 +53,9 @@ const Standard_CString MAGICNUMBER = "FSDFILE";
|
|||||||
//purpose :
|
//purpose :
|
||||||
//=======================================================================
|
//=======================================================================
|
||||||
|
|
||||||
DDF_IOStream::DDF_IOStream()
|
DDF_IOStream::DDF_IOStream() :
|
||||||
|
myIStream(NULL),
|
||||||
|
myOStream(NULL)
|
||||||
{}
|
{}
|
||||||
|
|
||||||
//=======================================================================
|
//=======================================================================
|
||||||
|
@ -82,7 +82,11 @@ class TclUTFToLocalStringSentry {
|
|||||||
delete[] TclArgv;
|
delete[] TclArgv;
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
TclUTFToLocalStringSentry (int, const char **argv) : Argv((char**)argv) {}
|
TclUTFToLocalStringSentry (int, const char **argv) :
|
||||||
|
nb(0),
|
||||||
|
TclArgv(NULL),
|
||||||
|
Argv((char**)argv)
|
||||||
|
{}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
const char **GetArgv () const { return (const char **)Argv; }
|
const char **GetArgv () const { return (const char **)Argv; }
|
||||||
|
@ -142,7 +142,15 @@ Draw_View::Draw_View(Standard_Integer i, Draw_Viewer* v,
|
|||||||
Standard_Integer Y,
|
Standard_Integer Y,
|
||||||
Standard_Integer W,
|
Standard_Integer W,
|
||||||
Standard_Integer H) :
|
Standard_Integer H) :
|
||||||
Draw_Window("Win", X, Y, W, H), id(i), viewer(v)
|
Draw_Window("Win", X, Y, W, H),
|
||||||
|
id(i),
|
||||||
|
viewer(v),
|
||||||
|
FlagPers(0),
|
||||||
|
Flag2d(0),
|
||||||
|
FocalDist(0.),
|
||||||
|
Zoom(0.),
|
||||||
|
dX(0),dY(0),
|
||||||
|
lastX(0),lastY(0)
|
||||||
{
|
{
|
||||||
Framex0=Framey0=Framex1=Framey1=0;
|
Framex0=Framey0=Framex1=Framey1=0;
|
||||||
}
|
}
|
||||||
@ -169,9 +177,16 @@ Draw_View::Draw_View(Standard_Integer i, Draw_Viewer* v,
|
|||||||
Standard_Integer W,
|
Standard_Integer W,
|
||||||
Standard_Integer H,
|
Standard_Integer H,
|
||||||
NSWindow* theWindow) :
|
NSWindow* theWindow) :
|
||||||
Draw_Window(theWindow, "Win", X, Y, W, H), id(i), viewer(v)
|
Draw_Window(theWindow, "Win", X, Y, W, H), id(i), viewer(v),
|
||||||
|
FlagPers(0),
|
||||||
|
Flag2d(0),
|
||||||
|
FocalDist(0.),
|
||||||
|
Zoom(0.),
|
||||||
|
dX(0),dY(0),
|
||||||
|
lastX(0),lastY(0),
|
||||||
|
Framex0(0),Framey0(0),
|
||||||
|
Framex1(0),Framey1(0)
|
||||||
{
|
{
|
||||||
Framex0=Framey0=Framex1=Framey1=0;
|
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -180,7 +195,7 @@ Draw_Window(theWindow, "Win", X, Y, W, H), id(i), viewer(v)
|
|||||||
//purpose :
|
//purpose :
|
||||||
//=======================================================================
|
//=======================================================================
|
||||||
#if defined(_WIN32) || defined (__WIN32__) || (defined(__APPLE__) && !defined(MACOSX_USE_GLX))
|
#if defined(_WIN32) || defined (__WIN32__) || (defined(__APPLE__) && !defined(MACOSX_USE_GLX))
|
||||||
Draw_View::Draw_View(Standard_Integer /*i*/, Draw_Viewer* /*v*/, const char* /*w*/)
|
Draw_View::Draw_View(Standard_Integer /*i*/, Draw_Viewer* /*v*/, const char* /*w*/) : viewer( NULL )
|
||||||
#else
|
#else
|
||||||
Draw_View::Draw_View(Standard_Integer i, Draw_Viewer* v, const char* w) :
|
Draw_View::Draw_View(Standard_Integer i, Draw_Viewer* v, const char* w) :
|
||||||
Draw_Window(w), id(i), viewer(v)
|
Draw_Window(w), id(i), viewer(v)
|
||||||
|
@ -43,7 +43,8 @@
|
|||||||
//=======================================================================
|
//=======================================================================
|
||||||
|
|
||||||
GCPnts_QuasiUniformAbscissa::GCPnts_QuasiUniformAbscissa ()
|
GCPnts_QuasiUniformAbscissa::GCPnts_QuasiUniformAbscissa ()
|
||||||
:myDone(Standard_False)
|
:myDone(Standard_False),
|
||||||
|
myNbPoints(0)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -30,7 +30,9 @@
|
|||||||
//=======================================================================
|
//=======================================================================
|
||||||
|
|
||||||
GCPnts_UniformAbscissa::GCPnts_UniformAbscissa ()
|
GCPnts_UniformAbscissa::GCPnts_UniformAbscissa ()
|
||||||
:myDone(Standard_False)
|
:myDone(Standard_False),
|
||||||
|
myNbPoints(0),
|
||||||
|
myAbscissa(0.)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -25,7 +25,8 @@
|
|||||||
//==========================================================================
|
//==========================================================================
|
||||||
|
|
||||||
inline GProp_VGPropsGK::GProp_VGPropsGK()
|
inline GProp_VGPropsGK::GProp_VGPropsGK()
|
||||||
: myErrorReached(0.)
|
: myErrorReached(0.),
|
||||||
|
myAbsolutError(0.)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -35,7 +35,8 @@
|
|||||||
//purpose :
|
//purpose :
|
||||||
//=======================================================================
|
//=======================================================================
|
||||||
|
|
||||||
Geom2dToIGES_Geom2dEntity::Geom2dToIGES_Geom2dEntity()
|
Geom2dToIGES_Geom2dEntity::Geom2dToIGES_Geom2dEntity() :
|
||||||
|
TheUnitFactor(0.)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -35,7 +35,8 @@ static const Standard_Real TolConf = Precision::Confusion();
|
|||||||
//purpose : Constructor
|
//purpose : Constructor
|
||||||
//=======================================================================
|
//=======================================================================
|
||||||
|
|
||||||
GeomFill_DiscreteTrihedron::GeomFill_DiscreteTrihedron()
|
GeomFill_DiscreteTrihedron::GeomFill_DiscreteTrihedron() :
|
||||||
|
myUseFrenet(Standard_False)
|
||||||
{
|
{
|
||||||
myFrenet = new GeomFill_Frenet();
|
myFrenet = new GeomFill_Frenet();
|
||||||
myKnots = new TColStd_HSequenceOfReal();
|
myKnots = new TColStd_HSequenceOfReal();
|
||||||
|
@ -153,7 +153,7 @@ static
|
|||||||
class ProjectPointOnSurf
|
class ProjectPointOnSurf
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
ProjectPointOnSurf() : myIsDone (Standard_False) {}
|
ProjectPointOnSurf() : myIsDone (Standard_False),myIndex(0) {}
|
||||||
void Init(const Handle(Geom_Surface)& Surface,
|
void Init(const Handle(Geom_Surface)& Surface,
|
||||||
const Standard_Real Umin,
|
const Standard_Real Umin,
|
||||||
const Standard_Real Usup,
|
const Standard_Real Usup,
|
||||||
|
@ -34,7 +34,30 @@ class Graphic3d_CGraduatedTrihedron
|
|||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
/* Default constructor. Nullifies the view pointer */
|
/* Default constructor. Nullifies the view pointer */
|
||||||
Graphic3d_CGraduatedTrihedron () : ptrVisual3dView(NULL) {}
|
Graphic3d_CGraduatedTrihedron () : xdrawname ( Standard_False ),
|
||||||
|
ydrawname ( Standard_False ),
|
||||||
|
zdrawname ( Standard_False ),
|
||||||
|
xdrawvalues ( Standard_False ),
|
||||||
|
ydrawvalues ( Standard_False ),
|
||||||
|
zdrawvalues ( Standard_False ),
|
||||||
|
drawgrid ( Standard_False ),
|
||||||
|
drawaxes ( Standard_False ),
|
||||||
|
nbx ( 0 ),nby ( 0 ),nbz ( 0 ),
|
||||||
|
xoffset ( 0 ),yoffset ( 0 ),zoffset ( 0 ),
|
||||||
|
xaxisoffset ( 0 ),yaxisoffset ( 0 ),zaxisoffset ( 0 ),
|
||||||
|
xdrawtickmarks ( Standard_False ),
|
||||||
|
ydrawtickmarks ( Standard_False ),
|
||||||
|
zdrawtickmarks ( Standard_False ),
|
||||||
|
xtickmarklength ( 0 ), ytickmarklength ( 0 ), ztickmarklength ( 0 ),
|
||||||
|
styleOfNames ( Font_FA_Undefined ),
|
||||||
|
sizeOfNames ( 0 ),
|
||||||
|
styleOfValues ( Font_FA_Undefined ),
|
||||||
|
sizeOfValues ( 0 ),
|
||||||
|
cbCubicAxes ( NULL ),
|
||||||
|
ptrVisual3dView(NULL)
|
||||||
|
{
|
||||||
|
//
|
||||||
|
}
|
||||||
|
|
||||||
/* Names of axes */
|
/* Names of axes */
|
||||||
TCollection_ExtendedString xname, yname, zname;
|
TCollection_ExtendedString xname, yname, zname;
|
||||||
|
@ -46,7 +46,11 @@ public:
|
|||||||
PolygonOffsetFactor (0.0f),
|
PolygonOffsetFactor (0.0f),
|
||||||
PolygonOffsetUnits (0.0f)
|
PolygonOffsetUnits (0.0f)
|
||||||
{
|
{
|
||||||
//
|
memset(&IntColor,0,sizeof(IntColor));
|
||||||
|
memset(&BackIntColor,0,sizeof(BackIntColor));
|
||||||
|
memset(&EdgeColor,0,sizeof(EdgeColor));
|
||||||
|
memset(&Front,0,sizeof(Front));
|
||||||
|
memset(&Back,0,sizeof(Back));
|
||||||
}
|
}
|
||||||
|
|
||||||
public:
|
public:
|
||||||
@ -82,7 +86,6 @@ public:
|
|||||||
float PolygonOffsetUnits;
|
float PolygonOffsetUnits;
|
||||||
|
|
||||||
Handle(Graphic3d_ShaderProgram) ShaderProgram;
|
Handle(Graphic3d_ShaderProgram) ShaderProgram;
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
class CALL_DEF_CONTEXTMARKER
|
class CALL_DEF_CONTEXTMARKER
|
||||||
@ -96,7 +99,7 @@ public:
|
|||||||
Scale (0),
|
Scale (0),
|
||||||
MarkerImage (NULL)
|
MarkerImage (NULL)
|
||||||
{
|
{
|
||||||
//
|
memset(&Color,0,sizeof(Color));
|
||||||
}
|
}
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
@ -92,6 +92,7 @@ public:
|
|||||||
ptrUnderLayer (NULL),
|
ptrUnderLayer (NULL),
|
||||||
ptrOverLayer (NULL),
|
ptrOverLayer (NULL),
|
||||||
Backfacing (0),
|
Backfacing (0),
|
||||||
|
GContext (NULL),
|
||||||
GDisplayCB (NULL),
|
GDisplayCB (NULL),
|
||||||
GClientData (NULL),
|
GClientData (NULL),
|
||||||
ptrFBO (NULL),
|
ptrFBO (NULL),
|
||||||
@ -101,7 +102,11 @@ public:
|
|||||||
IsReflectionsEnabled (1),
|
IsReflectionsEnabled (1),
|
||||||
IsAntialiasingEnabled (0)
|
IsAntialiasingEnabled (0)
|
||||||
{
|
{
|
||||||
//
|
memset(&Orientation,0,sizeof(Orientation));
|
||||||
|
memset(&Mapping,0,sizeof(Mapping));
|
||||||
|
memset(&OrientationReset,0,sizeof(OrientationReset));
|
||||||
|
memset(&MappingReset,0,sizeof(MappingReset));
|
||||||
|
memset(&DefWindow,0,sizeof(DefWindow));
|
||||||
}
|
}
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
@ -154,7 +154,12 @@ PeriodicInterval PeriodicInterval::SecondIntersection(PeriodicInterval& PInter)
|
|||||||
return(PeriodicInterval(a,b));
|
return(PeriodicInterval(a,b));
|
||||||
}
|
}
|
||||||
//----------------------------------------------------------------------
|
//----------------------------------------------------------------------
|
||||||
Interval::Interval() { IsNull=Standard_True; }
|
Interval::Interval() :
|
||||||
|
Binf(0.),
|
||||||
|
Bsup(0.),
|
||||||
|
HasFirstBound(Standard_False),
|
||||||
|
HasLastBound(Standard_False)
|
||||||
|
{ IsNull=Standard_True; }
|
||||||
|
|
||||||
Interval::Interval(const Standard_Real a,const Standard_Real b) {
|
Interval::Interval(const Standard_Real a,const Standard_Real b) {
|
||||||
HasFirstBound=HasLastBound=Standard_True;
|
HasFirstBound=HasLastBound=Standard_True;
|
||||||
|
@ -560,7 +560,7 @@ class IntTools_DistCC {
|
|||||||
myT11=0.;
|
myT11=0.;
|
||||||
myT12=0.;
|
myT12=0.;
|
||||||
myT21=0.;
|
myT21=0.;
|
||||||
myT21=0.;
|
myT22=0.;
|
||||||
myErrorStatus=1;
|
myErrorStatus=1;
|
||||||
myThreshold=1.e-7;
|
myThreshold=1.e-7;
|
||||||
myDx=0.;
|
myDx=0.;
|
||||||
|
@ -79,6 +79,7 @@ LDOM_XmlReader::LDOM_XmlReader (const int aFileDes,
|
|||||||
#endif
|
#endif
|
||||||
myError (anErrorString),
|
myError (anErrorString),
|
||||||
myDocument (aDocument),
|
myDocument (aDocument),
|
||||||
|
myElement (NULL),
|
||||||
myPtr (&myBuffer[0]),
|
myPtr (&myBuffer[0]),
|
||||||
myEndPtr (&myBuffer[0])
|
myEndPtr (&myBuffer[0])
|
||||||
{}
|
{}
|
||||||
@ -96,6 +97,7 @@ LDOM_XmlReader::LDOM_XmlReader (istream& anInput,
|
|||||||
myIStream (anInput),
|
myIStream (anInput),
|
||||||
myError (anErrorString),
|
myError (anErrorString),
|
||||||
myDocument (aDocument),
|
myDocument (aDocument),
|
||||||
|
myElement (NULL),
|
||||||
myPtr (&myBuffer[0]),
|
myPtr (&myBuffer[0]),
|
||||||
myEndPtr (&myBuffer[0])
|
myEndPtr (&myBuffer[0])
|
||||||
{}
|
{}
|
||||||
|
@ -29,7 +29,7 @@
|
|||||||
//=======================================================================
|
//=======================================================================
|
||||||
|
|
||||||
inline LocOpe_Gluer::LocOpe_Gluer () :
|
inline LocOpe_Gluer::LocOpe_Gluer () :
|
||||||
myDone(Standard_False),myOri(TopAbs_INTERNAL)
|
myDone(Standard_False),myOri(TopAbs_INTERNAL),myOpe(LocOpe_INVALID)
|
||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
@ -40,7 +40,7 @@ inline LocOpe_Gluer::LocOpe_Gluer () :
|
|||||||
|
|
||||||
inline LocOpe_Gluer::LocOpe_Gluer (const TopoDS_Shape& Sbase,
|
inline LocOpe_Gluer::LocOpe_Gluer (const TopoDS_Shape& Sbase,
|
||||||
const TopoDS_Shape& Snew) :
|
const TopoDS_Shape& Snew) :
|
||||||
myDone(Standard_False),mySb(Sbase),mySn(Snew),myOri(TopAbs_INTERNAL)
|
myDone(Standard_False),mySb(Sbase),mySn(Snew),myOri(TopAbs_INTERNAL),myOpe(LocOpe_INVALID)
|
||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
|
@ -624,10 +624,11 @@ static ERROR_TABLE fileNodeErrorTable[] = {
|
|||||||
|
|
||||||
static Standard_Integer _get_comm_error ( DWORD );
|
static Standard_Integer _get_comm_error ( DWORD );
|
||||||
|
|
||||||
OSD_Error :: OSD_Error () {
|
OSD_Error :: OSD_Error () :
|
||||||
|
myCode((OSD_WhoAmI)0),
|
||||||
|
extCode(0)
|
||||||
|
{
|
||||||
Reset ();
|
Reset ();
|
||||||
|
|
||||||
} // end constructor ( 1 )
|
} // end constructor ( 1 )
|
||||||
|
|
||||||
void OSD_Error :: Perror () {
|
void OSD_Error :: Perror () {
|
||||||
|
@ -1042,7 +1042,10 @@ OSD_Path :: OSD_Path () {
|
|||||||
OSD_Path :: OSD_Path (
|
OSD_Path :: OSD_Path (
|
||||||
const TCollection_AsciiString& aDependentName,
|
const TCollection_AsciiString& aDependentName,
|
||||||
const OSD_SysType aSysType
|
const OSD_SysType aSysType
|
||||||
) {
|
) :
|
||||||
|
myUNCFlag(Standard_False),
|
||||||
|
SysDep(OSD_WindowsNT)
|
||||||
|
{
|
||||||
|
|
||||||
Standard_Integer i, j, len;
|
Standard_Integer i, j, len;
|
||||||
static char __drive [ _MAX_DRIVE ];
|
static char __drive [ _MAX_DRIVE ];
|
||||||
@ -1106,7 +1109,10 @@ OSD_Path :: OSD_Path (
|
|||||||
const TCollection_AsciiString& aTrek,
|
const TCollection_AsciiString& aTrek,
|
||||||
const TCollection_AsciiString& aName,
|
const TCollection_AsciiString& aName,
|
||||||
const TCollection_AsciiString& anExtension
|
const TCollection_AsciiString& anExtension
|
||||||
) {
|
) :
|
||||||
|
myUNCFlag(Standard_False),
|
||||||
|
SysDep(OSD_WindowsNT)
|
||||||
|
{
|
||||||
|
|
||||||
SetValues ( aNode, aUsername, aPassword, aDisk, aTrek, aName, anExtension );
|
SetValues ( aNode, aUsername, aPassword, aDisk, aTrek, aName, anExtension );
|
||||||
|
|
||||||
|
@ -110,6 +110,7 @@ OpenGl_TextFormatter::OpenGl_TextFormatter()
|
|||||||
myLinesNb (0),
|
myLinesNb (0),
|
||||||
myRectLineStart (0),
|
myRectLineStart (0),
|
||||||
myRectWordStart (0),
|
myRectWordStart (0),
|
||||||
|
myNewLineNb(0),
|
||||||
myPenCurrLine (0.0f),
|
myPenCurrLine (0.0f),
|
||||||
myLineLeft (0.0f),
|
myLineLeft (0.0f),
|
||||||
myLineTail (0.0f),
|
myLineTail (0.0f),
|
||||||
|
@ -31,7 +31,9 @@ static const Standard_Integer DegeneratedMask = 4;
|
|||||||
//purpose :
|
//purpose :
|
||||||
//=======================================================================
|
//=======================================================================
|
||||||
|
|
||||||
PBRep_TEdge::PBRep_TEdge()
|
PBRep_TEdge::PBRep_TEdge() :
|
||||||
|
myTolerance(0.),
|
||||||
|
myFlags(0)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -34,7 +34,9 @@ enum {
|
|||||||
//purpose :
|
//purpose :
|
||||||
//=======================================================================
|
//=======================================================================
|
||||||
|
|
||||||
PBRep_TEdge1::PBRep_TEdge1()
|
PBRep_TEdge1::PBRep_TEdge1() :
|
||||||
|
myTolerance(0.),
|
||||||
|
myFlags(0)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -29,7 +29,8 @@
|
|||||||
//=======================================================================
|
//=======================================================================
|
||||||
|
|
||||||
PBRep_TFace::PBRep_TFace() :
|
PBRep_TFace::PBRep_TFace() :
|
||||||
myNaturalRestriction(Standard_False)
|
myTolerance(0.),
|
||||||
|
myNaturalRestriction(Standard_False)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -29,7 +29,8 @@
|
|||||||
//=======================================================================
|
//=======================================================================
|
||||||
|
|
||||||
PBRep_TFace1::PBRep_TFace1() :
|
PBRep_TFace1::PBRep_TFace1() :
|
||||||
myNaturalRestriction(Standard_False)
|
myTolerance(0.),
|
||||||
|
myNaturalRestriction(Standard_False)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -28,7 +28,7 @@
|
|||||||
//purpose :
|
//purpose :
|
||||||
//=======================================================================
|
//=======================================================================
|
||||||
|
|
||||||
PBRep_TVertex::PBRep_TVertex()
|
PBRep_TVertex::PBRep_TVertex() : myTolerance(0.)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -28,7 +28,7 @@
|
|||||||
//purpose :
|
//purpose :
|
||||||
//=======================================================================
|
//=======================================================================
|
||||||
|
|
||||||
PBRep_TVertex1::PBRep_TVertex1()
|
PBRep_TVertex1::PBRep_TVertex1() : myTolerance(0.)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -36,7 +36,9 @@
|
|||||||
//purpose :
|
//purpose :
|
||||||
//=======================================================================
|
//=======================================================================
|
||||||
|
|
||||||
PCDM_ReferenceIterator::PCDM_ReferenceIterator (const Handle(CDM_MessageDriver)& theMsgDriver) {
|
PCDM_ReferenceIterator::PCDM_ReferenceIterator (const Handle(CDM_MessageDriver)& theMsgDriver) :
|
||||||
|
myIterator(0)
|
||||||
|
{
|
||||||
myMessageDriver = theMsgDriver;
|
myMessageDriver = theMsgDriver;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -33,9 +33,9 @@
|
|||||||
//purpose :
|
//purpose :
|
||||||
//=======================================================================
|
//=======================================================================
|
||||||
|
|
||||||
PDF_Data::PDF_Data() :
|
PDF_Data::PDF_Data() : myVersion(0)
|
||||||
myVersion(0)
|
{
|
||||||
{}
|
}
|
||||||
|
|
||||||
//=======================================================================
|
//=======================================================================
|
||||||
//function : PDF_Data
|
//function : PDF_Data
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
#include <PDF_TagSource.ixx>
|
#include <PDF_TagSource.ixx>
|
||||||
|
|
||||||
PDF_TagSource::PDF_TagSource() { }
|
PDF_TagSource::PDF_TagSource() : myValue (0) { }
|
||||||
|
|
||||||
PDF_TagSource::PDF_TagSource(const Standard_Integer V)
|
PDF_TagSource::PDF_TagSource(const Standard_Integer V)
|
||||||
: myValue (V) {}
|
: myValue (V) {}
|
||||||
|
@ -24,7 +24,9 @@
|
|||||||
//function : PDataStd_BooleanArray
|
//function : PDataStd_BooleanArray
|
||||||
//purpose :
|
//purpose :
|
||||||
//=======================================================================
|
//=======================================================================
|
||||||
PDataStd_BooleanArray::PDataStd_BooleanArray()
|
PDataStd_BooleanArray::PDataStd_BooleanArray() :
|
||||||
|
myLower(0),
|
||||||
|
myUpper(0)
|
||||||
{
|
{
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
//function : PDataStd_ByteArray_1
|
//function : PDataStd_ByteArray_1
|
||||||
//purpose :
|
//purpose :
|
||||||
//=======================================================================
|
//=======================================================================
|
||||||
PDataStd_ByteArray_1::PDataStd_ByteArray_1() {}
|
PDataStd_ByteArray_1::PDataStd_ByteArray_1() : myDelta(Standard_False) {}
|
||||||
|
|
||||||
//=======================================================================
|
//=======================================================================
|
||||||
//function : Set
|
//function : Set
|
||||||
|
@ -26,7 +26,7 @@
|
|||||||
//purpose :
|
//purpose :
|
||||||
//=======================================================================
|
//=======================================================================
|
||||||
|
|
||||||
PDataStd_ExtStringArray_1::PDataStd_ExtStringArray_1 () { }
|
PDataStd_ExtStringArray_1::PDataStd_ExtStringArray_1 () : myDelta(Standard_False) { }
|
||||||
|
|
||||||
//=======================================================================
|
//=======================================================================
|
||||||
//function : Init
|
//function : Init
|
||||||
|
@ -26,7 +26,7 @@
|
|||||||
//function : PDataStd_IntPackedMap_1
|
//function : PDataStd_IntPackedMap_1
|
||||||
//purpose : Constructor
|
//purpose : Constructor
|
||||||
//=======================================================================
|
//=======================================================================
|
||||||
PDataStd_IntPackedMap_1::PDataStd_IntPackedMap_1() {}
|
PDataStd_IntPackedMap_1::PDataStd_IntPackedMap_1() : myDelta(Standard_False) {}
|
||||||
|
|
||||||
//=======================================================================
|
//=======================================================================
|
||||||
//function : Init
|
//function : Init
|
||||||
|
@ -28,7 +28,7 @@
|
|||||||
//purpose :
|
//purpose :
|
||||||
//=======================================================================
|
//=======================================================================
|
||||||
|
|
||||||
PDataStd_Integer::PDataStd_Integer () {}
|
PDataStd_Integer::PDataStd_Integer () : myValue(0) {}
|
||||||
|
|
||||||
|
|
||||||
//=======================================================================
|
//=======================================================================
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
//purpose :
|
//purpose :
|
||||||
//=======================================================================
|
//=======================================================================
|
||||||
|
|
||||||
PDataStd_IntegerArray_1::PDataStd_IntegerArray_1 () { }
|
PDataStd_IntegerArray_1::PDataStd_IntegerArray_1 () : myDelta(Standard_False) { }
|
||||||
|
|
||||||
//=======================================================================
|
//=======================================================================
|
||||||
//function : Init
|
//function : Init
|
||||||
|
@ -27,8 +27,7 @@
|
|||||||
//purpose :
|
//purpose :
|
||||||
//=======================================================================
|
//=======================================================================
|
||||||
|
|
||||||
PDataStd_Real::PDataStd_Real () { }
|
PDataStd_Real::PDataStd_Real () : myValue(0.),myDimension(0) { }
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
//=======================================================================
|
//=======================================================================
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
//purpose :
|
//purpose :
|
||||||
//=======================================================================
|
//=======================================================================
|
||||||
|
|
||||||
PDataStd_RealArray_1::PDataStd_RealArray_1 () { }
|
PDataStd_RealArray_1::PDataStd_RealArray_1 () : myDelta(Standard_False) { }
|
||||||
|
|
||||||
//=======================================================================
|
//=======================================================================
|
||||||
//function : Init
|
//function : Init
|
||||||
|
@ -26,7 +26,7 @@
|
|||||||
//purpose :
|
//purpose :
|
||||||
//=======================================================================
|
//=======================================================================
|
||||||
|
|
||||||
PDataStd_Variable::PDataStd_Variable()
|
PDataStd_Variable::PDataStd_Variable() : isConstant(Standard_False)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -19,7 +19,12 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
PDataXtd_Constraint::PDataXtd_Constraint () { }
|
PDataXtd_Constraint::PDataXtd_Constraint () :
|
||||||
|
myType(0),
|
||||||
|
myIsReversed(Standard_False),
|
||||||
|
myIsInverted(Standard_False),
|
||||||
|
myIsVerified(Standard_False)
|
||||||
|
{ }
|
||||||
|
|
||||||
PDataXtd_Constraint::PDataXtd_Constraint(const Standard_Integer Type,
|
PDataXtd_Constraint::PDataXtd_Constraint(const Standard_Integer Type,
|
||||||
const Handle(PDF_HAttributeArray1)& Geometries,
|
const Handle(PDF_HAttributeArray1)& Geometries,
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
|
|
||||||
#include <PDataXtd_Geometry.ixx>
|
#include <PDataXtd_Geometry.ixx>
|
||||||
|
|
||||||
PDataXtd_Geometry::PDataXtd_Geometry () { }
|
PDataXtd_Geometry::PDataXtd_Geometry () : myType(0) { }
|
||||||
|
|
||||||
PDataXtd_Geometry::PDataXtd_Geometry (const Standard_Integer Type) : myType (Type) {}
|
PDataXtd_Geometry::PDataXtd_Geometry (const Standard_Integer Type) : myType (Type) {}
|
||||||
|
|
||||||
|
@ -22,6 +22,9 @@
|
|||||||
|
|
||||||
#include <PDataXtd_PatternStd.ixx>
|
#include <PDataXtd_PatternStd.ixx>
|
||||||
|
|
||||||
PDataXtd_PatternStd::PDataXtd_PatternStd()
|
PDataXtd_PatternStd::PDataXtd_PatternStd() :
|
||||||
|
mySignature(0),
|
||||||
|
myAxis1Reversed(Standard_False),
|
||||||
|
myAxis2Reversed(Standard_False)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
@ -28,7 +28,6 @@
|
|||||||
//purpose :
|
//purpose :
|
||||||
//=======================================================================
|
//=======================================================================
|
||||||
|
|
||||||
PNaming_Name::PNaming_Name()
|
PNaming_Name::PNaming_Name() : myType(0), myShapeType(0), myIndex(0)
|
||||||
:myType(0),myShapeType(0),myIndex(0)
|
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
@ -26,7 +26,6 @@
|
|||||||
//purpose :
|
//purpose :
|
||||||
//=======================================================================
|
//=======================================================================
|
||||||
|
|
||||||
PNaming_Name_1::PNaming_Name_1()
|
PNaming_Name_1::PNaming_Name_1() : myType(0), myShapeType(0), myIndex(0)
|
||||||
:myType(0),myShapeType(0),myIndex(0)
|
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
@ -26,7 +26,6 @@
|
|||||||
//purpose :
|
//purpose :
|
||||||
//=======================================================================
|
//=======================================================================
|
||||||
|
|
||||||
PNaming_Name_2::PNaming_Name_2()
|
PNaming_Name_2::PNaming_Name_2() : myType(0), myShapeType(0), myIndex(0), myOrientation(0)
|
||||||
:myType(0),myShapeType(0),myIndex(0), myOrientation(0)
|
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
@ -27,8 +27,9 @@
|
|||||||
//purpose :
|
//purpose :
|
||||||
//=======================================================================
|
//=======================================================================
|
||||||
|
|
||||||
PNaming_NamedShape::PNaming_NamedShape()
|
PNaming_NamedShape::PNaming_NamedShape() :
|
||||||
:myShapeStatus(0),myVersion(0)
|
myShapeStatus(0),
|
||||||
|
myVersion(0)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -28,7 +28,12 @@
|
|||||||
//purpose :
|
//purpose :
|
||||||
//=======================================================================
|
//=======================================================================
|
||||||
|
|
||||||
PPrsStd_AISPresentation::PPrsStd_AISPresentation()
|
PPrsStd_AISPresentation::PPrsStd_AISPresentation() :
|
||||||
|
myIsDisplayed(Standard_False),
|
||||||
|
myTransparency(0.),
|
||||||
|
myColor(0),
|
||||||
|
myMaterial(0),
|
||||||
|
myWidth(0.)
|
||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
|
@ -26,9 +26,14 @@
|
|||||||
//purpose :
|
//purpose :
|
||||||
//=======================================================================
|
//=======================================================================
|
||||||
|
|
||||||
PPrsStd_AISPresentation_1::PPrsStd_AISPresentation_1()
|
PPrsStd_AISPresentation_1::PPrsStd_AISPresentation_1() :
|
||||||
|
myIsDisplayed(Standard_False),
|
||||||
|
myTransparency(0.),
|
||||||
|
myColor(0),
|
||||||
|
myMaterial(0),
|
||||||
|
myWidth(0.),
|
||||||
|
myMode(0)
|
||||||
{
|
{
|
||||||
myMode=0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -27,7 +27,7 @@
|
|||||||
//=======================================================================
|
//=======================================================================
|
||||||
|
|
||||||
PTopoDS_HShape::PTopoDS_HShape() :
|
PTopoDS_HShape::PTopoDS_HShape() :
|
||||||
myOrient(TopAbs_FORWARD)
|
myOrient(TopAbs_FORWARD)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -32,9 +32,9 @@
|
|||||||
//purpose :
|
//purpose :
|
||||||
//=======================================================================
|
//=======================================================================
|
||||||
|
|
||||||
PTopoDS_Shape1::PTopoDS_Shape1()
|
PTopoDS_Shape1::PTopoDS_Shape1() : myOrient(TopAbs_FORWARD)
|
||||||
: myOrient(TopAbs_FORWARD)
|
{
|
||||||
{}
|
}
|
||||||
|
|
||||||
|
|
||||||
//=======================================================================
|
//=======================================================================
|
||||||
|
@ -36,8 +36,7 @@ static const Standard_Integer ConvexMask = 64;
|
|||||||
//purpose :
|
//purpose :
|
||||||
//=======================================================================
|
//=======================================================================
|
||||||
|
|
||||||
PTopoDS_TShape::PTopoDS_TShape() :
|
PTopoDS_TShape::PTopoDS_TShape() : myFlags(0)
|
||||||
myFlags(0)
|
|
||||||
{
|
{
|
||||||
// UPDATE FMA - 28-11-95
|
// UPDATE FMA - 28-11-95
|
||||||
// These two flags are always set to the Transient Value
|
// These two flags are always set to the Transient Value
|
||||||
|
@ -26,7 +26,7 @@
|
|||||||
//purpose :
|
//purpose :
|
||||||
//=======================================================================
|
//=======================================================================
|
||||||
|
|
||||||
PXCAFDoc_Area::PXCAFDoc_Area () { }
|
PXCAFDoc_Area::PXCAFDoc_Area () : myValue(0.) { }
|
||||||
|
|
||||||
//=======================================================================
|
//=======================================================================
|
||||||
//function : PXCAFDoc_Area
|
//function : PXCAFDoc_Area
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
//purpose :
|
//purpose :
|
||||||
//=======================================================================
|
//=======================================================================
|
||||||
|
|
||||||
PXCAFDoc_DimTol::PXCAFDoc_DimTol ()
|
PXCAFDoc_DimTol::PXCAFDoc_DimTol () : myKind(0)
|
||||||
{}
|
{}
|
||||||
|
|
||||||
//=======================================================================
|
//=======================================================================
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
//purpose :
|
//purpose :
|
||||||
//=======================================================================
|
//=======================================================================
|
||||||
|
|
||||||
PXCAFDoc_Material::PXCAFDoc_Material ()
|
PXCAFDoc_Material::PXCAFDoc_Material () : myDensity(0.)
|
||||||
{}
|
{}
|
||||||
|
|
||||||
//=======================================================================
|
//=======================================================================
|
||||||
|
@ -26,7 +26,7 @@
|
|||||||
//purpose :
|
//purpose :
|
||||||
//=======================================================================
|
//=======================================================================
|
||||||
|
|
||||||
PXCAFDoc_Volume::PXCAFDoc_Volume () { }
|
PXCAFDoc_Volume::PXCAFDoc_Volume () : myValue(0.) { }
|
||||||
|
|
||||||
//=======================================================================
|
//=======================================================================
|
||||||
//function : PXCAFDoc_Volume
|
//function : PXCAFDoc_Volume
|
||||||
|
@ -379,6 +379,10 @@ static void PerformApprox (const Handle(Adaptor3d_HCurve)& C,
|
|||||||
//=======================================================================
|
//=======================================================================
|
||||||
|
|
||||||
ProjLib_ProjectOnPlane::ProjLib_ProjectOnPlane() :
|
ProjLib_ProjectOnPlane::ProjLib_ProjectOnPlane() :
|
||||||
|
myKeepParam(Standard_False),
|
||||||
|
myFirstPar(0.),
|
||||||
|
myLastPar(0.),
|
||||||
|
myTolerance(0.),
|
||||||
myType (GeomAbs_OtherCurve),
|
myType (GeomAbs_OtherCurve),
|
||||||
myIsApprox (Standard_False)
|
myIsApprox (Standard_False)
|
||||||
{
|
{
|
||||||
@ -392,6 +396,10 @@ myIsApprox (Standard_False)
|
|||||||
ProjLib_ProjectOnPlane::ProjLib_ProjectOnPlane(const gp_Ax3& Pl) :
|
ProjLib_ProjectOnPlane::ProjLib_ProjectOnPlane(const gp_Ax3& Pl) :
|
||||||
myPlane (Pl) ,
|
myPlane (Pl) ,
|
||||||
myDirection (Pl.Direction()) ,
|
myDirection (Pl.Direction()) ,
|
||||||
|
myKeepParam(Standard_False),
|
||||||
|
myFirstPar(0.),
|
||||||
|
myLastPar(0.),
|
||||||
|
myTolerance(0.),
|
||||||
myType (GeomAbs_OtherCurve),
|
myType (GeomAbs_OtherCurve),
|
||||||
myIsApprox (Standard_False)
|
myIsApprox (Standard_False)
|
||||||
{
|
{
|
||||||
@ -406,6 +414,10 @@ ProjLib_ProjectOnPlane::ProjLib_ProjectOnPlane(const gp_Ax3& Pl,
|
|||||||
const gp_Dir& D ) :
|
const gp_Dir& D ) :
|
||||||
myPlane (Pl) ,
|
myPlane (Pl) ,
|
||||||
myDirection (D) ,
|
myDirection (D) ,
|
||||||
|
myKeepParam(Standard_False),
|
||||||
|
myFirstPar(0.),
|
||||||
|
myLastPar(0.),
|
||||||
|
myTolerance(0.),
|
||||||
myType (GeomAbs_OtherCurve),
|
myType (GeomAbs_OtherCurve),
|
||||||
myIsApprox (Standard_False)
|
myIsApprox (Standard_False)
|
||||||
{
|
{
|
||||||
|
@ -227,6 +227,7 @@ STEPCAFControl_Reader::STEPCAFControl_Reader ():
|
|||||||
myNameMode ( Standard_True ),
|
myNameMode ( Standard_True ),
|
||||||
myLayerMode( Standard_True ),
|
myLayerMode( Standard_True ),
|
||||||
myPropsMode( Standard_True ),
|
myPropsMode( Standard_True ),
|
||||||
|
mySHUOMode ( Standard_False ),
|
||||||
myGDTMode ( Standard_True ),
|
myGDTMode ( Standard_True ),
|
||||||
myMatMode ( Standard_True )
|
myMatMode ( Standard_True )
|
||||||
{
|
{
|
||||||
@ -246,6 +247,7 @@ STEPCAFControl_Reader::STEPCAFControl_Reader (const Handle(XSControl_WorkSession
|
|||||||
myNameMode ( Standard_True ),
|
myNameMode ( Standard_True ),
|
||||||
myLayerMode( Standard_True ),
|
myLayerMode( Standard_True ),
|
||||||
myPropsMode( Standard_True ),
|
myPropsMode( Standard_True ),
|
||||||
|
mySHUOMode ( Standard_False ),
|
||||||
myGDTMode ( Standard_True ),
|
myGDTMode ( Standard_True ),
|
||||||
myMatMode ( Standard_True )
|
myMatMode ( Standard_True )
|
||||||
{
|
{
|
||||||
|
@ -23,7 +23,8 @@
|
|||||||
|
|
||||||
#if ! defined(NO_CXX_EXCEPTION) && ! defined(OCC_CONVERT_SIGNALS)
|
#if ! defined(NO_CXX_EXCEPTION) && ! defined(OCC_CONVERT_SIGNALS)
|
||||||
|
|
||||||
inline Standard_ErrorHandlerCallback::Standard_ErrorHandlerCallback ()
|
inline Standard_ErrorHandlerCallback::Standard_ErrorHandlerCallback ()
|
||||||
|
: myHandler(0), myPrev(0), myNext(0)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -17,7 +17,11 @@
|
|||||||
|
|
||||||
#include <StepVisual_DirectionCountSelect.hxx>
|
#include <StepVisual_DirectionCountSelect.hxx>
|
||||||
|
|
||||||
StepVisual_DirectionCountSelect::StepVisual_DirectionCountSelect() {}
|
StepVisual_DirectionCountSelect::StepVisual_DirectionCountSelect() :
|
||||||
|
theUDirectionCount(0),
|
||||||
|
theVDirectionCount(0),
|
||||||
|
theTypeOfContent(0)
|
||||||
|
{}
|
||||||
|
|
||||||
void StepVisual_DirectionCountSelect::SetTypeOfContent(const Standard_Integer aType)
|
void StepVisual_DirectionCountSelect::SetTypeOfContent(const Standard_Integer aType)
|
||||||
{
|
{
|
||||||
|
@ -214,7 +214,9 @@ static Standard_Boolean ValidArgs(const TNaming_ListOfNamedShape& Args)
|
|||||||
//purpose :
|
//purpose :
|
||||||
//=======================================================================
|
//=======================================================================
|
||||||
|
|
||||||
TNaming_Name::TNaming_Name():myIndex(-1)
|
TNaming_Name::TNaming_Name() :
|
||||||
|
myType(TNaming_UNKNOWN),
|
||||||
|
myIndex(-1)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -48,7 +48,7 @@ Handle(TObj_Application) TObj_Application::GetInstance()
|
|||||||
//purpose :
|
//purpose :
|
||||||
//=======================================================================
|
//=======================================================================
|
||||||
|
|
||||||
TObj_Application::TObj_Application ()
|
TObj_Application::TObj_Application () : myIsError(Standard_False)
|
||||||
{
|
{
|
||||||
myMessenger = new Message_Messenger;
|
myMessenger = new Message_Messenger;
|
||||||
myMessageDriver = new CDM_COutMessageDriver;
|
myMessageDriver = new CDM_COutMessageDriver;
|
||||||
|
@ -28,7 +28,9 @@
|
|||||||
|
|
||||||
|
|
||||||
TestTopOpe_BOOP::TestTopOpe_BOOP(const char* keys[],
|
TestTopOpe_BOOP::TestTopOpe_BOOP(const char* keys[],
|
||||||
const char* resnamdef)
|
const char* resnamdef) :
|
||||||
|
mynmet(0),
|
||||||
|
myESP(Standard_False)
|
||||||
{
|
{
|
||||||
Standard_Integer i;
|
Standard_Integer i;
|
||||||
for (i=0;i<TESTTOPOPE_NKEYS; i++) mykeys[i] = keys[i];
|
for (i=0;i<TESTTOPOPE_NKEYS; i++) mykeys[i] = keys[i];
|
||||||
|
@ -28,7 +28,7 @@
|
|||||||
# include <strings.h>
|
# include <strings.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
VarsTopo::VarsTopo()
|
VarsTopo::VarsTopo() : mytolarc(0.), mytoltan(0.)
|
||||||
{
|
{
|
||||||
Init();
|
Init();
|
||||||
}
|
}
|
||||||
|
@ -29,13 +29,15 @@
|
|||||||
|
|
||||||
inline TopOpeBRep_LineInter::TopOpeBRep_LineInter() :
|
inline TopOpeBRep_LineInter::TopOpeBRep_LineInter() :
|
||||||
myOK(Standard_True),
|
myOK(Standard_True),
|
||||||
//myIndex, myNbVPoint,
|
myIndex(0), myNbVPoint(0),
|
||||||
myIsVClosed(Standard_False),
|
myIsVClosed(Standard_False),
|
||||||
myHasVPonR(Standard_False),
|
myHasVPonR(Standard_False),
|
||||||
myINL(Standard_False),
|
myINL(Standard_False),
|
||||||
myVPBDefined(Standard_False)
|
myVPBDefined(Standard_False),
|
||||||
//myVPF, myVPL, myVPN,
|
myVPF(0), myVPL(0), myVPN(0),
|
||||||
//myTypeLineCurve, myLineTonF1, myLineTonF2
|
myTypeLineCurve(TopOpeBRep_OTHERTYPE),
|
||||||
|
myexF1(0),myexF2(0)
|
||||||
|
//myLineTonF1, myLineTonF2
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -33,7 +33,7 @@ inline TopOpeBRep_VPointInter::TopOpeBRep_VPointInter() :
|
|||||||
myState1(TopAbs_UNKNOWN),
|
myState1(TopAbs_UNKNOWN),
|
||||||
myState2(TopAbs_UNKNOWN),
|
myState2(TopAbs_UNKNOWN),
|
||||||
myKeep(Standard_False),
|
myKeep(Standard_False),
|
||||||
//myEdgeONPar1, myEdgeONPar2,
|
myEdgeONPar1(0.), myEdgeONPar2(0.),
|
||||||
myIndex(0),
|
myIndex(0),
|
||||||
myS1(0),myS2(0)
|
myS1(0),myS2(0)
|
||||||
{
|
{
|
||||||
|
@ -26,7 +26,10 @@
|
|||||||
//purpose :
|
//purpose :
|
||||||
//=======================================================================
|
//=======================================================================
|
||||||
|
|
||||||
inline TopOpeBRepBuild_FuseFace::TopOpeBRepBuild_FuseFace ():myDone(Standard_False)
|
inline TopOpeBRepBuild_FuseFace::TopOpeBRepBuild_FuseFace () :
|
||||||
|
myInternal(Standard_False),
|
||||||
|
myModified(Standard_False),
|
||||||
|
myDone(Standard_False)
|
||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
|
@ -48,7 +48,8 @@ TopOpeBRepDS_DataStructure::TopOpeBRepDS_DataStructure() :
|
|||||||
myNbSurfaces(0),
|
myNbSurfaces(0),
|
||||||
myNbCurves(0),
|
myNbCurves(0),
|
||||||
myNbPoints(0),
|
myNbPoints(0),
|
||||||
myIsfafa(Standard_False)
|
myIsfafa(Standard_False),
|
||||||
|
myI(0)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -42,7 +42,8 @@ class VrmlData_TextureTransform : public VrmlData_Node
|
|||||||
*/
|
*/
|
||||||
inline VrmlData_TextureTransform (const VrmlData_Scene& theScene,
|
inline VrmlData_TextureTransform (const VrmlData_Scene& theScene,
|
||||||
const char * theName)
|
const char * theName)
|
||||||
: VrmlData_Node (theScene, theName)
|
: VrmlData_Node (theScene, theName),
|
||||||
|
myRotation(0.)
|
||||||
{}
|
{}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user