-// Copyright (C) 2007-2020 CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2021 CEA/DEN, EDF R&D, OPEN CASCADE
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
{
ControlPnt()
: gp_Pnt(), size(0) {}
- ControlPnt( const gp_Pnt& aPnt, double theSize)
+ ControlPnt( const gp_Pnt& aPnt, double theSize=0)
: gp_Pnt( aPnt ), size( theSize ) {}
- ControlPnt(double theX,double theY,double theZ)
- : gp_Pnt(theX, theY, theZ), size(0) {}
- ControlPnt(double theX,double theY,double theZ, double theSize)
+ ControlPnt(double theX,double theY,double theZ, double theSize=0)
: gp_Pnt(theX, theY, theZ), size( theSize ) {}
double Size() const { return size; };
// Functions to get sample point from shapes
SMESHUtils_EXPORT void createControlPoints( const TopoDS_Shape& theShape,
- const double& theSize,
- std::vector< ControlPnt >& thePoints );
+ const double& theSize,
+ std::vector< ControlPnt >& thePoints );
- SMESHUtils_EXPORT void createPointsSampleFromEdge( const TopoDS_Edge& theEdge,
- const double& theSize,
- std::vector<ControlPnt>& thePoints );
+ SMESHUtils_EXPORT void createPointsSampleFromEdge( const TopoDS_Edge& theEdge,
+ const double& theSize,
+ std::vector<ControlPnt>& thePoints );
- SMESHUtils_EXPORT void createPointsSampleFromFace( const TopoDS_Face& theFace,
- const double& theSize,
- std::vector<ControlPnt>& thePoints );
+ SMESHUtils_EXPORT void createPointsSampleFromFace( const TopoDS_Face& theFace,
+ const double& theSize,
+ std::vector<ControlPnt>& thePoints );
- SMESHUtils_EXPORT void createPointsSampleFromSolid( const TopoDS_Solid& theSolid,
- const double& theSize,
- std::vector<ControlPnt>& thePoints );
+ SMESHUtils_EXPORT void createPointsSampleFromSolid( const TopoDS_Solid& theSolid,
+ const double& theSize,
+ std::vector<ControlPnt>& thePoints );
}
#endif