Subject: CGAL users discussion list
List archive
- From: Monique Teillaud <>
- To:
- Subject: Re: [cgal-discuss] how to get some basic parameters of a triangles?
- Date: Wed, 24 Feb 2010 13:53:49 +0100
Spiridonov wrote:
Hello,
How I get this values (like as incircle point, Hypotenuse, altitude & etc) of
a
Delaunay Triangulations? I mean easy(fast) way :)
Wthat function I canuse in CGAL for work with angles?
--
Serg
Hi
If you are working with Delaunay_triangulation_2<Kernel>
then you can call the method
Triangle t.triangle (Face_handle f)
of Triangulation_2
which will give you a Kernel::Triangle.
Then you have access to all the functionality given by the kernel parameter you are using when constructing the Delaunay triangulation.
The kernel manual will show you what you can compute.
Be careful to choose the most adapted kernel for the computations you want to perform (predicates or constructions, exact or inexact...)
best,
--
Monique Teillaud
INRIA Sophia Antipolis - Méditerranée
http://www.inria.fr/sophia/members/Monique.Teillaud/
- [cgal-discuss] how to get some basic parameters of a triangles?, Spiridonov, 02/24/2010
- Re: [cgal-discuss] how to get some basic parameters of a triangles?, Monique Teillaud, 02/24/2010
Archive powered by MHonArc 2.6.16.