-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
repair the poisson reconstruction plugin
- Loading branch information
Showing
3 changed files
with
51 additions
and
7 deletions.
There are no files selected for viewing
45 changes: 45 additions & 0 deletions
45
Poisson_surface_reconstruction_3/include/CGAL/Mesh_3/Poisson_mesh_traits_generator_3.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
// Copyright (c) 2006-2007, 2024 INRIA Sophia-Antipolis (France). | ||
// All rights reserved. | ||
// | ||
// This file is part of CGAL (www.cgal.org). | ||
// | ||
// $URL$ | ||
// $Id$ | ||
// SPDX-License-Identifier: GPL-3.0-or-later OR LicenseRef-Commercial | ||
// | ||
// Author(s) : Laurent Rineau, Jane Tournois | ||
|
||
#ifndef CGAL_MESH_3_POISSON_MESH_TRAITS_GENERATOR_3_H | ||
#define CGAL_MESH_3_POISSON_MESH_TRAITS_GENERATOR_3_H | ||
|
||
#include <CGAL/license/Poisson_surface_reconstruction_3.h> | ||
|
||
|
||
#include <CGAL/Surface_mesher/Poisson_sphere_oracle_3.h> | ||
|
||
namespace CGAL { | ||
|
||
template <class K> | ||
class Sphere_3; | ||
|
||
/** Default traits class. | ||
* Partial specialization will be in other headers | ||
*/ | ||
template <typename Surface> | ||
struct Poisson_mesh_traits_generator_3 | ||
{ | ||
typedef typename Surface::Surface_mesher_traits_3 Type; | ||
typedef Type type; // for Boost compatibility (meta-programming) | ||
}; | ||
|
||
// specialization for Kernel::Sphere_3 | ||
template <typename Kernel> | ||
struct Poisson_mesh_traits_generator_3<CGAL::Sphere_3<Kernel> > | ||
{ | ||
typedef Surface_mesher::Poisson_sphere_oracle_3<Kernel> Type; | ||
typedef Type type; // for Boost compatibility (meta-programming) | ||
}; | ||
|
||
} // end namespace CGAL | ||
|
||
#endif // CGAL_MESH_3_POISSON_MESH_TRAITS_GENERATOR_3_H |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters