mirror of https://github.com/CGAL/cgal
40 lines
1.3 KiB
C++
40 lines
1.3 KiB
C++
// Copyright (c) 2017 INRIA Sophia-Antipolis (France).
|
|
// 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 Lesser 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: LGPL-3.0+
|
|
//
|
|
// Author(s) : Mael Rouxel-Labbé
|
|
|
|
#ifndef CGAL_HIDDEN_POINT_MEMORY_POLICY_H
|
|
#define CGAL_HIDDEN_POINT_MEMORY_POLICY_H
|
|
|
|
#include <CGAL/tags.h>
|
|
|
|
namespace CGAL {
|
|
|
|
// A policy to select whether hidden points should be cached in cells or discarded
|
|
// during the construction of a regular triangulation.
|
|
|
|
template < typename Tag >
|
|
struct Hidden_points_memory_policy : public Tag { };
|
|
|
|
typedef Hidden_points_memory_policy<Tag_true> Keep_hidden_points;
|
|
typedef Hidden_points_memory_policy<Tag_false> Discard_hidden_points;
|
|
|
|
} // namespace CGAL
|
|
|
|
#endif // CGAL_HIDDEN_POINT_MEMORY_POLICY_H
|