mirror of https://github.com/CGAL/cgal
46 lines
1.3 KiB
C++
46 lines
1.3 KiB
C++
// Copyright (c) 2021 GeometryFactory SARL (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) : Simon Giraudot, Dmitry Anisimov
|
|
|
|
#ifndef CGAL_KSR_PARAMETERS_H
|
|
#define CGAL_KSR_PARAMETERS_H
|
|
|
|
// #include <CGAL/license/Kinetic_shape_reconstruction.h>
|
|
|
|
namespace CGAL {
|
|
namespace KSR {
|
|
|
|
template<typename FT>
|
|
struct Parameters_3 {
|
|
|
|
unsigned int k = 1; // k intersections
|
|
unsigned int n = 0; // n subdivisions, not implemented yet
|
|
|
|
FT enlarge_bbox_ratio = FT(11) / FT(10); // ratio to enlarge bbox
|
|
FT distance_tolerance = FT(0.005) / FT(10); // distance tolerance between planes
|
|
|
|
bool reorient = false; // true - optimal bounding box, false - axis aligned
|
|
|
|
// All files are saved in the current build directory.
|
|
bool verbose = true; // print basic verbose information
|
|
bool debug = false; // print all steps and substeps + export initial and final configurations
|
|
bool export_all = false; // export all intermediate configurations and events
|
|
|
|
// See also global tolerance inside utils.h!
|
|
Parameters_3(const bool v = true, const bool d = false, const bool e = false) :
|
|
verbose(v), debug(d), export_all(e) { }
|
|
};
|
|
|
|
} // namespace KSR
|
|
} // namespace CGAL
|
|
|
|
#endif // CGAL_KSR_PARAMETERS_H
|