X-Git-Url: http://git.dev.opencascade.org/gitweb/?p=occt.git;a=blobdiff_plain;f=src%2FShapePersistent%2FShapePersistent_Geom_Curve.hxx;h=4ba79319e662ac661e5c8b24be90e716a0c7944c;hb=d533dafb565d4727bccf2fbcfee508a62c3673f5;hpb=078f916446778562978876c9e90f168ed5e3483d diff --git a/src/ShapePersistent/ShapePersistent_Geom_Curve.hxx b/src/ShapePersistent/ShapePersistent_Geom_Curve.hxx index 0e4cef5964..4ba79319e6 100644 --- a/src/ShapePersistent/ShapePersistent_Geom_Curve.hxx +++ b/src/ShapePersistent/ShapePersistent_Geom_Curve.hxx @@ -49,6 +49,10 @@ class ShapePersistent_Geom_Curve : private ShapePersistent_Geom friend class ShapePersistent_Geom_Curve; public: + pBezier() + : myRational(Standard_False) + { + } inline void Read (StdObjMgt_ReadData& theReadData) { theReadData >> myRational >> myPoles >> myWeights; } inline void Write(StdObjMgt_WriteData& theWriteData) @@ -73,6 +77,12 @@ class ShapePersistent_Geom_Curve : private ShapePersistent_Geom friend class ShapePersistent_Geom_Curve; public: + pBSpline() + : myRational(Standard_False), + myPeriodic(Standard_False), + mySpineDegree(0) + { + } inline void Read (StdObjMgt_ReadData& theReadData) { theReadData >> myRational >> myPeriodic >> mySpineDegree; @@ -109,6 +119,11 @@ class ShapePersistent_Geom_Curve : private ShapePersistent_Geom friend class ShapePersistent_Geom_Curve; public: + pTrimmed() + : myFirstU(0.0), + myLastU(0.0) + { + } inline void Read (StdObjMgt_ReadData& theReadData) { theReadData >> myBasisCurve >> myFirstU >> myLastU; } inline void Write (StdObjMgt_WriteData& theWriteData) const @@ -130,6 +145,10 @@ class ShapePersistent_Geom_Curve : private ShapePersistent_Geom friend class ShapePersistent_Geom_Curve; public: + pOffset() + : myOffsetValue(0.0) + { + } inline void Read (StdObjMgt_ReadData& theReadData) { theReadData >> myBasisCurve >> myOffsetDirection >> myOffsetValue; } inline void Write (StdObjMgt_WriteData& theWriteData) const