Navigation: Up, Table of Contents, Bibliography, Index, Title Page

Convex Hull Traits Class for LEDA Points
(convex_hull_leda_traits_2)

Definition

The class convex_hull_leda_traits_2 is a convex hull traits class for the two-dimensional plain geometry provided in LEDA, especially leda_points. Please note, that plain geometry in LEDA is potentially non-robust due to the straightforward use of floating-point arithmetic. For robust, reliable computation use LEDA's rational geometry!

#include <CGAL/convex_hull_leda_traits_2.h>

Types

typedef leda_point Point_2;

convex_hull_leda_traits_2::Less_xy
convex_hull_leda_traits_2::Less_yx
convex_hull_leda_traits_2::Leftturn
convex_hull_leda_traits_2::Rightturn
convex_hull_leda_traits_2::Right_of_line
convex_hull_leda_traits_2::Less_dist_to_line
convex_hull_leda_traits_2::Less_rotate_ccw

Creation

convex_hull_leda_traits_2 ch_traits;

Operations

Less_xy ch_traits.get_less_xy_object ()
Less_yx ch_traits.get_less_yx_object ()
Right_of_line
ch_traits.get_right_of_line_object ( Point_2 p,
Point_2 q)
Less_dist_to_line
ch_traits.get_less_dist_to_line_object ( Point_2 p,
Point_2 q)
Less_rotate_ccw ch_traits.get_less_rotate_ccw_object ( Point_2 p)
Leftturn ch_traits.get_leftturn_object ()
Rightturn ch_traits.get_rightturn_object ()


Next: Class declaration of Traits
Navigation: Up, Table of Contents, Bibliography, Index, Title Page
The GALIA project. Jan 18, 2000.