no deprecated call in header

This commit is contained in:
Joachim Schoeberl 2022-04-29 07:20:47 +02:00
parent 25df08f7a4
commit 712f6d4c87
2 changed files with 11 additions and 2 deletions

View File

@ -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 int MeshTopology :: GetSegmentEdgeOrientation (int elnr) const
{ {
const Segment & el = mesh->LineSegment (elnr); const Segment & el = mesh->LineSegment (elnr);

View File

@ -93,12 +93,14 @@ public:
int GetEdge (SegmentIndex segnr) const { return segedges[segnr]; } int GetEdge (SegmentIndex segnr) const { return segedges[segnr]; }
[[deprecated("use GetEdge(SegmentIndex) instead")]] [[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; enr = segedges.Get(segnr)+1;
// orient = segedges.Get(segnr).orient; // orient = segedges.Get(segnr).orient;
orient = GetSegmentEdgeOrientation(segnr); orient = GetSegmentEdgeOrientation(segnr);
} }
*/
[[deprecated("use GetEdges (ElementIndex) -> FlatArray")]] [[deprecated("use GetEdges (ElementIndex) -> FlatArray")]]
void GetElementEdges (int elnr, NgArray<int> & edges) const; void GetElementEdges (int elnr, NgArray<int> & edges) const;