mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2024-12-26 09:20:35 +05:00
22540: Fix the case if no edges are given
This commit is contained in:
parent
e50a7e7c84
commit
a2992000d6
@ -212,6 +212,10 @@ Standard_Integer GEOMImpl_ShapeDriver::Execute(TFunction_Logbook& log) const
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (aSeqEdgesIn->IsEmpty()) {
|
||||||
|
Standard_ConstructionError::Raise("No edges given");
|
||||||
|
}
|
||||||
|
|
||||||
// 2. Connect edges to wires of maximum length
|
// 2. Connect edges to wires of maximum length
|
||||||
Handle(TopTools_HSequenceOfShape) aSeqWiresOut;
|
Handle(TopTools_HSequenceOfShape) aSeqWiresOut;
|
||||||
ShapeAnalysis_FreeBounds::ConnectEdgesToWires(aSeqEdgesIn, Precision::Confusion(),
|
ShapeAnalysis_FreeBounds::ConnectEdgesToWires(aSeqEdgesIn, Precision::Confusion(),
|
||||||
|
Loading…
Reference in New Issue
Block a user