Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] triangulate a half sphere

Subject: CGAL users discussion list

List archive

[cgal-discuss] triangulate a half sphere


Chronological Thread 
  • From: Rolf Wester <>
  • To:
  • Subject: [cgal-discuss] triangulate a half sphere
  • Date: Wed, 20 Oct 2010 16:39:30 +0200

Hi,

I'm totally new to CGAL and as CGAL is quite a big library I'm a little bit
lost
in the CGAL universe.

I would like to triangulate a half sphere and get the vertices and cells. I
modified the
triangulating a sphere example:

FT sphere_function (Point_3 p) {
const FT x2=p.x()*p.x(), y2=p.y()*p.y(), z2=p.z()*p.z();
if(z2 < 0.0) return 0.0; // added this line
return x2+y2+z2-1;
}

I guess this is not the best way to do it. Besides this I couldn't find a way
to get the vertices
and cells. Is there a documentation of all the classes and their respective
methods?

I would be very appreciative for your help.

Regards
Rolf

--
------------------------------------
# Dr. Rolf Wester
# Fraunhofer Institut f. Lasertechnik
# Steinbachstrasse 15, D-52074 Aachen, Germany.
# Tel: + 49 (0) 241 8906 401, Fax: +49 (0) 241 8906 121
# EMail:

# WWW: http://www.ilt.fraunhofer.de



Archive powered by MHonArc 2.6.16.

Top of Page