Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > C++ Leda > voronoi diagram
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 1 Topic 136 of 212
Post > Topic >>

voronoi diagram

by "alexander chupeev" <someone@[EMAIL PROTECTED] > Jun 21, 2004 at 07:00 PM

Hello LEDA,



Face edges of GRAPH<CIRCLE,POINT> returned from
leda_point_set::compute_voronoi() should be labeled with the same point,
i.e. this edges bounds voronoi site assigned for the particular point of
delaunay triangulation. When I iterate through face edges of voronoi graph
and do the as simple test as


  GREAPH<CIRCLE, POINT> g;
  leda_edge e;
  leda_point p_source = g.source(e).center();
  leda_point p_target = g.target(e).center();
  leda_point p_label = g[e];
  int o = orientation(p_source, p_target, p_label);

I get different sign of variable 'o'. It seems that graph labeling is
wrong
after compute_voronoi() procedure. Moreover, there is no reversal
information assigned to edges so I should call make_mak() member function
to
correct this issue.

Alexander.
 




 1 Posts in Topic:
voronoi diagram
"alexander chupeev&q  2004-06-21 19:00:44 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Tue Jul 8 22:45:01 CDT 2008.