cgal/Surface_mesh_topology/include/CGAL/Polygonal_schema_min_items.h

57 lines
1.6 KiB
C++

// Copyright (c) 2019 CNRS and LIRIS' Establishments (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) : Guillaume Damiand <guillaume.damiand@liris.cnrs.fr>
//
#ifndef CGAL_POLYGONAL_SCHEMA_MIN_ITEMS_H
#define CGAL_POLYGONAL_SCHEMA_MIN_ITEMS_H 1
#include <cstring>
namespace CGAL {
/** @file Polygonal_schema_min_items.h
* Definition of min item class for Polygonal_schema.
*/
/** Minimal items for polygonal schema.
* Generic_map_min_items defines what is the minimal item class for a generic map.
* One struct associated with darts, having one char* named m_label..
*/
struct Polygonal_schema_min_items
{
template < class Refs >
struct Dart_wrapper
{
struct Info_for_darts
{
char* m_label;
Info_for_darts() : m_label(NULL)
{}
};
typedef Info_for_darts Dart_info;
};
};
} // namespace CGAL
#endif // CGAL_POLYGONAL_SCHEMA_MIN_ITEMS_H
// EOF //