// Copyright (c) 2005 Rijksuniversiteit Groningen (Netherlands) // All rights reserved. // // This file is part of CGAL (www.cgal.org). // // $URL: https://github.com/CGAL/cgal/blob/v5.2/Skin_surface_3/include/CGAL/Skin_surface_polyhedral_items_3.h $ // $Id: Skin_surface_polyhedral_items_3.h 254d60f 2019-10-19T15:23:19+02:00 Sébastien Loriot // SPDX-License-Identifier: GPL-3.0-or-later OR LicenseRef-Commercial // // // Author(s) : Nico Kruithof #ifndef CGAL_SKIN_SURFACE_POLYHEDRAL_ITEMS_3_H #define CGAL_SKIN_SURFACE_POLYHEDRAL_ITEMS_3_H #include #include #include #include namespace CGAL { template struct Skin_Surface_polyhedral_face: public CGAL::HalfedgeDS_face_base { 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 != nullptr); return tmc_ch->info().first; } TMC_Cell_handle tmc_ch; }; template struct Skin_surface_polyhedral_items_3: public Polyhedron_items_3 { template struct Face_wrapper { typedef Skin_Surface_polyhedral_face Face; }; }; } //namespace CGAL #endif // CGAL_SKIN_SURFACE_POLYHEDRAL_ITEMS_3_H