Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Issue in visualizing Delaunay tetrahedralization of a cube

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Issue in visualizing Delaunay tetrahedralization of a cube


Chronological Thread 
  • From: Adam Getchell <>
  • To:
  • Subject: Re: [cgal-discuss] Issue in visualizing Delaunay tetrahedralization of a cube
  • Date: Mon, 9 Feb 2015 22:17:18 -0800

Hi Pranav,

I'd be interested to know the details on how you exported from CGAL to ply format. I looked over your code sample, but it appears to only output vertex info from facets, and is missing header information for PLY:

http://people.sc.fsu.edu/~jburkardt/data/ply/ply.html

Thanks!

On Mon, Feb 9, 2015 at 3:23 AM, Pranav <> wrote:
Hi,

I am facing an issue while visualizing the Delaunay tetrahedralization of a
cube. I am finding that some triangles are not visible which seems to be due
to incorrect(clockwise) ordering of points. I have attached a link to the
minimal code which prints the faces of Delaunay tetrahedralization. I am
writing these points and faces to a PLY file and visualizing using them
MeshLab.

I would like to know if there is any mistake in my code while writing the
point indices while defining a face which may be resulting in missing
triangles in visualization?

I have compiled it as:
g++ minimalCode.cpp -lgmp -lCGAL

Minimal code
<https://gist.github.com/pranavkantgaur/6b9eb563aefff7bf20f6#file-printfaces-cpp>




--
View this message in context: http://cgal-discuss.949826.n4.nabble.com/Issue-in-visualizing-Delaunay-tetrahedralization-of-a-cube-tp4660416.html
Sent from the cgal-discuss mailing list archive at Nabble.com.

--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://sympa.inria.fr/sympa/info/cgal-discuss





--
Adam Getchell
"Invincibility is in oneself, vulnerability in the opponent." -- Sun Tzu



Archive powered by MHonArc 2.6.18.

Top of Page