ソースを参照

copyright and headers

Former-commit-id: 9eebbe740ba7a0980ab133779cb644ce1079058a
Alec Jacobson 8 年 前
コミット
eaa0b6d5a6

+ 7 - 0
include/igl/copyleft/cgal/point_segment_squared_distance.cpp

@@ -1,3 +1,10 @@
+// This file is part of libigl, a simple c++ geometry processing library.
+// 
+// Copyright (C) 2016 Alec Jacobson <alecjacobson@gmail.com>
+// 
+// This Source Code Form is subject to the terms of the Mozilla Public License 
+// v. 2.0. If a copy of the MPL was not distributed with this file, You can 
+// obtain one at http://mozilla.org/MPL/2.0/.
 #include "point_segment_squared_distance.h"
 
 template < typename Kernel>

+ 8 - 1
include/igl/copyleft/cgal/point_segment_squared_distance.h

@@ -1,6 +1,13 @@
+// This file is part of libigl, a simple c++ geometry processing library.
+// 
+// Copyright (C) 2016 Alec Jacobson <alecjacobson@gmail.com>
+// 
+// This Source Code Form is subject to the terms of the Mozilla Public License 
+// v. 2.0. If a copy of the MPL was not distributed with this file, You can 
+// obtain one at http://mozilla.org/MPL/2.0/.
 #ifndef IGL_COPYLEFT_CGAL_POINT_SEGMENT_SQUARED_DISTANCE_H
 #define IGL_COPYLEFT_CGAL_POINT_SEGMENT_SQUARED_DISTANCE_H
-#include <igl/igl_inline.h>
+#include "../../igl_inline.h"
 #include <CGAL/Segment_3.h>
 #include <CGAL/Point_3.h>
 namespace igl

+ 7 - 0
include/igl/copyleft/cgal/point_triangle_squared_distance.cpp

