mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-12 09:40: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
|
TopoDS_Vertex StdMeshers_FaceSide::FirstVertex(int i) const
|
||||||
{
|
{
|
||||||
return (i >= NbEdges()) ? (TopoDS_Vertex()) :
|
TopoDS_Vertex v;
|
||||||
(
|
if ( i < NbEdges() )
|
||||||
myEdge[i].Orientation() <= TopAbs_REVERSED ? // FORWARD || REVERSED
|
{
|
||||||
|
v = myEdge[i].Orientation() <= TopAbs_REVERSED ? // FORWARD || REVERSED
|
||||||
TopExp::FirstVertex( myEdge[i], 1 ) :
|
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