Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Simple question: Visualization Points

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Simple question: Visualization Points


Chronological Thread 
  • From: Philipp Moeller <>
  • To:
  • Subject: Re: [cgal-discuss] Simple question: Visualization Points
  • Date: Tue, 28 Feb 2012 12:22:18 +0100
  • Organization: GeometryFactory

sgdimitris
<>
writes:

> Hello, I'm very new in using CGAL and I have a simple problem for most CGAL
> users.
> I have a list of 3-D points and I want to do two simple things:
> a) just show graphically the points in a cartesian coordinate system,
> b) calculate and show their convex hull.
> I searched in the examples and I saw that there is code to calculate convex
> hull, but my problem is that I can't visualize the results. I don't know how
> to show the points graphically.
> I use visual studio 2010 and cgal 3.9.
> I would appreciate your help cause I know that that topic is so simple for
> most users but difficult to me cause I'm very new.


CGAL is a computational geometry library (hence the name) and doesn't
come with visualization out of the box. You will need to decide for a
graphics API to use (OpenGL, DirectX), an abstraction over your graphics
API and possibly a GUI toolkit (Qt, GTK) or use some available solution
for visualizing geometric structures and transform your CGAL
data-structures to something that it can use.

For the convex hull problem, look at [1].

[1] :
http://www.cgal.org/Manual/latest/doc_html/cgal_manual/Convex_hull_3_ref/Function_convex_hull_3.html

HTH,
Philipp



Archive powered by MHonArc 2.6.16.

Top of Page