Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
674 changes: 674 additions & 0 deletions LICENSE.GPL

Large diffs are not rendered by default.

373 changes: 373 additions & 0 deletions LICENSE.MPL2

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,3 +59,7 @@ and if developing and trying to run from this directory. You could use:
PYTHONPATH=. python tests/test_basic.py
```

## License

Like libigl, the wrapper source code is licensed under MPL2. Code included via
the copyleft and restricted sub-directories may have more restrictive licenses.
7 changes: 7 additions & 0 deletions igl/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# This file is part of libigl, a simple c++ geometry processing library.
#
# Copyright (C) 2023 Alec Jacobson
#
# 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/.
from .pyigl import *
from .helpers import *
from .pyigl_classes import *
Expand Down
9 changes: 8 additions & 1 deletion igl/_version.py
Original file line number Diff line number Diff line change
@@ -1 +1,8 @@
__version__ = "2.5.3dev"
# This file is part of libigl, a simple c++ geometry processing library.
#
# Copyright (C) 2023 Alec Jacobson
#
# 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/.
__version__ = "2.5.4dev"
7 changes: 7 additions & 0 deletions src/active_set.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
// This file is part of libigl, a simple c++ geometry processing library.
//
// Copyright (C) 2023 Teseo Schneider
//
// 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 <common.h>
#include <npe.h>
#include <typedefs.h>
Expand Down
7 changes: 7 additions & 0 deletions src/adjacency_list.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
// This file is part of libigl, a simple c++ geometry processing library.
//
// Copyright (C) 2023 Sebastian Koch
//
// 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 <common.h>
#include <npe.h>
#include <igl/adjacency_list.h>
Expand Down
7 changes: 7 additions & 0 deletions src/adjacency_matrix.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
// This file is part of libigl, a simple c++ geometry processing library.
//
// Copyright (C) 2023 Sebastian Koch
//
// 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 <common.h>
#include <npe.h>
#include <typedefs.h>
Expand Down
7 changes: 7 additions & 0 deletions src/all_pairs_distances.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
// This file is part of libigl, a simple c++ geometry processing library.
//
// Copyright (C) 2023 Teseo Schneider
//
// 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 <common.h>
#include <npe.h>
#include <typedefs.h>
Expand Down
7 changes: 7 additions & 0 deletions src/ambient_occlusion.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
// This file is part of libigl, a simple c++ geometry processing library.
//
// Copyright (C) 2023 KarlLeell
//
// 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/.
// TODO: __missing miss the rest two functions with AABB and shoot_ray. __example

#include <common.h>
Expand Down
7 changes: 7 additions & 0 deletions src/arap_linear_block.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
// This file is part of libigl, a simple c++ geometry processing library.
//
// Copyright (C) 2023 Sebastian Koch
//
// 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 <common.h>
#include <npe.h>
#include <string>
Expand Down
7 changes: 7 additions & 0 deletions src/arap_rhs.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
// This file is part of libigl, a simple c++ geometry processing library.
//
// Copyright (C) 2023 Sebastian Koch
//
// 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 <common.h>
#include <npe.h>
#include <typedefs.h>
Expand Down
7 changes: 7 additions & 0 deletions src/average_onto_faces.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
// This file is part of libigl, a simple c++ geometry processing library.
//
// Copyright (C) 2023 Sebastian Koch
//
// 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 <common.h>
#include <npe.h>
#include <typedefs.h>
Expand Down
7 changes: 7 additions & 0 deletions src/average_onto_vertices.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
// This file is part of libigl, a simple c++ geometry processing library.
//
// Copyright (C) 2023 Sebastian Koch
//
// 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 <common.h>
#include <npe.h>
#include <typedefs.h>
Expand Down
7 changes: 7 additions & 0 deletions src/avg_edge_length.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
// This file is part of libigl, a simple c++ geometry processing library.
//
// Copyright (C) 2023 Sebastian Koch
//
// 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 <common.h>
#include <npe.h>
#include <igl/avg_edge_length.h>
Expand Down
7 changes: 7 additions & 0 deletions src/barycenter.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
// This file is part of libigl, a simple c++ geometry processing library.
//
// Copyright (C) 2023 Sebastian Koch
//
// 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 <common.h>
#include <npe.h>
#include <typedefs.h>
Expand Down
7 changes: 7 additions & 0 deletions src/barycentric_coordinates.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
// This file is part of libigl, a simple c++ geometry processing library.
//
// Copyright (C) 2023 Sebastian Koch
//
// 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 <common.h>
#include <npe.h>
#include <typedefs.h>
Expand Down
7 changes: 7 additions & 0 deletions src/bfs.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
// This file is part of libigl, a simple c++ geometry processing library.
//
// Copyright (C) 2023 Sebastian Koch
//
// 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 <common.h>
#include <npe.h>
#include <typedefs.h>
Expand Down
7 changes: 7 additions & 0 deletions src/bfs_orient.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
// This file is part of libigl, a simple c++ geometry processing library.
//
// Copyright (C) 2023 Sebastian Koch
//
// 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 <common.h>
#include <npe.h>
#include <typedefs.h>
Expand Down
7 changes: 7 additions & 0 deletions src/biharmonic_coordinates.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
// This file is part of libigl, a simple c++ geometry processing library.
//
// Copyright (C) 2023 Teseo Schneider
//
// 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 <common.h>
#include <npe.h>
#include <typedefs.h>
Expand Down
7 changes: 7 additions & 0 deletions src/bijective_composite_harmonic_mapping.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
// This file is part of libigl, a simple c++ geometry processing library.
//
// Copyright (C) 2023 Teseo Schneider
//
// 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 <common.h>
#include <npe.h>
#include <typedefs.h>
Expand Down
7 changes: 7 additions & 0 deletions src/blue_noise.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
// This file is part of libigl, a simple c++ geometry processing library.
//
// Copyright (C) 2023 Peter Kulits
//
// 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/.
//TODO: __example
#include <common.h>
#include <npe.h>
Expand Down
7 changes: 7 additions & 0 deletions src/bone_parents.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
// This file is part of libigl, a simple c++ geometry processing library.
//
// Copyright (C) 2023 Teseo Schneider
//
// 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 <common.h>
#include <npe.h>
#include <typedefs.h>
Expand Down
7 changes: 7 additions & 0 deletions src/boundary_conditions.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
// This file is part of libigl, a simple c++ geometry processing library.
//
// Copyright (C) 2023 KarlLeell
//
// 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/.
// TODO: __example

#include <npe.h>
Expand Down
7 changes: 7 additions & 0 deletions src/boundary_facets.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
// This file is part of libigl, a simple c++ geometry processing library.
//
// Copyright (C) 2023 Sebastian Koch
//
// 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 <common.h>
#include <npe.h>
#include <typedefs.h>
Expand Down
7 changes: 7 additions & 0 deletions src/boundary_loop.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
// This file is part of libigl, a simple c++ geometry processing library.
//
// Copyright (C) 2023 Teseo Schneider
//
// 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 <common.h>
#include <npe.h>
#include <typedefs.h>
Expand Down
7 changes: 7 additions & 0 deletions src/bounding_box.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
// This file is part of libigl, a simple c++ geometry processing library.
//
// Copyright (C) 2023 KarlLeell
//
// 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 <common.h>
#include <npe.h>
#include <typedefs.h>
Expand Down
7 changes: 7 additions & 0 deletions src/bounding_box_diagonal.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
// This file is part of libigl, a simple c++ geometry processing library.
//
// Copyright (C) 2023 KarlLeell
//
// 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/.
// TODO: __example

#include <common.h>
Expand Down
7 changes: 7 additions & 0 deletions src/circulation.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
// This file is part of libigl, a simple c++ geometry processing library.
//
// Copyright (C) 2023 KarlLeell
//
// 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/.
// TODO: __example
//difficult to test

Expand Down
7 changes: 7 additions & 0 deletions src/circumradius.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
// This file is part of libigl, a simple c++ geometry processing library.
//
// Copyright (C) 2023 KarlLeell
//
// 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 <common.h>
#include <npe.h>
#include <typedefs.h>
Expand Down
7 changes: 7 additions & 0 deletions src/collapse_small_triangles.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
// This file is part of libigl, a simple c++ geometry processing library.
//
// Copyright (C) 2023 KarlLeell
//
// 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/.
// TODO: __example

#include <common.h>
Expand Down
7 changes: 7 additions & 0 deletions src/comb_cross_field.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
// This file is part of libigl, a simple c++ geometry processing library.
//
// Copyright (C) 2023 Teseo Schneider
//
// 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 <common.h>
#include <npe.h>
#include <typedefs.h>
Expand Down
7 changes: 7 additions & 0 deletions src/comb_frame_field.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
// This file is part of libigl, a simple c++ geometry processing library.
//
// Copyright (C) 2023 Teseo Schneider
//
// 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 <common.h>
#include <npe.h>
#include <typedefs.h>
Expand Down
7 changes: 7 additions & 0 deletions src/comb_line_field.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
// This file is part of libigl, a simple c++ geometry processing library.
//
// Copyright (C) 2023 Teseo Schneider
//
// 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 <common.h>
#include <npe.h>
#include <typedefs.h>
Expand Down
7 changes: 7 additions & 0 deletions src/compute_frame_field_bisectors.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
// This file is part of libigl, a simple c++ geometry processing library.
//
// Copyright (C) 2023 Teseo Schneider
//
// 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 <common.h>
#include <npe.h>
#include <typedefs.h>
Expand Down
7 changes: 7 additions & 0 deletions src/connect_boundary_to_infinity.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
// This file is part of libigl, a simple c++ geometry processing library.
//
// Copyright (C) 2023 KarlLeell
//
// 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/.
// TODO: __example

#include <common.h>
Expand Down
7 changes: 7 additions & 0 deletions src/connected_components.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
// This file is part of libigl, a simple c++ geometry processing library.
//
// Copyright (C) 2023 Teseo Schneider
//
// 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 <common.h>
#include <npe.h>
#include <typedefs.h>
Expand Down
7 changes: 7 additions & 0 deletions src/copyleft/cgal/convex_hull.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
// This file is part of libigl, a simple c++ geometry processing library.
//
// Copyright (C) 2023 Alec Jacobson
//
// 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 <npe.h>
#include <typedefs.h>

Expand Down
Loading