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
#include <boost/multiprecision/cpp_int.hpp> | |
#include <boost/multiprecision/gmp.hpp> | |
#include <chrono> | |
#include <iostream> | |
#include <string> | |
template <typename Number> | |
void fct(const std::string& forth) | |
{ | |
const auto start{ std::chrono::steady_clock::now() }; |
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
#include <iostream> | |
#include <fstream> | |
#include <cassert> | |
#include <string> | |
// define the kernel | |
#include <CGAL/Exact_predicates_inexact_constructions_kernel.h> | |
typedef CGAL::Exact_predicates_inexact_constructions_kernel Kernel; | |
typedef Kernel::Segment_2 Segment_2; |
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
#include <CGAL/Exact_predicates_exact_constructions_kernel.h> | |
#include <CGAL/Polyhedron_3.h> | |
#include <CGAL/boost/graph/IO/STL.h> | |
#include <CGAL/Polygon_mesh_processing/orientation.h> | |
typedef CGAL::Exact_predicates_inexact_constructions_kernel C_Kernel; | |
typedef CGAL::Polyhedron_3<C_Kernel> C_Polyhedron; | |
int main() | |
{ |
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
cmake_minimum_required(VERSION 3.1...3.23) | |
project(Stroman) | |
# CGAL and its components | |
find_package(CGAL REQUIRED) | |
create_single_source_cgal_program("readVTK.cpp") | |
find_package(VTK QUIET COMPONENTS vtkCommonCore vtkIOCore vtkIOLegacy vtkIOXML vtkFiltersCore vtkFiltersSources) | |
if (VTK_FOUND) |
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
#include <CGAL/Surface_mesh.h> | |
#include <CGAL/Simple_cartesian.h> | |
typedef CGAL::Simple_cartesian<double> K; | |
typedef K::Point_3 Point_3; | |
typedef CGAL::Surface_mesh<Point_3> Surface_mesh; | |
int main() | |
{ | |
Surface_mesh sm; |
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
#include <boost/operators.hpp> | |
#include <boost/multiprecision/cpp_int.hpp> | |
#include <Eigen/Dense> | |
// Quotient | |
template <class NT_> | |
class Toto | |
: boost::additive2 < Toto<NT_>, NT_ > | |
{ |
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
#include <boost/multiprecision/cpp_int.hpp> | |
typedef boost::multiprecision::cpp_rational Rat; | |
struct E { | |
Rat rat; | |
E(const Rat& rat) | |
: rat(rat) | |
{} | |
}; |
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
// Created by Dominik Krupke on 14.11.22. | |
// | |
#include <vector> | |
#include <iterator> | |
#include <iostream> | |
#include <CGAL/Exact_predicates_exact_constructions_kernel.h> | |
#include <CGAL/Boolean_set_operations_2.h> | |
#include <CGAL/Point_2.h> | |
#include <CGAL/Polygon_2.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
#include <CGAL/Simple_cartesian.h> | |
#include <CGAL/Surface_mesh.h> | |
#include <CGAL/boost/graph/IO/PLY.h> | |
#include <CGAL/Surface_mesh/IO/PLY.h> | |
#include <CGAL/boost/graph/generators.h> | |
#include <CGAL/IO/Color.h> | |
#include <iostream> | |
#include <fstream> |
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
#include <CGAL/Exact_predicates_inexact_constructions_kernel.h> | |
#include <CGAL/Exact_predicates_exact_constructions_kernel.h> | |
#include <CGAL/Constrained_Delaunay_triangulation_2.h> | |
#include <CGAL/Constrained_triangulation_plus_2.h> | |
#include <CGAL/Timer.h> | |
#include <cassert> | |
#include <iostream> |
NewerOlder