mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-28 18:30:35 +05:00
PAL13639 ( Create "0D Hypothesis" )
limit segment length by a half of edge length
This commit is contained in:
parent
ced60b03e1
commit
2898e9c0df
@ -475,6 +475,8 @@ void StdMeshers_Regular_1D::redistributeNearVertices (SMESH_Mesh & theM
|
||||
const StdMeshers_SegmentLengthAroundVertex* hyp = getVertexHyp (theMesh, V );
|
||||
if ( hyp ) {
|
||||
double vertexLength = hyp->GetLength();
|
||||
if ( vertexLength > theLength / 2.0 )
|
||||
continue;
|
||||
if ( isEnd1 ) {
|
||||
theParameters.reverse();
|
||||
std::swap( f, l );
|
||||
|
Loading…
Reference in New Issue
Block a user