\( \newcommand{\E}{\mathrm{E}} \) \( \newcommand{\A}{\mathrm{A}} \) \( \newcommand{\R}{\mathrm{R}} \) \( \newcommand{\N}{\mathrm{N}} \) \( \newcommand{\Q}{\mathrm{Q}} \) \( \newcommand{\Z}{\mathrm{Z}} \) \( \def\ccSum #1#2#3{ \sum_{#1}^{#2}{#3} } \def\ccProd #1#2#3{ \sum_{#1}^{#2}{#3} }\)
CGAL 4.11.1 - 2D Convex Hulls and Extreme Points
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
CGAL::Convex_hull_traits_2< R > Class Template Reference

#include <CGAL/convex_hull_traits_2.h>

Definition

The class Convex_hull_traits_2 serves as a traits class for all the two-dimensional convex hull and extreme point calculation function.

This class corresponds to the default traits class for these functions.

Is Model Of:
ConvexHullTraits_2
See Also
CGAL::Convex_hull_constructive_traits_2<R>
CGAL::Projection_traits_xy_3<K>
CGAL::Projection_traits_yz_3<K>
CGAL::Projection_traits_xz_3<K>

Types

typedef R::Point_2 Point_2
 
typedef R::Less_xy Less_xy_2
 
typedef R::Less_yx Less_yx_2
 
typedef
R::Less_signed_distance_to_line_2 
Less_signed_distance_to_line_2
 
typedef R::Less_rotate_ccw_2 Less_rotate_ccw_2
 
typedef R::Left_turn_2 Left_turn_2
 
typedef R::Equal_2 Equal_2
 
typedef R::Orientation_2 Orientation_2
 

Creation

 Convex_hull_traits_2 (Convex_hull_traits_2 &t)
 copy constructor.
 

Operations

Less_xy_2 less_xy_2_object ()
 
Less_yx_2 less_yx_2_object ()
 
Less_signed_distance_to_line_2 less_signed_distance_to_line_2_object ()
 
Less_rotate_ccw_2 less_rotate_ccw_2_object ()
 
Left_turn_2 left_turn_2_object ()
 
Equal_2 equal_2_object ()
 
Orientation_2 orientation_2_object ()