mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-25 08:50:35 +05:00
Fix compilation problem on Debian Sarge
This commit is contained in:
parent
4e29225bc5
commit
d7d3916c31
@ -574,12 +574,14 @@ TSideVector StdMeshers_FaceSide::GetFaceWires(const TopoDS_Face& theFace,
|
||||
|
||||
TopoDS_Vertex StdMeshers_FaceSide::FirstVertex(int i) const
|
||||
{
|
||||
return (i >= NbEdges()) ? (TopoDS_Vertex()) :
|
||||
(
|
||||
myEdge[i].Orientation() <= TopAbs_REVERSED ? // FORWARD || REVERSED
|
||||
TopoDS_Vertex v;
|
||||
if ( i < NbEdges() )
|
||||
{
|
||||
v = myEdge[i].Orientation() <= TopAbs_REVERSED ? // FORWARD || REVERSED
|
||||
TopExp::FirstVertex( myEdge[i], 1 ) :
|
||||
TopoDS::Vertex( TopoDS_Iterator( myEdge[i] ).Value())
|
||||
);
|
||||
TopoDS::Vertex( TopoDS_Iterator( myEdge[i] ).Value() );
|
||||
}
|
||||
return v;
|
||||
}
|
||||
|
||||
//================================================================================
|
||||
|
Loading…
Reference in New Issue
Block a user