Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Endpoints of constraint?

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Endpoints of constraint?


Chronological Thread 
  • From: aneta <>
  • To:
  • Subject: Re: [cgal-discuss] Endpoints of constraint?
  • Date: Mon, 28 Feb 2011 13:21:48 +0100
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=jKzrVcWJi2voB0wSQfULqVhUzIed3oOzdsMFIDBG5UEGprJ2s7N5wc0ev14qXNPNiD ZCkKjnE+qY/juXPEhsPHy5g70SDvKYB5ngFZkGw1cyRmyY6UJE+QBsA+xq5x5hsXqxpb avq53/i85hzf9eVxKZjuDfoa4tiLwMzd3tuXo=



Well, based on my experiments it looks like these are endpoints... ;)

Regards,
annie


W dniu 2011-02-28 11:57, annie pisze:
Hello,

Nothing worse than coming back to code written without comments...
I made sth like this:


Vertex_handle v1, v2;
for( Triangulation::Constraint_iterator cit = cdt.constraints_begin();cit
!= cdt.constraints_end(); cit++)
{
v1 = cit->first.first;
v2 = cit->first.second;
...}

I expect it to give me the first and the last vertice handle for endpoints
of constraint. Am I right? Or is it just sth different connected to the
first vertice handle?

Please, help me...

Regards,
annie




Archive powered by MHonArc 2.6.16.

Top of Page