22 #ifndef SMESH_CONTROLPNT_H
23 #define SMESH_CONTROLPNT_H
44 : gp_Pnt(), size(0) {}
46 : gp_Pnt( aPnt ), size( theSize ) {}
47 ControlPnt(
double theX,
double theY,
double theZ,
double theSize=0)
48 : gp_Pnt(theX, theY, theZ), size( theSize ) {}
50 double Size()
const {
return size; };
51 void SetSize(
double theSize ) { size = theSize; };
58 const double& theSize,
59 std::vector< ControlPnt >& thePoints );
62 const double& theSize,
63 std::vector<ControlPnt>& thePoints );
66 const double& theSize,
67 std::vector<ControlPnt>& thePoints );
70 const double& theSize,
71 std::vector<ControlPnt>& thePoints );
#define SMESHUtils_EXPORT
Definition: SMESH_Utils.hxx:37
Definition: SMESH_BoostTxtArchive.hxx:35
void createControlPoints(const TopoDS_Shape &theShape, const double &theSize, std::vector< ControlPnt > &thePoints)
Fills a vector of points from which a size map input file can be written.
Definition: SMESH_ControlPnt.cxx:77
void createPointsSampleFromFace(const TopoDS_Face &theFace, const double &theSize, std::vector< ControlPnt > &thePoints)
Fills a vector of points with point samples approximately.
Definition: SMESH_ControlPnt.cxx:153
void createPointsSampleFromEdge(const TopoDS_Edge &theEdge, const double &theSize, std::vector< ControlPnt > &thePoints)
Fills a vector of points with point samples approximately.
Definition: SMESH_ControlPnt.cxx:124
void createPointsSampleFromSolid(const TopoDS_Solid &theSolid, const double &theSize, std::vector< ControlPnt > &thePoints)
Fills a vector of points with point samples approximately.
Definition: SMESH_ControlPnt.cxx:191
Control point: coordinates and element size at these coordinates.
Definition: SMESH_ControlPnt.hxx:42
ControlPnt(double theX, double theY, double theZ, double theSize=0)
Definition: SMESH_ControlPnt.hxx:47
double Size() const
Definition: SMESH_ControlPnt.hxx:50
void SetSize(double theSize)
Definition: SMESH_ControlPnt.hxx:51
ControlPnt()
Definition: SMESH_ControlPnt.hxx:43
double size
Definition: SMESH_ControlPnt.hxx:51
ControlPnt(const gp_Pnt &aPnt, double theSize=0)
Definition: SMESH_ControlPnt.hxx:45