swh:1:snp:78e145aa8174e576786284475a76cf6f187b3475
Tip revision: f55b1c6a41f983085a8a27459271f7209185616f authored by Sébastien Loriot on 02 January 2018, 16:16:30 UTC
fix sibson interpolation
fix sibson interpolation
Tip revision: f55b1c6
Skin_surface_polyhedral_items_3.h
// Copyright (c) 2005 Rijksuniversiteit Groningen (Netherlands)
// 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) : Nico Kruithof <Nico@cs.rug.nl>
#ifndef CGAL_SKIN_SURFACE_POLYHEDRAL_ITEMS_3_H
#define CGAL_SKIN_SURFACE_POLYHEDRAL_ITEMS_3_H
#include <CGAL/license/Skin_surface_3.h>
#include <CGAL/HalfedgeDS_face_base.h>
#include <CGAL/Polyhedron_items_3.h>
#include <CGAL/assertions.h>
namespace CGAL {
template<class Refs, class SkinSurface3>
struct Skin_Surface_polyhedral_face: public CGAL::HalfedgeDS_face_base<Refs>
{
typedef SkinSurface3 Skin_surface;
typedef typename SkinSurface3::TMC::Cell_handle TMC_Cell_handle;
typedef typename SkinSurface3::Simplex Simplex;
typename SkinSurface3::Simplex containing_simplex()
{
CGAL_assertion(tmc_ch != NULL);
return tmc_ch->info().first;
}
TMC_Cell_handle tmc_ch;
};
template<class SkinSurface3>
struct Skin_surface_polyhedral_items_3: public Polyhedron_items_3
{
template<class Refs, class Traits>
struct Face_wrapper
{
typedef Skin_Surface_polyhedral_face<Refs, SkinSurface3> Face;
};
};
} //namespace CGAL
#endif // CGAL_SKIN_SURFACE_POLYHEDRAL_ITEMS_3_H