Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Comparing two cells for equality in Delaunay tetrahedralization

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Comparing two cells for equality in Delaunay tetrahedralization


Chronological Thread 
  • From: Andreas Fabri <>
  • To:
  • Subject: Re: [cgal-discuss] Comparing two cells for equality in Delaunay tetrahedralization
  • Date: Sun, 11 Jan 2015 11:01:01 +0100
  • Organization: GeometryFactory

Hello,

Cell_handle c1 = ...
Cell_handle c2 = ...

if(c1 == c2) should do it.

and operator== does &*c1 == &*c2
that is it compares the adress of the pointee of the handle.

best,

andreas

On 11/01/2015 09:54, Pranav wrote:
Hi,

I have a pair of cell handles (ch1, ch2) on a 3D Delaunay
tetrahedralization. I want to know whether cells pointed to by them are
same? Is there any more efficient way than comparing all 4 vertices of the
cells pointed to by ch1 and ch2 in order to determine whether both point to
the same cell in Delaunay tetrahedralization?



-----
Thanks in advance,
Pranav
--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/Comparing-two-cells-for-equality-in-Delaunay-tetrahedralization-tp4660294.html
Sent from the cgal-discuss mailing list archive at Nabble.com.


--
Andreas Fabri, PhD
Chief Officer, GeometryFactory
Editor, The CGAL Project

phone: +33.492.954.912 skype: andreas.fabri



Archive powered by MHonArc 2.6.18.

Top of Page