mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2024-11-15 10:08:35 +05:00
Mantis issue 0020599: additional fix.
This commit is contained in:
parent
c00c4dce5b
commit
784d3e17cd
@ -274,8 +274,8 @@ Standard_Integer GEOMImpl_BlockDriver::Execute(TFunction_Logbook& log) const
|
||||
|
||||
// create two edges, linking ends of the given edges
|
||||
TopoDS_Vertex V11, V12, V21, V22;
|
||||
TopExp::Vertices(anEdge1, V11, V12, Standard_True);
|
||||
TopExp::Vertices(anEdge2, V21, V22, Standard_True);
|
||||
TopExp::Vertices(anEdge1, V11, V12, Standard_False);
|
||||
TopExp::Vertices(anEdge2, V21, V22, Standard_False);
|
||||
if (V11.IsNull() || V12.IsNull() ||
|
||||
V21.IsNull() || V22.IsNull()) {
|
||||
Standard_NullObject::Raise("Bad edge for face construction: vertex is not defined");
|
||||
|
Loading…
Reference in New Issue
Block a user