mirror of https://github.com/CGAL/cgal
68 lines
1.9 KiB
C++
68 lines
1.9 KiB
C++
// Copyright (c) 1997-2001
|
|
// ETH Zurich (Switzerland). All rights reserved.
|
|
//
|
|
// This file is part of CGAL (www.cgal.org).
|
|
// You can redistribute it and/or modify it under the terms of the GNU
|
|
// General Public License as published by the Free Software Foundation,
|
|
// either version 3 of the License, or (at your option) any later version.
|
|
//
|
|
// Licensees holding a valid commercial license may use this file in
|
|
// accordance with the commercial license agreement provided with the software.
|
|
//
|
|
// This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
|
|
// WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
|
//
|
|
// $URL$
|
|
// $Id$
|
|
// SPDX-License-Identifier: GPL-3.0+
|
|
//
|
|
//
|
|
// Author(s) : Sven Schoenherr <sven@inf.ethz.ch>, Bernd Gaertner
|
|
|
|
#ifndef CGAL_MIN_ELLIPSE_2_TRAITS_2_H
|
|
#define CGAL_MIN_ELLIPSE_2_TRAITS_2_H
|
|
|
|
#include <CGAL/license/Bounding_volumes.h>
|
|
|
|
|
|
#include <CGAL/Min_ellipse_2/Optimisation_ellipse_2.h>
|
|
|
|
namespace CGAL {
|
|
|
|
// Class declarations
|
|
// ==================
|
|
template < class Traits_ >
|
|
class Min_ellipse_2;
|
|
|
|
template < class K_ >
|
|
class Min_ellipse_2_traits_2;
|
|
|
|
// Class interface and implementation
|
|
// ==================================
|
|
template < class K_ >
|
|
class Min_ellipse_2_traits_2 {
|
|
public:
|
|
// types
|
|
typedef K_ K;
|
|
typedef typename K::Point_2 Point;
|
|
typedef CGAL::Optimisation_ellipse_2<K> Ellipse;
|
|
|
|
private:
|
|
// data members
|
|
Ellipse ellipse; // current ellipse
|
|
|
|
// friends
|
|
friend class CGAL::Min_ellipse_2< CGAL::Min_ellipse_2_traits_2<K> >;
|
|
|
|
public:
|
|
// creation (use default implementations)
|
|
// Min_ellipse_2_traits_2( );
|
|
// Min_ellipse_2_traits_2( Min_ellipse_2_traits_2<K> const&);
|
|
};
|
|
|
|
} //namespace CGAL
|
|
|
|
#endif // CGAL_MIN_ELLIPSE_2_TRAITS_2_H
|
|
|
|
// ===== EOF ==================================================================
|