in the function :
static int del_init_tri( delaunay_t del, int start )
I think this function is use for creating a initial triangle .
here is the code which confused me :
/
d0->next = d5;
d0->prev = d5;
*/
why halfedge d0 has same next and prev and why it is d5?
I think it should be:
d0->next = d1;
d0->prev = d2;
d1->next = d2;
d1->prev = d0;
d2->next = d0;
d2->prev = d1;
where I am wrong?
thanks!
in the function : static int del_init_tri( delaunay_t del, int start ) I think this function is use for creating a initial triangle . here is the code which confused me : / d0->next = d5; d0->prev = d5;
*/ why halfedge d0 has same next and prev and why it is d5? I think it should be: d0->next = d1; d0->prev = d2; d1->next = d2; d1->prev = d0; d2->next = d0; d2->prev = d1; where I am wrong? thanks!