Skip to content

Instantly share code, notes, and snippets.

View sloriot's full-sized avatar

Sebastien Loriot sloriot

  • GeometryFactory
View GitHub Profile
@sloriot
sloriot / gist:4196282
Created December 3, 2012 16:53
better .gitattributes
# Set default behaviour, in case users don't have core.autocrlf set.
* text=auto
# Explicitly declare text files we want to always be normalized and converted
# to native line endings on checkout.
*.cpp text
*.c text
*.h text
# Declare files that will always have CRLF line endings on checkout.
# modified: AABB_tree/demo/AABB_tree/data/hand.off
# modified: AABB_tree/demo/AABB_tree/data/knot.off
# modified: AABB_tree/demo/AABB_tree/data/part.off
# modified: AABB_tree/demo/AABB_tree/data/u.off
# modified: AABB_tree/test/AABB_tree/data/coverrear.off
# modified: AABB_tree/test/AABB_tree/data/cube.off
# modified: AABB_tree/test/AABB_tree/data/finger.off
# modified: AABB_tree/test/AABB_tree/data/pinion.off
# modified: AABB_tree/test/AABB_tree/data/tetrahedron.off
# modified: BGL/test/BGL/data/genus3.off
['plane_5f3',['Plane_3',['../../../CGAL.CGAL.2D-and-3D-Linear-Geometry-Kernel/html/classKernel_1_1Plane__3.html',1,'Kernel']]],
['plane_5f3',['Plane_3',['../../../CGAL.CGAL.3D-Convex-Hulls/html/classConvexHullTraits__3.html#abdb5dfc26f475f1dbe26032766bd164d',1,'ConvexHullTraits_3::Plane_3()'],['../../../CGAL.CGAL.3D-Convex-Hulls/html/classIsStronglyConvexTraits__3.html#a081bb2a3ce4064181563ba7de2c4c3e1',1,'IsStronglyConvexTraits_3::Plane_3()'],['../../../CGAL.CGAL.3D-Convex-Hulls/html/classCGAL_1_1Convex__hull__traits__3.html#adb9ab63128f5cf582b587b415e3e6b09',1,'CGAL::Convex_hull_traits_3::Plane_3()'],['../../../CGAL.CGAL.2D-Boolean-Operations-on-Nef-Polygons-Embedded-on-the-Sphere/html/classCGAL_1_1Nef__polyhedron__S2_1_1Sphere__circle.html#a948d1872f6276a9e580f9733966714a6',1,'CGAL::Nef_polyhedron_S2::Sphere_circle::Plane_3()'],['../../../CGAL.CGAL.3D-Boolean-Operations-on-Nef-Polyhedra/html/classCGAL_1_1Nef__polyhedron__3.html#a1e7c95d847cd45b84ddd9cf8bb4af71e',1,'CGAL::Nef_polyhedron_3::Plane_3()'],[
#include <CGAL/Timer.h>
/// Nanoflann code
#include <nanoflann.hpp>
#include <cstdlib>
#include <iostream>
#include <fstream>
#include <vector>
#!/bin/bash
SRC=$PWD
INSTALL=/tmp/cgal/install
TEST=/tmp/cgal/test
rm -r build
mkdir -p build
cd build
Qt5_DIR=
#include <CGAL/leda_real.h>
#include <CGAL/CORE_Expr.h>
#include <CGAL/Lazy_exact_nt.h>
#include <CGAL/Simple_cartesian.h>
#include <iostream>
template <class Segment_2, class FT>
72
30 0 0
30 0 6
30 0 12
30 0 18
30 0 24
30 0 30
30 6 0
30 6 6
30 6 12
@sloriot
sloriot / cube.off
Created March 16, 2017 17:57
Data Issue 1977
OFF
8 12 0
-1 -1 -1
-1 1 -1
1 1 -1
1 -1 -1
-1 -1 1
-1 1 1
1 1 1
1 -1 1
#include <CGAL/Exact_predicates_exact_constructions_kernel.h>
#include <CGAL/Arr_segment_traits_2.h>
#include <CGAL/Arrangement_2.h>
#include <vector>
typedef CGAL::Exact_predicates_exact_constructions_kernel Kernel;
typedef CGAL::Arr_segment_traits_2<Kernel> Traits_2;
typedef Traits_2::Point_2 Point_2;
typedef Traits_2::X_monotone_curve_2 Segment_2;
typedef CGAL::Arrangement_2<Traits_2> Arrangement_2;
#include <CGAL/Exact_predicates_inexact_constructions_kernel.h>
#include <CGAL/Polygon_mesh_processing/bbox.h>
#include <CGAL/boost/graph/helpers.h>
#include <CGAL/Surface_mesh.h>
typedef CGAL::Exact_predicates_inexact_constructions_kernel K;
typedef CGAL::Surface_mesh<K::Point_3> SM;
template <class Point, class Vector>