Hypothesis for StdMeshers_Quadrangle_2D, forcing construction of triangles in the in a refinement area if the number of nodes on opposite edges is not the same. See Issue 16186.
More...
#include <StdMeshers_TrianglePreference.hxx>
|
enum | Hypothesis_Status {
HYP_OK = 0
, HYP_MISSING
, HYP_CONCURENT
, HYP_BAD_PARAMETER
,
HYP_HIDDEN_ALGO
, HYP_HIDING_ALGO
, HYP_UNKNOWN_FATAL
, HYP_INCOMPATIBLE
,
HYP_NOTCONFORM
, HYP_ALREADY_EXIST
, HYP_BAD_DIM
, HYP_BAD_SUBSHAPE
,
HYP_BAD_GEOMETRY
, HYP_NEED_SHAPE
, HYP_INCOMPAT_HYPS
} |
|
enum | hypothesis_type {
PARAM_ALGO
, ALGO_0D
, ALGO_1D
, ALGO_2D
,
ALGO_3D
} |
|
static bool | IsStatusFatal (Hypothesis_Status theStatus) |
|
Hypothesis for StdMeshers_Quadrangle_2D, forcing construction of triangles in the in a refinement area if the number of nodes on opposite edges is not the same. See Issue 16186.
◆ StdMeshers_TrianglePreference()
StdMeshers_TrianglePreference::StdMeshers_TrianglePreference |
( |
int |
hypId, |
|
|
int |
studyId, |
|
|
SMESH_Gen * |
gen |
|
) |
| |
◆ ~StdMeshers_TrianglePreference()
StdMeshers_TrianglePreference::~StdMeshers_TrianglePreference |
( |
| ) |
|
|
virtual |
◆ LoadFrom()
istream & StdMeshers_TrianglePreference::LoadFrom |
( |
std::istream & |
load | ) |
|
|
virtual |
◆ SaveTo()
ostream & StdMeshers_TrianglePreference::SaveTo |
( |
std::ostream & |
save | ) |
|
|
virtual |
◆ SetParametersByDefaults()
bool StdMeshers_TrianglePreference::SetParametersByDefaults |
( |
const TDefaults & |
dflts, |
|
|
const SMESH_Mesh * |
theMesh = 0 |
|
) |
| |
|
virtual |
Initialize my parameter values by default parameters.
- Return values
-
bool | - true if parameter values have been successfully defined |
Implements SMESH_Hypothesis.
◆ SetParametersByMesh()
bool StdMeshers_TrianglePreference::SetParametersByMesh |
( |
const SMESH_Mesh * |
theMesh, |
|
|
const TopoDS_Shape & |
theShape |
|
) |
| |
|
virtual |
Initialize my parameter values by the mesh built on the geometry.
- Parameters
-
theMesh | - the built mesh |
theShape | - the geometry of interest |
- Return values
-
bool | - true if parameter values have been successfully defined |
Just return false as this hypothesis does not have parameters values
Implements SMESH_Hypothesis.
◆ operator<<
◆ operator>>
The documentation for this class was generated from the following files:
- FreeCAD/src/3rdParty/salomesmesh/inc/StdMeshers_TrianglePreference.hxx
- FreeCAD/src/3rdParty/salomesmesh/src/StdMeshers/StdMeshers_TrianglePreference.cpp