Subject: CGAL users discussion list
List archive
- 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
- [cgal-discuss] triangulate a half sphere, Rolf Wester, 10/20/2010
- Re: [cgal-discuss] triangulate a half sphere, Sebastien Loriot (GeometryFactory), 10/20/2010
- Re: [cgal-discuss] triangulate a half sphere, Laurent Rineau (GeometryFactory), 10/20/2010
Archive powered by MHonArc 2.6.16.