mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-25 06:20:33 +05:00
Bug: unable to create LocalLength hyp for a sub-mesh on a shape with a degenerated edge
This commit is contained in:
parent
cc9d179c9f
commit
3cc259fbef
@ -216,6 +216,8 @@ bool StdMeshers_LocalLength::SetParametersByMesh(const SMESH_Mesh* theMesh,
|
||||
{
|
||||
const TopoDS_Edge& edge = TopoDS::Edge( edgeMap( iE ));
|
||||
Handle(Geom_Curve) C = BRep_Tool::Curve( edge, L, UMin, UMax );
|
||||
if ( C.IsNull() )
|
||||
continue;
|
||||
GeomAdaptor_Curve AdaptCurve(C, UMin, UMax);
|
||||
|
||||
vector< double > params;
|
||||
|
Loading…
Reference in New Issue
Block a user