Subject: CGAL users discussion list
List archive
- From: Stefan Witzel <>
- To:
- Subject: Re: [cgal-discuss] Construct_hyperbolic_segment_2 does not terminate
- Date: Thu, 20 Jun 2019 15:31:20 +0200
- Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None ; spf=Pass ; spf=None
- Ironport-phdr: 9a23:vUMJFR8cdeDLT/9uRHKM819IXTAuvvDOBiVQ1KB42+kcTK2v8tzYMVDF4r011RmVBN+ds64P1bSe8/i5HzBZuNDZ6DFKWacPfidNsd8RkQ0kDZzNImzAB9muURYHGt9fXkRu5XCxPBsdMs//Y1rPvi/6tmZKSV3wOgVvO+v6BJPZgdip2OCu4Z3TZBhDiCagbb9oIxi6sBvdutMKjYZtJao8yxrEqWZMd+hK2G9kP12ekwvh6suq4JJv7yFcsO89+sBdVqn3Y742RqFCAjQ8NGA16szrtR3dQgaK+3ARTGYYnAdWDgbc9B31UYv/vSX8tupmxSmVJtb2QqwuWTSj9KhkVhnlgzoaOjEj8WHXjstwjL9HoB+kuhdyzZLYbJ2TOfFjeK7WYNEUSndbXstJWCNBDIGzb5EPAeQPPuhWspfzqEcVoBuiGQWhHv/jxiNUinL026AxzuQvERvB3AwlB98ArWjUo8v7NKgIV+C+0anHzTTfb/JXxzj97JXDfxc6ofGQU7NwcNbRyEgxGAPBlViQponlMCmU1uQJqWSU8+1gVee2hmMhtgp/oSCvy98yhoXVgo8Z0FPJ+CVjzIorO9G0VVR3bNGkHZZWqiqULZF5Qtk4TGFtoCs6yqMJuZq8fCUSzZQo3R/fa/ief4mG+BLvSf+dITl3iX9lYr6/iBGy8U+vyu34SMa4ykpFri1AktXUt3AN0QLc6tSfR/dj4kus3SyD2gPT5+1eP0w4i7fXJ4Quz7MwjpYTtF7MHi7ymEX4lq+WcUAk9/Cz6+T7bLTmp4OcNo5qhQH6Kakulcm/Dv45MggKRWSU5eO81Lj78U3jXLpKluE2krXesJ3COcsbqbS2AwtM3ok+6ha/FCup0MkDnXkcN19FYxKGj43xO17UOvz4DPG/g06tkDhx3fzGMKfhUd3xKS3In77lOLp88EVB0xEbzNZF5psSBKtSGv/rXl7Ns4nDER4lIQGw6+PuFNU7y4UfHGiOD6uUPq7WvRmE67EBOe6JMbQJtTj0LbAa5uL8gHtxzUQBYqi1z5YTQH+9F/ViZU6eZCy/0Z86DW4Ws19mH6TRg1qYXGsLPivgb+cH/jg+TbmeI8LDS4Sq2uHT2S66GthJfDkDBAzRV3jvcIqAVrEHbyfAepY9wAxBbqCoTsoa7T/rrBXzkuM1Ie/d+ylevpXmhoAstr/j0Coq/DkxNPyzlmSETmV6hGQNHmZk06V2oEg7wVCGg/F1
Hi,
Am Do., 20. Juni 2019 um 14:46 Uhr schrieb Stefan Witzel
<>:
> Here is an obscure issue: I have two points p and q for which
> Construct_hyperbolic_segment_2 does not terminate. The points are
> approximately Hyperbolic_point_2(0.9666536103464638,-0.0141826279439945)
> and Hyperbolic_point_2(0.9666536103464638,0.0141826279439945) but I
> don't know how I can dump them exactly. They arise as vertices of a
> hyperbolic Voronoi diagram. Any suggestions?
Actually it did terminate after minutes. So this must have to do with
the exact calculations, climbing up some tower of quadratic
extensions?
I will use the occasion to ask a bit more about exact/inexact calculations:
1. My points do actually come from a quadratic extension of Q (but
from a different program); is there a good way to feed them exactly
into cgal?
2. What would be a good alternative to the time-consuming exact
calculations? If I use
typedef CGAL::Exact_predicates_inexact_constructions_kernel K;
typedef CGAL::Hyperbolic_Delaunay_triangulation_traits_2<K> Gt;
the program is very fast but also the outcome is very unsatisfactory.
Am I right to assume that I should use
typedef CGAL::Hyperbolic_Delaunay_triangulation_CK_traits_2<> Gt;
? In that case, can someone indicate how to cast a
Hyperbolic_segment_2 to a segment or a circular arc? In principle I
appreciate this abstraction between interface and implementation but
in practice I find that the interface doesn't provide what I need (see
a previous discussion) so I need to access the actual implementation
and then digging into a template with three nested template parameters
is beyond me.
Best,
Stefan
- [cgal-discuss] Construct_hyperbolic_segment_2 does not terminate, Stefan Witzel, 06/20/2019
- Re: [cgal-discuss] Construct_hyperbolic_segment_2 does not terminate, Stefan Witzel, 06/20/2019
- Re: [cgal-discuss] Construct_hyperbolic_segment_2 does not terminate, Monique Teillaud, 06/21/2019
- Re: [cgal-discuss] Construct_hyperbolic_segment_2 does not terminate, Stefan Witzel, 06/21/2019
- Re: [cgal-discuss] Construct_hyperbolic_segment_2 does not terminate, Monique Teillaud, 06/21/2019
- Re: [cgal-discuss] Construct_hyperbolic_segment_2 does not terminate, Stefan Witzel, 06/20/2019
Archive powered by MHonArc 2.6.18.