Subject: CGAL users discussion list
List archive
- From: srbehera <>
- To:
- Subject: [cgal-discuss] viewing Sphere in geomview
- Date: Tue, 24 Aug 2010 19:40:10 -0700 (PDT)
Hi
I have written a simple program to draw a sphere using CGAL. But I am not
able to view the figure in Geomview.
Following is the source code
#include <CGAL/Exact_spherical_kernel_3.h>
#include <CGAL/Random.h>
#include <CGAL/IO/Geomview_stream.h>
typedef CGAL::Exact_spherical_kernel_3 Spherical_k;
typedef CGAL::Point_3<Spherical_k> Point_3;
typedef CGAL::Sphere_3<Spherical_k> Sphere_3;
int main() {
Sphere_3 s4 = Sphere_3(Point_3(10,70,100), 20);
CGAL::Geomview_stream geomview;
geomview << CGAL::RED;
geomview << x1;
geomview << s4;
std::cin.get();
return 0;
}
--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/viewing-Sphere-in-geomview-tp2337590p2337590.html
Sent from the cgal-discuss mailing list archive at Nabble.com.
- [cgal-discuss] viewing Sphere in geomview, srbehera, 08/25/2010
- [cgal-discuss] Re: viewing Sphere in geomview, srbehera, 08/25/2010
Archive powered by MHonArc 2.6.16.