Navigation:
Up
,
Table of Contents
,
Bibliography
,
Index
,
Title Page
Traits
Class Implementation using the two-dimensional CGAL Kernel (
CGAL_Min_circle_2_traits_2
)
Definition
The class
CGAL_Min_circle_2_traits_2<R>
interfaces the 2D optimisation algorithm for smallest enclosing circles with the CGAL 2D kernel.
#include <CGAL/Min_circle_2_traits_2.h>
Types
typedef CGAL_Point_2<R>
Point;
typedef
CGAL_Optimisation_circle_2<R>
Circle;
Creation
CGAL_Min_circle_2_traits_2<R>
traits;
CGAL_Min_circle_2_traits_2<R>
traits (
CGAL_Min_circle_2_traits_2<R>
);
Operations
CGAL_Orientation
traits.orientation ( Point p, Point q, Point r)
returns
CGAL_orientation( p, q, r)
.
See Also
CGAL_Min_circle_2
,
CGAL_Min_circle_2_adapterC2
,
CGAL_Min_circle_2_adapterH2
,
Requirements of Traits Classes for 2D Smallest Enclosing Circle
.
Example
See example for
CGAL_Min_circle_2
.
Next:
Class declaration of
CGAL_Min_circle_2_adapterC2<PT,DA>
Navigation:
Up
,
Table of Contents
,
Bibliography
,
Index
,
Title Page
The
CGAL Project
. 22 January, 1999.