Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] visualizing CGAL objects

Subject: CGAL users discussion list

List archive

[cgal-discuss] visualizing CGAL objects


Chronological Thread 
  • From: tcscott <>
  • To:
  • Subject: [cgal-discuss] visualizing CGAL objects
  • Date: Wed, 24 Feb 2016 21:57:20 -0800 (PST)
  • Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None ; spf=SoftFail ; spf=None
  • Ironport-phdr: 9a23:Y+P5mBZHMDeoMsiJNaG0vhn/LSx+4OfEezUN459isYplN5qZpciybnLW6fgltlLVR4KTs6sC0LqJ9f2xEj1cqb+681k8M7V0HycfjssXmwFySOWkMmbcaMDQUiohAc5ZX0Vk9XzoeWJcGcL5ekGA6ibqtW1aJBzzOEJPK/jvHcaK1oLsh7/0psyYMlkArQH+SI0xBS3+lR/WuMgSjNkqAYcK4TyNnEF1ff9Lz3hjP1OZkkW0zM6x+Jl+73YY4Kp5pIZ2eP6kLuFhFfQYV2x+cjN92Mq+vhbKSU6D52AXT34NuhtOGQnMqh/gDbnrtS6vquFm0y6GIYWiUbsvUjO+849kTRbpjGEMMDtvozKfsdB5kK8O+UHpnBd42YOBO9nNOQ==

Dear All

Thanks for the feedback and clarification so far.

I am trying other examples in CGAL. I tried Min_circle_2

I would get an executible a.out from:

g++ -L/opt/local/lib -lcgal -I/opt/local/include/ -lgmp -lmpfr
-L/opt/local/lib/ -lboost_thread-mt min_circle_2.cpp


Output:

CGAL::Min_circle_2( |P| = 100, |S| = 2
P = {
PointC2(98, 0),
PointC2(-99, 0),
PointC2(94, 0),
PointC2(92, 0),
PointC2(90, 0),
PointC2(-89, 0),
PointC2(64, 0),
PointC2(-85, 0),

.
.
.

PointC2(80, 0),
PointC2(96, 0),
PointC2(24, 0),
PointC2(-83, 0),
PointC2(-73, 0),
}
S = {
PointC2(98, 0),
PointC2(-99, 0),
}
circle = CGAL::Optimisation_circle_2( PointC2(-0.5, 0), 9702.25)
)

===

I would get a similar result from Min_ellipse_2

Question is: how to visualize the results?

My earlier and very first result with Convex_Hull could be done in
gnuplot because the output were x-y pairs but these are CGAL data
structures.

I found mention of the Qt Graphics View Framework:

http://doc.cgal.org/Manual/3.4/doc_html/cgal_manual/GraphicsView/Chapter_main.html

but I need a concrete example.

If I need additional software, what do I need to install?

What is the simplest way to visualize these results?

best wishes

Tony




--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/visualizing-CGAL-objects-tp4661624.html
Sent from the cgal-discuss mailing list archive at Nabble.com.



Archive powered by MHonArc 2.6.18.

Top of Page