28#ifndef _SMESH_AutomaticLength_HXX_
29#define _SMESH_AutomaticLength_HXX_
34#include "Utils_SALOME_Exception.hxx"
58 double GetLength(
const SMESH_Mesh* aMesh,
const TopoDS_Shape& anEdge);
63 double GetLength(
const SMESH_Mesh* aMesh,
const double edgeLength);
75 void SetFineness(
double theFineness);
83 virtual std::ostream &
SaveTo(std::ostream & save);
84 virtual std::istream &
LoadFrom(std::istream & load);
ostream & operator<<(ostream &OS, const SMDS_MeshElement *e)
Definition: SMDS_MeshElement.cxx:212
#define STDMESHERS_EXPORT
Definition: SMESH_StdMeshers.hxx:38
istream & operator>>(istream &load, StdMeshers_AutomaticLength &hyp)
Definition: StdMeshers_AutomaticLength.cxx:326
virtual std::istream & LoadFrom(std::istream &load)=0
virtual std::ostream & SaveTo(std::ostream &save)=0
Definition: SMESH_Gen.hxx:68
Definition: SMESH_Hypothesis.hxx:48
virtual bool SetParametersByDefaults(const TDefaults &dflts, const SMESH_Mesh *theMesh=0)=0
Initialize my parameter values by default parameters.
virtual bool SetParametersByMesh(const SMESH_Mesh *theMesh, const TopoDS_Shape &theShape)=0
Initialize my parameter values by the mesh built on the geometry.
Definition: SMESH_Mesh.hxx:80
1D Hypothesis to compute segment length free of thinking
Definition: StdMeshers_AutomaticLength.hxx:50
double _fineness
Definition: StdMeshers_AutomaticLength.hxx:105
double GetFineness() const
Return mesh Fineness.
Definition: StdMeshers_AutomaticLength.hxx:81
const SMESH_Mesh * _mesh
Definition: StdMeshers_AutomaticLength.hxx:104
std::map< const TopoDS_TShape *, double > _TShapeToLength
Definition: StdMeshers_AutomaticLength.hxx:103