Skip to content

Instantly share code, notes, and snippets.

diff --git a/Triangulation_2/include/CGAL/Triangulation_2.h b/Triangulation_2/include/CGAL/Triangulation_2.h
index 204e113..3ce6bea 100644
--- a/Triangulation_2/include/CGAL/Triangulation_2.h
+++ b/Triangulation_2/include/CGAL/Triangulation_2.h
@@ -592,7 +592,7 @@ private:
const double nan =
std::numeric_limits<typename Kernel::FT>::quiet_NaN();
this->_infinite_vertex->set_point(CGAL::Point_2<Kernel>(nan, nan));
- };
+ }
diff --git a/Triangulation_2/test/Triangulation_2/test_infinite_vertex_coordinates_for_T2.cpp b/Triangulation_2/test/Triangulation_2/test_infinite_vertex_coordinates_for_T2.cpp
index 88b9deb..6857428 100644
--- a/Triangulation_2/test/Triangulation_2/test_infinite_vertex_coordinates_for_T2.cpp
+++ b/Triangulation_2/test/Triangulation_2/test_infinite_vertex_coordinates_for_T2.cpp
@@ -3,19 +3,20 @@
#include <CGAL/Regular_triangulation_euclidean_traits_2.h>
#include <CGAL/_test_types.h>
#include <CGAL/Simple_cartesian.h>
+#include <boost/math/special_functions/fpclassify.hpp>
#include <cmath>
template <typename T>
struct is_poolable;
template <typename Poolable>
struct Pooling_traits {
typedef hidden size_type;
/// \name Query Functions
/// @{
#include <boost/graph/graph_traits.hpp>
#include <boost/parameter.hpp>
namespace graphs
{
BOOST_PARAMETER_NAME(graph) // Note: no semicolon
BOOST_PARAMETER_NAME(visitor)
BOOST_PARAMETER_NAME(root_vertex)
project(foobar)
install(DIRECTORY projectA/include DESTINATION include)
install(DIRECTORY projectB/include DESTINATION include)
set(CPACK_SOURCE_GENERATOR "TBZ2")
set(CPACK_SOURCE_IGNORE_FILES "${CPACK_SOURCE_IGNORE_FILES};.git/;.gitignore;.gitattributes;/build*/")
include(CPack)
@bo0ts
bo0ts / tds.cpp
Last active December 10, 2015 17:38
#ifndef _TDS_H_
#define _TDS_H_
#include <CGAL/config.h>
#include <CGAL/Compact_container.h>
// dimension
#include <boost/mpl/int.hpp>
// for property bundle implementation
@bo0ts
bo0ts / ref_function.cpp
Created January 11, 2013 10:26
Dynamic functors with references
#include <boost/function.hpp>
#include <boost/ref.hpp>
#include <iostream>
class X {
public:
void foobar() {
// do stuff
// if func_ is set, call it
if(func_) { func_(23); }
#include <type_traits>
template <typename T>
struct Foo {
static_assert(std::is_same<T, int>::value, "Foobar");
};
template<typename> void use_type() {}
#define CGAL_USE_TYPE(T) use_type<T>()
#.rst:
# FindLEDA
# ----------
#
# FindModule for LEDA.
#
# IMPORTED Targets
# ^^^^^^^^^^^^^^^^
#
# This module defines the :prop_tgt:`IMPORTED` target ``LEDA::LEDA``,
@bo0ts
bo0ts / gist:f916b9f0cae1bbb53a41
Created March 31, 2015 14:33
A check for constructors in default CGAL Kernel
#include <CGAL/Simple_cartesian.h>
#include <CGAL/Cartesian.h>
#include <CGAL/Simple_homogeneous.h>
#include <CGAL/Homogeneous.h>
#include <CGAL/Exact_predicates_inexact_constructions_kernel.h>
#include <CGAL/Exact_predicates_exact_constructions_kernel.h>
typedef CGAL::Exact_predicates_inexact_constructions_kernel EPIC;