CV_NEXT_EDGE_VTX.c

Matthäus Brandl, 2010-03-03 04:22 pm

Download (254 Bytes)

 
1
//!Return the other vertex which belongs to the given edge
2
#define  CV_NEXT_EDGE_VTX( edge, vertex )                              \
3
     (assert((edge)->vtx[0] == (vertex) || (edge)->vtx[1] == (vertex)),  \
4
      (edge)->vtx[(edge)->vtx[0] == (vertex)])