Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] import_from_triangulation_3: Issue in number of vertices stored in cell complex

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] import_from_triangulation_3: Issue in number of vertices stored in cell complex


Chronological Thread 
  • From: Guillaume Damiand <>
  • To:
  • Subject: Re: [cgal-discuss] import_from_triangulation_3: Issue in number of vertices stored in cell complex
  • Date: Fri, 27 Mar 2015 13:36:59 +0100

Le 27/03/2015 12:45, Pranav a écrit :
Guillaume Damiand wrote
When you call the function CGAL::import_from_triangulation_3, you can
use an undocumented third parameter (a std::map
std::map&lt;Triangulation::Cell_handle, LCC_3::Dart_handle &gt;) linking
cells
of the T3 and darts of the LCC.

With this map, you can know if a dart belong to the infinite vertex of
the T3 or not.
Since import_from_triangulation_3 returns Dart_handle to the /infinite
vertex/, I tried using it to separate out infinite vertex from other
vertices. But in this code
<https://gist.github.com/pranavkantgaur/9e928dc3fd5816cb891a#file-lccimport-cpp>
I find that the coordinates of infinite vertex in Linear cell complex are
different from those in Delaunay triangulation. Is it really a bug or I am
understanding it incorrectly?

As said by Oliviers, infinite vertex has no coordinates; thus you must not use that !






--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/import-from-triangulation-3-Issue-in-number-of-vertices-stored-in-cell-complex-tp4660599p4660607.html
Sent from the cgal-discuss mailing list archive at Nabble.com.



--
===================================================================
Guillaume DAMIAND

CNRS - LIRIS UMR 5205
Université Claude Bernard
Bâtiment Nautibus (710)
43 Boulevard du 11 Novembre 1918
69622 Villeurbanne Cedex (France)
-------------------------------------------------------------------
Tél: +33 (0)4.72.43.14.34 Fax: +33 (0)4.72.43.15.36
Mail:

Web: http://liris.cnrs.fr/guillaume.damiand/
===================================================================


Attachment: smime.p7s
Description: Signature cryptographique S/MIME




Archive powered by MHonArc 2.6.18.

Top of Page