@@ -1,3 +1,10 @@
+// This file is part of libigl, a simple c++ geometry processing library.
+// 
+// Copyright (C) 2016 Alec Jacobson <alecjacobson@gmail.com>
+// 
+// This Source Code Form is subject to the terms of the Mozilla Public License 
+// v. 2.0. If a copy of the MPL was not distributed with this file, You can 
+// obtain one at http://mozilla.org/MPL/2.0/.
 #include "point_triangle_squared_distance.h"
 template < typename Kernel>
 IGL_INLINE void point_triangle_squared_distance(

+ 8 - 1
include/igl/copyleft/cgal/point_triangle_squared_distance.h

@@ -1,6 +1,13 @@
+// This file is part of libigl, a simple c++ geometry processing library.
+// 
+// Copyright (C) 2016 Alec Jacobson <alecjacobson@gmail.com>
+// 
+// This Source Code Form is subject to the terms of the Mozilla Public License 
+// v. 2.0. If a copy of the MPL was not distributed with this file, You can 
+// obtain one at http://mozilla.org/MPL/2.0/.
 #ifndef IGL_COPYLEFT_CGAL_POINT_TRIANGLE_SQUARED_DISTANCE_H
 #define IGL_COPYLEFT_CGAL_POINT_TRIANGLE_SQUARED_DISTANCE_H
-#include <igl/igl_inline.h>
+#include "../../igl_inline.h"
 #include <CGAL/Triangle_3.h>
 #include <CGAL/Point_3.h>
 namespace igl

+ 10 - 3
include/igl/copyleft/cgal/resolve_intersections.cpp

@@ -1,9 +1,16 @@
+// This file is part of libigl, a simple c++ geometry processing library.
+// 
+// Copyright (C) 2016 Alec Jacobson <alecjacobson@gmail.com>
+// 
+// This Source Code Form is subject to the terms of the Mozilla Public License 
+// v. 2.0. If a copy of the MPL was not distributed with this file, You can 
+// obtain one at http://mozilla.org/MPL/2.0/.
 #include "resolve_intersections.h"
 #include "subdivide_segments.h"
 #include "row_to_point.h"
-#include <igl/unique.h>
-#include <igl/list_to_matrix.h>
-#include <igl/copyleft/cgal/assign_scalar.h>
+#include "../../unique.h"
+#include "../../list_to_matrix.h"
+#include "../../copyleft/cgal/assign_scalar.h"
 #include <CGAL/Exact_predicates_exact_constructions_kernel.h>
 #include <CGAL/Segment_2.h>
 #include <CGAL/Point_2.h>

+ 8 - 1
include/igl/copyleft/cgal/resolve_intersections.h

@@ -1,6 +1,13 @@
+// This file is part of libigl, a simple c++ geometry processing library.
+// 
+// Copyright (C) 2016 Alec Jacobson <alecjacobson@gmail.com>
+// 
+// This Source Code Form is subject to the terms of the Mozilla Public License 
+// v. 2.0. If a copy of the MPL was not distributed with this file, You can 
+// obtain one at http://mozilla.org/MPL/2.0/.
 #ifndef IGL_COPYLEFT_CGAL_RESOLVE_INTERSECTIONS_H
 #define IGL_COPYLEFT_CGAL_RESOLVE_INTERSECTIONS_H
-#include <igl/igl_inline.h>
+#include "../../igl_inline.h"
 #include <Eigen/Core>
 
 namespace igl

+ 7 - 0
include/igl/copyleft/cgal/row_to_point.cpp

@@ -1,3 +1,10 @@
+// This file is part of libigl, a simple c++ geometry processing library.
+// 
+// Copyright (C) 2016 Alec Jacobson <alecjacobson@gmail.com>
+// 
+// This Source Code Form is subject to the terms of the Mozilla Public License 
+// v. 2.0. If a copy of the MPL was not distributed with this file, You can 
+// obtain one at http://mozilla.org/MPL/2.0/.
 #include "row_to_point.h"
 
 template <

+ 8 - 1
include/igl/copyleft/cgal/row_to_point.h

@@ -1,6 +1,13 @@
+// This file is part of libigl, a simple c++ geometry processing library.
+// 
+// Copyright (C) 2016 Alec Jacobson <alecjacobson@gmail.com>
+// 
+// This Source Code Form is subject to the terms of the Mozilla Public License 
+// v. 2.0. If a copy of the MPL was not distributed with this file, You can 
+// obtain one at http://mozilla.org/MPL/2.0/.
 #ifndef IGL_COPYLEFT_CGAL_ROW_TO_POINT_H
 #define IGL_COPYLEFT_CGAL_ROW_TO_POINT_H
-#include <igl/igl_inline.h>
+#include "../../igl_inline.h"
 #include <Eigen/Core>
 #include <CGAL/Point_2.h>
 namespace igl

+ 7 - 0
include/igl/copyleft/cgal/segment_segment_squared_distance.cpp

@@ -1,3 +1,10 @@
+// This file is part of libigl, a simple c++ geometry processing library.
+// 
+// Copyright (C) 2016 Alec Jacobson <alecjacobson@gmail.com>
+// 
+// This Source Code Form is subject to the terms of the Mozilla Public License 
+// v. 2.0. If a copy of the MPL was not distributed with this file, You can 
+// obtain one at http://mozilla.org/MPL/2.0/.
 #include "segment_segment_squared_distance.h"
 
 // http://geomalgorithms.com/a07-_distance.html

+ 8 - 1
include/igl/copyleft/cgal/segment_segment_squared_distance.h

@@ -1,6 +1,13 @@
+// This file is part of libigl, a simple c++ geometry processing library.
+// 
+// Copyright (C) 2016 Alec Jacobson <alecjacobson@gmail.com>
+// 
+// This Source Code Form is subject to the terms of the Mozilla Public License 
+// v. 2.0. If a copy of the MPL was not distributed with this file, You can 
+// obtain one at http://mozilla.org/MPL/2.0/.
 #ifndef IGL_COPYLEFT_CGAL_SEGMENT_SEGMENT_SQUARED_DISTANCE_H
 #define IGL_COPYLEFT_CGAL_SEGMENT_SEGMENT_SQUARED_DISTANCE_H
-#include <igl/igl_inline.h>
+#include "../../igl_inline.h"
 #include <CGAL/Segment_3.h>
 #include <CGAL/Point_3.h>
 namespace igl

+ 9 - 2
include/igl/copyleft/cgal/snap_rounding.cpp

@@ -1,8 +1,15 @@
+// This file is part of libigl, a simple c++ geometry processing library.
+// 
+// Copyright (C) 2016 Alec Jacobson <alecjacobson@gmail.com>
+// 
+// This Source Code Form is subject to the terms of the Mozilla Public License 
+// v. 2.0. If a copy of the MPL was not distributed with this file, You can 
+// obtain one at http://mozilla.org/MPL/2.0/.
 #include "snap_rounding.h"
 #include "resolve_intersections.h"
 #include "subdivide_segments.h"
-#include <igl/remove_unreferenced.h>
-#include <igl/unique.h>
+#include "../../remove_unreferenced.h"
+#include "../../unique.h"
 #include <CGAL/Segment_2.h>
 #include <CGAL/Point_2.h>
 #include <CGAL/Vector_2.h>

+ 7 - 0
include/igl/copyleft/cgal/snap_rounding.h

@@ -1,3 +1,10 @@
+// This file is part of libigl, a simple c++ geometry processing library.
+// 
+// Copyright (C) 2016 Alec Jacobson <alecjacobson@gmail.com>
+// 
+// This Source Code Form is subject to the terms of the Mozilla Public License 
+// v. 2.0. If a copy of the MPL was not distributed with this file, You can 
+// obtain one at http://mozilla.org/MPL/2.0/.
 #ifndef IGL_COPYLEFT_CGAL_SNAP_ROUNDING_H
 #define IGL_COPYLEFT_CGAL_SNAP_ROUNDING_H
 

+ 10 - 3
include/igl/copyleft/cgal/subdivide_segments.cpp

@@ -1,8 +1,15 @@
+// This file is part of libigl, a simple c++ geometry processing library.
+// 
+// Copyright (C) 2016 Alec Jacobson <alecjacobson@gmail.com>
+// 
+// This Source Code Form is subject to the terms of the Mozilla Public License 
+// v. 2.0. If a copy of the MPL was not distributed with this file, You can 
+// obtain one at http://mozilla.org/MPL/2.0/.
 #include "subdivide_segments.h"
 #include "row_to_point.h"
-#include <igl/unique.h>
-#include <igl/list_to_matrix.h>
-#include <igl/copyleft/cgal/assign_scalar.h>
+#include "../../unique.h"
+#include "../../list_to_matrix.h"
+#include "../../copyleft/cgal/assign_scalar.h"
 #include <CGAL/Exact_predicates_exact_constructions_kernel.h>
 #include <CGAL/Segment_2.h>
 #include <CGAL/Point_2.h>

+ 8 - 1
include/igl/copyleft/cgal/subdivide_segments.h

@@ -1,6 +1,13 @@
+// This file is part of libigl, a simple c++ geometry processing library.
+// 
+// Copyright (C) 2016 Alec Jacobson <alecjacobson@gmail.com>
+// 
+// This Source Code Form is subject to the terms of the Mozilla Public License 
+// v. 2.0. If a copy of the MPL was not distributed with this file, You can 
+// obtain one at http://mozilla.org/MPL/2.0/.
 #ifndef IGL_COPYLEFT_CGAL_SUBDIVIDE_SEGMENTS_H
 #define IGL_COPYLEFT_CGAL_SUBDIVIDE_SEGMENTS_H
-#include <igl/igl_inline.h>
+#include "../../igl_inline.h"
 #include <Eigen/Core>
 #include <CGAL/Segment_2.h>
 #include <CGAL/Point_2.h>

+ 7 - 0
include/igl/copyleft/cgal/triangle_triangle_squared_distance.cpp

@@ -1,3 +1,10 @@
+// This file is part of libigl, a simple c++ geometry processing library.
+// 
+// Copyright (C) 2016 Alec Jacobson <alecjacobson@gmail.com>
+// 
+// This Source Code Form is subject to the terms of the Mozilla Public License 
+// v. 2.0. If a copy of the MPL was not distributed with this file, You can 
+// obtain one at http://mozilla.org/MPL/2.0/.
 #include "triangle_triangle_squared_distance.h"
 #include "point_triangle_squared_distance.h"
 

+ 8 - 1
include/igl/copyleft/cgal/triangle_triangle_squared_distance.h

@@ -1,6 +1,13 @@
+// This file is part of libigl, a simple c++ geometry processing library.
+// 
+// Copyright (C) 2016 Alec Jacobson <alecjacobson@gmail.com>
+// 
+// This Source Code Form is subject to the terms of the Mozilla Public License 
+// v. 2.0. If a copy of the MPL was not distributed with this file, You can 
+// obtain one at http://mozilla.org/MPL/2.0/.
 #ifndef IGL_COPYLEFT_CGAL_TRIANGLE_TRIANGLE_SQUARED_DISTANCE_H
 #define IGL_COPYLEFT_CGAL_TRIANGLE_TRIANGLE_SQUARED_DISTANCE_H
-#include <igl/igl_inline.h>
+#include "../../igl_inline.h"
 #include <CGAL/Triangle_3.h>
 #include <CGAL/Point_3.h>
 namespace igl