mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-24 21:10:33 +05:00
no deprecated call in header
This commit is contained in:
parent
25df08f7a4
commit
712f6d4c87
@ -2168,6 +2168,13 @@ namespace netgen
|
||||
}
|
||||
}
|
||||
|
||||
void MeshTopology :: GetSegmentEdge (int segnr, int & enr, int & orient) const
|
||||
{
|
||||
enr = segedges.Get(segnr)+1;
|
||||
orient = GetSegmentEdgeOrientation(segnr);
|
||||
}
|
||||
|
||||
|
||||
int MeshTopology :: GetSegmentEdgeOrientation (int elnr) const
|
||||
{
|
||||
const Segment & el = mesh->LineSegment (elnr);
|
||||
|
@ -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