mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-24 04:50:34 +05:00
no deprecated call in header
This commit is contained in:
parent
25df08f7a4
commit
712f6d4c87
@ -2167,6 +2167,13 @@ namespace netgen
|
||||
return facedir;
|
||||
}
|
||||
}
|
||||
|
||||
void MeshTopology :: GetSegmentEdge (int segnr, int & enr, int & orient) const
|
||||
{
|
||||
enr = segedges.Get(segnr)+1;
|
||||
orient = GetSegmentEdgeOrientation(segnr);
|
||||
}
|
||||
|
||||
|
||||
int MeshTopology :: GetSegmentEdgeOrientation (int elnr) const
|
||||
{
|
||||
|
@ -93,12 +93,14 @@ public:
|
||||
int GetEdge (SegmentIndex segnr) const { return segedges[segnr]; }
|
||||
|
||||
[[deprecated("use GetEdge(SegmentIndex) instead")]]
|
||||
void GetSegmentEdge (int segnr, int & enr, int & orient) const
|
||||
void GetSegmentEdge (int segnr, int & enr, int & orient) const;
|
||||
/*
|
||||
{
|
||||
enr = segedges.Get(segnr)+1;
|
||||
// orient = segedges.Get(segnr).orient;
|
||||
orient = GetSegmentEdgeOrientation(segnr);
|
||||
}
|
||||
}
|
||||
*/
|
||||
|
||||
[[deprecated("use GetEdges (ElementIndex) -> FlatArray")]]
|
||||
void GetElementEdges (int elnr, NgArray<int> & edges) const;
|
||||
|
Loading…
Reference in New Issue
Block a user