// Copyright (c) 1997-2001 // ETH Zurich (Switzerland). All rights reserved. // // This file is part of CGAL (www.cgal.org). // // $URL: https://github.com/CGAL/cgal/blob/v5.2/Bounding_volumes/include/CGAL/Min_circle_2_traits_2.h $ // $Id: Min_circle_2_traits_2.h 0779373 2020-03-26T13:31:46+01:00 Sébastien Loriot // SPDX-License-Identifier: GPL-3.0-or-later OR LicenseRef-Commercial // // // Author(s) : Sven Schoenherr , Bernd Gaertner #ifndef CGAL_MIN_CIRCLE_2_TRAITS_2_H #define CGAL_MIN_CIRCLE_2_TRAITS_2_H #include #include #include namespace CGAL { // Class declarations // ================== template < class Traits_ > class Min_circle_2; template < class K_ > class Min_circle_2_traits_2; // Class interface and implementation // ================================== template < class K_ > class Min_circle_2_traits_2 { public: // types typedef K_ K; typedef typename K::Point_2 Point; typedef CGAL::Optimisation_circle_2 Circle; typedef typename K::Orientation_2 Orientation_2; private: // data members Circle circle; // current circle // friends friend class CGAL::Min_circle_2< CGAL::Min_circle_2_traits_2 >; public: // creation (use default implementations) // CGAL::Min_circle_2_traits_2( ); // CGAL::Min_circle_2_traits_2( CGAL::Min_circle_2_traits_2 const&); // operations inline CGAL::Orientation orientation( const Point& p, const Point& q, const Point& r) const { Orientation_2 orientation; return(orientation( p, q, r)); } }; } //namespace CGAL #endif // CGAL_MIN_CIRCLE_2_TRAITS_2_H // ===== EOF ==================================================================