• Title of article

    A generic lazy evaluation scheme for exact geometric computations

  • Author/Authors

    Sylvain Pion، نويسنده , , Andreas Fabri، نويسنده ,

  • Issue Information
    ماهنامه با شماره پیاپی سال 2011
  • Pages
    17
  • From page
    307
  • To page
    323
  • Abstract
    We present a generic C++ design to perform exact geometric computations efficiently using lazy evaluations. Exact geometric computations are critical for the robustness of geometric algorithms. Their efficiency is also important for many applications, hence the need for delaying the costly exact computations at run time until they are actually needed, if at all. Our approach is generic and extensible in the sense that it is possible to make it a library that users can apply to their own geometric objects and primitives. It involves techniques such as generic functor-adaptors, static and dynamic polymorphism, reference counting for the management of directed acyclic graphs, and exception handling for triggering exact computations when needed. It also relies on multi-precision arithmetic as well as interval arithmetic. We apply our approach to the whole geometry kernel of Cgal.
  • Keywords
    C++ , Cgal , computational geometry , Lazy evaluation , Exact geometric computation , Generic programming , Numerical robustness , Interval arithmetic
  • Journal title
    Science of Computer Programming
  • Serial Year
    2011
  • Journal title
    Science of Computer Programming
  • Record number

    1080182