Go to the documentation of this file.
27 #ifndef _SMESH_AutomaticLength_HXX_
28 #define _SMESH_AutomaticLength_HXX_
85 virtual std::ostream &
SaveTo(std::ostream & save);
86 virtual std::istream &
LoadFrom(std::istream & load);
107 double _fineness,
_S0, _minLen;
std::map< const TopoDS_TShape *, double > _TShapeToLength
void SetFineness(double theFineness)
Set Fineness.
double GetFineness() const
Return mesh Fineness.
1D Hypothesis to compute segment length free of thinking
virtual bool SetParametersByMesh(const SMESH_Mesh *theMesh, const TopoDS_Shape &theShape)
Initialize Fineness by the mesh built on the geometry.
virtual std::ostream & SaveTo(std::ostream &save)
StdMeshers_AutomaticLength(int hypId, int studyId, SMESH_Gen *gen)
virtual ~ StdMeshers_AutomaticLength()
double GetLength(const SMESH_Mesh *aMesh, const double edgeLength)
Computes segment length for an edge of given length.
#define STDMESHERS_EXPORT
double GetLength(const SMESH_Mesh *aMesh, const TopoDS_Shape &anEdge)
Computes segment for a given edge.
virtual std::istream & LoadFrom(std::istream &load)
virtual bool SetParametersByDefaults(const TDefaults &dflts, const SMESH_Mesh *theMesh=0)
Initialize my parameter values by default parameters.