cgal/Polygonal_surface_reconstru.../include/CGAL/internal/parameters.h

43 lines
1.5 KiB
C++

// Copyright (c) 2018 Liangliang Nan
// 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) : Liangliang Nan
#ifndef CGAL_POLYGONAL_SURFACE_RECONSTRUCTION_PARAMETERS_H
#define CGAL_POLYGONAL_SURFACE_RECONSTRUCTION_PARAMETERS_H
#include <CGAL/license/Polygonal_surface_reconstruction.h>
namespace CGAL {
/// When an intersecting point (at an edge, computed from a plane and an edge)
/// is very close to an existing vertex (i.e., an end point of an edge), we
/// snap the intersecting point to the existing vertex. This way we can avoid
/// many thin faces.
/// \note Value really doesn't matter as long as it is small (default is 1e-10).
/// So this parameter is not intended to be changed by the user.
template <class FT>
FT snap_squared_distance_threshold() {
return FT(1e-10);
}
} //namespace CGAL
#endif // CGAL_POLYGONAL_SURFACE_RECONSTRUCTION_PARAMETERS_H