src/Geometry/clipFacetedVolumeByPlanes3d.cc
//------------------------------------------------------------------------------
// Grab the end vertex for the edge corresponding to the encoded id.
//------------------------------------------------------------------------------
Grab the end vertex for the edge corresponding to the encoded id.
Grab the end vertex for the edge corresponding to the encoded id .
inline
int
endVertex(const int id, const vector<pair<int, int>>& edges) {
  return id < 0 ? edges[~id].first : edges[id].second;
}
inline int endVertex ( const int id , const vector < pair < int , int > > & edges ) { return id < 0 ? edges [ ~ id ] . first : edges [ id ] . second ; }
Grab the end vertex for the edge corresponding to the encoded id.
Grab the end vertex for the edge corresponding to the encoded id .
// if (id < 0) { //   CHECK(~id < edges.size()); //   return edges[~id].first; // } else { //   CHECK(id < edges.size()); //   return edges[id].second; // }