From 3f81c7f2c01aee55a07d6a1b8205dd09314ab3cb Mon Sep 17 00:00:00 2001 From: Alec Jacobson Date: Mon, 12 Jun 2023 11:39:39 -0400 Subject: [PATCH 1/5] license and copyright headers --- LICENSE.GPL | 674 ++++++++++++++++++ LICENSE.MPL2 | 373 ++++++++++ igl/__init__.py | 7 + igl/_version.py | 9 +- src/active_set.cpp | 7 + src/adjacency_list.cpp | 7 + src/adjacency_matrix.cpp | 9 +- src/all_pairs_distances.cpp | 9 +- src/ambient_occlusion.cpp | 7 + src/arap_linear_block.cpp | 7 + src/arap_rhs.cpp | 9 +- src/average_onto_faces.cpp | 8 +- src/average_onto_vertices.cpp | 9 +- src/avg_edge_length.cpp | 9 +- src/barycenter.cpp | 9 +- src/barycentric_coordinates.cpp | 7 + src/bfs.cpp | 10 +- src/bfs_orient.cpp | 7 + src/biharmonic_coordinates.cpp | 7 + src/bijective_composite_harmonic_mapping.cpp | 9 +- src/blue_noise.cpp | 7 + src/bone_parents.cpp | 9 +- src/boundary_conditions.cpp | 9 +- src/boundary_facets.cpp | 8 +- src/boundary_loop.cpp | 8 +- src/bounding_box.cpp | 9 +- src/bounding_box_diagonal.cpp | 9 +- src/circulation.cpp | 8 +- src/circumradius.cpp | 9 +- src/collapse_small_triangles.cpp | 9 +- src/comb_cross_field.cpp | 9 +- src/comb_frame_field.cpp | 9 +- src/comb_line_field.cpp | 9 +- src/compute_frame_field_bisectors.cpp | 9 +- src/connect_boundary_to_infinity.cpp | 9 +- src/connected_components.cpp | 9 +- src/copyleft/cgal/convex_hull.cpp | 7 + src/copyleft/cgal/intersect_other.cpp | 9 +- src/copyleft/cgal/mesh_boolean.cpp | 8 +- .../cgal/remesh_self_intersections.cpp | 8 +- src/cotmatrix.cpp | 9 +- src/cotmatrix_entries.cpp | 9 +- src/cotmatrix_intrinsic.cpp | 9 +- src/cross_field_missmatch.cpp | 9 +- src/crouzeix_raviart_cotmatrix.cpp | 9 +- src/crouzeix_raviart_massmatrix.cpp | 9 +- src/cut_mesh.cpp | 7 + src/cut_mesh_from_singularities.cpp | 7 + src/cut_to_disk.cpp | 7 + src/cylinder.cpp | 9 +- src/decimate.cpp | 9 +- src/deform_skeleton.cpp | 7 + src/dihedral_angles.cpp | 9 +- src/direct_delta_mush.cpp | 7 + src/directed_edge_orientations.cpp | 7 + src/directed_edge_parents.cpp | 9 +- src/doublearea.cpp | 8 +- src/dqs.cpp | 9 +- src/ears.cpp | 9 +- src/edge_collapse_is_valid.cpp | 8 +- src/edge_flaps.cpp | 9 +- src/edge_lengths.cpp | 9 +- src/edge_topology.cpp | 7 + src/edges.cpp | 7 + src/edges_to_path.cpp | 9 +- src/euler_characteristic.cpp | 9 +- src/exact_geodesic.cpp | 9 +- src/exterior_edges.cpp | 8 +- src/extract_manifold_patches.cpp | 7 + src/extract_non_manifold_edge_curves.cpp | 9 +- src/face_occurrences.cpp | 9 +- src/faces_first.cpp | 7 + src/facet_components.cpp | 7 + src/false_barycentric_subdivision.cpp | 9 +- src/fast_winding_number.cpp | 9 +- src/find_cross_field_singularities.cpp | 9 +- src/fit_cubic_bezier.cpp | 8 +- src/fit_plane.cpp | 9 +- src/flip_avoiding_line_search.cpp | 7 + src/flip_edge.cpp | 7 + src/flipped_triangles.cpp | 7 + src/forward_kinematics.cpp | 9 +- src/gaussian_curvature.cpp | 9 +- src/grad.cpp | 9 +- src/grad_intrinsic.cpp | 9 +- src/harmonic.cpp | 9 +- src/hausdorff.cpp | 10 +- src/heat_geodesic.cpp | 9 +- src/hessian.cpp | 9 +- src/hessian_energy.cpp | 9 +- src/in_element.cpp | 10 +- src/inradius.cpp | 9 +- src/internal_angles.cpp | 9 +- src/intrinsic_delaunay_cotmatrix.cpp | 8 +- src/intrinsic_delaunay_triangulation.cpp | 7 + src/is_border_vertex.cpp | 9 +- src/is_delaunay.cpp | 8 +- src/is_edge_manifold.cpp | 9 +- src/is_intrinsic_delaunay.cpp | 8 +- src/is_irregular_vertex.cpp | 9 +- src/isolines.cpp | 9 +- src/iterative_closest_point.cpp | 9 +- src/lbs_matrix.cpp | 9 +- src/line_segment_in_rectangle.cpp | 7 + src/local_basis.cpp | 9 +- src/look_at.cpp | 9 +- src/loop.cpp | 7 + src/lscm.cpp | 9 +- src/map_vertices_to_circle.cpp | 9 +- src/marching_cubes.cpp | 9 +- src/marching_tets.cpp | 7 + src/massmatrix.cpp | 9 +- src/massmatrix_intrinsic.cpp | 7 + src/min_quad_with_fixed.cpp | 7 + src/moments.cpp | 8 +- src/mvc.cpp | 9 +- src/normal_derivative.cpp | 9 +- src/offset_surface.cpp | 7 + src/orient_outward.cpp | 9 +- src/orientable_patches.cpp | 8 +- src/oriented_facets.cpp | 9 +- src/outer_element.cpp | 9 +- src/partition.cpp | 9 +- src/path_to_edges.cpp | 7 + src/per_corner_normals.cpp | 8 +- src/per_edge_normals.cpp | 9 +- src/per_face_normals.cpp | 8 +- src/per_vertex_attribute_smoothing.cpp | 9 +- src/per_vertex_normals.cpp | 9 +- src/piecewise_constant_winding_number.cpp | 9 +- src/planarize_quad_mesh.cpp | 9 +- src/point_in_circle.cpp | 9 +- src/point_mesh_squared_distance.cpp | 9 +- src/point_simplex_squared_distance.cpp | 9 +- src/polar_dec.cpp | 9 +- src/principal_curvature.cpp | 9 +- src/procrustes.cpp | 8 +- src/project.cpp | 7 + src/project_isometrically_to_plane.cpp | 9 +- src/project_to_line.cpp | 8 +- src/project_to_line_segment.cpp | 9 +- src/pso.cpp | 7 + src/qslim.cpp | 9 +- src/quad_grid.cpp | 7 + src/quad_planarity.cpp | 9 +- src/ramer_douglas_peucker.cpp | 9 +- src/random_points_on_mesh.cpp | 7 + src/random_search.cpp | 7 + src/ray_box_intersect.cpp | 9 +- src/ray_mesh_intersect.cpp | 8 +- src/ray_sphere_intersect.cpp | 9 +- src/readDMAT.cpp | 10 +- src/readMESH.cpp | 7 + src/readMSH.cpp | 9 +- src/readOBJ.cpp | 7 + src/readOFF.cpp | 7 + src/readTGF.cpp | 7 + src/read_triangle_mesh.cpp | 7 + src/remove_duplicate_vertices.cpp | 9 +- src/remove_duplicates.cpp | 9 +- src/remove_unreferenced.cpp | 8 +- src/resolve_duplicated_faces.cpp | 9 +- src/rigid_alignment.cpp | 9 +- src/rotate_vectors.cpp | 7 + src/sample_edges.cpp | 9 +- src/segment_segment_intersect.cpp | 9 +- src/shape_diameter_function.cpp | 9 +- src/sharp_edges.cpp | 7 + src/signed_angle.cpp | 9 +- src/signed_distance.cpp | 26 +- src/simplify_polyhedron.cpp | 7 + src/snap_points.cpp | 7 + src/solid_angle.cpp | 9 +- src/sort_angles.cpp | 9 +- src/sparse_voxel_grid.cpp | 9 +- src/swept_volume_bounding_box.cpp | 7 + src/tet_tet_adjacency.cpp | 7 + src/topological_hole_fill.cpp | 7 + src/triangle/triangulate.cpp | 8 +- src/triangle_fan.cpp | 7 + src/triangle_triangle_adjacency.cpp | 9 +- src/triangles_from_strip.cpp | 9 +- src/triangulated_grid.cpp | 7 + src/two_axis_valuator_fixed_up.cpp | 9 +- src/uniformly_sample_two_manifold.cpp | 9 +- src/unique_edge_map.cpp | 7 + src/unique_simplices.cpp | 9 +- src/unproject.cpp | 7 + src/unproject_in_mesh.cpp | 8 +- src/unproject_on_line.cpp | 8 +- src/unproject_on_plane.cpp | 9 +- src/unproject_onto_mesh.cpp | 8 +- src/unproject_ray.cpp | 9 +- src/upsample.cpp | 7 + src/vector_area_matrix.cpp | 9 +- src/vertex_components.cpp | 10 +- src/vertex_triangle_adjacency.cpp | 10 +- src/volume.cpp | 9 +- src/winding_number.cpp | 9 +- src/writeDMAT.cpp | 10 +- src/writeOBJ.cpp | 11 +- src/writeOFF.cpp | 9 +- src/write_triangle_mesh.cpp | 9 +- 203 files changed, 2469 insertions(+), 280 deletions(-) create mode 100644 LICENSE.GPL create mode 100644 LICENSE.MPL2 diff --git a/LICENSE.GPL b/LICENSE.GPL new file mode 100644 index 00000000..94a9ed02 --- /dev/null +++ b/LICENSE.GPL @@ -0,0 +1,674 @@ + GNU GENERAL PUBLIC LICENSE + Version 3, 29 June 2007 + + Copyright (C) 2007 Free Software Foundation, Inc. + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The GNU General Public License is a free, copyleft license for +software and other kinds of works. + + The licenses for most software and other practical works are designed +to take away your freedom to share and change the works. By contrast, +the GNU General Public License is intended to guarantee your freedom to +share and change all versions of a program--to make sure it remains free +software for all its users. We, the Free Software Foundation, use the +GNU General Public License for most of our software; it applies also to +any other work released this way by its authors. You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +them if you wish), that you receive source code or can get it if you +want it, that you can change the software or use pieces of it in new +free programs, and that you know you can do these things. + + To protect your rights, we need to prevent others from denying you +these rights or asking you to surrender the rights. Therefore, you have +certain responsibilities if you distribute copies of the software, or if +you modify it: responsibilities to respect the freedom of others. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must pass on to the recipients the same +freedoms that you received. You must make sure that they, too, receive +or can get the source code. And you must show them these terms so they +know their rights. + + Developers that use the GNU GPL protect your rights with two steps: +(1) assert copyright on the software, and (2) offer you this License +giving you legal permission to copy, distribute and/or modify it. + + For the developers' and authors' protection, the GPL clearly explains +that there is no warranty for this free software. For both users' and +authors' sake, the GPL requires that modified versions be marked as +changed, so that their problems will not be attributed erroneously to +authors of previous versions. + + Some devices are designed to deny users access to install or run +modified versions of the software inside them, although the manufacturer +can do so. This is fundamentally incompatible with the aim of +protecting users' freedom to change the software. The systematic +pattern of such abuse occurs in the area of products for individuals to +use, which is precisely where it is most unacceptable. Therefore, we +have designed this version of the GPL to prohibit the practice for those +products. If such problems arise substantially in other domains, we +stand ready to extend this provision to those domains in future versions +of the GPL, as needed to protect the freedom of users. + + Finally, every program is threatened constantly by software patents. +States should not allow patents to restrict development and use of +software on general-purpose computers, but in those that do, we wish to +avoid the special danger that patents applied to a free program could +make it effectively proprietary. To prevent this, the GPL assures that +patents cannot be used to render the program non-free. + + The precise terms and conditions for copying, distribution and +modification follow. + + TERMS AND CONDITIONS + + 0. Definitions. + + "This License" refers to version 3 of the GNU General Public License. + + "Copyright" also means copyright-like laws that apply to other kinds of +works, such as semiconductor masks. + + "The Program" refers to any copyrightable work licensed under this +License. Each licensee is addressed as "you". "Licensees" and +"recipients" may be individuals or organizations. + + To "modify" a work means to copy from or adapt all or part of the work +in a fashion requiring copyright permission, other than the making of an +exact copy. The resulting work is called a "modified version" of the +earlier work or a work "based on" the earlier work. + + A "covered work" means either the unmodified Program or a work based +on the Program. + + To "propagate" a work means to do anything with it that, without +permission, would make you directly or secondarily liable for +infringement under applicable copyright law, except executing it on a +computer or modifying a private copy. Propagation includes copying, +distribution (with or without modification), making available to the +public, and in some countries other activities as well. + + To "convey" a work means any kind of propagation that enables other +parties to make or receive copies. Mere interaction with a user through +a computer network, with no transfer of a copy, is not conveying. + + An interactive user interface displays "Appropriate Legal Notices" +to the extent that it includes a convenient and prominently visible +feature that (1) displays an appropriate copyright notice, and (2) +tells the user that there is no warranty for the work (except to the +extent that warranties are provided), that licensees may convey the +work under this License, and how to view a copy of this License. If +the interface presents a list of user commands or options, such as a +menu, a prominent item in the list meets this criterion. + + 1. Source Code. + + The "source code" for a work means the preferred form of the work +for making modifications to it. "Object code" means any non-source +form of a work. + + A "Standard Interface" means an interface that either is an official +standard defined by a recognized standards body, or, in the case of +interfaces specified for a particular programming language, one that +is widely used among developers working in that language. + + The "System Libraries" of an executable work include anything, other +than the work as a whole, that (a) is included in the normal form of +packaging a Major Component, but which is not part of that Major +Component, and (b) serves only to enable use of the work with that +Major Component, or to implement a Standard Interface for which an +implementation is available to the public in source code form. A +"Major Component", in this context, means a major essential component +(kernel, window system, and so on) of the specific operating system +(if any) on which the executable work runs, or a compiler used to +produce the work, or an object code interpreter used to run it. + + The "Corresponding Source" for a work in object code form means all +the source code needed to generate, install, and (for an executable +work) run the object code and to modify the work, including scripts to +control those activities. However, it does not include the work's +System Libraries, or general-purpose tools or generally available free +programs which are used unmodified in performing those activities but +which are not part of the work. For example, Corresponding Source +includes interface definition files associated with source files for +the work, and the source code for shared libraries and dynamically +linked subprograms that the work is specifically designed to require, +such as by intimate data communication or control flow between those +subprograms and other parts of the work. + + The Corresponding Source need not include anything that users +can regenerate automatically from other parts of the Corresponding +Source. + + The Corresponding Source for a work in source code form is that +same work. + + 2. Basic Permissions. + + All rights granted under this License are granted for the term of +copyright on the Program, and are irrevocable provided the stated +conditions are met. This License explicitly affirms your unlimited +permission to run the unmodified Program. The output from running a +covered work is covered by this License only if the output, given its +content, constitutes a covered work. This License acknowledges your +rights of fair use or other equivalent, as provided by copyright law. + + You may make, run and propagate covered works that you do not +convey, without conditions so long as your license otherwise remains +in force. You may convey covered works to others for the sole purpose +of having them make modifications exclusively for you, or provide you +with facilities for running those works, provided that you comply with +the terms of this License in conveying all material for which you do +not control copyright. Those thus making or running the covered works +for you must do so exclusively on your behalf, under your direction +and control, on terms that prohibit them from making any copies of +your copyrighted material outside their relationship with you. + + Conveying under any other circumstances is permitted solely under +the conditions stated below. Sublicensing is not allowed; section 10 +makes it unnecessary. + + 3. Protecting Users' Legal Rights From Anti-Circumvention Law. + + No covered work shall be deemed part of an effective technological +measure under any applicable law fulfilling obligations under article +11 of the WIPO copyright treaty adopted on 20 December 1996, or +similar laws prohibiting or restricting circumvention of such +measures. + + When you convey a covered work, you waive any legal power to forbid +circumvention of technological measures to the extent such circumvention +is effected by exercising rights under this License with respect to +the covered work, and you disclaim any intention to limit operation or +modification of the work as a means of enforcing, against the work's +users, your or third parties' legal rights to forbid circumvention of +technological measures. + + 4. Conveying Verbatim Copies. + + You may convey verbatim copies of the Program's source code as you +receive it, in any medium, provided that you conspicuously and +appropriately publish on each copy an appropriate copyright notice; +keep intact all notices stating that this License and any +non-permissive terms added in accord with section 7 apply to the code; +keep intact all notices of the absence of any warranty; and give all +recipients a copy of this License along with the Program. + + You may charge any price or no price for each copy that you convey, +and you may offer support or warranty protection for a fee. + + 5. Conveying Modified Source Versions. + + You may convey a work based on the Program, or the modifications to +produce it from the Program, in the form of source code under the +terms of section 4, provided that you also meet all of these conditions: + + a) The work must carry prominent notices stating that you modified + it, and giving a relevant date. + + b) The work must carry prominent notices stating that it is + released under this License and any conditions added under section + 7. This requirement modifies the requirement in section 4 to + "keep intact all notices". + + c) You must license the entire work, as a whole, under this + License to anyone who comes into possession of a copy. This + License will therefore apply, along with any applicable section 7 + additional terms, to the whole of the work, and all its parts, + regardless of how they are packaged. This License gives no + permission to license the work in any other way, but it does not + invalidate such permission if you have separately received it. + + d) If the work has interactive user interfaces, each must display + Appropriate Legal Notices; however, if the Program has interactive + interfaces that do not display Appropriate Legal Notices, your + work need not make them do so. + + A compilation of a covered work with other separate and independent +works, which are not by their nature extensions of the covered work, +and which are not combined with it such as to form a larger program, +in or on a volume of a storage or distribution medium, is called an +"aggregate" if the compilation and its resulting copyright are not +used to limit the access or legal rights of the compilation's users +beyond what the individual works permit. Inclusion of a covered work +in an aggregate does not cause this License to apply to the other +parts of the aggregate. + + 6. Conveying Non-Source Forms. + + You may convey a covered work in object code form under the terms +of sections 4 and 5, provided that you also convey the +machine-readable Corresponding Source under the terms of this License, +in one of these ways: + + a) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by the + Corresponding Source fixed on a durable physical medium + customarily used for software interchange. + + b) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by a + written offer, valid for at least three years and valid for as + long as you offer spare parts or customer support for that product + model, to give anyone who possesses the object code either (1) a + copy of the Corresponding Source for all the software in the + product that is covered by this License, on a durable physical + medium customarily used for software interchange, for a price no + more than your reasonable cost of physically performing this + conveying of source, or (2) access to copy the + Corresponding Source from a network server at no charge. + + c) Convey individual copies of the object code with a copy of the + written offer to provide the Corresponding Source. This + alternative is allowed only occasionally and noncommercially, and + only if you received the object code with such an offer, in accord + with subsection 6b. + + d) Convey the object code by offering access from a designated + place (gratis or for a charge), and offer equivalent access to the + Corresponding Source in the same way through the same place at no + further charge. You need not require recipients to copy the + Corresponding Source along with the object code. If the place to + copy the object code is a network server, the Corresponding Source + may be on a different server (operated by you or a third party) + that supports equivalent copying facilities, provided you maintain + clear directions next to the object code saying where to find the + Corresponding Source. Regardless of what server hosts the + Corresponding Source, you remain obligated to ensure that it is + available for as long as needed to satisfy these requirements. + + e) Convey the object code using peer-to-peer transmission, provided + you inform other peers where the object code and Corresponding + Source of the work are being offered to the general public at no + charge under subsection 6d. + + A separable portion of the object code, whose source code is excluded +from the Corresponding Source as a System Library, need not be +included in conveying the object code work. + + A "User Product" is either (1) a "consumer product", which means any +tangible personal property which is normally used for personal, family, +or household purposes, or (2) anything designed or sold for incorporation +into a dwelling. In determining whether a product is a consumer product, +doubtful cases shall be resolved in favor of coverage. For a particular +product received by a particular user, "normally used" refers to a +typical or common use of that class of product, regardless of the status +of the particular user or of the way in which the particular user +actually uses, or expects or is expected to use, the product. A product +is a consumer product regardless of whether the product has substantial +commercial, industrial or non-consumer uses, unless such uses represent +the only significant mode of use of the product. + + "Installation Information" for a User Product means any methods, +procedures, authorization keys, or other information required to install +and execute modified versions of a covered work in that User Product from +a modified version of its Corresponding Source. The information must +suffice to ensure that the continued functioning of the modified object +code is in no case prevented or interfered with solely because +modification has been made. + + If you convey an object code work under this section in, or with, or +specifically for use in, a User Product, and the conveying occurs as +part of a transaction in which the right of possession and use of the +User Product is transferred to the recipient in perpetuity or for a +fixed term (regardless of how the transaction is characterized), the +Corresponding Source conveyed under this section must be accompanied +by the Installation Information. But this requirement does not apply +if neither you nor any third party retains the ability to install +modified object code on the User Product (for example, the work has +been installed in ROM). + + The requirement to provide Installation Information does not include a +requirement to continue to provide support service, warranty, or updates +for a work that has been modified or installed by the recipient, or for +the User Product in which it has been modified or installed. Access to a +network may be denied when the modification itself materially and +adversely affects the operation of the network or violates the rules and +protocols for communication across the network. + + Corresponding Source conveyed, and Installation Information provided, +in accord with this section must be in a format that is publicly +documented (and with an implementation available to the public in +source code form), and must require no special password or key for +unpacking, reading or copying. + + 7. Additional Terms. + + "Additional permissions" are terms that supplement the terms of this +License by making exceptions from one or more of its conditions. +Additional permissions that are applicable to the entire Program shall +be treated as though they were included in this License, to the extent +that they are valid under applicable law. If additional permissions +apply only to part of the Program, that part may be used separately +under those permissions, but the entire Program remains governed by +this License without regard to the additional permissions. + + When you convey a copy of a covered work, you may at your option +remove any additional permissions from that copy, or from any part of +it. (Additional permissions may be written to require their own +removal in certain cases when you modify the work.) You may place +additional permissions on material, added by you to a covered work, +for which you have or can give appropriate copyright permission. + + Notwithstanding any other provision of this License, for material you +add to a covered work, you may (if authorized by the copyright holders of +that material) supplement the terms of this License with terms: + + a) Disclaiming warranty or limiting liability differently from the + terms of sections 15 and 16 of this License; or + + b) Requiring preservation of specified reasonable legal notices or + author attributions in that material or in the Appropriate Legal + Notices displayed by works containing it; or + + c) Prohibiting misrepresentation of the origin of that material, or + requiring that modified versions of such material be marked in + reasonable ways as different from the original version; or + + d) Limiting the use for publicity purposes of names of licensors or + authors of the material; or + + e) Declining to grant rights under trademark law for use of some + trade names, trademarks, or service marks; or + + f) Requiring indemnification of licensors and authors of that + material by anyone who conveys the material (or modified versions of + it) with contractual assumptions of liability to the recipient, for + any liability that these contractual assumptions directly impose on + those licensors and authors. + + All other non-permissive additional terms are considered "further +restrictions" within the meaning of section 10. If the Program as you +received it, or any part of it, contains a notice stating that it is +governed by this License along with a term that is a further +restriction, you may remove that term. If a license document contains +a further restriction but permits relicensing or conveying under this +License, you may add to a covered work material governed by the terms +of that license document, provided that the further restriction does +not survive such relicensing or conveying. + + If you add terms to a covered work in accord with this section, you +must place, in the relevant source files, a statement of the +additional terms that apply to those files, or a notice indicating +where to find the applicable terms. + + Additional terms, permissive or non-permissive, may be stated in the +form of a separately written license, or stated as exceptions; +the above requirements apply either way. + + 8. Termination. + + You may not propagate or modify a covered work except as expressly +provided under this License. Any attempt otherwise to propagate or +modify it is void, and will automatically terminate your rights under +this License (including any patent licenses granted under the third +paragraph of section 11). + + However, if you cease all violation of this License, then your +license from a particular copyright holder is reinstated (a) +provisionally, unless and until the copyright holder explicitly and +finally terminates your license, and (b) permanently, if the copyright +holder fails to notify you of the violation by some reasonable means +prior to 60 days after the cessation. + + Moreover, your license from a particular copyright holder is +reinstated permanently if the copyright holder notifies you of the +violation by some reasonable means, this is the first time you have +received notice of violation of this License (for any work) from that +copyright holder, and you cure the violation prior to 30 days after +your receipt of the notice. + + Termination of your rights under this section does not terminate the +licenses of parties who have received copies or rights from you under +this License. If your rights have been terminated and not permanently +reinstated, you do not qualify to receive new licenses for the same +material under section 10. + + 9. Acceptance Not Required for Having Copies. + + You are not required to accept this License in order to receive or +run a copy of the Program. Ancillary propagation of a covered work +occurring solely as a consequence of using peer-to-peer transmission +to receive a copy likewise does not require acceptance. However, +nothing other than this License grants you permission to propagate or +modify any covered work. These actions infringe copyright if you do +not accept this License. Therefore, by modifying or propagating a +covered work, you indicate your acceptance of this License to do so. + + 10. Automatic Licensing of Downstream Recipients. + + Each time you convey a covered work, the recipient automatically +receives a license from the original licensors, to run, modify and +propagate that work, subject to this License. You are not responsible +for enforcing compliance by third parties with this License. + + An "entity transaction" is a transaction transferring control of an +organization, or substantially all assets of one, or subdividing an +organization, or merging organizations. If propagation of a covered +work results from an entity transaction, each party to that +transaction who receives a copy of the work also receives whatever +licenses to the work the party's predecessor in interest had or could +give under the previous paragraph, plus a right to possession of the +Corresponding Source of the work from the predecessor in interest, if +the predecessor has it or can get it with reasonable efforts. + + You may not impose any further restrictions on the exercise of the +rights granted or affirmed under this License. For example, you may +not impose a license fee, royalty, or other charge for exercise of +rights granted under this License, and you may not initiate litigation +(including a cross-claim or counterclaim in a lawsuit) alleging that +any patent claim is infringed by making, using, selling, offering for +sale, or importing the Program or any portion of it. + + 11. Patents. + + A "contributor" is a copyright holder who authorizes use under this +License of the Program or a work on which the Program is based. The +work thus licensed is called the contributor's "contributor version". + + A contributor's "essential patent claims" are all patent claims +owned or controlled by the contributor, whether already acquired or +hereafter acquired, that would be infringed by some manner, permitted +by this License, of making, using, or selling its contributor version, +but do not include claims that would be infringed only as a +consequence of further modification of the contributor version. For +purposes of this definition, "control" includes the right to grant +patent sublicenses in a manner consistent with the requirements of +this License. + + Each contributor grants you a non-exclusive, worldwide, royalty-free +patent license under the contributor's essential patent claims, to +make, use, sell, offer for sale, import and otherwise run, modify and +propagate the contents of its contributor version. + + In the following three paragraphs, a "patent license" is any express +agreement or commitment, however denominated, not to enforce a patent +(such as an express permission to practice a patent or covenant not to +sue for patent infringement). To "grant" such a patent license to a +party means to make such an agreement or commitment not to enforce a +patent against the party. + + If you convey a covered work, knowingly relying on a patent license, +and the Corresponding Source of the work is not available for anyone +to copy, free of charge and under the terms of this License, through a +publicly available network server or other readily accessible means, +then you must either (1) cause the Corresponding Source to be so +available, or (2) arrange to deprive yourself of the benefit of the +patent license for this particular work, or (3) arrange, in a manner +consistent with the requirements of this License, to extend the patent +license to downstream recipients. "Knowingly relying" means you have +actual knowledge that, but for the patent license, your conveying the +covered work in a country, or your recipient's use of the covered work +in a country, would infringe one or more identifiable patents in that +country that you have reason to believe are valid. + + If, pursuant to or in connection with a single transaction or +arrangement, you convey, or propagate by procuring conveyance of, a +covered work, and grant a patent license to some of the parties +receiving the covered work authorizing them to use, propagate, modify +or convey a specific copy of the covered work, then the patent license +you grant is automatically extended to all recipients of the covered +work and works based on it. + + A patent license is "discriminatory" if it does not include within +the scope of its coverage, prohibits the exercise of, or is +conditioned on the non-exercise of one or more of the rights that are +specifically granted under this License. You may not convey a covered +work if you are a party to an arrangement with a third party that is +in the business of distributing software, under which you make payment +to the third party based on the extent of your activity of conveying +the work, and under which the third party grants, to any of the +parties who would receive the covered work from you, a discriminatory +patent license (a) in connection with copies of the covered work +conveyed by you (or copies made from those copies), or (b) primarily +for and in connection with specific products or compilations that +contain the covered work, unless you entered into that arrangement, +or that patent license was granted, prior to 28 March 2007. + + Nothing in this License shall be construed as excluding or limiting +any implied license or other defenses to infringement that may +otherwise be available to you under applicable patent law. + + 12. No Surrender of Others' Freedom. + + If conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot convey a +covered work so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you may +not convey it at all. For example, if you agree to terms that obligate you +to collect a royalty for further conveying from those to whom you convey +the Program, the only way you could satisfy both those terms and this +License would be to refrain entirely from conveying the Program. + + 13. Use with the GNU Affero General Public License. + + Notwithstanding any other provision of this License, you have +permission to link or combine any covered work with a work licensed +under version 3 of the GNU Affero General Public License into a single +combined work, and to convey the resulting work. The terms of this +License will continue to apply to the part which is the covered work, +but the special requirements of the GNU Affero General Public License, +section 13, concerning interaction through a network will apply to the +combination as such. + + 14. Revised Versions of this License. + + The Free Software Foundation may publish revised and/or new versions of +the GNU General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + + Each version is given a distinguishing version number. If the +Program specifies that a certain numbered version of the GNU General +Public License "or any later version" applies to it, you have the +option of following the terms and conditions either of that numbered +version or of any later version published by the Free Software +Foundation. If the Program does not specify a version number of the +GNU General Public License, you may choose any version ever published +by the Free Software Foundation. + + If the Program specifies that a proxy can decide which future +versions of the GNU General Public License can be used, that proxy's +public statement of acceptance of a version permanently authorizes you +to choose that version for the Program. + + Later license versions may give you additional or different +permissions. However, no additional obligations are imposed on any +author or copyright holder as a result of your choosing to follow a +later version. + + 15. Disclaimer of Warranty. + + THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY +APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT +HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY +OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM +IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF +ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. Limitation of Liability. + + IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS +THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY +GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE +USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF +DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD +PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), +EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF +SUCH DAMAGES. + + 17. Interpretation of Sections 15 and 16. + + If the disclaimer of warranty and limitation of liability provided +above cannot be given local legal effect according to their terms, +reviewing courts shall apply local law that most closely approximates +an absolute waiver of all civil liability in connection with the +Program, unless a warranty or assumption of liability accompanies a +copy of the Program in return for a fee. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +state the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + +Also add information on how to contact you by electronic and paper mail. + + If the program does terminal interaction, make it output a short +notice like this when it starts in an interactive mode: + + Copyright (C) + This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, your program's commands +might be different; for a GUI interface, you would use an "about box". + + You should also get your employer (if you work as a programmer) or school, +if any, to sign a "copyright disclaimer" for the program, if necessary. +For more information on this, and how to apply and follow the GNU GPL, see +. + + The GNU General Public License does not permit incorporating your program +into proprietary programs. If your program is a subroutine library, you +may consider it more useful to permit linking proprietary applications with +the library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. But first, please read +. diff --git a/LICENSE.MPL2 b/LICENSE.MPL2 new file mode 100644 index 00000000..14e2f777 --- /dev/null +++ b/LICENSE.MPL2 @@ -0,0 +1,373 @@ +Mozilla Public License Version 2.0 +================================== + +1. Definitions +-------------- + +1.1. "Contributor" + means each individual or legal entity that creates, contributes to + the creation of, or owns Covered Software. + +1.2. "Contributor Version" + means the combination of the Contributions of others (if any) used + by a Contributor and that particular Contributor's Contribution. + +1.3. "Contribution" + means Covered Software of a particular Contributor. + +1.4. "Covered Software" + means Source Code Form to which the initial Contributor has attached + the notice in Exhibit A, the Executable Form of such Source Code + Form, and Modifications of such Source Code Form, in each case + including portions thereof. + +1.5. "Incompatible With Secondary Licenses" + means + + (a) that the initial Contributor has attached the notice described + in Exhibit B to the Covered Software; or + + (b) that the Covered Software was made available under the terms of + version 1.1 or earlier of the License, but not also under the + terms of a Secondary License. + +1.6. "Executable Form" + means any form of the work other than Source Code Form. + +1.7. "Larger Work" + means a work that combines Covered Software with other material, in + a separate file or files, that is not Covered Software. + +1.8. "License" + means this document. + +1.9. "Licensable" + means having the right to grant, to the maximum extent possible, + whether at the time of the initial grant or subsequently, any and + all of the rights conveyed by this License. + +1.10. "Modifications" + means any of the following: + + (a) any file in Source Code Form that results from an addition to, + deletion from, or modification of the contents of Covered + Software; or + + (b) any new file in Source Code Form that contains any Covered + Software. + +1.11. "Patent Claims" of a Contributor + means any patent claim(s), including without limitation, method, + process, and apparatus claims, in any patent Licensable by such + Contributor that would be infringed, but for the grant of the + License, by the making, using, selling, offering for sale, having + made, import, or transfer of either its Contributions or its + Contributor Version. + +1.12. "Secondary License" + means either the GNU General Public License, Version 2.0, the GNU + Lesser General Public License, Version 2.1, the GNU Affero General + Public License, Version 3.0, or any later versions of those + licenses. + +1.13. "Source Code Form" + means the form of the work preferred for making modifications. + +1.14. "You" (or "Your") + means an individual or a legal entity exercising rights under this + License. For legal entities, "You" includes any entity that + controls, is controlled by, or is under common control with You. For + purposes of this definition, "control" means (a) the power, direct + or indirect, to cause the direction or management of such entity, + whether by contract or otherwise, or (b) ownership of more than + fifty percent (50%) of the outstanding shares or beneficial + ownership of such entity. + +2. License Grants and Conditions +-------------------------------- + +2.1. Grants + +Each Contributor hereby grants You a world-wide, royalty-free, +non-exclusive license: + +(a) under intellectual property rights (other than patent or trademark) + Licensable by such Contributor to use, reproduce, make available, + modify, display, perform, distribute, and otherwise exploit its + Contributions, either on an unmodified basis, with Modifications, or + as part of a Larger Work; and + +(b) under Patent Claims of such Contributor to make, use, sell, offer + for sale, have made, import, and otherwise transfer either its + Contributions or its Contributor Version. + +2.2. Effective Date + +The licenses granted in Section 2.1 with respect to any Contribution +become effective for each Contribution on the date the Contributor first +distributes such Contribution. + +2.3. Limitations on Grant Scope + +The licenses granted in this Section 2 are the only rights granted under +this License. No additional rights or licenses will be implied from the +distribution or licensing of Covered Software under this License. +Notwithstanding Section 2.1(b) above, no patent license is granted by a +Contributor: + +(a) for any code that a Contributor has removed from Covered Software; + or + +(b) for infringements caused by: (i) Your and any other third party's + modifications of Covered Software, or (ii) the combination of its + Contributions with other software (except as part of its Contributor + Version); or + +(c) under Patent Claims infringed by Covered Software in the absence of + its Contributions. + +This License does not grant any rights in the trademarks, service marks, +or logos of any Contributor (except as may be necessary to comply with +the notice requirements in Section 3.4). + +2.4. Subsequent Licenses + +No Contributor makes additional grants as a result of Your choice to +distribute the Covered Software under a subsequent version of this +License (see Section 10.2) or under the terms of a Secondary License (if +permitted under the terms of Section 3.3). + +2.5. Representation + +Each Contributor represents that the Contributor believes its +Contributions are its original creation(s) or it has sufficient rights +to grant the rights to its Contributions conveyed by this License. + +2.6. Fair Use + +This License is not intended to limit any rights You have under +applicable copyright doctrines of fair use, fair dealing, or other +equivalents. + +2.7. Conditions + +Sections 3.1, 3.2, 3.3, and 3.4 are conditions of the licenses granted +in Section 2.1. + +3. Responsibilities +------------------- + +3.1. Distribution of Source Form + +All distribution of Covered Software in Source Code Form, including any +Modifications that You create or to which You contribute, must be under +the terms of this License. You must inform recipients that the Source +Code Form of the Covered Software is governed by the terms of this +License, and how they can obtain a copy of this License. You may not +attempt to alter or restrict the recipients' rights in the Source Code +Form. + +3.2. Distribution of Executable Form + +If You distribute Covered Software in Executable Form then: + +(a) such Covered Software must also be made available in Source Code + Form, as described in Section 3.1, and You must inform recipients of + the Executable Form how they can obtain a copy of such Source Code + Form by reasonable means in a timely manner, at a charge no more + than the cost of distribution to the recipient; and + +(b) You may distribute such Executable Form under the terms of this + License, or sublicense it under different terms, provided that the + license for the Executable Form does not attempt to limit or alter + the recipients' rights in the Source Code Form under this License. + +3.3. Distribution of a Larger Work + +You may create and distribute a Larger Work under terms of Your choice, +provided that You also comply with the requirements of this License for +the Covered Software. If the Larger Work is a combination of Covered +Software with a work governed by one or more Secondary Licenses, and the +Covered Software is not Incompatible With Secondary Licenses, this +License permits You to additionally distribute such Covered Software +under the terms of such Secondary License(s), so that the recipient of +the Larger Work may, at their option, further distribute the Covered +Software under the terms of either this License or such Secondary +License(s). + +3.4. Notices + +You may not remove or alter the substance of any license notices +(including copyright notices, patent notices, disclaimers of warranty, +or limitations of liability) contained within the Source Code Form of +the Covered Software, except that You may alter any license notices to +the extent required to remedy known factual inaccuracies. + +3.5. Application of Additional Terms + +You may choose to offer, and to charge a fee for, warranty, support, +indemnity or liability obligations to one or more recipients of Covered +Software. However, You may do so only on Your own behalf, and not on +behalf of any Contributor. You must make it absolutely clear that any +such warranty, support, indemnity, or liability obligation is offered by +You alone, and You hereby agree to indemnify every Contributor for any +liability incurred by such Contributor as a result of warranty, support, +indemnity or liability terms You offer. You may include additional +disclaimers of warranty and limitations of liability specific to any +jurisdiction. + +4. Inability to Comply Due to Statute or Regulation +--------------------------------------------------- + +If it is impossible for You to comply with any of the terms of this +License with respect to some or all of the Covered Software due to +statute, judicial order, or regulation then You must: (a) comply with +the terms of this License to the maximum extent possible; and (b) +describe the limitations and the code they affect. Such description must +be placed in a text file included with all distributions of the Covered +Software under this License. Except to the extent prohibited by statute +or regulation, such description must be sufficiently detailed for a +recipient of ordinary skill to be able to understand it. + +5. Termination +-------------- + +5.1. The rights granted under this License will terminate automatically +if You fail to comply with any of its terms. However, if You become +compliant, then the rights granted under this License from a particular +Contributor are reinstated (a) provisionally, unless and until such +Contributor explicitly and finally terminates Your grants, and (b) on an +ongoing basis, if such Contributor fails to notify You of the +non-compliance by some reasonable means prior to 60 days after You have +come back into compliance. Moreover, Your grants from a particular +Contributor are reinstated on an ongoing basis if such Contributor +notifies You of the non-compliance by some reasonable means, this is the +first time You have received notice of non-compliance with this License +from such Contributor, and You become compliant prior to 30 days after +Your receipt of the notice. + +5.2. If You initiate litigation against any entity by asserting a patent +infringement claim (excluding declaratory judgment actions, +counter-claims, and cross-claims) alleging that a Contributor Version +directly or indirectly infringes any patent, then the rights granted to +You by any and all Contributors for the Covered Software under Section +2.1 of this License shall terminate. + +5.3. In the event of termination under Sections 5.1 or 5.2 above, all +end user license agreements (excluding distributors and resellers) which +have been validly granted by You or Your distributors under this License +prior to termination shall survive termination. + +************************************************************************ +* * +* 6. Disclaimer of Warranty * +* ------------------------- * +* * +* Covered Software is provided under this License on an "as is" * +* basis, without warranty of any kind, either expressed, implied, or * +* statutory, including, without limitation, warranties that the * +* Covered Software is free of defects, merchantable, fit for a * +* particular purpose or non-infringing. The entire risk as to the * +* quality and performance of the Covered Software is with You. * +* Should any Covered Software prove defective in any respect, You * +* (not any Contributor) assume the cost of any necessary servicing, * +* repair, or correction. This disclaimer of warranty constitutes an * +* essential part of this License. No use of any Covered Software is * +* authorized under this License except under this disclaimer. * +* * +************************************************************************ + +************************************************************************ +* * +* 7. Limitation of Liability * +* -------------------------- * +* * +* Under no circumstances and under no legal theory, whether tort * +* (including negligence), contract, or otherwise, shall any * +* Contributor, or anyone who distributes Covered Software as * +* permitted above, be liable to You for any direct, indirect, * +* special, incidental, or consequential damages of any character * +* including, without limitation, damages for lost profits, loss of * +* goodwill, work stoppage, computer failure or malfunction, or any * +* and all other commercial damages or losses, even if such party * +* shall have been informed of the possibility of such damages. This * +* limitation of liability shall not apply to liability for death or * +* personal injury resulting from such party's negligence to the * +* extent applicable law prohibits such limitation. Some * +* jurisdictions do not allow the exclusion or limitation of * +* incidental or consequential damages, so this exclusion and * +* limitation may not apply to You. * +* * +************************************************************************ + +8. Litigation +------------- + +Any litigation relating to this License may be brought only in the +courts of a jurisdiction where the defendant maintains its principal +place of business and such litigation shall be governed by laws of that +jurisdiction, without reference to its conflict-of-law provisions. +Nothing in this Section shall prevent a party's ability to bring +cross-claims or counter-claims. + +9. Miscellaneous +---------------- + +This License represents the complete agreement concerning the subject +matter hereof. If any provision of this License is held to be +unenforceable, such provision shall be reformed only to the extent +necessary to make it enforceable. Any law or regulation which provides +that the language of a contract shall be construed against the drafter +shall not be used to construe this License against a Contributor. + +10. Versions of the License +--------------------------- + +10.1. New Versions + +Mozilla Foundation is the license steward. Except as provided in Section +10.3, no one other than the license steward has the right to modify or +publish new versions of this License. Each version will be given a +distinguishing version number. + +10.2. Effect of New Versions + +You may distribute the Covered Software under the terms of the version +of the License under which You originally received the Covered Software, +or under the terms of any subsequent version published by the license +steward. + +10.3. Modified Versions + +If you create software not governed by this License, and you want to +create a new license for such software, you may create and use a +modified version of this License if you rename the license and remove +any references to the name of the license steward (except to note that +such modified license differs from this License). + +10.4. Distributing Source Code Form that is Incompatible With Secondary +Licenses + +If You choose to distribute Source Code Form that is Incompatible With +Secondary Licenses under the terms of this version of the License, the +notice described in Exhibit B of this License must be attached. + +Exhibit A - Source Code Form License Notice +------------------------------------------- + + 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/. + +If it is not possible or desirable to put the notice in a particular +file, then You may include the notice in a location (such as a LICENSE +file in a relevant directory) where a recipient would be likely to look +for such a notice. + +You may add additional accurate notices of copyright ownership. + +Exhibit B - "Incompatible With Secondary Licenses" Notice +--------------------------------------------------------- + + This Source Code Form is "Incompatible With Secondary Licenses", as + defined by the Mozilla Public License, v. 2.0. diff --git a/igl/__init__.py b/igl/__init__.py index a360820e..72d042f2 100644 --- a/igl/__init__.py +++ b/igl/__init__.py @@ -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 * diff --git a/igl/_version.py b/igl/_version.py index 78181c42..bb8da2d8 100644 --- a/igl/_version.py +++ b/igl/_version.py @@ -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" diff --git a/src/active_set.cpp b/src/active_set.cpp index 526f5fbd..0532cc49 100644 --- a/src/active_set.cpp +++ b/src/active_set.cpp @@ -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 #include #include diff --git a/src/adjacency_list.cpp b/src/adjacency_list.cpp index 4ae59e45..60c4863f 100644 --- a/src/adjacency_list.cpp +++ b/src/adjacency_list.cpp @@ -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 #include #include diff --git a/src/adjacency_matrix.cpp b/src/adjacency_matrix.cpp index 1b130cda..c44e8c83 100644 --- a/src/adjacency_matrix.cpp +++ b/src/adjacency_matrix.cpp @@ -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 #include #include @@ -48,5 +55,3 @@ npe_begin_code() return npe::move(a); npe_end_code() - - diff --git a/src/all_pairs_distances.cpp b/src/all_pairs_distances.cpp index 4f812060..cff77b8c 100644 --- a/src/all_pairs_distances.cpp +++ b/src/all_pairs_distances.cpp @@ -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 #include #include @@ -52,5 +59,3 @@ npe_begin_code() return npe::move(D); npe_end_code() - - diff --git a/src/ambient_occlusion.cpp b/src/ambient_occlusion.cpp index 8f5f853c..ab749837 100644 --- a/src/ambient_occlusion.cpp +++ b/src/ambient_occlusion.cpp @@ -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 diff --git a/src/arap_linear_block.cpp b/src/arap_linear_block.cpp index fb4f9d5c..9c2e7946 100644 --- a/src/arap_linear_block.cpp +++ b/src/arap_linear_block.cpp @@ -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 #include #include diff --git a/src/arap_rhs.cpp b/src/arap_rhs.cpp index 55fb4f6a..d28d2a2f 100644 --- a/src/arap_rhs.cpp +++ b/src/arap_rhs.cpp @@ -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 #include #include @@ -66,5 +73,3 @@ npe_begin_code() return npe::move(k); npe_end_code() - - diff --git a/src/average_onto_faces.cpp b/src/average_onto_faces.cpp index aa024f86..327bfc6c 100644 --- a/src/average_onto_faces.cpp +++ b/src/average_onto_faces.cpp @@ -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 #include #include @@ -47,4 +54,3 @@ npe_begin_code() return npe::move(SF); npe_end_code() - diff --git a/src/average_onto_vertices.cpp b/src/average_onto_vertices.cpp index 59870b8d..8b2be6a8 100644 --- a/src/average_onto_vertices.cpp +++ b/src/average_onto_vertices.cpp @@ -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 #include #include @@ -41,5 +48,3 @@ npe_begin_code() return npe::move(sv); npe_end_code() - - diff --git a/src/avg_edge_length.cpp b/src/avg_edge_length.cpp index 33e7333d..1346d6e3 100644 --- a/src/avg_edge_length.cpp +++ b/src/avg_edge_length.cpp @@ -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 #include #include @@ -38,5 +45,3 @@ npe_begin_code() return igl::avg_edge_length(v, f); npe_end_code() - - diff --git a/src/barycenter.cpp b/src/barycenter.cpp index f355cd3e..3eca3106 100644 --- a/src/barycenter.cpp +++ b/src/barycenter.cpp @@ -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 #include #include @@ -40,5 +47,3 @@ npe_begin_code() return npe::move(bc); npe_end_code() - - diff --git a/src/barycentric_coordinates.cpp b/src/barycentric_coordinates.cpp index 92d4726d..1a8ccf0e 100644 --- a/src/barycentric_coordinates.cpp +++ b/src/barycentric_coordinates.cpp @@ -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 #include #include diff --git a/src/bfs.cpp b/src/bfs.cpp index af894128..25460b97 100644 --- a/src/bfs.cpp +++ b/src/bfs.cpp @@ -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 #include #include @@ -60,6 +67,3 @@ npe_begin_code() return std::make_tuple(npe::move(d), npe::move(p)); npe_end_code() - - - diff --git a/src/bfs_orient.cpp b/src/bfs_orient.cpp index 6a18c933..c6732c7c 100644 --- a/src/bfs_orient.cpp +++ b/src/bfs_orient.cpp @@ -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 #include #include diff --git a/src/biharmonic_coordinates.cpp b/src/biharmonic_coordinates.cpp index f889de38..76b18a03 100644 --- a/src/biharmonic_coordinates.cpp +++ b/src/biharmonic_coordinates.cpp @@ -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 #include #include diff --git a/src/bijective_composite_harmonic_mapping.cpp b/src/bijective_composite_harmonic_mapping.cpp index a960c0a7..38b723ac 100644 --- a/src/bijective_composite_harmonic_mapping.cpp +++ b/src/bijective_composite_harmonic_mapping.cpp @@ -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 #include #include @@ -117,5 +124,3 @@ npe_begin_code() return std::make_pair(success, npe::move(u)); npe_end_code() - - diff --git a/src/blue_noise.cpp b/src/blue_noise.cpp index edb032df..3c24401f 100644 --- a/src/blue_noise.cpp +++ b/src/blue_noise.cpp @@ -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 #include diff --git a/src/bone_parents.cpp b/src/bone_parents.cpp index f5ca14ea..e8b285d6 100644 --- a/src/bone_parents.cpp +++ b/src/bone_parents.cpp @@ -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 #include #include @@ -39,5 +46,3 @@ npe_begin_code() return npe::move(p); npe_end_code() - - diff --git a/src/boundary_conditions.cpp b/src/boundary_conditions.cpp index 2b12ebcd..f73d26c8 100644 --- a/src/boundary_conditions.cpp +++ b/src/boundary_conditions.cpp @@ -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 @@ -94,5 +101,3 @@ npe_begin_code() return std::make_tuple(success, npe::move(b), npe::move(bc)); npe_end_code() - - diff --git a/src/boundary_facets.cpp b/src/boundary_facets.cpp index ee568161..654c385d 100644 --- a/src/boundary_facets.cpp +++ b/src/boundary_facets.cpp @@ -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 #include #include @@ -39,4 +46,3 @@ npe_begin_code() return npe::move(f); npe_end_code() - diff --git a/src/boundary_loop.cpp b/src/boundary_loop.cpp index 392d8c46..aa8f9138 100644 --- a/src/boundary_loop.cpp +++ b/src/boundary_loop.cpp @@ -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 #include #include @@ -78,4 +85,3 @@ npe_begin_code() return l; npe_end_code() - diff --git a/src/bounding_box.cpp b/src/bounding_box.cpp index 3ff5f456..0f84d786 100644 --- a/src/bounding_box.cpp +++ b/src/bounding_box.cpp @@ -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 #include #include @@ -72,5 +79,3 @@ npe_begin_code() return std::make_tuple(npe::move(bv), npe::move(bf_row_major)); npe_end_code() - - diff --git a/src/bounding_box_diagonal.cpp b/src/bounding_box_diagonal.cpp index 09fde4e9..61666f61 100644 --- a/src/bounding_box_diagonal.cpp +++ b/src/bounding_box_diagonal.cpp @@ -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 @@ -49,5 +56,3 @@ npe_begin_code() return igl::bounding_box_diagonal(v_copy); npe_end_code() - - diff --git a/src/circulation.cpp b/src/circulation.cpp index d0568edc..963b201f 100644 --- a/src/circulation.cpp +++ b/src/circulation.cpp @@ -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 @@ -69,4 +76,3 @@ npe_begin_code() return res; npe_end_code() - diff --git a/src/circumradius.cpp b/src/circumradius.cpp index 691ea14e..2fee3ade 100644 --- a/src/circumradius.cpp +++ b/src/circumradius.cpp @@ -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 #include #include @@ -46,5 +53,3 @@ npe_begin_code() return npe::move(r); npe_end_code() - - diff --git a/src/collapse_small_triangles.cpp b/src/collapse_small_triangles.cpp index 3797dbe3..2bbf9230 100644 --- a/src/collapse_small_triangles.cpp +++ b/src/collapse_small_triangles.cpp @@ -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 @@ -64,5 +71,3 @@ npe_begin_code() return npe::move(ff_row_major); npe_end_code() - - diff --git a/src/comb_cross_field.cpp b/src/comb_cross_field.cpp index 4f29e210..a35d6094 100644 --- a/src/comb_cross_field.cpp +++ b/src/comb_cross_field.cpp @@ -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 #include #include @@ -58,5 +65,3 @@ npe_begin_code() return std::make_tuple(npe::move(pd1out), npe::move(pd2out)); npe_end_code() - - diff --git a/src/comb_frame_field.cpp b/src/comb_frame_field.cpp index f4cab473..f61e4fc2 100644 --- a/src/comb_frame_field.cpp +++ b/src/comb_frame_field.cpp @@ -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 #include #include @@ -72,5 +79,3 @@ npe_begin_code() return std::make_tuple(npe::move(pd1_combed), npe::move(pd2_combed)); npe_end_code() - - diff --git a/src/comb_line_field.cpp b/src/comb_line_field.cpp index 0d15519f..adce6ae9 100644 --- a/src/comb_line_field.cpp +++ b/src/comb_line_field.cpp @@ -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 #include #include @@ -51,5 +58,3 @@ npe_begin_code() return npe::move(pd1out); npe_end_code() - - diff --git a/src/compute_frame_field_bisectors.cpp b/src/compute_frame_field_bisectors.cpp index fb104199..554342e8 100644 --- a/src/compute_frame_field_bisectors.cpp +++ b/src/compute_frame_field_bisectors.cpp @@ -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 #include #include @@ -128,5 +135,3 @@ npe_begin_code() return std::make_tuple(npe::move(bis1), npe::move(bis2)); npe_end_code() - - diff --git a/src/connect_boundary_to_infinity.cpp b/src/connect_boundary_to_infinity.cpp index 1dcf9466..b33d91a3 100644 --- a/src/connect_boundary_to_infinity.cpp +++ b/src/connect_boundary_to_infinity.cpp @@ -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 @@ -133,5 +140,3 @@ npe_begin_code() return npe::move(fo); npe_end_code() - - diff --git a/src/connected_components.cpp b/src/connected_components.cpp index e14e341e..9ced1ffc 100644 --- a/src/connected_components.cpp +++ b/src/connected_components.cpp @@ -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 #include #include @@ -49,5 +56,3 @@ npe_begin_code() return std::make_tuple(comps, npe::move(c), npe::move(k)); npe_end_code() - - diff --git a/src/copyleft/cgal/convex_hull.cpp b/src/copyleft/cgal/convex_hull.cpp index 8bb3bbfe..e2127735 100644 --- a/src/copyleft/cgal/convex_hull.cpp +++ b/src/copyleft/cgal/convex_hull.cpp @@ -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 #include diff --git a/src/copyleft/cgal/intersect_other.cpp b/src/copyleft/cgal/intersect_other.cpp index d03e7fd0..5c2d491e 100644 --- a/src/copyleft/cgal/intersect_other.cpp +++ b/src/copyleft/cgal/intersect_other.cpp @@ -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 #include #include @@ -83,5 +90,3 @@ npe_begin_code() npe::move( JAB), npe::move(IMAB)); npe_end_code() - - diff --git a/src/copyleft/cgal/mesh_boolean.cpp b/src/copyleft/cgal/mesh_boolean.cpp index 2a565f0b..ef691b08 100644 --- a/src/copyleft/cgal/mesh_boolean.cpp +++ b/src/copyleft/cgal/mesh_boolean.cpp @@ -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 #include #include @@ -60,4 +67,3 @@ npe_begin_code() EigenDenseLike j = j_copy.cast(); return std::make_tuple(npe::move(vc), npe::move(fc), npe::move(j)); npe_end_code() - diff --git a/src/copyleft/cgal/remesh_self_intersections.cpp b/src/copyleft/cgal/remesh_self_intersections.cpp index 074802c5..740f4285 100644 --- a/src/copyleft/cgal/remesh_self_intersections.cpp +++ b/src/copyleft/cgal/remesh_self_intersections.cpp @@ -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 #include #include @@ -76,4 +83,3 @@ npe_begin_code() EigenDenseLike IM = IMcpy.cast(); return std::make_tuple(npe::move(VV), npe::move(FF), npe::move(IF), npe::move(J), npe::move(IM)); npe_end_code() - diff --git a/src/cotmatrix.cpp b/src/cotmatrix.cpp index dbd8754f..d1f37740 100644 --- a/src/cotmatrix.cpp +++ b/src/cotmatrix.cpp @@ -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 #include #include @@ -45,5 +52,3 @@ npe_begin_code() return npe::move(l); npe_end_code() - - diff --git a/src/cotmatrix_entries.cpp b/src/cotmatrix_entries.cpp index 2c1d7cd5..345aa82f 100644 --- a/src/cotmatrix_entries.cpp +++ b/src/cotmatrix_entries.cpp @@ -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 #include #include @@ -51,5 +58,3 @@ npe_begin_code() return npe::move(c); npe_end_code() - - diff --git a/src/cotmatrix_intrinsic.cpp b/src/cotmatrix_intrinsic.cpp index 3fcb4dc1..78e7e6fe 100644 --- a/src/cotmatrix_intrinsic.cpp +++ b/src/cotmatrix_intrinsic.cpp @@ -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 #include #include @@ -51,5 +58,3 @@ npe_begin_code() return npe::move(mat); npe_end_code() - - diff --git a/src/cross_field_missmatch.cpp b/src/cross_field_missmatch.cpp index e64ff81c..2c21bcc8 100644 --- a/src/cross_field_missmatch.cpp +++ b/src/cross_field_missmatch.cpp @@ -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 #include #include @@ -64,5 +71,3 @@ npe_begin_code() return npe::move(mismatch); npe_end_code() - - diff --git a/src/crouzeix_raviart_cotmatrix.cpp b/src/crouzeix_raviart_cotmatrix.cpp index 6ab53ee6..a0ae1d54 100644 --- a/src/crouzeix_raviart_cotmatrix.cpp +++ b/src/crouzeix_raviart_cotmatrix.cpp @@ -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 #include #include @@ -105,5 +112,3 @@ npe_begin_code() return npe::move(l); npe_end_code() - - diff --git a/src/crouzeix_raviart_massmatrix.cpp b/src/crouzeix_raviart_massmatrix.cpp index 6c5d0579..90466ca6 100644 --- a/src/crouzeix_raviart_massmatrix.cpp +++ b/src/crouzeix_raviart_massmatrix.cpp @@ -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/. // static assertion fail: YOU_MIXED_DIFFERENT_NUMERIC_TYPES__YOU_NEED_TO_USE_THE_CAST_METHOD_OF_MATRIXBASE_TO_CAST_NUMERIC_TYPES_EXPLICITLY #include @@ -108,5 +115,3 @@ npe_begin_code() return npe::move(m); npe_end_code() - - diff --git a/src/cut_mesh.cpp b/src/cut_mesh.cpp index 164526b3..07d15a80 100644 --- a/src/cut_mesh.cpp +++ b/src/cut_mesh.cpp @@ -1,3 +1,10 @@ +// This file is part of libigl, a simple c++ geometry processing library. +// +// Copyright (C) 2023 Francis Williams +// +// 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 #include #include diff --git a/src/cut_mesh_from_singularities.cpp b/src/cut_mesh_from_singularities.cpp index ab25460a..a35a6d4f 100644 --- a/src/cut_mesh_from_singularities.cpp +++ b/src/cut_mesh_from_singularities.cpp @@ -1,3 +1,10 @@ +// This file is part of libigl, a simple c++ geometry processing library. +// +// Copyright (C) 2023 Francis Williams +// +// 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 #include #include diff --git a/src/cut_to_disk.cpp b/src/cut_to_disk.cpp index fc398c01..2ec6cbce 100644 --- a/src/cut_to_disk.cpp +++ b/src/cut_to_disk.cpp @@ -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 #include #include diff --git a/src/cylinder.cpp b/src/cylinder.cpp index bcca9330..3b5bfd08 100644 --- a/src/cylinder.cpp +++ b/src/cylinder.cpp @@ -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 @@ -50,5 +57,3 @@ npe_begin_code() return std::make_tuple(npe::move(v_row_major), npe::move(f_row_major)); npe_end_code() - - diff --git a/src/decimate.cpp b/src/decimate.cpp index 663e2c75..36cc3fd8 100644 --- a/src/decimate.cpp +++ b/src/decimate.cpp @@ -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: __miss 4 functions #include @@ -71,5 +78,3 @@ npe_begin_code() return std::make_tuple(reach, npe::move(u_row_major), npe::move(g_row_major), npe::move(j_row_major), npe::move(i_row_major)); npe_end_code() - - diff --git a/src/deform_skeleton.cpp b/src/deform_skeleton.cpp index 7de3b906..fa4e6899 100644 --- a/src/deform_skeleton.cpp +++ b/src/deform_skeleton.cpp @@ -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 #include #include diff --git a/src/dihedral_angles.cpp b/src/dihedral_angles.cpp index 90fa4e5f..66113956 100644 --- a/src/dihedral_angles.cpp +++ b/src/dihedral_angles.cpp @@ -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 #include #include @@ -62,5 +69,3 @@ npe_begin_code() return std::make_tuple(npe::move(theta), npe::move(cos_theta)); npe_end_code() - - diff --git a/src/direct_delta_mush.cpp b/src/direct_delta_mush.cpp index 6ee03c29..51adb626 100644 --- a/src/direct_delta_mush.cpp +++ b/src/direct_delta_mush.cpp @@ -1,3 +1,10 @@ +// This file is part of libigl, a simple c++ geometry processing library. +// +// Copyright (C) 2023 Kishore Venkateshan +// +// 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 #include #include diff --git a/src/directed_edge_orientations.cpp b/src/directed_edge_orientations.cpp index c7823f03..c966741d 100644 --- a/src/directed_edge_orientations.cpp +++ b/src/directed_edge_orientations.cpp @@ -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 #include #include diff --git a/src/directed_edge_parents.cpp b/src/directed_edge_parents.cpp index 67e628ed..daf833d0 100644 --- a/src/directed_edge_parents.cpp +++ b/src/directed_edge_parents.cpp @@ -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 #include #include @@ -40,5 +47,3 @@ npe_begin_code() return npe::move(p); npe_end_code() - - diff --git a/src/doublearea.cpp b/src/doublearea.cpp index cd7162e2..3fe182ad 100644 --- a/src/doublearea.cpp +++ b/src/doublearea.cpp @@ -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 #include #include @@ -43,4 +50,3 @@ npe_begin_code() return npe::move(d_area); npe_end_code() - diff --git a/src/dqs.cpp b/src/dqs.cpp index 1eff2caf..f71fac13 100644 --- a/src/dqs.cpp +++ b/src/dqs.cpp @@ -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 #include #include @@ -70,5 +77,3 @@ npe_begin_code() return npe::move(u); npe_end_code() - - diff --git a/src/ears.cpp b/src/ears.cpp index 52fb683f..d8c05704 100644 --- a/src/ears.cpp +++ b/src/ears.cpp @@ -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 #include #include @@ -44,5 +51,3 @@ npe_begin_code() return std::make_tuple(npe::move(ear), npe::move(ear_opp)); npe_end_code() - - diff --git a/src/edge_collapse_is_valid.cpp b/src/edge_collapse_is_valid.cpp index b7b538ad..a528a0ce 100644 --- a/src/edge_collapse_is_valid.cpp +++ b/src/edge_collapse_is_valid.cpp @@ -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 #include #include @@ -72,4 +79,3 @@ npe_begin_code() return ok; npe_end_code() - diff --git a/src/edge_flaps.cpp b/src/edge_flaps.cpp index 779747ba..b8c132d9 100644 --- a/src/edge_flaps.cpp +++ b/src/edge_flaps.cpp @@ -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 #include #include @@ -61,5 +68,3 @@ npe_begin_code() return std::make_tuple(npe::move(e), npe::move(emap), npe::move(ef), npe::move(ei)); npe_end_code() - - diff --git a/src/edge_lengths.cpp b/src/edge_lengths.cpp index 1ce2657c..e0daf0e8 100644 --- a/src/edge_lengths.cpp +++ b/src/edge_lengths.cpp @@ -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 #include #include @@ -58,5 +65,3 @@ npe_begin_code() return npe::move(l); npe_end_code() - - diff --git a/src/edge_topology.cpp b/src/edge_topology.cpp index 9de05ae2..cb0d3ea0 100644 --- a/src/edge_topology.cpp +++ b/src/edge_topology.cpp @@ -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 #include #include diff --git a/src/edges.cpp b/src/edges.cpp index 1489cdf0..63931921 100644 --- a/src/edges.cpp +++ b/src/edges.cpp @@ -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 #include #include diff --git a/src/edges_to_path.cpp b/src/edges_to_path.cpp index 396ce65d..567f8dc0 100644 --- a/src/edges_to_path.cpp +++ b/src/edges_to_path.cpp @@ -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 #include #include @@ -63,5 +70,3 @@ npe_begin_code() return std::make_tuple(npe::move(i), npe::move(j), npe::move(k)); npe_end_code() - - diff --git a/src/euler_characteristic.cpp b/src/euler_characteristic.cpp index 81c9b3b2..a707330d 100644 --- a/src/euler_characteristic.cpp +++ b/src/euler_characteristic.cpp @@ -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 @@ -81,5 +88,3 @@ npe_begin_code() return igl::euler_characteristic(v, f); npe_end_code() - - diff --git a/src/exact_geodesic.cpp b/src/exact_geodesic.cpp index 1727285c..9572c2e7 100644 --- a/src/exact_geodesic.cpp +++ b/src/exact_geodesic.cpp @@ -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 #include #include @@ -53,5 +60,3 @@ npe_begin_code() return npe::move(d); npe_end_code() - - diff --git a/src/exterior_edges.cpp b/src/exterior_edges.cpp index e1de224b..71be3d95 100644 --- a/src/exterior_edges.cpp +++ b/src/exterior_edges.cpp @@ -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/. // need assertion for a.rows = b.rows-1 // __copy #include @@ -54,4 +61,3 @@ npe_begin_code() return npe::move(e); npe_end_code() - diff --git a/src/extract_manifold_patches.cpp b/src/extract_manifold_patches.cpp index 1ba83d89..f71d58d7 100644 --- a/src/extract_manifold_patches.cpp +++ b/src/extract_manifold_patches.cpp @@ -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 #include #include diff --git a/src/extract_non_manifold_edge_curves.cpp b/src/extract_non_manifold_edge_curves.cpp index 9f900bd5..581828ef 100644 --- a/src/extract_non_manifold_edge_curves.cpp +++ b/src/extract_non_manifold_edge_curves.cpp @@ -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 #include #include @@ -58,5 +65,3 @@ npe_begin_code() return curves; npe_end_code() - - diff --git a/src/face_occurrences.cpp b/src/face_occurrences.cpp index 59221e00..17cc9a07 100644 --- a/src/face_occurrences.cpp +++ b/src/face_occurrences.cpp @@ -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 #include #include @@ -44,5 +51,3 @@ npe_begin_code() return npe::move(c); npe_end_code() - - diff --git a/src/faces_first.cpp b/src/faces_first.cpp index df2f51cd..389669e3 100644 --- a/src/faces_first.cpp +++ b/src/faces_first.cpp @@ -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 #include #include diff --git a/src/facet_components.cpp b/src/facet_components.cpp index 734e8d45..72b91273 100644 --- a/src/facet_components.cpp +++ b/src/facet_components.cpp @@ -1,3 +1,10 @@ +// This file is part of libigl, a simple c++ geometry processing library. +// +// Copyright (C) 2023 Nico +// +// 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 #include #include diff --git a/src/false_barycentric_subdivision.cpp b/src/false_barycentric_subdivision.cpp index bc902275..21fea7b5 100644 --- a/src/false_barycentric_subdivision.cpp +++ b/src/false_barycentric_subdivision.cpp @@ -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 #include #include @@ -56,5 +63,3 @@ npe_begin_code() return std::make_tuple(npe::move(vd), npe::move(fd)); npe_end_code() - - diff --git a/src/fast_winding_number.cpp b/src/fast_winding_number.cpp index 7a5182c5..683da9ab 100644 --- a/src/fast_winding_number.cpp +++ b/src/fast_winding_number.cpp @@ -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 #include #include @@ -108,4 +115,4 @@ npe_begin_code() igl::fast_winding_number(v, f, q, wn); return npe::move(wn); -npe_end_code() \ No newline at end of file +npe_end_code() diff --git a/src/find_cross_field_singularities.cpp b/src/find_cross_field_singularities.cpp index 2dfdb0f0..7f166769 100644 --- a/src/find_cross_field_singularities.cpp +++ b/src/find_cross_field_singularities.cpp @@ -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 #include #include @@ -112,5 +119,3 @@ npe_begin_code() return std::make_tuple(npe::move(is_singularity), npe::move(singularity_index)); npe_end_code() - - diff --git a/src/fit_cubic_bezier.cpp b/src/fit_cubic_bezier.cpp index c68f7c99..b1e0d449 100644 --- a/src/fit_cubic_bezier.cpp +++ b/src/fit_cubic_bezier.cpp @@ -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 #include #include @@ -47,4 +54,3 @@ npe_begin_code() return pybind11::detail::type_caster::cast(c, pybind11::return_value_policy::move, pybind11::none()); npe_end_code() - diff --git a/src/fit_plane.cpp b/src/fit_plane.cpp index c8489c6a..c4460086 100644 --- a/src/fit_plane.cpp +++ b/src/fit_plane.cpp @@ -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 @@ -57,5 +64,3 @@ npe_begin_code() return std::make_tuple(npe::move(n_row_major), npe::move(c_row_major)); npe_end_code() - - diff --git a/src/flip_avoiding_line_search.cpp b/src/flip_avoiding_line_search.cpp index 3b17fef9..f66a13cc 100644 --- a/src/flip_avoiding_line_search.cpp +++ b/src/flip_avoiding_line_search.cpp @@ -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 diff --git a/src/flip_edge.cpp b/src/flip_edge.cpp index 34e19f8c..42ed6ea6 100644 --- a/src/flip_edge.cpp +++ b/src/flip_edge.cpp @@ -1,3 +1,10 @@ +// This file is part of libigl, a simple c++ geometry processing library. +// +// Copyright (C) 2023 Soboleva Natalia +// +// 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 #include #include diff --git a/src/flipped_triangles.cpp b/src/flipped_triangles.cpp index 934742a2..c2f20bf3 100644 --- a/src/flipped_triangles.cpp +++ b/src/flipped_triangles.cpp @@ -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 #include #include diff --git a/src/forward_kinematics.cpp b/src/forward_kinematics.cpp index 13418346..9b0b2b44 100644 --- a/src/forward_kinematics.cpp +++ b/src/forward_kinematics.cpp @@ -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 #include #include @@ -97,4 +104,4 @@ npe_begin_code() return std::make_tuple(npe::move(v_q_out), npe::move(v_t_out)); - npe_end_code() \ No newline at end of file + npe_end_code() diff --git a/src/gaussian_curvature.cpp b/src/gaussian_curvature.cpp index a9dd3f87..9918e719 100644 --- a/src/gaussian_curvature.cpp +++ b/src/gaussian_curvature.cpp @@ -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 #include #include @@ -42,5 +49,3 @@ npe_begin_code() return npe::move(k); npe_end_code() - - diff --git a/src/grad.cpp b/src/grad.cpp index 45d62efb..759c5278 100644 --- a/src/grad.cpp +++ b/src/grad.cpp @@ -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 #include #include @@ -49,5 +56,3 @@ npe_begin_code() return npe::move(g); npe_end_code() - - diff --git a/src/grad_intrinsic.cpp b/src/grad_intrinsic.cpp index 49b38044..e38d1cd0 100644 --- a/src/grad_intrinsic.cpp +++ b/src/grad_intrinsic.cpp @@ -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 #include #include @@ -57,5 +64,3 @@ npe_begin_code() return npe::move(g); npe_end_code() - - diff --git a/src/harmonic.cpp b/src/harmonic.cpp index 27ab2207..f3feb12a 100644 --- a/src/harmonic.cpp +++ b/src/harmonic.cpp @@ -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 #include #include @@ -247,5 +254,3 @@ npe_begin_code() return npe::move(q); npe_end_code() - - diff --git a/src/hausdorff.cpp b/src/hausdorff.cpp index 1d763878..4b650167 100644 --- a/src/hausdorff.cpp +++ b/src/hausdorff.cpp @@ -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 #include #include @@ -67,6 +74,3 @@ npe_begin_code() return d; npe_end_code() - - - diff --git a/src/heat_geodesic.cpp b/src/heat_geodesic.cpp index 79d384b1..e180d73b 100644 --- a/src/heat_geodesic.cpp +++ b/src/heat_geodesic.cpp @@ -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 #include #include @@ -52,5 +59,3 @@ npe_begin_code() return npe::move(d); npe_end_code() - - diff --git a/src/hessian.cpp b/src/hessian.cpp index f97eedde..143814d4 100644 --- a/src/hessian.cpp +++ b/src/hessian.cpp @@ -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 #include #include @@ -45,5 +52,3 @@ npe_begin_code() igl::hessian(v, f, h); return npe::move(h); npe_end_code() - - diff --git a/src/hessian_energy.cpp b/src/hessian_energy.cpp index f52244ce..b7da230b 100644 --- a/src/hessian_energy.cpp +++ b/src/hessian_energy.cpp @@ -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/. // might be sparse matrix problem #include @@ -53,5 +60,3 @@ npe_begin_code() return npe::move(q); npe_end_code() - - diff --git a/src/in_element.cpp b/src/in_element.cpp index ef2c3911..eb62cb7f 100644 --- a/src/in_element.cpp +++ b/src/in_element.cpp @@ -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 #include #include @@ -49,6 +56,3 @@ npe_begin_code() return npe::move(I); npe_end_code() - - - diff --git a/src/inradius.cpp b/src/inradius.cpp index f63ca6c1..b0440ab9 100644 --- a/src/inradius.cpp +++ b/src/inradius.cpp @@ -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 #include #include @@ -42,5 +49,3 @@ npe_begin_code() return npe::move(r); npe_end_code() - - diff --git a/src/internal_angles.cpp b/src/internal_angles.cpp index eac47031..978337f7 100644 --- a/src/internal_angles.cpp +++ b/src/internal_angles.cpp @@ -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 #include #include @@ -134,5 +141,3 @@ npe_end_code() // return npe::move(k); //npe_end_code() - - diff --git a/src/intrinsic_delaunay_cotmatrix.cpp b/src/intrinsic_delaunay_cotmatrix.cpp index 9e8aa79d..4d03b474 100644 --- a/src/intrinsic_delaunay_cotmatrix.cpp +++ b/src/intrinsic_delaunay_cotmatrix.cpp @@ -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 #include #include @@ -51,4 +58,3 @@ npe_begin_code() return std::make_tuple(npe::move(l), npe::move(l_intrinsic), npe::move(f_intrinsic)); npe_end_code() - diff --git a/src/intrinsic_delaunay_triangulation.cpp b/src/intrinsic_delaunay_triangulation.cpp index ec712373..493403fa 100644 --- a/src/intrinsic_delaunay_triangulation.cpp +++ b/src/intrinsic_delaunay_triangulation.cpp @@ -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 #include #include diff --git a/src/is_border_vertex.cpp b/src/is_border_vertex.cpp index 5589cb90..c29bf71a 100644 --- a/src/is_border_vertex.cpp +++ b/src/is_border_vertex.cpp @@ -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 #include #include @@ -44,5 +51,3 @@ npe_begin_code() return res; npe_end_code() - - diff --git a/src/is_delaunay.cpp b/src/is_delaunay.cpp index 1208818b..daebca23 100644 --- a/src/is_delaunay.cpp +++ b/src/is_delaunay.cpp @@ -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 #include #include @@ -49,4 +56,3 @@ npe_begin_code() return npe::move(d); npe_end_code() - diff --git a/src/is_edge_manifold.cpp b/src/is_edge_manifold.cpp index 6ba6aa63..31ab2ed4 100644 --- a/src/is_edge_manifold.cpp +++ b/src/is_edge_manifold.cpp @@ -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, decide if to remove the first function #include @@ -23,5 +30,3 @@ npe_begin_code() return igl::is_edge_manifold(f); npe_end_code() - - diff --git a/src/is_intrinsic_delaunay.cpp b/src/is_intrinsic_delaunay.cpp index 42aa48eb..9c2e83d3 100644 --- a/src/is_intrinsic_delaunay.cpp +++ b/src/is_intrinsic_delaunay.cpp @@ -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 #include #include @@ -50,4 +57,3 @@ npe_begin_code() return npe::move(d); npe_end_code() - diff --git a/src/is_irregular_vertex.cpp b/src/is_irregular_vertex.cpp index 2f37fa99..5338eb8b 100644 --- a/src/is_irregular_vertex.cpp +++ b/src/is_irregular_vertex.cpp @@ -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 #include #include @@ -41,5 +48,3 @@ npe_begin_code() return res; npe_end_code() - - diff --git a/src/isolines.cpp b/src/isolines.cpp index 085c1989..2cf10942 100644 --- a/src/isolines.cpp +++ b/src/isolines.cpp @@ -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/. //TODO: __example #include @@ -54,5 +61,3 @@ npe_begin_code() return std::make_tuple(npe::move(iso_v), npe::move(iso_e)); npe_end_code() - - diff --git a/src/iterative_closest_point.cpp b/src/iterative_closest_point.cpp index 458da2a3..a03b3fc7 100644 --- a/src/iterative_closest_point.cpp +++ b/src/iterative_closest_point.cpp @@ -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 #include #include @@ -130,5 +137,3 @@ npe_end_code() // return std::make_tuple(npe::move(r), npe::move(t)); // npe_end_code() - - diff --git a/src/lbs_matrix.cpp b/src/lbs_matrix.cpp index 1ba607e4..7185c5f5 100644 --- a/src/lbs_matrix.cpp +++ b/src/lbs_matrix.cpp @@ -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 #include #include @@ -209,5 +216,3 @@ npe_end_code() // return npe::move(m); // npe_end_code() - - diff --git a/src/line_segment_in_rectangle.cpp b/src/line_segment_in_rectangle.cpp index ee196608..11238d10 100644 --- a/src/line_segment_in_rectangle.cpp +++ b/src/line_segment_in_rectangle.cpp @@ -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 #include #include diff --git a/src/local_basis.cpp b/src/local_basis.cpp index 2c99efb6..02adb2bf 100644 --- a/src/local_basis.cpp +++ b/src/local_basis.cpp @@ -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 #include #include @@ -46,5 +53,3 @@ npe_begin_code() return std::make_tuple(npe::move(b1), npe::move(b2), npe::move(b3)); npe_end_code() - - diff --git a/src/look_at.cpp b/src/look_at.cpp index 87c87f30..69d26afa 100644 --- a/src/look_at.cpp +++ b/src/look_at.cpp @@ -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 #include #include @@ -53,5 +60,3 @@ npe_begin_code() return npe::move(r); npe_end_code() - - diff --git a/src/loop.cpp b/src/loop.cpp index bce11b90..937ed1cd 100644 --- a/src/loop.cpp +++ b/src/loop.cpp @@ -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/. //TODO: __example #include #include diff --git a/src/lscm.cpp b/src/lscm.cpp index 0b50c233..121692d3 100644 --- a/src/lscm.cpp +++ b/src/lscm.cpp @@ -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 #include @@ -63,5 +70,3 @@ npe_begin_code() return std::make_tuple(success, npe::move(uv_row_major)); npe_end_code() - - diff --git a/src/map_vertices_to_circle.cpp b/src/map_vertices_to_circle.cpp index 33d4b298..39eb479f 100644 --- a/src/map_vertices_to_circle.cpp +++ b/src/map_vertices_to_circle.cpp @@ -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 #include @@ -47,5 +54,3 @@ npe_begin_code() return npe::move(uv_row_major); npe_end_code() - - diff --git a/src/marching_cubes.cpp b/src/marching_cubes.cpp index 4d423945..4a41e590 100644 --- a/src/marching_cubes.cpp +++ b/src/marching_cubes.cpp @@ -1,3 +1,10 @@ +// This file is part of libigl, a simple c++ geometry processing library. +// +// Copyright (C) 2023 Thomas +// +// 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 #include #include @@ -77,4 +84,4 @@ npe_begin_code() EigenDenseLike sfRowMajor = SF.template cast(); return std::make_tuple(npe::move(svRowMajor), npe::move(sfRowMajor)); -npe_end_code() \ No newline at end of file +npe_end_code() diff --git a/src/marching_tets.cpp b/src/marching_tets.cpp index b06af126..3c4108fe 100644 --- a/src/marching_tets.cpp +++ b/src/marching_tets.cpp @@ -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 #include #include diff --git a/src/massmatrix.cpp b/src/massmatrix.cpp index 8b9cf6dd..8ce1a5cd 100644 --- a/src/massmatrix.cpp +++ b/src/massmatrix.cpp @@ -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 #include #include @@ -57,5 +64,3 @@ npe_begin_code() return npe::move(m); npe_end_code() - - diff --git a/src/massmatrix_intrinsic.cpp b/src/massmatrix_intrinsic.cpp index 01ae67dd..2c8b65e7 100644 --- a/src/massmatrix_intrinsic.cpp +++ b/src/massmatrix_intrinsic.cpp @@ -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 #include #include diff --git a/src/min_quad_with_fixed.cpp b/src/min_quad_with_fixed.cpp index 5e6c1a2c..1309e54d 100644 --- a/src/min_quad_with_fixed.cpp +++ b/src/min_quad_with_fixed.cpp @@ -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/. //TODO: __example remove __copy #include diff --git a/src/moments.cpp b/src/moments.cpp index 94f694a6..213a66f8 100644 --- a/src/moments.cpp +++ b/src/moments.cpp @@ -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 #include #include @@ -32,4 +39,3 @@ npe_begin_code() igl::moments(V, F, m0, m1, m2); return std::make_tuple(m0,npe::move(m1),npe::move(m2)); npe_end_code() - diff --git a/src/mvc.cpp b/src/mvc.cpp index 582b0bae..81133b95 100644 --- a/src/mvc.cpp +++ b/src/mvc.cpp @@ -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 #include #include @@ -55,5 +62,3 @@ npe_begin_code() EigenDenseLike w = w_copy.template cast(); return npe::move(w); npe_end_code() - - diff --git a/src/normal_derivative.cpp b/src/normal_derivative.cpp index e07af0c1..ee613c07 100644 --- a/src/normal_derivative.cpp +++ b/src/normal_derivative.cpp @@ -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 #include #include @@ -50,5 +57,3 @@ npe_begin_code() return npe::move(dd); npe_end_code() - - diff --git a/src/offset_surface.cpp b/src/offset_surface.cpp index 0996d3c8..40e9eb9c 100644 --- a/src/offset_surface.cpp +++ b/src/offset_surface.cpp @@ -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/. //TODO: __example // TODO: remove __copy // copy is necessary since the winding number only supports matrices diff --git a/src/orient_outward.cpp b/src/orient_outward.cpp index 7558a522..86bbbbd6 100644 --- a/src/orient_outward.cpp +++ b/src/orient_outward.cpp @@ -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 #include #include @@ -57,5 +64,3 @@ npe_begin_code() return std::make_tuple(npe::move(ff), npe::move(i)); npe_end_code() - - diff --git a/src/orientable_patches.cpp b/src/orientable_patches.cpp index 0bc3cd36..f91fb12f 100644 --- a/src/orientable_patches.cpp +++ b/src/orientable_patches.cpp @@ -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 #include #include @@ -40,4 +47,3 @@ npe_begin_code() return std::make_tuple(npe::move(c), npe::move(A)); npe_end_code() - diff --git a/src/oriented_facets.cpp b/src/oriented_facets.cpp index 404d6ff3..37f460bb 100644 --- a/src/oriented_facets.cpp +++ b/src/oriented_facets.cpp @@ -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 #include #include @@ -44,5 +51,3 @@ npe_begin_code() return npe::move(e); npe_end_code() - - diff --git a/src/outer_element.cpp b/src/outer_element.cpp index a2d2ab39..a6c6e7ea 100644 --- a/src/outer_element.cpp +++ b/src/outer_element.cpp @@ -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 #include #include @@ -169,5 +176,3 @@ npe_begin_code() return std::make_tuple(face, flipped); npe_end_code() - - diff --git a/src/partition.cpp b/src/partition.cpp index a72d4bd1..a4296280 100644 --- a/src/partition.cpp +++ b/src/partition.cpp @@ -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 #include #include @@ -63,5 +70,3 @@ npe_begin_code() return std::make_tuple(npe::move(g), npe::move(s), npe::move(d)); npe_end_code() - - diff --git a/src/path_to_edges.cpp b/src/path_to_edges.cpp index 417ddef4..4c50b5ef 100644 --- a/src/path_to_edges.cpp +++ b/src/path_to_edges.cpp @@ -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 #include #include diff --git a/src/per_corner_normals.cpp b/src/per_corner_normals.cpp index c2d67ab5..db15c7da 100644 --- a/src/per_corner_normals.cpp +++ b/src/per_corner_normals.cpp @@ -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 #include #include @@ -45,4 +52,3 @@ npe_begin_code() return npe::move(n); npe_end_code() - diff --git a/src/per_edge_normals.cpp b/src/per_edge_normals.cpp index f016afac..a7457a32 100644 --- a/src/per_edge_normals.cpp +++ b/src/per_edge_normals.cpp @@ -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: __miss __example #include @@ -57,5 +64,3 @@ npe_begin_code() return std::make_tuple(npe::move(n), npe::move(e), npe::move(emap)); npe_end_code() - - diff --git a/src/per_face_normals.cpp b/src/per_face_normals.cpp index ce67ee39..f0df74ca 100644 --- a/src/per_face_normals.cpp +++ b/src/per_face_normals.cpp @@ -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: __miss #include @@ -50,4 +57,3 @@ npe_begin_code() return npe::move(n); npe_end_code() - diff --git a/src/per_vertex_attribute_smoothing.cpp b/src/per_vertex_attribute_smoothing.cpp index ee37196b..4c6dd77c 100644 --- a/src/per_vertex_attribute_smoothing.cpp +++ b/src/per_vertex_attribute_smoothing.cpp @@ -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 @@ -49,5 +56,3 @@ npe_begin_code() return npe::move(aout_row_major); npe_end_code() - - diff --git a/src/per_vertex_normals.cpp b/src/per_vertex_normals.cpp index 4c2dc19a..a439c602 100644 --- a/src/per_vertex_normals.cpp +++ b/src/per_vertex_normals.cpp @@ -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 #include #include @@ -51,5 +58,3 @@ npe_begin_code() return npe::move(n); npe_end_code() - - diff --git a/src/piecewise_constant_winding_number.cpp b/src/piecewise_constant_winding_number.cpp index b00a7b14..9b5c9fbb 100644 --- a/src/piecewise_constant_winding_number.cpp +++ b/src/piecewise_constant_winding_number.cpp @@ -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: __miss __example #include @@ -63,5 +70,3 @@ npe_begin_code() return igl::piecewise_constant_winding_number(f); npe_end_code() - - diff --git a/src/planarize_quad_mesh.cpp b/src/planarize_quad_mesh.cpp index ebcdcec9..8b57c394 100644 --- a/src/planarize_quad_mesh.cpp +++ b/src/planarize_quad_mesh.cpp @@ -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 #include #include @@ -49,5 +56,3 @@ npe_begin_code() return npe::move(out); npe_end_code() - - diff --git a/src/point_in_circle.cpp b/src/point_in_circle.cpp index 79a80d38..2c654615 100644 --- a/src/point_in_circle.cpp +++ b/src/point_in_circle.cpp @@ -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 #include #include @@ -46,5 +53,3 @@ npe_begin_code() return in; npe_end_code() - - diff --git a/src/point_mesh_squared_distance.cpp b/src/point_mesh_squared_distance.cpp index b6a316f1..ea0c9700 100644 --- a/src/point_mesh_squared_distance.cpp +++ b/src/point_mesh_squared_distance.cpp @@ -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 #include #include @@ -78,5 +85,3 @@ npe_begin_code() return std::make_tuple(npe::move(sqr_d_row_maj), npe::move(i_row_maj), npe::move(c_row_maj)); npe_end_code() - - diff --git a/src/point_simplex_squared_distance.cpp b/src/point_simplex_squared_distance.cpp index 4b187af5..c1e48550 100644 --- a/src/point_simplex_squared_distance.cpp +++ b/src/point_simplex_squared_distance.cpp @@ -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 #include #include @@ -59,5 +66,3 @@ npe_begin_code() return std::make_tuple(sqr_d, npe::move(c), npe::move(b)); npe_end_code() - - diff --git a/src/polar_dec.cpp b/src/polar_dec.cpp index 48e5c4c5..7bff990f 100644 --- a/src/polar_dec.cpp +++ b/src/polar_dec.cpp @@ -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 #include #include @@ -48,5 +55,3 @@ npe_begin_code() return std::make_tuple(npe::move(r), npe::move(t)); npe_end_code() - - diff --git a/src/principal_curvature.cpp b/src/principal_curvature.cpp index 6fbbf1a0..7ded6e79 100644 --- a/src/principal_curvature.cpp +++ b/src/principal_curvature.cpp @@ -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 #include #include @@ -52,5 +59,3 @@ npe_begin_code() return std::make_tuple(npe::move(pd1), npe::move(pd2), npe::move(pv1), npe::move(pv2)); npe_end_code() - - diff --git a/src/procrustes.cpp b/src/procrustes.cpp index df5c1b15..5a667458 100644 --- a/src/procrustes.cpp +++ b/src/procrustes.cpp @@ -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: __miss #include @@ -67,4 +74,3 @@ npe_begin_code() return std::make_tuple(scale, npe::move(r), npe::move(t)); npe_end_code() - diff --git a/src/project.cpp b/src/project.cpp index fc0123a7..48235c91 100644 --- a/src/project.cpp +++ b/src/project.cpp @@ -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 #include #include diff --git a/src/project_isometrically_to_plane.cpp b/src/project_isometrically_to_plane.cpp index b6f39d11..398ba799 100644 --- a/src/project_isometrically_to_plane.cpp +++ b/src/project_isometrically_to_plane.cpp @@ -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 #include #include @@ -48,5 +55,3 @@ npe_begin_code() return std::make_tuple(npe::move(u), npe::move(uf), npe::move(i)); npe_end_code() - - diff --git a/src/project_to_line.cpp b/src/project_to_line.cpp index 4a99d7ce..c4f7c939 100644 --- a/src/project_to_line.cpp +++ b/src/project_to_line.cpp @@ -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 #include #include @@ -75,4 +82,3 @@ npe_begin_code() return std::make_tuple(npe::move(t), npe::move(sqr_d)); npe_end_code() - diff --git a/src/project_to_line_segment.cpp b/src/project_to_line_segment.cpp index 2562c7d2..3d939b42 100644 --- a/src/project_to_line_segment.cpp +++ b/src/project_to_line_segment.cpp @@ -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 #include #include @@ -74,5 +81,3 @@ npe_begin_code() return std::make_tuple(npe::move(t), npe::move(sqr_d)); npe_end_code() - - diff --git a/src/pso.cpp b/src/pso.cpp index 55a7d3a4..8a6883d4 100644 --- a/src/pso.cpp +++ b/src/pso.cpp @@ -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 #include #include diff --git a/src/qslim.cpp b/src/qslim.cpp index 59e4be59..6ef90f85 100644 --- a/src/qslim.cpp +++ b/src/qslim.cpp @@ -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 @@ -74,5 +81,3 @@ npe_begin_code() return std::make_tuple(success, npe::move(u_row_major), npe::move(g_row_major), npe::move(j_row_major), npe::move(i_row_major)); npe_end_code() - - diff --git a/src/quad_grid.cpp b/src/quad_grid.cpp index 673c8ecf..79e30a5e 100644 --- a/src/quad_grid.cpp +++ b/src/quad_grid.cpp @@ -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 #include #include diff --git a/src/quad_planarity.cpp b/src/quad_planarity.cpp index 19f83f30..970dbc85 100644 --- a/src/quad_planarity.cpp +++ b/src/quad_planarity.cpp @@ -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/. // TODO: missing __example #include @@ -42,5 +49,3 @@ npe_begin_code() return npe::move(p); npe_end_code() - - diff --git a/src/ramer_douglas_peucker.cpp b/src/ramer_douglas_peucker.cpp index 0523040b..c47feda1 100644 --- a/src/ramer_douglas_peucker.cpp +++ b/src/ramer_douglas_peucker.cpp @@ -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 #include #include @@ -51,5 +58,3 @@ npe_begin_code() return std::make_tuple(npe::move(s), npe::move(j), npe::move(q)); npe_end_code() - - diff --git a/src/random_points_on_mesh.cpp b/src/random_points_on_mesh.cpp index 917b82a6..1f6fe160 100644 --- a/src/random_points_on_mesh.cpp +++ b/src/random_points_on_mesh.cpp @@ -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/. //TODO: __example #include #include diff --git a/src/random_search.cpp b/src/random_search.cpp index 127312c3..25fb39d9 100644 --- a/src/random_search.cpp +++ b/src/random_search.cpp @@ -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 #include #include diff --git a/src/ray_box_intersect.cpp b/src/ray_box_intersect.cpp index 49174c3a..de596c17 100644 --- a/src/ray_box_intersect.cpp +++ b/src/ray_box_intersect.cpp @@ -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 #include #include @@ -69,5 +76,3 @@ npe_begin_code() return std::make_tuple(hit, tmin, tmax); npe_end_code() - - diff --git a/src/ray_mesh_intersect.cpp b/src/ray_mesh_intersect.cpp index b465ecf1..46555342 100644 --- a/src/ray_mesh_intersect.cpp +++ b/src/ray_mesh_intersect.cpp @@ -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 #include #include @@ -99,4 +106,3 @@ npe_end_code() // return npe::move(hit); // npe_end_code() - diff --git a/src/ray_sphere_intersect.cpp b/src/ray_sphere_intersect.cpp index ba6a2a31..cf393ab0 100644 --- a/src/ray_sphere_intersect.cpp +++ b/src/ray_sphere_intersect.cpp @@ -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 #include #include @@ -62,5 +69,3 @@ npe_begin_code() return std::make_tuple(inters, t0, t1); npe_end_code() - - diff --git a/src/readDMAT.cpp b/src/readDMAT.cpp index 241bcab1..4cb21e2f 100644 --- a/src/readDMAT.cpp +++ b/src/readDMAT.cpp @@ -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 #include @@ -61,6 +68,3 @@ npe_begin_code() } npe_end_code() - - - diff --git a/src/readMESH.cpp b/src/readMESH.cpp index e01ab4d4..66e210db 100644 --- a/src/readMESH.cpp +++ b/src/readMESH.cpp @@ -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 #include #include diff --git a/src/readMSH.cpp b/src/readMSH.cpp index a4ce2aa1..160b94a1 100644 --- a/src/readMSH.cpp +++ b/src/readMSH.cpp @@ -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 #include #include @@ -59,5 +66,3 @@ npe_begin_code() throw pybind11::type_error("Only float32 and float64 dtypes are supported."); npe_end_code() - - diff --git a/src/readOBJ.cpp b/src/readOBJ.cpp index f5dc7381..e00c9cc1 100644 --- a/src/readOBJ.cpp +++ b/src/readOBJ.cpp @@ -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 #include #include diff --git a/src/readOFF.cpp b/src/readOFF.cpp index d172ea0e..460dee82 100644 --- a/src/readOFF.cpp +++ b/src/readOFF.cpp @@ -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 #include #include diff --git a/src/readTGF.cpp b/src/readTGF.cpp index a4dd7035..285ae553 100644 --- a/src/readTGF.cpp +++ b/src/readTGF.cpp @@ -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 #include diff --git a/src/read_triangle_mesh.cpp b/src/read_triangle_mesh.cpp index 5b134b35..0eb32ec2 100644 --- a/src/read_triangle_mesh.cpp +++ b/src/read_triangle_mesh.cpp @@ -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 #include #include diff --git a/src/remove_duplicate_vertices.cpp b/src/remove_duplicate_vertices.cpp index 3fb55aa6..a0cf885d 100644 --- a/src/remove_duplicate_vertices.cpp +++ b/src/remove_duplicate_vertices.cpp @@ -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 #include #include @@ -64,5 +71,3 @@ npe_begin_code() return std::make_tuple(npe::move(sv_row_major), npe::move(svi), npe::move(svj), npe::move(sf)); npe_end_code() - - diff --git a/src/remove_duplicates.cpp b/src/remove_duplicates.cpp index fc2f6e5c..c7768fdc 100644 --- a/src/remove_duplicates.cpp +++ b/src/remove_duplicates.cpp @@ -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 #include #include @@ -60,5 +67,3 @@ npe_begin_code() return std::make_tuple(npe::move(sv_row_major), npe::move(sf)); npe_end_code() - - diff --git a/src/remove_unreferenced.cpp b/src/remove_unreferenced.cpp index 1905e6fe..9120740f 100644 --- a/src/remove_unreferenced.cpp +++ b/src/remove_unreferenced.cpp @@ -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 @@ -54,4 +61,3 @@ npe_begin_code() return std::make_tuple(npe::move(nv), npe::move(nf), npe::move(i), npe::move(j)); npe_end_code() - diff --git a/src/resolve_duplicated_faces.cpp b/src/resolve_duplicated_faces.cpp index 37a9f10e..91175268 100644 --- a/src/resolve_duplicated_faces.cpp +++ b/src/resolve_duplicated_faces.cpp @@ -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 #include #include @@ -58,5 +65,3 @@ npe_begin_code() return std::make_tuple(npe::move(f2), npe::move(j)); npe_end_code() - - diff --git a/src/rigid_alignment.cpp b/src/rigid_alignment.cpp index 4fbac065..c707396e 100644 --- a/src/rigid_alignment.cpp +++ b/src/rigid_alignment.cpp @@ -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 #include #include @@ -63,5 +70,3 @@ npe_begin_code() return std::make_tuple(npe::move(r), npe::move(t)); npe_end_code() - - diff --git a/src/rotate_vectors.cpp b/src/rotate_vectors.cpp index 67add880..c78e1693 100644 --- a/src/rotate_vectors.cpp +++ b/src/rotate_vectors.cpp @@ -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 #include #include diff --git a/src/sample_edges.cpp b/src/sample_edges.cpp index 39c1eb6e..a6317e87 100644 --- a/src/sample_edges.cpp +++ b/src/sample_edges.cpp @@ -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 #include #include @@ -58,5 +65,3 @@ npe_begin_code() return npe::move(s); npe_end_code() - - diff --git a/src/segment_segment_intersect.cpp b/src/segment_segment_intersect.cpp index 16cb4f90..b96e5fcc 100644 --- a/src/segment_segment_intersect.cpp +++ b/src/segment_segment_intersect.cpp @@ -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/. // TODO: __example // error at line 33 and 41, saying cross is only for certain size matrices @@ -74,5 +81,3 @@ npe_begin_code() return std::make_tuple(is_intersect, t, u, eps); npe_end_code() - - diff --git a/src/shape_diameter_function.cpp b/src/shape_diameter_function.cpp index 8e473017..1ebc1137 100644 --- a/src/shape_diameter_function.cpp +++ b/src/shape_diameter_function.cpp @@ -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 __miss @@ -60,5 +67,3 @@ npe_begin_code() return npe::move(s); npe_end_code() - - diff --git a/src/sharp_edges.cpp b/src/sharp_edges.cpp index 1241db54..c0e8cd23 100644 --- a/src/sharp_edges.cpp +++ b/src/sharp_edges.cpp @@ -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 #include #include diff --git a/src/signed_angle.cpp b/src/signed_angle.cpp index d4a63e73..16fc1763 100644 --- a/src/signed_angle.cpp +++ b/src/signed_angle.cpp @@ -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 #include #include @@ -83,5 +90,3 @@ npe_begin_code() return angle; npe_end_code() - - diff --git a/src/signed_distance.cpp b/src/signed_distance.cpp index c10774fe..75834ac0 100644 --- a/src/signed_distance.cpp +++ b/src/signed_distance.cpp @@ -1,3 +1,10 @@ +// This file is part of libigl, a simple c++ geometry processing library. +// +// Copyright (C) 2023 Francis Williams +// +// 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 #include #include @@ -59,11 +66,17 @@ npe_begin_code() //NOTE: compiler concats adjacent string literals. throw pybind11::value_error( "Parameter sign_type invalid, must be one of:" - "\n\t0: Use fast pseudo-normal test [Bærentzen & Aanæs 2005]" - "\n\t1: Use winding number [Jacobson, Kavan Sorking-Hornug 2013]" - "\n\t2: Default (pseudo-normal)" - "\n\t3: Unsigned" - "\n\t4: Use Fast winding number [Barill, Dickson, Schmidt, Levin, Jacobson 2018]\n" + " + 0: Use fast pseudo-normal test [Bærentzen & Aanæs 2005]" + " + 1: Use winding number [Jacobson, Kavan Sorking-Hornug 2013]" + " + 2: Default (pseudo-normal)" + " + 3: Unsigned" + " + 4: Use Fast winding number [Barill, Dickson, Schmidt, Levin, Jacobson 2018] +" ); } @@ -96,6 +109,3 @@ npe_begin_code() } npe_end_code() - - - diff --git a/src/simplify_polyhedron.cpp b/src/simplify_polyhedron.cpp index 108ec6dd..b13c2bbc 100644 --- a/src/simplify_polyhedron.cpp +++ b/src/simplify_polyhedron.cpp @@ -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 #include #include diff --git a/src/snap_points.cpp b/src/snap_points.cpp index 51148549..65791641 100644 --- a/src/snap_points.cpp +++ b/src/snap_points.cpp @@ -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 #include #include diff --git a/src/solid_angle.cpp b/src/solid_angle.cpp index 6d5be82d..44be40b8 100644 --- a/src/solid_angle.cpp +++ b/src/solid_angle.cpp @@ -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 #include #include @@ -59,5 +66,3 @@ npe_begin_code() return res; npe_end_code() - - diff --git a/src/sort_angles.cpp b/src/sort_angles.cpp index 354a080f..be192386 100644 --- a/src/sort_angles.cpp +++ b/src/sort_angles.cpp @@ -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 @@ -51,5 +58,3 @@ npe_begin_code() return npe::move(r); npe_end_code() - - diff --git a/src/sparse_voxel_grid.cpp b/src/sparse_voxel_grid.cpp index 1fe3c805..98703b21 100644 --- a/src/sparse_voxel_grid.cpp +++ b/src/sparse_voxel_grid.cpp @@ -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 #include #include @@ -67,5 +74,3 @@ npe_begin_code() return std::make_tuple(npe::move(cs), npe::move(cv), npe::move(ci)); npe_end_code() - - diff --git a/src/swept_volume_bounding_box.cpp b/src/swept_volume_bounding_box.cpp index 691bddb9..980d85b3 100644 --- a/src/swept_volume_bounding_box.cpp +++ b/src/swept_volume_bounding_box.cpp @@ -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 #include #include diff --git a/src/tet_tet_adjacency.cpp b/src/tet_tet_adjacency.cpp index 5a604500..81f7fc1f 100644 --- a/src/tet_tet_adjacency.cpp +++ b/src/tet_tet_adjacency.cpp @@ -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/. //TODO: __example #include diff --git a/src/topological_hole_fill.cpp b/src/topological_hole_fill.cpp index 3b5bd60b..6e8275df 100644 --- a/src/topological_hole_fill.cpp +++ b/src/topological_hole_fill.cpp @@ -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 #include #include diff --git a/src/triangle/triangulate.cpp b/src/triangle/triangulate.cpp index 891aa31f..ca1d24bf 100644 --- a/src/triangle/triangulate.cpp +++ b/src/triangle/triangulate.cpp @@ -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 #include @@ -61,4 +68,3 @@ if(VM.size() == 0 && EM.size() == 0) } npe_end_code() - diff --git a/src/triangle_fan.cpp b/src/triangle_fan.cpp index 47f5f7aa..b618bfdc 100644 --- a/src/triangle_fan.cpp +++ b/src/triangle_fan.cpp @@ -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 #include #include diff --git a/src/triangle_triangle_adjacency.cpp b/src/triangle_triangle_adjacency.cpp index ca563734..b929b984 100644 --- a/src/triangle_triangle_adjacency.cpp +++ b/src/triangle_triangle_adjacency.cpp @@ -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: __miss __example #include @@ -51,5 +58,3 @@ npe_begin_code() return std::make_tuple(npe::move(tt), npe::move(t_ti)); npe_end_code() - - diff --git a/src/triangles_from_strip.cpp b/src/triangles_from_strip.cpp index f029d489..ef08970d 100644 --- a/src/triangles_from_strip.cpp +++ b/src/triangles_from_strip.cpp @@ -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 #include #include @@ -52,5 +59,3 @@ npe_begin_code() return npe::move(f); npe_end_code() - - diff --git a/src/triangulated_grid.cpp b/src/triangulated_grid.cpp index 70b8a84a..0440bb0f 100644 --- a/src/triangulated_grid.cpp +++ b/src/triangulated_grid.cpp @@ -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 #include #include diff --git a/src/two_axis_valuator_fixed_up.cpp b/src/two_axis_valuator_fixed_up.cpp index ab4c0f63..8f997298 100644 --- a/src/two_axis_valuator_fixed_up.cpp +++ b/src/two_axis_valuator_fixed_up.cpp @@ -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 #include #include @@ -85,5 +92,3 @@ npe_begin_code() return npe::move(quat); npe_end_code() - - diff --git a/src/uniformly_sample_two_manifold.cpp b/src/uniformly_sample_two_manifold.cpp index aa5f5740..c0d07a2e 100644 --- a/src/uniformly_sample_two_manifold.cpp +++ b/src/uniformly_sample_two_manifold.cpp @@ -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 @@ -116,5 +123,3 @@ npe_begin_code() return npe::move(s_out); npe_end_code() - - diff --git a/src/unique_edge_map.cpp b/src/unique_edge_map.cpp index 64ac2c53..4d51ad46 100644 --- a/src/unique_edge_map.cpp +++ b/src/unique_edge_map.cpp @@ -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 #include #include diff --git a/src/unique_simplices.cpp b/src/unique_simplices.cpp index 6790d9c4..d8545464 100644 --- a/src/unique_simplices.cpp +++ b/src/unique_simplices.cpp @@ -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 #include #include @@ -44,5 +51,3 @@ npe_begin_code() return std::make_tuple(npe::move(ff), npe::move(ia), npe::move(ic)); npe_end_code() - - diff --git a/src/unproject.cpp b/src/unproject.cpp index 3ba821d9..e8e0028a 100644 --- a/src/unproject.cpp +++ b/src/unproject.cpp @@ -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/. //TODO: __example #include #include diff --git a/src/unproject_in_mesh.cpp b/src/unproject_in_mesh.cpp index 9633597f..f9b75a4e 100644 --- a/src/unproject_in_mesh.cpp +++ b/src/unproject_in_mesh.cpp @@ -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 #include #include @@ -79,4 +86,3 @@ npe_begin_code() return std::make_tuple(npe::move(obj), hits); npe_end_code() - diff --git a/src/unproject_on_line.cpp b/src/unproject_on_line.cpp index 28160462..ff592486 100644 --- a/src/unproject_on_line.cpp +++ b/src/unproject_on_line.cpp @@ -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 #include #include @@ -72,4 +79,3 @@ npe_begin_code() return std::make_tuple(double(t), npe::move(Z)); npe_end_code() - diff --git a/src/unproject_on_plane.cpp b/src/unproject_on_plane.cpp index eabfcfd7..4d600538 100644 --- a/src/unproject_on_plane.cpp +++ b/src/unproject_on_plane.cpp @@ -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 #include #include @@ -60,5 +67,3 @@ npe_begin_code() return npe::move(z); npe_end_code() - - diff --git a/src/unproject_onto_mesh.cpp b/src/unproject_onto_mesh.cpp index efe7f640..4ecbf509 100644 --- a/src/unproject_onto_mesh.cpp +++ b/src/unproject_onto_mesh.cpp @@ -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: __miss __example #include @@ -78,4 +85,3 @@ npe_begin_code() return std::make_tuple(success, fid, npe::move(bc)); npe_end_code() - diff --git a/src/unproject_ray.cpp b/src/unproject_ray.cpp index 39335161..b43ae682 100644 --- a/src/unproject_ray.cpp +++ b/src/unproject_ray.cpp @@ -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 #include @@ -58,5 +65,3 @@ npe_begin_code() return std::make_tuple(npe::move(s), npe::move(dir)); npe_end_code() - - diff --git a/src/upsample.cpp b/src/upsample.cpp index c4a67bae..8fc7438e 100644 --- a/src/upsample.cpp +++ b/src/upsample.cpp @@ -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/. //TODO: __example //TODO: __miss upsample that retuns a sparse matrix and inplace #include diff --git a/src/vector_area_matrix.cpp b/src/vector_area_matrix.cpp index 562629af..e326cb16 100644 --- a/src/vector_area_matrix.cpp +++ b/src/vector_area_matrix.cpp @@ -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 #include #include @@ -38,5 +45,3 @@ npe_begin_code() return npe::move(a); npe_end_code() - - diff --git a/src/vertex_components.cpp b/src/vertex_components.cpp index 934fbedd..31559168 100644 --- a/src/vertex_components.cpp +++ b/src/vertex_components.cpp @@ -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 #include #include @@ -73,6 +80,3 @@ npe_begin_code() igl::vertex_components(a, c, counts); return std::make_tuple(npe::move(c), npe::move(counts)); npe_end_code() - - - diff --git a/src/vertex_triangle_adjacency.cpp b/src/vertex_triangle_adjacency.cpp index e70f6ba7..91fed243 100644 --- a/src/vertex_triangle_adjacency.cpp +++ b/src/vertex_triangle_adjacency.cpp @@ -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: __miss __example #include @@ -53,6 +60,3 @@ npe_begin_code() return std::make_tuple(npe::move(vf), npe::move(ni)); npe_end_code() - - - diff --git a/src/volume.cpp b/src/volume.cpp index 326782e5..665057d6 100644 --- a/src/volume.cpp +++ b/src/volume.cpp @@ -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 #include #include @@ -187,5 +194,3 @@ npe_begin_code() double vol = igl::volume_single(a_copy, b_copy, c_copy, d_copy); return vol; npe_end_code() - - diff --git a/src/winding_number.cpp b/src/winding_number.cpp index 36b137d4..a03815fc 100644 --- a/src/winding_number.cpp +++ b/src/winding_number.cpp @@ -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/. //TODO: __example // TODO: remove __copy // copy is necessary since the winding number only supports matrices @@ -100,5 +107,3 @@ npe_begin_code() return igl::winding_number(v_copy, f_copy, p_copy); npe_end_code() - - diff --git a/src/writeDMAT.cpp b/src/writeDMAT.cpp index d0d18921..63219d0e 100644 --- a/src/writeDMAT.cpp +++ b/src/writeDMAT.cpp @@ -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 #include @@ -46,6 +53,3 @@ npe_begin_code() return igl::writeDMAT(filename, w, ascii); npe_end_code() - - - diff --git a/src/writeOBJ.cpp b/src/writeOBJ.cpp index 33ca02e2..8b4989a5 100644 --- a/src/writeOBJ.cpp +++ b/src/writeOBJ.cpp @@ -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 #include #include @@ -46,7 +53,3 @@ npe_begin_code() return igl::writeOBJ(filename, v, f); npe_end_code() - - - - diff --git a/src/writeOFF.cpp b/src/writeOFF.cpp index 3c2c34cf..670fc9e4 100644 --- a/src/writeOFF.cpp +++ b/src/writeOFF.cpp @@ -1,3 +1,10 @@ +// This file is part of libigl, a simple c++ geometry processing library. +// +// Copyright (C) 2023 Daniele Panozzo +// +// 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 #include #include @@ -72,5 +79,3 @@ npe_end_code() // return ; // npe_end_code() - - diff --git a/src/write_triangle_mesh.cpp b/src/write_triangle_mesh.cpp index 658aa0c3..c58d9258 100644 --- a/src/write_triangle_mesh.cpp +++ b/src/write_triangle_mesh.cpp @@ -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/. //TODO: __example #include @@ -59,5 +66,3 @@ npe_begin_code() return ok; npe_end_code() - - From 7add6778163a6415aa8081428e80d9d2dff1e6ca Mon Sep 17 00:00:00 2001 From: Alec Jacobson Date: Mon, 12 Jun 2023 11:40:36 -0400 Subject: [PATCH 2/5] readme --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index ee8518c8..36d4a23d 100644 --- a/README.md +++ b/README.md @@ -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 in the +copyleft and restricted sub-directories may have more restrictive licenses. From 1c1af1154055931d6fd20f9b641ba16dc9c72348 Mon Sep 17 00:00:00 2001 From: Alec Jacobson Date: Mon, 12 Jun 2023 11:40:55 -0400 Subject: [PATCH 3/5] better wording --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 36d4a23d..3efa075d 100644 --- a/README.md +++ b/README.md @@ -61,5 +61,5 @@ PYTHONPATH=. python tests/test_basic.py ## License -Like libigl, the wrapper source code is licensed under MPL2. Code in the -copyleft and restricted sub-directories may have more restrictive licenses. +Like libigl, the wrapper source code is licensed under MPL2. Code included via +the copyleft and restricted sub-directories may have more restrictive licenses. From 9fe0c1ad621ff649e8ef5ac58667169baee70263 Mon Sep 17 00:00:00 2001 From: Alec Jacobson Date: Mon, 12 Jun 2023 12:57:03 -0400 Subject: [PATCH 4/5] undo bad prepending --- src/active_set.cpp | 7 ----- src/adjacency_list.cpp | 7 ----- src/adjacency_matrix.cpp | 9 ++----- src/all_pairs_distances.cpp | 9 ++----- src/ambient_occlusion.cpp | 7 ----- src/arap_linear_block.cpp | 7 ----- src/arap_rhs.cpp | 9 ++----- src/average_onto_faces.cpp | 8 +----- src/average_onto_vertices.cpp | 9 ++----- src/avg_edge_length.cpp | 9 ++----- src/barycenter.cpp | 9 ++----- src/barycentric_coordinates.cpp | 7 ----- src/bfs.cpp | 10 +++---- src/bfs_orient.cpp | 7 ----- src/biharmonic_coordinates.cpp | 7 ----- src/bijective_composite_harmonic_mapping.cpp | 9 ++----- src/blue_noise.cpp | 7 ----- src/bone_parents.cpp | 9 ++----- src/boundary_conditions.cpp | 9 ++----- src/boundary_facets.cpp | 8 +----- src/boundary_loop.cpp | 8 +----- src/bounding_box.cpp | 9 ++----- src/bounding_box_diagonal.cpp | 9 ++----- src/circulation.cpp | 8 +----- src/circumradius.cpp | 9 ++----- src/collapse_small_triangles.cpp | 9 ++----- src/comb_cross_field.cpp | 9 ++----- src/comb_frame_field.cpp | 9 ++----- src/comb_line_field.cpp | 9 ++----- src/compute_frame_field_bisectors.cpp | 9 ++----- src/connect_boundary_to_infinity.cpp | 9 ++----- src/connected_components.cpp | 9 ++----- src/copyleft/cgal/convex_hull.cpp | 7 ----- src/copyleft/cgal/intersect_other.cpp | 9 ++----- src/copyleft/cgal/mesh_boolean.cpp | 8 +----- .../cgal/remesh_self_intersections.cpp | 8 +----- src/cotmatrix.cpp | 9 ++----- src/cotmatrix_entries.cpp | 9 ++----- src/cotmatrix_intrinsic.cpp | 9 ++----- src/cross_field_missmatch.cpp | 9 ++----- src/crouzeix_raviart_cotmatrix.cpp | 9 ++----- src/crouzeix_raviart_massmatrix.cpp | 9 ++----- src/cut_mesh.cpp | 7 ----- src/cut_mesh_from_singularities.cpp | 7 ----- src/cut_to_disk.cpp | 7 ----- src/cylinder.cpp | 9 ++----- src/decimate.cpp | 9 ++----- src/deform_skeleton.cpp | 7 ----- src/dihedral_angles.cpp | 9 ++----- src/direct_delta_mush.cpp | 7 ----- src/directed_edge_orientations.cpp | 7 ----- src/directed_edge_parents.cpp | 9 ++----- src/doublearea.cpp | 8 +----- src/dqs.cpp | 9 ++----- src/ears.cpp | 9 ++----- src/edge_collapse_is_valid.cpp | 8 +----- src/edge_flaps.cpp | 9 ++----- src/edge_lengths.cpp | 9 ++----- src/edge_topology.cpp | 7 ----- src/edges.cpp | 7 ----- src/edges_to_path.cpp | 9 ++----- src/euler_characteristic.cpp | 9 ++----- src/exact_geodesic.cpp | 9 ++----- src/exterior_edges.cpp | 8 +----- src/extract_manifold_patches.cpp | 7 ----- src/extract_non_manifold_edge_curves.cpp | 9 ++----- src/face_occurrences.cpp | 9 ++----- src/faces_first.cpp | 7 ----- src/facet_components.cpp | 7 ----- src/false_barycentric_subdivision.cpp | 9 ++----- src/fast_winding_number.cpp | 9 +------ src/find_cross_field_singularities.cpp | 9 ++----- src/fit_cubic_bezier.cpp | 8 +----- src/fit_plane.cpp | 9 ++----- src/flip_avoiding_line_search.cpp | 7 ----- src/flip_edge.cpp | 7 ----- src/flipped_triangles.cpp | 7 ----- src/forward_kinematics.cpp | 9 +------ src/gaussian_curvature.cpp | 9 ++----- src/grad.cpp | 9 ++----- src/grad_intrinsic.cpp | 9 ++----- src/harmonic.cpp | 9 ++----- src/hausdorff.cpp | 10 +++---- src/heat_geodesic.cpp | 9 ++----- src/hessian.cpp | 9 ++----- src/hessian_energy.cpp | 9 ++----- src/in_element.cpp | 10 +++---- src/inradius.cpp | 9 ++----- src/internal_angles.cpp | 9 ++----- src/intrinsic_delaunay_cotmatrix.cpp | 8 +----- src/intrinsic_delaunay_triangulation.cpp | 7 ----- src/is_border_vertex.cpp | 9 ++----- src/is_delaunay.cpp | 8 +----- src/is_edge_manifold.cpp | 9 ++----- src/is_intrinsic_delaunay.cpp | 8 +----- src/is_irregular_vertex.cpp | 9 ++----- src/isolines.cpp | 9 ++----- src/iterative_closest_point.cpp | 9 ++----- src/lbs_matrix.cpp | 9 ++----- src/line_segment_in_rectangle.cpp | 7 ----- src/local_basis.cpp | 9 ++----- src/look_at.cpp | 9 ++----- src/loop.cpp | 7 ----- src/lscm.cpp | 9 ++----- src/map_vertices_to_circle.cpp | 9 ++----- src/marching_cubes.cpp | 9 +------ src/marching_tets.cpp | 7 ----- src/massmatrix.cpp | 9 ++----- src/massmatrix_intrinsic.cpp | 7 ----- src/min_quad_with_fixed.cpp | 7 ----- src/moments.cpp | 8 +----- src/mvc.cpp | 9 ++----- src/normal_derivative.cpp | 9 ++----- src/offset_surface.cpp | 7 ----- src/orient_outward.cpp | 9 ++----- src/orientable_patches.cpp | 8 +----- src/oriented_facets.cpp | 9 ++----- src/outer_element.cpp | 9 ++----- src/partition.cpp | 9 ++----- src/path_to_edges.cpp | 7 ----- src/per_corner_normals.cpp | 8 +----- src/per_edge_normals.cpp | 9 ++----- src/per_face_normals.cpp | 8 +----- src/per_vertex_attribute_smoothing.cpp | 9 ++----- src/per_vertex_normals.cpp | 9 ++----- src/piecewise_constant_winding_number.cpp | 9 ++----- src/planarize_quad_mesh.cpp | 9 ++----- src/point_in_circle.cpp | 9 ++----- src/point_mesh_squared_distance.cpp | 9 ++----- src/point_simplex_squared_distance.cpp | 9 ++----- src/polar_dec.cpp | 9 ++----- src/principal_curvature.cpp | 9 ++----- src/procrustes.cpp | 8 +----- src/project.cpp | 7 ----- src/project_isometrically_to_plane.cpp | 9 ++----- src/project_to_line.cpp | 8 +----- src/project_to_line_segment.cpp | 9 ++----- src/pso.cpp | 7 ----- src/qslim.cpp | 9 ++----- src/quad_grid.cpp | 7 ----- src/quad_planarity.cpp | 9 ++----- src/ramer_douglas_peucker.cpp | 9 ++----- src/random_points_on_mesh.cpp | 7 ----- src/random_search.cpp | 7 ----- src/ray_box_intersect.cpp | 9 ++----- src/ray_mesh_intersect.cpp | 8 +----- src/ray_sphere_intersect.cpp | 9 ++----- src/readDMAT.cpp | 10 +++---- src/readMESH.cpp | 7 ----- src/readMSH.cpp | 9 ++----- src/readOBJ.cpp | 7 ----- src/readOFF.cpp | 7 ----- src/readTGF.cpp | 7 ----- src/read_triangle_mesh.cpp | 7 ----- src/remove_duplicate_vertices.cpp | 9 ++----- src/remove_duplicates.cpp | 9 ++----- src/remove_unreferenced.cpp | 8 +----- src/resolve_duplicated_faces.cpp | 9 ++----- src/rigid_alignment.cpp | 9 ++----- src/rotate_vectors.cpp | 7 ----- src/sample_edges.cpp | 9 ++----- src/segment_segment_intersect.cpp | 9 ++----- src/shape_diameter_function.cpp | 9 ++----- src/sharp_edges.cpp | 7 ----- src/signed_angle.cpp | 9 ++----- src/signed_distance.cpp | 26 ++++++------------- src/simplify_polyhedron.cpp | 7 ----- src/snap_points.cpp | 7 ----- src/solid_angle.cpp | 9 ++----- src/sort_angles.cpp | 9 ++----- src/sparse_voxel_grid.cpp | 9 ++----- src/swept_volume_bounding_box.cpp | 7 ----- src/tet_tet_adjacency.cpp | 7 ----- src/topological_hole_fill.cpp | 7 ----- src/triangle/triangulate.cpp | 8 +----- src/triangle_fan.cpp | 7 ----- src/triangle_triangle_adjacency.cpp | 9 ++----- src/triangles_from_strip.cpp | 9 ++----- src/triangulated_grid.cpp | 7 ----- src/two_axis_valuator_fixed_up.cpp | 9 ++----- src/uniformly_sample_two_manifold.cpp | 9 ++----- src/unique_edge_map.cpp | 7 ----- src/unique_simplices.cpp | 9 ++----- src/unproject.cpp | 7 ----- src/unproject_in_mesh.cpp | 8 +----- src/unproject_on_line.cpp | 8 +----- src/unproject_on_plane.cpp | 9 ++----- src/unproject_onto_mesh.cpp | 8 +----- src/unproject_ray.cpp | 9 ++----- src/upsample.cpp | 7 ----- src/vector_area_matrix.cpp | 9 ++----- src/vertex_components.cpp | 10 +++---- src/vertex_triangle_adjacency.cpp | 10 +++---- src/volume.cpp | 9 ++----- src/winding_number.cpp | 9 ++----- src/writeDMAT.cpp | 10 +++---- src/writeOBJ.cpp | 11 +++----- src/writeOFF.cpp | 9 ++----- src/write_triangle_mesh.cpp | 9 ++----- 199 files changed, 279 insertions(+), 1407 deletions(-) diff --git a/src/active_set.cpp b/src/active_set.cpp index 0532cc49..526f5fbd 100644 --- a/src/active_set.cpp +++ b/src/active_set.cpp @@ -1,10 +1,3 @@ -// 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 #include #include diff --git a/src/adjacency_list.cpp b/src/adjacency_list.cpp index 60c4863f..4ae59e45 100644 --- a/src/adjacency_list.cpp +++ b/src/adjacency_list.cpp @@ -1,10 +1,3 @@ -// 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 #include #include diff --git a/src/adjacency_matrix.cpp b/src/adjacency_matrix.cpp index c44e8c83..1b130cda 100644 --- a/src/adjacency_matrix.cpp +++ b/src/adjacency_matrix.cpp @@ -1,10 +1,3 @@ -// 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 #include #include @@ -55,3 +48,5 @@ npe_begin_code() return npe::move(a); npe_end_code() + + diff --git a/src/all_pairs_distances.cpp b/src/all_pairs_distances.cpp index cff77b8c..4f812060 100644 --- a/src/all_pairs_distances.cpp +++ b/src/all_pairs_distances.cpp @@ -1,10 +1,3 @@ -// 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 #include #include @@ -59,3 +52,5 @@ npe_begin_code() return npe::move(D); npe_end_code() + + diff --git a/src/ambient_occlusion.cpp b/src/ambient_occlusion.cpp index ab749837..8f5f853c 100644 --- a/src/ambient_occlusion.cpp +++ b/src/ambient_occlusion.cpp @@ -1,10 +1,3 @@ -// 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 diff --git a/src/arap_linear_block.cpp b/src/arap_linear_block.cpp index 9c2e7946..fb4f9d5c 100644 --- a/src/arap_linear_block.cpp +++ b/src/arap_linear_block.cpp @@ -1,10 +1,3 @@ -// 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 #include #include diff --git a/src/arap_rhs.cpp b/src/arap_rhs.cpp index d28d2a2f..55fb4f6a 100644 --- a/src/arap_rhs.cpp +++ b/src/arap_rhs.cpp @@ -1,10 +1,3 @@ -// 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 #include #include @@ -73,3 +66,5 @@ npe_begin_code() return npe::move(k); npe_end_code() + + diff --git a/src/average_onto_faces.cpp b/src/average_onto_faces.cpp index 327bfc6c..aa024f86 100644 --- a/src/average_onto_faces.cpp +++ b/src/average_onto_faces.cpp @@ -1,10 +1,3 @@ -// 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 #include #include @@ -54,3 +47,4 @@ npe_begin_code() return npe::move(SF); npe_end_code() + diff --git a/src/average_onto_vertices.cpp b/src/average_onto_vertices.cpp index 8b2be6a8..59870b8d 100644 --- a/src/average_onto_vertices.cpp +++ b/src/average_onto_vertices.cpp @@ -1,10 +1,3 @@ -// 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 #include #include @@ -48,3 +41,5 @@ npe_begin_code() return npe::move(sv); npe_end_code() + + diff --git a/src/avg_edge_length.cpp b/src/avg_edge_length.cpp index 1346d6e3..33e7333d 100644 --- a/src/avg_edge_length.cpp +++ b/src/avg_edge_length.cpp @@ -1,10 +1,3 @@ -// 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 #include #include @@ -45,3 +38,5 @@ npe_begin_code() return igl::avg_edge_length(v, f); npe_end_code() + + diff --git a/src/barycenter.cpp b/src/barycenter.cpp index 3eca3106..f355cd3e 100644 --- a/src/barycenter.cpp +++ b/src/barycenter.cpp @@ -1,10 +1,3 @@ -// 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 #include #include @@ -47,3 +40,5 @@ npe_begin_code() return npe::move(bc); npe_end_code() + + diff --git a/src/barycentric_coordinates.cpp b/src/barycentric_coordinates.cpp index 1a8ccf0e..92d4726d 100644 --- a/src/barycentric_coordinates.cpp +++ b/src/barycentric_coordinates.cpp @@ -1,10 +1,3 @@ -// 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 #include #include diff --git a/src/bfs.cpp b/src/bfs.cpp index 25460b97..af894128 100644 --- a/src/bfs.cpp +++ b/src/bfs.cpp @@ -1,10 +1,3 @@ -// 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 #include #include @@ -67,3 +60,6 @@ npe_begin_code() return std::make_tuple(npe::move(d), npe::move(p)); npe_end_code() + + + diff --git a/src/bfs_orient.cpp b/src/bfs_orient.cpp index c6732c7c..6a18c933 100644 --- a/src/bfs_orient.cpp +++ b/src/bfs_orient.cpp @@ -1,10 +1,3 @@ -// 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 #include #include diff --git a/src/biharmonic_coordinates.cpp b/src/biharmonic_coordinates.cpp index 76b18a03..f889de38 100644 --- a/src/biharmonic_coordinates.cpp +++ b/src/biharmonic_coordinates.cpp @@ -1,10 +1,3 @@ -// 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 #include #include diff --git a/src/bijective_composite_harmonic_mapping.cpp b/src/bijective_composite_harmonic_mapping.cpp index 38b723ac..a960c0a7 100644 --- a/src/bijective_composite_harmonic_mapping.cpp +++ b/src/bijective_composite_harmonic_mapping.cpp @@ -1,10 +1,3 @@ -// 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 #include #include @@ -124,3 +117,5 @@ npe_begin_code() return std::make_pair(success, npe::move(u)); npe_end_code() + + diff --git a/src/blue_noise.cpp b/src/blue_noise.cpp index 3c24401f..edb032df 100644 --- a/src/blue_noise.cpp +++ b/src/blue_noise.cpp @@ -1,10 +1,3 @@ -// 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 #include diff --git a/src/bone_parents.cpp b/src/bone_parents.cpp index e8b285d6..f5ca14ea 100644 --- a/src/bone_parents.cpp +++ b/src/bone_parents.cpp @@ -1,10 +1,3 @@ -// 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 #include #include @@ -46,3 +39,5 @@ npe_begin_code() return npe::move(p); npe_end_code() + + diff --git a/src/boundary_conditions.cpp b/src/boundary_conditions.cpp index f73d26c8..2b12ebcd 100644 --- a/src/boundary_conditions.cpp +++ b/src/boundary_conditions.cpp @@ -1,10 +1,3 @@ -// 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 @@ -101,3 +94,5 @@ npe_begin_code() return std::make_tuple(success, npe::move(b), npe::move(bc)); npe_end_code() + + diff --git a/src/boundary_facets.cpp b/src/boundary_facets.cpp index 654c385d..ee568161 100644 --- a/src/boundary_facets.cpp +++ b/src/boundary_facets.cpp @@ -1,10 +1,3 @@ -// 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 #include #include @@ -46,3 +39,4 @@ npe_begin_code() return npe::move(f); npe_end_code() + diff --git a/src/boundary_loop.cpp b/src/boundary_loop.cpp index aa8f9138..392d8c46 100644 --- a/src/boundary_loop.cpp +++ b/src/boundary_loop.cpp @@ -1,10 +1,3 @@ -// 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 #include #include @@ -85,3 +78,4 @@ npe_begin_code() return l; npe_end_code() + diff --git a/src/bounding_box.cpp b/src/bounding_box.cpp index 0f84d786..3ff5f456 100644 --- a/src/bounding_box.cpp +++ b/src/bounding_box.cpp @@ -1,10 +1,3 @@ -// 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 #include #include @@ -79,3 +72,5 @@ npe_begin_code() return std::make_tuple(npe::move(bv), npe::move(bf_row_major)); npe_end_code() + + diff --git a/src/bounding_box_diagonal.cpp b/src/bounding_box_diagonal.cpp index 61666f61..09fde4e9 100644 --- a/src/bounding_box_diagonal.cpp +++ b/src/bounding_box_diagonal.cpp @@ -1,10 +1,3 @@ -// 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 @@ -56,3 +49,5 @@ npe_begin_code() return igl::bounding_box_diagonal(v_copy); npe_end_code() + + diff --git a/src/circulation.cpp b/src/circulation.cpp index 963b201f..d0568edc 100644 --- a/src/circulation.cpp +++ b/src/circulation.cpp @@ -1,10 +1,3 @@ -// 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 @@ -76,3 +69,4 @@ npe_begin_code() return res; npe_end_code() + diff --git a/src/circumradius.cpp b/src/circumradius.cpp index 2fee3ade..691ea14e 100644 --- a/src/circumradius.cpp +++ b/src/circumradius.cpp @@ -1,10 +1,3 @@ -// 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 #include #include @@ -53,3 +46,5 @@ npe_begin_code() return npe::move(r); npe_end_code() + + diff --git a/src/collapse_small_triangles.cpp b/src/collapse_small_triangles.cpp index 2bbf9230..3797dbe3 100644 --- a/src/collapse_small_triangles.cpp +++ b/src/collapse_small_triangles.cpp @@ -1,10 +1,3 @@ -// 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 @@ -71,3 +64,5 @@ npe_begin_code() return npe::move(ff_row_major); npe_end_code() + + diff --git a/src/comb_cross_field.cpp b/src/comb_cross_field.cpp index a35d6094..4f29e210 100644 --- a/src/comb_cross_field.cpp +++ b/src/comb_cross_field.cpp @@ -1,10 +1,3 @@ -// 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 #include #include @@ -65,3 +58,5 @@ npe_begin_code() return std::make_tuple(npe::move(pd1out), npe::move(pd2out)); npe_end_code() + + diff --git a/src/comb_frame_field.cpp b/src/comb_frame_field.cpp index f61e4fc2..f4cab473 100644 --- a/src/comb_frame_field.cpp +++ b/src/comb_frame_field.cpp @@ -1,10 +1,3 @@ -// 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 #include #include @@ -79,3 +72,5 @@ npe_begin_code() return std::make_tuple(npe::move(pd1_combed), npe::move(pd2_combed)); npe_end_code() + + diff --git a/src/comb_line_field.cpp b/src/comb_line_field.cpp index adce6ae9..0d15519f 100644 --- a/src/comb_line_field.cpp +++ b/src/comb_line_field.cpp @@ -1,10 +1,3 @@ -// 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 #include #include @@ -58,3 +51,5 @@ npe_begin_code() return npe::move(pd1out); npe_end_code() + + diff --git a/src/compute_frame_field_bisectors.cpp b/src/compute_frame_field_bisectors.cpp index 554342e8..fb104199 100644 --- a/src/compute_frame_field_bisectors.cpp +++ b/src/compute_frame_field_bisectors.cpp @@ -1,10 +1,3 @@ -// 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 #include #include @@ -135,3 +128,5 @@ npe_begin_code() return std::make_tuple(npe::move(bis1), npe::move(bis2)); npe_end_code() + + diff --git a/src/connect_boundary_to_infinity.cpp b/src/connect_boundary_to_infinity.cpp index b33d91a3..1dcf9466 100644 --- a/src/connect_boundary_to_infinity.cpp +++ b/src/connect_boundary_to_infinity.cpp @@ -1,10 +1,3 @@ -// 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 @@ -140,3 +133,5 @@ npe_begin_code() return npe::move(fo); npe_end_code() + + diff --git a/src/connected_components.cpp b/src/connected_components.cpp index 9ced1ffc..e14e341e 100644 --- a/src/connected_components.cpp +++ b/src/connected_components.cpp @@ -1,10 +1,3 @@ -// 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 #include #include @@ -56,3 +49,5 @@ npe_begin_code() return std::make_tuple(comps, npe::move(c), npe::move(k)); npe_end_code() + + diff --git a/src/copyleft/cgal/convex_hull.cpp b/src/copyleft/cgal/convex_hull.cpp index e2127735..8bb3bbfe 100644 --- a/src/copyleft/cgal/convex_hull.cpp +++ b/src/copyleft/cgal/convex_hull.cpp @@ -1,10 +1,3 @@ -// 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 #include diff --git a/src/copyleft/cgal/intersect_other.cpp b/src/copyleft/cgal/intersect_other.cpp index 5c2d491e..d03e7fd0 100644 --- a/src/copyleft/cgal/intersect_other.cpp +++ b/src/copyleft/cgal/intersect_other.cpp @@ -1,10 +1,3 @@ -// 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 #include #include @@ -90,3 +83,5 @@ npe_begin_code() npe::move( JAB), npe::move(IMAB)); npe_end_code() + + diff --git a/src/copyleft/cgal/mesh_boolean.cpp b/src/copyleft/cgal/mesh_boolean.cpp index ef691b08..2a565f0b 100644 --- a/src/copyleft/cgal/mesh_boolean.cpp +++ b/src/copyleft/cgal/mesh_boolean.cpp @@ -1,10 +1,3 @@ -// 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 #include #include @@ -67,3 +60,4 @@ npe_begin_code() EigenDenseLike j = j_copy.cast(); return std::make_tuple(npe::move(vc), npe::move(fc), npe::move(j)); npe_end_code() + diff --git a/src/copyleft/cgal/remesh_self_intersections.cpp b/src/copyleft/cgal/remesh_self_intersections.cpp index 740f4285..074802c5 100644 --- a/src/copyleft/cgal/remesh_self_intersections.cpp +++ b/src/copyleft/cgal/remesh_self_intersections.cpp @@ -1,10 +1,3 @@ -// 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 #include #include @@ -83,3 +76,4 @@ npe_begin_code() EigenDenseLike IM = IMcpy.cast(); return std::make_tuple(npe::move(VV), npe::move(FF), npe::move(IF), npe::move(J), npe::move(IM)); npe_end_code() + diff --git a/src/cotmatrix.cpp b/src/cotmatrix.cpp index d1f37740..dbd8754f 100644 --- a/src/cotmatrix.cpp +++ b/src/cotmatrix.cpp @@ -1,10 +1,3 @@ -// 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 #include #include @@ -52,3 +45,5 @@ npe_begin_code() return npe::move(l); npe_end_code() + + diff --git a/src/cotmatrix_entries.cpp b/src/cotmatrix_entries.cpp index 345aa82f..2c1d7cd5 100644 --- a/src/cotmatrix_entries.cpp +++ b/src/cotmatrix_entries.cpp @@ -1,10 +1,3 @@ -// 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 #include #include @@ -58,3 +51,5 @@ npe_begin_code() return npe::move(c); npe_end_code() + + diff --git a/src/cotmatrix_intrinsic.cpp b/src/cotmatrix_intrinsic.cpp index 78e7e6fe..3fcb4dc1 100644 --- a/src/cotmatrix_intrinsic.cpp +++ b/src/cotmatrix_intrinsic.cpp @@ -1,10 +1,3 @@ -// 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 #include #include @@ -58,3 +51,5 @@ npe_begin_code() return npe::move(mat); npe_end_code() + + diff --git a/src/cross_field_missmatch.cpp b/src/cross_field_missmatch.cpp index 2c21bcc8..e64ff81c 100644 --- a/src/cross_field_missmatch.cpp +++ b/src/cross_field_missmatch.cpp @@ -1,10 +1,3 @@ -// 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 #include #include @@ -71,3 +64,5 @@ npe_begin_code() return npe::move(mismatch); npe_end_code() + + diff --git a/src/crouzeix_raviart_cotmatrix.cpp b/src/crouzeix_raviart_cotmatrix.cpp index a0ae1d54..6ab53ee6 100644 --- a/src/crouzeix_raviart_cotmatrix.cpp +++ b/src/crouzeix_raviart_cotmatrix.cpp @@ -1,10 +1,3 @@ -// 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 #include #include @@ -112,3 +105,5 @@ npe_begin_code() return npe::move(l); npe_end_code() + + diff --git a/src/crouzeix_raviart_massmatrix.cpp b/src/crouzeix_raviart_massmatrix.cpp index 90466ca6..6c5d0579 100644 --- a/src/crouzeix_raviart_massmatrix.cpp +++ b/src/crouzeix_raviart_massmatrix.cpp @@ -1,10 +1,3 @@ -// 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/. // static assertion fail: YOU_MIXED_DIFFERENT_NUMERIC_TYPES__YOU_NEED_TO_USE_THE_CAST_METHOD_OF_MATRIXBASE_TO_CAST_NUMERIC_TYPES_EXPLICITLY #include @@ -115,3 +108,5 @@ npe_begin_code() return npe::move(m); npe_end_code() + + diff --git a/src/cut_mesh.cpp b/src/cut_mesh.cpp index 07d15a80..164526b3 100644 --- a/src/cut_mesh.cpp +++ b/src/cut_mesh.cpp @@ -1,10 +1,3 @@ -// This file is part of libigl, a simple c++ geometry processing library. -// -// Copyright (C) 2023 Francis Williams -// -// 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 #include #include diff --git a/src/cut_mesh_from_singularities.cpp b/src/cut_mesh_from_singularities.cpp index a35a6d4f..ab25460a 100644 --- a/src/cut_mesh_from_singularities.cpp +++ b/src/cut_mesh_from_singularities.cpp @@ -1,10 +1,3 @@ -// This file is part of libigl, a simple c++ geometry processing library. -// -// Copyright (C) 2023 Francis Williams -// -// 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 #include #include diff --git a/src/cut_to_disk.cpp b/src/cut_to_disk.cpp index 2ec6cbce..fc398c01 100644 --- a/src/cut_to_disk.cpp +++ b/src/cut_to_disk.cpp @@ -1,10 +1,3 @@ -// 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 #include #include diff --git a/src/cylinder.cpp b/src/cylinder.cpp index 3b5bfd08..bcca9330 100644 --- a/src/cylinder.cpp +++ b/src/cylinder.cpp @@ -1,10 +1,3 @@ -// 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 @@ -57,3 +50,5 @@ npe_begin_code() return std::make_tuple(npe::move(v_row_major), npe::move(f_row_major)); npe_end_code() + + diff --git a/src/decimate.cpp b/src/decimate.cpp index 36cc3fd8..663e2c75 100644 --- a/src/decimate.cpp +++ b/src/decimate.cpp @@ -1,10 +1,3 @@ -// 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: __miss 4 functions #include @@ -78,3 +71,5 @@ npe_begin_code() return std::make_tuple(reach, npe::move(u_row_major), npe::move(g_row_major), npe::move(j_row_major), npe::move(i_row_major)); npe_end_code() + + diff --git a/src/deform_skeleton.cpp b/src/deform_skeleton.cpp index fa4e6899..7de3b906 100644 --- a/src/deform_skeleton.cpp +++ b/src/deform_skeleton.cpp @@ -1,10 +1,3 @@ -// 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 #include #include diff --git a/src/dihedral_angles.cpp b/src/dihedral_angles.cpp index 66113956..90fa4e5f 100644 --- a/src/dihedral_angles.cpp +++ b/src/dihedral_angles.cpp @@ -1,10 +1,3 @@ -// 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 #include #include @@ -69,3 +62,5 @@ npe_begin_code() return std::make_tuple(npe::move(theta), npe::move(cos_theta)); npe_end_code() + + diff --git a/src/direct_delta_mush.cpp b/src/direct_delta_mush.cpp index 51adb626..6ee03c29 100644 --- a/src/direct_delta_mush.cpp +++ b/src/direct_delta_mush.cpp @@ -1,10 +1,3 @@ -// This file is part of libigl, a simple c++ geometry processing library. -// -// Copyright (C) 2023 Kishore Venkateshan -// -// 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 #include #include diff --git a/src/directed_edge_orientations.cpp b/src/directed_edge_orientations.cpp index c966741d..c7823f03 100644 --- a/src/directed_edge_orientations.cpp +++ b/src/directed_edge_orientations.cpp @@ -1,10 +1,3 @@ -// 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 #include #include diff --git a/src/directed_edge_parents.cpp b/src/directed_edge_parents.cpp index daf833d0..67e628ed 100644 --- a/src/directed_edge_parents.cpp +++ b/src/directed_edge_parents.cpp @@ -1,10 +1,3 @@ -// 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 #include #include @@ -47,3 +40,5 @@ npe_begin_code() return npe::move(p); npe_end_code() + + diff --git a/src/doublearea.cpp b/src/doublearea.cpp index 3fe182ad..cd7162e2 100644 --- a/src/doublearea.cpp +++ b/src/doublearea.cpp @@ -1,10 +1,3 @@ -// 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 #include #include @@ -50,3 +43,4 @@ npe_begin_code() return npe::move(d_area); npe_end_code() + diff --git a/src/dqs.cpp b/src/dqs.cpp index f71fac13..1eff2caf 100644 --- a/src/dqs.cpp +++ b/src/dqs.cpp @@ -1,10 +1,3 @@ -// 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 #include #include @@ -77,3 +70,5 @@ npe_begin_code() return npe::move(u); npe_end_code() + + diff --git a/src/ears.cpp b/src/ears.cpp index d8c05704..52fb683f 100644 --- a/src/ears.cpp +++ b/src/ears.cpp @@ -1,10 +1,3 @@ -// 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 #include #include @@ -51,3 +44,5 @@ npe_begin_code() return std::make_tuple(npe::move(ear), npe::move(ear_opp)); npe_end_code() + + diff --git a/src/edge_collapse_is_valid.cpp b/src/edge_collapse_is_valid.cpp index a528a0ce..b7b538ad 100644 --- a/src/edge_collapse_is_valid.cpp +++ b/src/edge_collapse_is_valid.cpp @@ -1,10 +1,3 @@ -// 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 #include #include @@ -79,3 +72,4 @@ npe_begin_code() return ok; npe_end_code() + diff --git a/src/edge_flaps.cpp b/src/edge_flaps.cpp index b8c132d9..779747ba 100644 --- a/src/edge_flaps.cpp +++ b/src/edge_flaps.cpp @@ -1,10 +1,3 @@ -// 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 #include #include @@ -68,3 +61,5 @@ npe_begin_code() return std::make_tuple(npe::move(e), npe::move(emap), npe::move(ef), npe::move(ei)); npe_end_code() + + diff --git a/src/edge_lengths.cpp b/src/edge_lengths.cpp index e0daf0e8..1ce2657c 100644 --- a/src/edge_lengths.cpp +++ b/src/edge_lengths.cpp @@ -1,10 +1,3 @@ -// 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 #include #include @@ -65,3 +58,5 @@ npe_begin_code() return npe::move(l); npe_end_code() + + diff --git a/src/edge_topology.cpp b/src/edge_topology.cpp index cb0d3ea0..9de05ae2 100644 --- a/src/edge_topology.cpp +++ b/src/edge_topology.cpp @@ -1,10 +1,3 @@ -// 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 #include #include diff --git a/src/edges.cpp b/src/edges.cpp index 63931921..1489cdf0 100644 --- a/src/edges.cpp +++ b/src/edges.cpp @@ -1,10 +1,3 @@ -// 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 #include #include diff --git a/src/edges_to_path.cpp b/src/edges_to_path.cpp index 567f8dc0..396ce65d 100644 --- a/src/edges_to_path.cpp +++ b/src/edges_to_path.cpp @@ -1,10 +1,3 @@ -// 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 #include #include @@ -70,3 +63,5 @@ npe_begin_code() return std::make_tuple(npe::move(i), npe::move(j), npe::move(k)); npe_end_code() + + diff --git a/src/euler_characteristic.cpp b/src/euler_characteristic.cpp index a707330d..81c9b3b2 100644 --- a/src/euler_characteristic.cpp +++ b/src/euler_characteristic.cpp @@ -1,10 +1,3 @@ -// 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 @@ -88,3 +81,5 @@ npe_begin_code() return igl::euler_characteristic(v, f); npe_end_code() + + diff --git a/src/exact_geodesic.cpp b/src/exact_geodesic.cpp index 9572c2e7..1727285c 100644 --- a/src/exact_geodesic.cpp +++ b/src/exact_geodesic.cpp @@ -1,10 +1,3 @@ -// 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 #include #include @@ -60,3 +53,5 @@ npe_begin_code() return npe::move(d); npe_end_code() + + diff --git a/src/exterior_edges.cpp b/src/exterior_edges.cpp index 71be3d95..e1de224b 100644 --- a/src/exterior_edges.cpp +++ b/src/exterior_edges.cpp @@ -1,10 +1,3 @@ -// 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/. // need assertion for a.rows = b.rows-1 // __copy #include @@ -61,3 +54,4 @@ npe_begin_code() return npe::move(e); npe_end_code() + diff --git a/src/extract_manifold_patches.cpp b/src/extract_manifold_patches.cpp index f71d58d7..1ba83d89 100644 --- a/src/extract_manifold_patches.cpp +++ b/src/extract_manifold_patches.cpp @@ -1,10 +1,3 @@ -// 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 #include #include diff --git a/src/extract_non_manifold_edge_curves.cpp b/src/extract_non_manifold_edge_curves.cpp index 581828ef..9f900bd5 100644 --- a/src/extract_non_manifold_edge_curves.cpp +++ b/src/extract_non_manifold_edge_curves.cpp @@ -1,10 +1,3 @@ -// 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 #include #include @@ -65,3 +58,5 @@ npe_begin_code() return curves; npe_end_code() + + diff --git a/src/face_occurrences.cpp b/src/face_occurrences.cpp index 17cc9a07..59221e00 100644 --- a/src/face_occurrences.cpp +++ b/src/face_occurrences.cpp @@ -1,10 +1,3 @@ -// 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 #include #include @@ -51,3 +44,5 @@ npe_begin_code() return npe::move(c); npe_end_code() + + diff --git a/src/faces_first.cpp b/src/faces_first.cpp index 389669e3..df2f51cd 100644 --- a/src/faces_first.cpp +++ b/src/faces_first.cpp @@ -1,10 +1,3 @@ -// 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 #include #include diff --git a/src/facet_components.cpp b/src/facet_components.cpp index 72b91273..734e8d45 100644 --- a/src/facet_components.cpp +++ b/src/facet_components.cpp @@ -1,10 +1,3 @@ -// This file is part of libigl, a simple c++ geometry processing library. -// -// Copyright (C) 2023 Nico -// -// 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 #include #include diff --git a/src/false_barycentric_subdivision.cpp b/src/false_barycentric_subdivision.cpp index 21fea7b5..bc902275 100644 --- a/src/false_barycentric_subdivision.cpp +++ b/src/false_barycentric_subdivision.cpp @@ -1,10 +1,3 @@ -// 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 #include #include @@ -63,3 +56,5 @@ npe_begin_code() return std::make_tuple(npe::move(vd), npe::move(fd)); npe_end_code() + + diff --git a/src/fast_winding_number.cpp b/src/fast_winding_number.cpp index 683da9ab..7a5182c5 100644 --- a/src/fast_winding_number.cpp +++ b/src/fast_winding_number.cpp @@ -1,10 +1,3 @@ -// 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 #include #include @@ -115,4 +108,4 @@ npe_begin_code() igl::fast_winding_number(v, f, q, wn); return npe::move(wn); -npe_end_code() +npe_end_code() \ No newline at end of file diff --git a/src/find_cross_field_singularities.cpp b/src/find_cross_field_singularities.cpp index 7f166769..2dfdb0f0 100644 --- a/src/find_cross_field_singularities.cpp +++ b/src/find_cross_field_singularities.cpp @@ -1,10 +1,3 @@ -// 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 #include #include @@ -119,3 +112,5 @@ npe_begin_code() return std::make_tuple(npe::move(is_singularity), npe::move(singularity_index)); npe_end_code() + + diff --git a/src/fit_cubic_bezier.cpp b/src/fit_cubic_bezier.cpp index b1e0d449..c68f7c99 100644 --- a/src/fit_cubic_bezier.cpp +++ b/src/fit_cubic_bezier.cpp @@ -1,10 +1,3 @@ -// 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 #include #include @@ -54,3 +47,4 @@ npe_begin_code() return pybind11::detail::type_caster::cast(c, pybind11::return_value_policy::move, pybind11::none()); npe_end_code() + diff --git a/src/fit_plane.cpp b/src/fit_plane.cpp index c4460086..c8489c6a 100644 --- a/src/fit_plane.cpp +++ b/src/fit_plane.cpp @@ -1,10 +1,3 @@ -// 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 @@ -64,3 +57,5 @@ npe_begin_code() return std::make_tuple(npe::move(n_row_major), npe::move(c_row_major)); npe_end_code() + + diff --git a/src/flip_avoiding_line_search.cpp b/src/flip_avoiding_line_search.cpp index f66a13cc..3b17fef9 100644 --- a/src/flip_avoiding_line_search.cpp +++ b/src/flip_avoiding_line_search.cpp @@ -1,10 +1,3 @@ -// 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 diff --git a/src/flip_edge.cpp b/src/flip_edge.cpp index 42ed6ea6..34e19f8c 100644 --- a/src/flip_edge.cpp +++ b/src/flip_edge.cpp @@ -1,10 +1,3 @@ -// This file is part of libigl, a simple c++ geometry processing library. -// -// Copyright (C) 2023 Soboleva Natalia -// -// 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 #include #include diff --git a/src/flipped_triangles.cpp b/src/flipped_triangles.cpp index c2f20bf3..934742a2 100644 --- a/src/flipped_triangles.cpp +++ b/src/flipped_triangles.cpp @@ -1,10 +1,3 @@ -// 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 #include #include diff --git a/src/forward_kinematics.cpp b/src/forward_kinematics.cpp index 9b0b2b44..13418346 100644 --- a/src/forward_kinematics.cpp +++ b/src/forward_kinematics.cpp @@ -1,10 +1,3 @@ -// 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 #include #include @@ -104,4 +97,4 @@ npe_begin_code() return std::make_tuple(npe::move(v_q_out), npe::move(v_t_out)); - npe_end_code() + npe_end_code() \ No newline at end of file diff --git a/src/gaussian_curvature.cpp b/src/gaussian_curvature.cpp index 9918e719..a9dd3f87 100644 --- a/src/gaussian_curvature.cpp +++ b/src/gaussian_curvature.cpp @@ -1,10 +1,3 @@ -// 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 #include #include @@ -49,3 +42,5 @@ npe_begin_code() return npe::move(k); npe_end_code() + + diff --git a/src/grad.cpp b/src/grad.cpp index 759c5278..45d62efb 100644 --- a/src/grad.cpp +++ b/src/grad.cpp @@ -1,10 +1,3 @@ -// 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 #include #include @@ -56,3 +49,5 @@ npe_begin_code() return npe::move(g); npe_end_code() + + diff --git a/src/grad_intrinsic.cpp b/src/grad_intrinsic.cpp index e38d1cd0..49b38044 100644 --- a/src/grad_intrinsic.cpp +++ b/src/grad_intrinsic.cpp @@ -1,10 +1,3 @@ -// 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 #include #include @@ -64,3 +57,5 @@ npe_begin_code() return npe::move(g); npe_end_code() + + diff --git a/src/harmonic.cpp b/src/harmonic.cpp index f3feb12a..27ab2207 100644 --- a/src/harmonic.cpp +++ b/src/harmonic.cpp @@ -1,10 +1,3 @@ -// 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 #include #include @@ -254,3 +247,5 @@ npe_begin_code() return npe::move(q); npe_end_code() + + diff --git a/src/hausdorff.cpp b/src/hausdorff.cpp index 4b650167..1d763878 100644 --- a/src/hausdorff.cpp +++ b/src/hausdorff.cpp @@ -1,10 +1,3 @@ -// 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 #include #include @@ -74,3 +67,6 @@ npe_begin_code() return d; npe_end_code() + + + diff --git a/src/heat_geodesic.cpp b/src/heat_geodesic.cpp index e180d73b..79d384b1 100644 --- a/src/heat_geodesic.cpp +++ b/src/heat_geodesic.cpp @@ -1,10 +1,3 @@ -// 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 #include #include @@ -59,3 +52,5 @@ npe_begin_code() return npe::move(d); npe_end_code() + + diff --git a/src/hessian.cpp b/src/hessian.cpp index 143814d4..f97eedde 100644 --- a/src/hessian.cpp +++ b/src/hessian.cpp @@ -1,10 +1,3 @@ -// 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 #include #include @@ -52,3 +45,5 @@ npe_begin_code() igl::hessian(v, f, h); return npe::move(h); npe_end_code() + + diff --git a/src/hessian_energy.cpp b/src/hessian_energy.cpp index b7da230b..f52244ce 100644 --- a/src/hessian_energy.cpp +++ b/src/hessian_energy.cpp @@ -1,10 +1,3 @@ -// 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/. // might be sparse matrix problem #include @@ -60,3 +53,5 @@ npe_begin_code() return npe::move(q); npe_end_code() + + diff --git a/src/in_element.cpp b/src/in_element.cpp index eb62cb7f..ef2c3911 100644 --- a/src/in_element.cpp +++ b/src/in_element.cpp @@ -1,10 +1,3 @@ -// 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 #include #include @@ -56,3 +49,6 @@ npe_begin_code() return npe::move(I); npe_end_code() + + + diff --git a/src/inradius.cpp b/src/inradius.cpp index b0440ab9..f63ca6c1 100644 --- a/src/inradius.cpp +++ b/src/inradius.cpp @@ -1,10 +1,3 @@ -// 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 #include #include @@ -49,3 +42,5 @@ npe_begin_code() return npe::move(r); npe_end_code() + + diff --git a/src/internal_angles.cpp b/src/internal_angles.cpp index 978337f7..eac47031 100644 --- a/src/internal_angles.cpp +++ b/src/internal_angles.cpp @@ -1,10 +1,3 @@ -// 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 #include #include @@ -141,3 +134,5 @@ npe_end_code() // return npe::move(k); //npe_end_code() + + diff --git a/src/intrinsic_delaunay_cotmatrix.cpp b/src/intrinsic_delaunay_cotmatrix.cpp index 4d03b474..9e8aa79d 100644 --- a/src/intrinsic_delaunay_cotmatrix.cpp +++ b/src/intrinsic_delaunay_cotmatrix.cpp @@ -1,10 +1,3 @@ -// 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 #include #include @@ -58,3 +51,4 @@ npe_begin_code() return std::make_tuple(npe::move(l), npe::move(l_intrinsic), npe::move(f_intrinsic)); npe_end_code() + diff --git a/src/intrinsic_delaunay_triangulation.cpp b/src/intrinsic_delaunay_triangulation.cpp index 493403fa..ec712373 100644 --- a/src/intrinsic_delaunay_triangulation.cpp +++ b/src/intrinsic_delaunay_triangulation.cpp @@ -1,10 +1,3 @@ -// 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 #include #include diff --git a/src/is_border_vertex.cpp b/src/is_border_vertex.cpp index c29bf71a..5589cb90 100644 --- a/src/is_border_vertex.cpp +++ b/src/is_border_vertex.cpp @@ -1,10 +1,3 @@ -// 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 #include #include @@ -51,3 +44,5 @@ npe_begin_code() return res; npe_end_code() + + diff --git a/src/is_delaunay.cpp b/src/is_delaunay.cpp index daebca23..1208818b 100644 --- a/src/is_delaunay.cpp +++ b/src/is_delaunay.cpp @@ -1,10 +1,3 @@ -// 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 #include #include @@ -56,3 +49,4 @@ npe_begin_code() return npe::move(d); npe_end_code() + diff --git a/src/is_edge_manifold.cpp b/src/is_edge_manifold.cpp index 31ab2ed4..6ba6aa63 100644 --- a/src/is_edge_manifold.cpp +++ b/src/is_edge_manifold.cpp @@ -1,10 +1,3 @@ -// 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, decide if to remove the first function #include @@ -30,3 +23,5 @@ npe_begin_code() return igl::is_edge_manifold(f); npe_end_code() + + diff --git a/src/is_intrinsic_delaunay.cpp b/src/is_intrinsic_delaunay.cpp index 9c2e83d3..42aa48eb 100644 --- a/src/is_intrinsic_delaunay.cpp +++ b/src/is_intrinsic_delaunay.cpp @@ -1,10 +1,3 @@ -// 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 #include #include @@ -57,3 +50,4 @@ npe_begin_code() return npe::move(d); npe_end_code() + diff --git a/src/is_irregular_vertex.cpp b/src/is_irregular_vertex.cpp index 5338eb8b..2f37fa99 100644 --- a/src/is_irregular_vertex.cpp +++ b/src/is_irregular_vertex.cpp @@ -1,10 +1,3 @@ -// 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 #include #include @@ -48,3 +41,5 @@ npe_begin_code() return res; npe_end_code() + + diff --git a/src/isolines.cpp b/src/isolines.cpp index 2cf10942..085c1989 100644 --- a/src/isolines.cpp +++ b/src/isolines.cpp @@ -1,10 +1,3 @@ -// 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/. //TODO: __example #include @@ -61,3 +54,5 @@ npe_begin_code() return std::make_tuple(npe::move(iso_v), npe::move(iso_e)); npe_end_code() + + diff --git a/src/iterative_closest_point.cpp b/src/iterative_closest_point.cpp index a03b3fc7..458da2a3 100644 --- a/src/iterative_closest_point.cpp +++ b/src/iterative_closest_point.cpp @@ -1,10 +1,3 @@ -// 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 #include #include @@ -137,3 +130,5 @@ npe_end_code() // return std::make_tuple(npe::move(r), npe::move(t)); // npe_end_code() + + diff --git a/src/lbs_matrix.cpp b/src/lbs_matrix.cpp index 7185c5f5..1ba607e4 100644 --- a/src/lbs_matrix.cpp +++ b/src/lbs_matrix.cpp @@ -1,10 +1,3 @@ -// 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 #include #include @@ -216,3 +209,5 @@ npe_end_code() // return npe::move(m); // npe_end_code() + + diff --git a/src/line_segment_in_rectangle.cpp b/src/line_segment_in_rectangle.cpp index 11238d10..ee196608 100644 --- a/src/line_segment_in_rectangle.cpp +++ b/src/line_segment_in_rectangle.cpp @@ -1,10 +1,3 @@ -// 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 #include #include diff --git a/src/local_basis.cpp b/src/local_basis.cpp index 02adb2bf..2c99efb6 100644 --- a/src/local_basis.cpp +++ b/src/local_basis.cpp @@ -1,10 +1,3 @@ -// 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 #include #include @@ -53,3 +46,5 @@ npe_begin_code() return std::make_tuple(npe::move(b1), npe::move(b2), npe::move(b3)); npe_end_code() + + diff --git a/src/look_at.cpp b/src/look_at.cpp index 69d26afa..87c87f30 100644 --- a/src/look_at.cpp +++ b/src/look_at.cpp @@ -1,10 +1,3 @@ -// 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 #include #include @@ -60,3 +53,5 @@ npe_begin_code() return npe::move(r); npe_end_code() + + diff --git a/src/loop.cpp b/src/loop.cpp index 937ed1cd..bce11b90 100644 --- a/src/loop.cpp +++ b/src/loop.cpp @@ -1,10 +1,3 @@ -// 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/. //TODO: __example #include #include diff --git a/src/lscm.cpp b/src/lscm.cpp index 121692d3..0b50c233 100644 --- a/src/lscm.cpp +++ b/src/lscm.cpp @@ -1,10 +1,3 @@ -// 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 #include @@ -70,3 +63,5 @@ npe_begin_code() return std::make_tuple(success, npe::move(uv_row_major)); npe_end_code() + + diff --git a/src/map_vertices_to_circle.cpp b/src/map_vertices_to_circle.cpp index 39eb479f..33d4b298 100644 --- a/src/map_vertices_to_circle.cpp +++ b/src/map_vertices_to_circle.cpp @@ -1,10 +1,3 @@ -// 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 #include @@ -54,3 +47,5 @@ npe_begin_code() return npe::move(uv_row_major); npe_end_code() + + diff --git a/src/marching_cubes.cpp b/src/marching_cubes.cpp index 4a41e590..4d423945 100644 --- a/src/marching_cubes.cpp +++ b/src/marching_cubes.cpp @@ -1,10 +1,3 @@ -// This file is part of libigl, a simple c++ geometry processing library. -// -// Copyright (C) 2023 Thomas -// -// 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 #include #include @@ -84,4 +77,4 @@ npe_begin_code() EigenDenseLike sfRowMajor = SF.template cast(); return std::make_tuple(npe::move(svRowMajor), npe::move(sfRowMajor)); -npe_end_code() +npe_end_code() \ No newline at end of file diff --git a/src/marching_tets.cpp b/src/marching_tets.cpp index 3c4108fe..b06af126 100644 --- a/src/marching_tets.cpp +++ b/src/marching_tets.cpp @@ -1,10 +1,3 @@ -// 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 #include #include diff --git a/src/massmatrix.cpp b/src/massmatrix.cpp index 8ce1a5cd..8b9cf6dd 100644 --- a/src/massmatrix.cpp +++ b/src/massmatrix.cpp @@ -1,10 +1,3 @@ -// 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 #include #include @@ -64,3 +57,5 @@ npe_begin_code() return npe::move(m); npe_end_code() + + diff --git a/src/massmatrix_intrinsic.cpp b/src/massmatrix_intrinsic.cpp index 2c8b65e7..01ae67dd 100644 --- a/src/massmatrix_intrinsic.cpp +++ b/src/massmatrix_intrinsic.cpp @@ -1,10 +1,3 @@ -// 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 #include #include diff --git a/src/min_quad_with_fixed.cpp b/src/min_quad_with_fixed.cpp index 1309e54d..5e6c1a2c 100644 --- a/src/min_quad_with_fixed.cpp +++ b/src/min_quad_with_fixed.cpp @@ -1,10 +1,3 @@ -// 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/. //TODO: __example remove __copy #include diff --git a/src/moments.cpp b/src/moments.cpp index 213a66f8..94f694a6 100644 --- a/src/moments.cpp +++ b/src/moments.cpp @@ -1,10 +1,3 @@ -// 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 #include #include @@ -39,3 +32,4 @@ npe_begin_code() igl::moments(V, F, m0, m1, m2); return std::make_tuple(m0,npe::move(m1),npe::move(m2)); npe_end_code() + diff --git a/src/mvc.cpp b/src/mvc.cpp index 81133b95..582b0bae 100644 --- a/src/mvc.cpp +++ b/src/mvc.cpp @@ -1,10 +1,3 @@ -// 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 #include #include @@ -62,3 +55,5 @@ npe_begin_code() EigenDenseLike w = w_copy.template cast(); return npe::move(w); npe_end_code() + + diff --git a/src/normal_derivative.cpp b/src/normal_derivative.cpp index ee613c07..e07af0c1 100644 --- a/src/normal_derivative.cpp +++ b/src/normal_derivative.cpp @@ -1,10 +1,3 @@ -// 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 #include #include @@ -57,3 +50,5 @@ npe_begin_code() return npe::move(dd); npe_end_code() + + diff --git a/src/offset_surface.cpp b/src/offset_surface.cpp index 40e9eb9c..0996d3c8 100644 --- a/src/offset_surface.cpp +++ b/src/offset_surface.cpp @@ -1,10 +1,3 @@ -// 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/. //TODO: __example // TODO: remove __copy // copy is necessary since the winding number only supports matrices diff --git a/src/orient_outward.cpp b/src/orient_outward.cpp index 86bbbbd6..7558a522 100644 --- a/src/orient_outward.cpp +++ b/src/orient_outward.cpp @@ -1,10 +1,3 @@ -// 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 #include #include @@ -64,3 +57,5 @@ npe_begin_code() return std::make_tuple(npe::move(ff), npe::move(i)); npe_end_code() + + diff --git a/src/orientable_patches.cpp b/src/orientable_patches.cpp index f91fb12f..0bc3cd36 100644 --- a/src/orientable_patches.cpp +++ b/src/orientable_patches.cpp @@ -1,10 +1,3 @@ -// 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 #include #include @@ -47,3 +40,4 @@ npe_begin_code() return std::make_tuple(npe::move(c), npe::move(A)); npe_end_code() + diff --git a/src/oriented_facets.cpp b/src/oriented_facets.cpp index 37f460bb..404d6ff3 100644 --- a/src/oriented_facets.cpp +++ b/src/oriented_facets.cpp @@ -1,10 +1,3 @@ -// 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 #include #include @@ -51,3 +44,5 @@ npe_begin_code() return npe::move(e); npe_end_code() + + diff --git a/src/outer_element.cpp b/src/outer_element.cpp index a6c6e7ea..a2d2ab39 100644 --- a/src/outer_element.cpp +++ b/src/outer_element.cpp @@ -1,10 +1,3 @@ -// 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 #include #include @@ -176,3 +169,5 @@ npe_begin_code() return std::make_tuple(face, flipped); npe_end_code() + + diff --git a/src/partition.cpp b/src/partition.cpp index a4296280..a72d4bd1 100644 --- a/src/partition.cpp +++ b/src/partition.cpp @@ -1,10 +1,3 @@ -// 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 #include #include @@ -70,3 +63,5 @@ npe_begin_code() return std::make_tuple(npe::move(g), npe::move(s), npe::move(d)); npe_end_code() + + diff --git a/src/path_to_edges.cpp b/src/path_to_edges.cpp index 4c50b5ef..417ddef4 100644 --- a/src/path_to_edges.cpp +++ b/src/path_to_edges.cpp @@ -1,10 +1,3 @@ -// 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 #include #include diff --git a/src/per_corner_normals.cpp b/src/per_corner_normals.cpp index db15c7da..c2d67ab5 100644 --- a/src/per_corner_normals.cpp +++ b/src/per_corner_normals.cpp @@ -1,10 +1,3 @@ -// 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 #include #include @@ -52,3 +45,4 @@ npe_begin_code() return npe::move(n); npe_end_code() + diff --git a/src/per_edge_normals.cpp b/src/per_edge_normals.cpp index a7457a32..f016afac 100644 --- a/src/per_edge_normals.cpp +++ b/src/per_edge_normals.cpp @@ -1,10 +1,3 @@ -// 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: __miss __example #include @@ -64,3 +57,5 @@ npe_begin_code() return std::make_tuple(npe::move(n), npe::move(e), npe::move(emap)); npe_end_code() + + diff --git a/src/per_face_normals.cpp b/src/per_face_normals.cpp index f0df74ca..ce67ee39 100644 --- a/src/per_face_normals.cpp +++ b/src/per_face_normals.cpp @@ -1,10 +1,3 @@ -// 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: __miss #include @@ -57,3 +50,4 @@ npe_begin_code() return npe::move(n); npe_end_code() + diff --git a/src/per_vertex_attribute_smoothing.cpp b/src/per_vertex_attribute_smoothing.cpp index 4c6dd77c..ee37196b 100644 --- a/src/per_vertex_attribute_smoothing.cpp +++ b/src/per_vertex_attribute_smoothing.cpp @@ -1,10 +1,3 @@ -// 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 @@ -56,3 +49,5 @@ npe_begin_code() return npe::move(aout_row_major); npe_end_code() + + diff --git a/src/per_vertex_normals.cpp b/src/per_vertex_normals.cpp index a439c602..4c2dc19a 100644 --- a/src/per_vertex_normals.cpp +++ b/src/per_vertex_normals.cpp @@ -1,10 +1,3 @@ -// 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 #include #include @@ -58,3 +51,5 @@ npe_begin_code() return npe::move(n); npe_end_code() + + diff --git a/src/piecewise_constant_winding_number.cpp b/src/piecewise_constant_winding_number.cpp index 9b5c9fbb..b00a7b14 100644 --- a/src/piecewise_constant_winding_number.cpp +++ b/src/piecewise_constant_winding_number.cpp @@ -1,10 +1,3 @@ -// 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: __miss __example #include @@ -70,3 +63,5 @@ npe_begin_code() return igl::piecewise_constant_winding_number(f); npe_end_code() + + diff --git a/src/planarize_quad_mesh.cpp b/src/planarize_quad_mesh.cpp index 8b57c394..ebcdcec9 100644 --- a/src/planarize_quad_mesh.cpp +++ b/src/planarize_quad_mesh.cpp @@ -1,10 +1,3 @@ -// 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 #include #include @@ -56,3 +49,5 @@ npe_begin_code() return npe::move(out); npe_end_code() + + diff --git a/src/point_in_circle.cpp b/src/point_in_circle.cpp index 2c654615..79a80d38 100644 --- a/src/point_in_circle.cpp +++ b/src/point_in_circle.cpp @@ -1,10 +1,3 @@ -// 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 #include #include @@ -53,3 +46,5 @@ npe_begin_code() return in; npe_end_code() + + diff --git a/src/point_mesh_squared_distance.cpp b/src/point_mesh_squared_distance.cpp index ea0c9700..b6a316f1 100644 --- a/src/point_mesh_squared_distance.cpp +++ b/src/point_mesh_squared_distance.cpp @@ -1,10 +1,3 @@ -// 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 #include #include @@ -85,3 +78,5 @@ npe_begin_code() return std::make_tuple(npe::move(sqr_d_row_maj), npe::move(i_row_maj), npe::move(c_row_maj)); npe_end_code() + + diff --git a/src/point_simplex_squared_distance.cpp b/src/point_simplex_squared_distance.cpp index c1e48550..4b187af5 100644 --- a/src/point_simplex_squared_distance.cpp +++ b/src/point_simplex_squared_distance.cpp @@ -1,10 +1,3 @@ -// 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 #include #include @@ -66,3 +59,5 @@ npe_begin_code() return std::make_tuple(sqr_d, npe::move(c), npe::move(b)); npe_end_code() + + diff --git a/src/polar_dec.cpp b/src/polar_dec.cpp index 7bff990f..48e5c4c5 100644 --- a/src/polar_dec.cpp +++ b/src/polar_dec.cpp @@ -1,10 +1,3 @@ -// 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 #include #include @@ -55,3 +48,5 @@ npe_begin_code() return std::make_tuple(npe::move(r), npe::move(t)); npe_end_code() + + diff --git a/src/principal_curvature.cpp b/src/principal_curvature.cpp index 7ded6e79..6fbbf1a0 100644 --- a/src/principal_curvature.cpp +++ b/src/principal_curvature.cpp @@ -1,10 +1,3 @@ -// 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 #include #include @@ -59,3 +52,5 @@ npe_begin_code() return std::make_tuple(npe::move(pd1), npe::move(pd2), npe::move(pv1), npe::move(pv2)); npe_end_code() + + diff --git a/src/procrustes.cpp b/src/procrustes.cpp index 5a667458..df5c1b15 100644 --- a/src/procrustes.cpp +++ b/src/procrustes.cpp @@ -1,10 +1,3 @@ -// 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: __miss #include @@ -74,3 +67,4 @@ npe_begin_code() return std::make_tuple(scale, npe::move(r), npe::move(t)); npe_end_code() + diff --git a/src/project.cpp b/src/project.cpp index 48235c91..fc0123a7 100644 --- a/src/project.cpp +++ b/src/project.cpp @@ -1,10 +1,3 @@ -// 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 #include #include diff --git a/src/project_isometrically_to_plane.cpp b/src/project_isometrically_to_plane.cpp index 398ba799..b6f39d11 100644 --- a/src/project_isometrically_to_plane.cpp +++ b/src/project_isometrically_to_plane.cpp @@ -1,10 +1,3 @@ -// 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 #include #include @@ -55,3 +48,5 @@ npe_begin_code() return std::make_tuple(npe::move(u), npe::move(uf), npe::move(i)); npe_end_code() + + diff --git a/src/project_to_line.cpp b/src/project_to_line.cpp index c4f7c939..4a99d7ce 100644 --- a/src/project_to_line.cpp +++ b/src/project_to_line.cpp @@ -1,10 +1,3 @@ -// 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 #include #include @@ -82,3 +75,4 @@ npe_begin_code() return std::make_tuple(npe::move(t), npe::move(sqr_d)); npe_end_code() + diff --git a/src/project_to_line_segment.cpp b/src/project_to_line_segment.cpp index 3d939b42..2562c7d2 100644 --- a/src/project_to_line_segment.cpp +++ b/src/project_to_line_segment.cpp @@ -1,10 +1,3 @@ -// 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 #include #include @@ -81,3 +74,5 @@ npe_begin_code() return std::make_tuple(npe::move(t), npe::move(sqr_d)); npe_end_code() + + diff --git a/src/pso.cpp b/src/pso.cpp index 8a6883d4..55a7d3a4 100644 --- a/src/pso.cpp +++ b/src/pso.cpp @@ -1,10 +1,3 @@ -// 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 #include #include diff --git a/src/qslim.cpp b/src/qslim.cpp index 6ef90f85..59e4be59 100644 --- a/src/qslim.cpp +++ b/src/qslim.cpp @@ -1,10 +1,3 @@ -// 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 @@ -81,3 +74,5 @@ npe_begin_code() return std::make_tuple(success, npe::move(u_row_major), npe::move(g_row_major), npe::move(j_row_major), npe::move(i_row_major)); npe_end_code() + + diff --git a/src/quad_grid.cpp b/src/quad_grid.cpp index 79e30a5e..673c8ecf 100644 --- a/src/quad_grid.cpp +++ b/src/quad_grid.cpp @@ -1,10 +1,3 @@ -// 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 #include #include diff --git a/src/quad_planarity.cpp b/src/quad_planarity.cpp index 970dbc85..19f83f30 100644 --- a/src/quad_planarity.cpp +++ b/src/quad_planarity.cpp @@ -1,10 +1,3 @@ -// 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/. // TODO: missing __example #include @@ -49,3 +42,5 @@ npe_begin_code() return npe::move(p); npe_end_code() + + diff --git a/src/ramer_douglas_peucker.cpp b/src/ramer_douglas_peucker.cpp index c47feda1..0523040b 100644 --- a/src/ramer_douglas_peucker.cpp +++ b/src/ramer_douglas_peucker.cpp @@ -1,10 +1,3 @@ -// 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 #include #include @@ -58,3 +51,5 @@ npe_begin_code() return std::make_tuple(npe::move(s), npe::move(j), npe::move(q)); npe_end_code() + + diff --git a/src/random_points_on_mesh.cpp b/src/random_points_on_mesh.cpp index 1f6fe160..917b82a6 100644 --- a/src/random_points_on_mesh.cpp +++ b/src/random_points_on_mesh.cpp @@ -1,10 +1,3 @@ -// 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/. //TODO: __example #include #include diff --git a/src/random_search.cpp b/src/random_search.cpp index 25fb39d9..127312c3 100644 --- a/src/random_search.cpp +++ b/src/random_search.cpp @@ -1,10 +1,3 @@ -// 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 #include #include diff --git a/src/ray_box_intersect.cpp b/src/ray_box_intersect.cpp index de596c17..49174c3a 100644 --- a/src/ray_box_intersect.cpp +++ b/src/ray_box_intersect.cpp @@ -1,10 +1,3 @@ -// 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 #include #include @@ -76,3 +69,5 @@ npe_begin_code() return std::make_tuple(hit, tmin, tmax); npe_end_code() + + diff --git a/src/ray_mesh_intersect.cpp b/src/ray_mesh_intersect.cpp index 46555342..b465ecf1 100644 --- a/src/ray_mesh_intersect.cpp +++ b/src/ray_mesh_intersect.cpp @@ -1,10 +1,3 @@ -// 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 #include #include @@ -106,3 +99,4 @@ npe_end_code() // return npe::move(hit); // npe_end_code() + diff --git a/src/ray_sphere_intersect.cpp b/src/ray_sphere_intersect.cpp index cf393ab0..ba6a2a31 100644 --- a/src/ray_sphere_intersect.cpp +++ b/src/ray_sphere_intersect.cpp @@ -1,10 +1,3 @@ -// 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 #include #include @@ -69,3 +62,5 @@ npe_begin_code() return std::make_tuple(inters, t0, t1); npe_end_code() + + diff --git a/src/readDMAT.cpp b/src/readDMAT.cpp index 4cb21e2f..241bcab1 100644 --- a/src/readDMAT.cpp +++ b/src/readDMAT.cpp @@ -1,10 +1,3 @@ -// 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 #include @@ -68,3 +61,6 @@ npe_begin_code() } npe_end_code() + + + diff --git a/src/readMESH.cpp b/src/readMESH.cpp index 66e210db..e01ab4d4 100644 --- a/src/readMESH.cpp +++ b/src/readMESH.cpp @@ -1,10 +1,3 @@ -// 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 #include #include diff --git a/src/readMSH.cpp b/src/readMSH.cpp index 160b94a1..a4ce2aa1 100644 --- a/src/readMSH.cpp +++ b/src/readMSH.cpp @@ -1,10 +1,3 @@ -// 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 #include #include @@ -66,3 +59,5 @@ npe_begin_code() throw pybind11::type_error("Only float32 and float64 dtypes are supported."); npe_end_code() + + diff --git a/src/readOBJ.cpp b/src/readOBJ.cpp index e00c9cc1..f5dc7381 100644 --- a/src/readOBJ.cpp +++ b/src/readOBJ.cpp @@ -1,10 +1,3 @@ -// 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 #include #include diff --git a/src/readOFF.cpp b/src/readOFF.cpp index 460dee82..d172ea0e 100644 --- a/src/readOFF.cpp +++ b/src/readOFF.cpp @@ -1,10 +1,3 @@ -// 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 #include #include diff --git a/src/readTGF.cpp b/src/readTGF.cpp index 285ae553..a4dd7035 100644 --- a/src/readTGF.cpp +++ b/src/readTGF.cpp @@ -1,10 +1,3 @@ -// 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 #include diff --git a/src/read_triangle_mesh.cpp b/src/read_triangle_mesh.cpp index 0eb32ec2..5b134b35 100644 --- a/src/read_triangle_mesh.cpp +++ b/src/read_triangle_mesh.cpp @@ -1,10 +1,3 @@ -// 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 #include #include diff --git a/src/remove_duplicate_vertices.cpp b/src/remove_duplicate_vertices.cpp index a0cf885d..3fb55aa6 100644 --- a/src/remove_duplicate_vertices.cpp +++ b/src/remove_duplicate_vertices.cpp @@ -1,10 +1,3 @@ -// 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 #include #include @@ -71,3 +64,5 @@ npe_begin_code() return std::make_tuple(npe::move(sv_row_major), npe::move(svi), npe::move(svj), npe::move(sf)); npe_end_code() + + diff --git a/src/remove_duplicates.cpp b/src/remove_duplicates.cpp index c7768fdc..fc2f6e5c 100644 --- a/src/remove_duplicates.cpp +++ b/src/remove_duplicates.cpp @@ -1,10 +1,3 @@ -// 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 #include #include @@ -67,3 +60,5 @@ npe_begin_code() return std::make_tuple(npe::move(sv_row_major), npe::move(sf)); npe_end_code() + + diff --git a/src/remove_unreferenced.cpp b/src/remove_unreferenced.cpp index 9120740f..1905e6fe 100644 --- a/src/remove_unreferenced.cpp +++ b/src/remove_unreferenced.cpp @@ -1,10 +1,3 @@ -// 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 @@ -61,3 +54,4 @@ npe_begin_code() return std::make_tuple(npe::move(nv), npe::move(nf), npe::move(i), npe::move(j)); npe_end_code() + diff --git a/src/resolve_duplicated_faces.cpp b/src/resolve_duplicated_faces.cpp index 91175268..37a9f10e 100644 --- a/src/resolve_duplicated_faces.cpp +++ b/src/resolve_duplicated_faces.cpp @@ -1,10 +1,3 @@ -// 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 #include #include @@ -65,3 +58,5 @@ npe_begin_code() return std::make_tuple(npe::move(f2), npe::move(j)); npe_end_code() + + diff --git a/src/rigid_alignment.cpp b/src/rigid_alignment.cpp index c707396e..4fbac065 100644 --- a/src/rigid_alignment.cpp +++ b/src/rigid_alignment.cpp @@ -1,10 +1,3 @@ -// 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 #include #include @@ -70,3 +63,5 @@ npe_begin_code() return std::make_tuple(npe::move(r), npe::move(t)); npe_end_code() + + diff --git a/src/rotate_vectors.cpp b/src/rotate_vectors.cpp index c78e1693..67add880 100644 --- a/src/rotate_vectors.cpp +++ b/src/rotate_vectors.cpp @@ -1,10 +1,3 @@ -// 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 #include #include diff --git a/src/sample_edges.cpp b/src/sample_edges.cpp index a6317e87..39c1eb6e 100644 --- a/src/sample_edges.cpp +++ b/src/sample_edges.cpp @@ -1,10 +1,3 @@ -// 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 #include #include @@ -65,3 +58,5 @@ npe_begin_code() return npe::move(s); npe_end_code() + + diff --git a/src/segment_segment_intersect.cpp b/src/segment_segment_intersect.cpp index b96e5fcc..16cb4f90 100644 --- a/src/segment_segment_intersect.cpp +++ b/src/segment_segment_intersect.cpp @@ -1,10 +1,3 @@ -// 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/. // TODO: __example // error at line 33 and 41, saying cross is only for certain size matrices @@ -81,3 +74,5 @@ npe_begin_code() return std::make_tuple(is_intersect, t, u, eps); npe_end_code() + + diff --git a/src/shape_diameter_function.cpp b/src/shape_diameter_function.cpp index 1ebc1137..8e473017 100644 --- a/src/shape_diameter_function.cpp +++ b/src/shape_diameter_function.cpp @@ -1,10 +1,3 @@ -// 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 __miss @@ -67,3 +60,5 @@ npe_begin_code() return npe::move(s); npe_end_code() + + diff --git a/src/sharp_edges.cpp b/src/sharp_edges.cpp index c0e8cd23..1241db54 100644 --- a/src/sharp_edges.cpp +++ b/src/sharp_edges.cpp @@ -1,10 +1,3 @@ -// 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 #include #include diff --git a/src/signed_angle.cpp b/src/signed_angle.cpp index 16fc1763..d4a63e73 100644 --- a/src/signed_angle.cpp +++ b/src/signed_angle.cpp @@ -1,10 +1,3 @@ -// 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 #include #include @@ -90,3 +83,5 @@ npe_begin_code() return angle; npe_end_code() + + diff --git a/src/signed_distance.cpp b/src/signed_distance.cpp index 75834ac0..c10774fe 100644 --- a/src/signed_distance.cpp +++ b/src/signed_distance.cpp @@ -1,10 +1,3 @@ -// This file is part of libigl, a simple c++ geometry processing library. -// -// Copyright (C) 2023 Francis Williams -// -// 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 #include #include @@ -66,17 +59,11 @@ npe_begin_code() //NOTE: compiler concats adjacent string literals. throw pybind11::value_error( "Parameter sign_type invalid, must be one of:" - " - 0: Use fast pseudo-normal test [Bærentzen & Aanæs 2005]" - " - 1: Use winding number [Jacobson, Kavan Sorking-Hornug 2013]" - " - 2: Default (pseudo-normal)" - " - 3: Unsigned" - " - 4: Use Fast winding number [Barill, Dickson, Schmidt, Levin, Jacobson 2018] -" + "\n\t0: Use fast pseudo-normal test [Bærentzen & Aanæs 2005]" + "\n\t1: Use winding number [Jacobson, Kavan Sorking-Hornug 2013]" + "\n\t2: Default (pseudo-normal)" + "\n\t3: Unsigned" + "\n\t4: Use Fast winding number [Barill, Dickson, Schmidt, Levin, Jacobson 2018]\n" ); } @@ -109,3 +96,6 @@ npe_begin_code() } npe_end_code() + + + diff --git a/src/simplify_polyhedron.cpp b/src/simplify_polyhedron.cpp index b13c2bbc..108ec6dd 100644 --- a/src/simplify_polyhedron.cpp +++ b/src/simplify_polyhedron.cpp @@ -1,10 +1,3 @@ -// 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 #include #include diff --git a/src/snap_points.cpp b/src/snap_points.cpp index 65791641..51148549 100644 --- a/src/snap_points.cpp +++ b/src/snap_points.cpp @@ -1,10 +1,3 @@ -// 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 #include #include diff --git a/src/solid_angle.cpp b/src/solid_angle.cpp index 44be40b8..6d5be82d 100644 --- a/src/solid_angle.cpp +++ b/src/solid_angle.cpp @@ -1,10 +1,3 @@ -// 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 #include #include @@ -66,3 +59,5 @@ npe_begin_code() return res; npe_end_code() + + diff --git a/src/sort_angles.cpp b/src/sort_angles.cpp index be192386..354a080f 100644 --- a/src/sort_angles.cpp +++ b/src/sort_angles.cpp @@ -1,10 +1,3 @@ -// 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 @@ -58,3 +51,5 @@ npe_begin_code() return npe::move(r); npe_end_code() + + diff --git a/src/sparse_voxel_grid.cpp b/src/sparse_voxel_grid.cpp index 98703b21..1fe3c805 100644 --- a/src/sparse_voxel_grid.cpp +++ b/src/sparse_voxel_grid.cpp @@ -1,10 +1,3 @@ -// 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 #include #include @@ -74,3 +67,5 @@ npe_begin_code() return std::make_tuple(npe::move(cs), npe::move(cv), npe::move(ci)); npe_end_code() + + diff --git a/src/swept_volume_bounding_box.cpp b/src/swept_volume_bounding_box.cpp index 980d85b3..691bddb9 100644 --- a/src/swept_volume_bounding_box.cpp +++ b/src/swept_volume_bounding_box.cpp @@ -1,10 +1,3 @@ -// 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 #include #include diff --git a/src/tet_tet_adjacency.cpp b/src/tet_tet_adjacency.cpp index 81f7fc1f..5a604500 100644 --- a/src/tet_tet_adjacency.cpp +++ b/src/tet_tet_adjacency.cpp @@ -1,10 +1,3 @@ -// 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/. //TODO: __example #include diff --git a/src/topological_hole_fill.cpp b/src/topological_hole_fill.cpp index 6e8275df..3b5bd60b 100644 --- a/src/topological_hole_fill.cpp +++ b/src/topological_hole_fill.cpp @@ -1,10 +1,3 @@ -// 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 #include #include diff --git a/src/triangle/triangulate.cpp b/src/triangle/triangulate.cpp index ca1d24bf..891aa31f 100644 --- a/src/triangle/triangulate.cpp +++ b/src/triangle/triangulate.cpp @@ -1,10 +1,3 @@ -// 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 #include @@ -68,3 +61,4 @@ if(VM.size() == 0 && EM.size() == 0) } npe_end_code() + diff --git a/src/triangle_fan.cpp b/src/triangle_fan.cpp index b618bfdc..47f5f7aa 100644 --- a/src/triangle_fan.cpp +++ b/src/triangle_fan.cpp @@ -1,10 +1,3 @@ -// 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 #include #include diff --git a/src/triangle_triangle_adjacency.cpp b/src/triangle_triangle_adjacency.cpp index b929b984..ca563734 100644 --- a/src/triangle_triangle_adjacency.cpp +++ b/src/triangle_triangle_adjacency.cpp @@ -1,10 +1,3 @@ -// 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: __miss __example #include @@ -58,3 +51,5 @@ npe_begin_code() return std::make_tuple(npe::move(tt), npe::move(t_ti)); npe_end_code() + + diff --git a/src/triangles_from_strip.cpp b/src/triangles_from_strip.cpp index ef08970d..f029d489 100644 --- a/src/triangles_from_strip.cpp +++ b/src/triangles_from_strip.cpp @@ -1,10 +1,3 @@ -// 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 #include #include @@ -59,3 +52,5 @@ npe_begin_code() return npe::move(f); npe_end_code() + + diff --git a/src/triangulated_grid.cpp b/src/triangulated_grid.cpp index 0440bb0f..70b8a84a 100644 --- a/src/triangulated_grid.cpp +++ b/src/triangulated_grid.cpp @@ -1,10 +1,3 @@ -// 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 #include #include diff --git a/src/two_axis_valuator_fixed_up.cpp b/src/two_axis_valuator_fixed_up.cpp index 8f997298..ab4c0f63 100644 --- a/src/two_axis_valuator_fixed_up.cpp +++ b/src/two_axis_valuator_fixed_up.cpp @@ -1,10 +1,3 @@ -// 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 #include #include @@ -92,3 +85,5 @@ npe_begin_code() return npe::move(quat); npe_end_code() + + diff --git a/src/uniformly_sample_two_manifold.cpp b/src/uniformly_sample_two_manifold.cpp index c0d07a2e..aa5f5740 100644 --- a/src/uniformly_sample_two_manifold.cpp +++ b/src/uniformly_sample_two_manifold.cpp @@ -1,10 +1,3 @@ -// 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 @@ -123,3 +116,5 @@ npe_begin_code() return npe::move(s_out); npe_end_code() + + diff --git a/src/unique_edge_map.cpp b/src/unique_edge_map.cpp index 4d51ad46..64ac2c53 100644 --- a/src/unique_edge_map.cpp +++ b/src/unique_edge_map.cpp @@ -1,10 +1,3 @@ -// 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 #include #include diff --git a/src/unique_simplices.cpp b/src/unique_simplices.cpp index d8545464..6790d9c4 100644 --- a/src/unique_simplices.cpp +++ b/src/unique_simplices.cpp @@ -1,10 +1,3 @@ -// 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 #include #include @@ -51,3 +44,5 @@ npe_begin_code() return std::make_tuple(npe::move(ff), npe::move(ia), npe::move(ic)); npe_end_code() + + diff --git a/src/unproject.cpp b/src/unproject.cpp index e8e0028a..3ba821d9 100644 --- a/src/unproject.cpp +++ b/src/unproject.cpp @@ -1,10 +1,3 @@ -// 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/. //TODO: __example #include #include diff --git a/src/unproject_in_mesh.cpp b/src/unproject_in_mesh.cpp index f9b75a4e..9633597f 100644 --- a/src/unproject_in_mesh.cpp +++ b/src/unproject_in_mesh.cpp @@ -1,10 +1,3 @@ -// 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 #include #include @@ -86,3 +79,4 @@ npe_begin_code() return std::make_tuple(npe::move(obj), hits); npe_end_code() + diff --git a/src/unproject_on_line.cpp b/src/unproject_on_line.cpp index ff592486..28160462 100644 --- a/src/unproject_on_line.cpp +++ b/src/unproject_on_line.cpp @@ -1,10 +1,3 @@ -// 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 #include #include @@ -79,3 +72,4 @@ npe_begin_code() return std::make_tuple(double(t), npe::move(Z)); npe_end_code() + diff --git a/src/unproject_on_plane.cpp b/src/unproject_on_plane.cpp index 4d600538..eabfcfd7 100644 --- a/src/unproject_on_plane.cpp +++ b/src/unproject_on_plane.cpp @@ -1,10 +1,3 @@ -// 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 #include #include @@ -67,3 +60,5 @@ npe_begin_code() return npe::move(z); npe_end_code() + + diff --git a/src/unproject_onto_mesh.cpp b/src/unproject_onto_mesh.cpp index 4ecbf509..efe7f640 100644 --- a/src/unproject_onto_mesh.cpp +++ b/src/unproject_onto_mesh.cpp @@ -1,10 +1,3 @@ -// 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: __miss __example #include @@ -85,3 +78,4 @@ npe_begin_code() return std::make_tuple(success, fid, npe::move(bc)); npe_end_code() + diff --git a/src/unproject_ray.cpp b/src/unproject_ray.cpp index b43ae682..39335161 100644 --- a/src/unproject_ray.cpp +++ b/src/unproject_ray.cpp @@ -1,10 +1,3 @@ -// 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 #include @@ -65,3 +58,5 @@ npe_begin_code() return std::make_tuple(npe::move(s), npe::move(dir)); npe_end_code() + + diff --git a/src/upsample.cpp b/src/upsample.cpp index 8fc7438e..c4a67bae 100644 --- a/src/upsample.cpp +++ b/src/upsample.cpp @@ -1,10 +1,3 @@ -// 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/. //TODO: __example //TODO: __miss upsample that retuns a sparse matrix and inplace #include diff --git a/src/vector_area_matrix.cpp b/src/vector_area_matrix.cpp index e326cb16..562629af 100644 --- a/src/vector_area_matrix.cpp +++ b/src/vector_area_matrix.cpp @@ -1,10 +1,3 @@ -// 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 #include #include @@ -45,3 +38,5 @@ npe_begin_code() return npe::move(a); npe_end_code() + + diff --git a/src/vertex_components.cpp b/src/vertex_components.cpp index 31559168..934fbedd 100644 --- a/src/vertex_components.cpp +++ b/src/vertex_components.cpp @@ -1,10 +1,3 @@ -// 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 #include #include @@ -80,3 +73,6 @@ npe_begin_code() igl::vertex_components(a, c, counts); return std::make_tuple(npe::move(c), npe::move(counts)); npe_end_code() + + + diff --git a/src/vertex_triangle_adjacency.cpp b/src/vertex_triangle_adjacency.cpp index 91fed243..e70f6ba7 100644 --- a/src/vertex_triangle_adjacency.cpp +++ b/src/vertex_triangle_adjacency.cpp @@ -1,10 +1,3 @@ -// 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: __miss __example #include @@ -60,3 +53,6 @@ npe_begin_code() return std::make_tuple(npe::move(vf), npe::move(ni)); npe_end_code() + + + diff --git a/src/volume.cpp b/src/volume.cpp index 665057d6..326782e5 100644 --- a/src/volume.cpp +++ b/src/volume.cpp @@ -1,10 +1,3 @@ -// 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 #include #include @@ -194,3 +187,5 @@ npe_begin_code() double vol = igl::volume_single(a_copy, b_copy, c_copy, d_copy); return vol; npe_end_code() + + diff --git a/src/winding_number.cpp b/src/winding_number.cpp index a03815fc..36b137d4 100644 --- a/src/winding_number.cpp +++ b/src/winding_number.cpp @@ -1,10 +1,3 @@ -// 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/. //TODO: __example // TODO: remove __copy // copy is necessary since the winding number only supports matrices @@ -107,3 +100,5 @@ npe_begin_code() return igl::winding_number(v_copy, f_copy, p_copy); npe_end_code() + + diff --git a/src/writeDMAT.cpp b/src/writeDMAT.cpp index 63219d0e..d0d18921 100644 --- a/src/writeDMAT.cpp +++ b/src/writeDMAT.cpp @@ -1,10 +1,3 @@ -// 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 #include @@ -53,3 +46,6 @@ npe_begin_code() return igl::writeDMAT(filename, w, ascii); npe_end_code() + + + diff --git a/src/writeOBJ.cpp b/src/writeOBJ.cpp index 8b4989a5..33ca02e2 100644 --- a/src/writeOBJ.cpp +++ b/src/writeOBJ.cpp @@ -1,10 +1,3 @@ -// 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 #include #include @@ -53,3 +46,7 @@ npe_begin_code() return igl::writeOBJ(filename, v, f); npe_end_code() + + + + diff --git a/src/writeOFF.cpp b/src/writeOFF.cpp index 670fc9e4..3c2c34cf 100644 --- a/src/writeOFF.cpp +++ b/src/writeOFF.cpp @@ -1,10 +1,3 @@ -// This file is part of libigl, a simple c++ geometry processing library. -// -// Copyright (C) 2023 Daniele Panozzo -// -// 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 #include #include @@ -79,3 +72,5 @@ npe_end_code() // return ; // npe_end_code() + + diff --git a/src/write_triangle_mesh.cpp b/src/write_triangle_mesh.cpp index c58d9258..658aa0c3 100644 --- a/src/write_triangle_mesh.cpp +++ b/src/write_triangle_mesh.cpp @@ -1,10 +1,3 @@ -// 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/. //TODO: __example #include @@ -66,3 +59,5 @@ npe_begin_code() return ok; npe_end_code() + + From f8ef4c75fe61fe4fe2e938289bec9316e90dd577 Mon Sep 17 00:00:00 2001 From: Alec Jacobson Date: Mon, 12 Jun 2023 13:05:36 -0400 Subject: [PATCH 5/5] try again to preprend --- src/active_set.cpp | 7 +++++++ src/adjacency_list.cpp | 7 +++++++ src/adjacency_matrix.cpp | 7 +++++++ src/all_pairs_distances.cpp | 7 +++++++ src/ambient_occlusion.cpp | 7 +++++++ src/arap_linear_block.cpp | 7 +++++++ src/arap_rhs.cpp | 7 +++++++ src/average_onto_faces.cpp | 7 +++++++ src/average_onto_vertices.cpp | 7 +++++++ src/avg_edge_length.cpp | 7 +++++++ src/barycenter.cpp | 7 +++++++ src/barycentric_coordinates.cpp | 7 +++++++ src/bfs.cpp | 7 +++++++ src/bfs_orient.cpp | 7 +++++++ src/biharmonic_coordinates.cpp | 7 +++++++ src/bijective_composite_harmonic_mapping.cpp | 7 +++++++ src/blue_noise.cpp | 7 +++++++ src/bone_parents.cpp | 7 +++++++ src/boundary_conditions.cpp | 7 +++++++ src/boundary_facets.cpp | 7 +++++++ src/boundary_loop.cpp | 7 +++++++ src/bounding_box.cpp | 7 +++++++ src/bounding_box_diagonal.cpp | 7 +++++++ src/circulation.cpp | 7 +++++++ src/circumradius.cpp | 7 +++++++ src/collapse_small_triangles.cpp | 7 +++++++ src/comb_cross_field.cpp | 7 +++++++ src/comb_frame_field.cpp | 7 +++++++ src/comb_line_field.cpp | 7 +++++++ src/compute_frame_field_bisectors.cpp | 7 +++++++ src/connect_boundary_to_infinity.cpp | 7 +++++++ src/connected_components.cpp | 7 +++++++ src/copyleft/cgal/convex_hull.cpp | 7 +++++++ src/copyleft/cgal/intersect_other.cpp | 7 +++++++ src/copyleft/cgal/mesh_boolean.cpp | 7 +++++++ src/copyleft/cgal/remesh_self_intersections.cpp | 7 +++++++ src/cotmatrix.cpp | 7 +++++++ src/cotmatrix_entries.cpp | 7 +++++++ src/cotmatrix_intrinsic.cpp | 7 +++++++ src/cross_field_missmatch.cpp | 7 +++++++ src/crouzeix_raviart_cotmatrix.cpp | 7 +++++++ src/crouzeix_raviart_massmatrix.cpp | 7 +++++++ src/cut_mesh.cpp | 7 +++++++ src/cut_mesh_from_singularities.cpp | 7 +++++++ src/cut_to_disk.cpp | 7 +++++++ src/cylinder.cpp | 7 +++++++ src/decimate.cpp | 7 +++++++ src/deform_skeleton.cpp | 7 +++++++ src/dihedral_angles.cpp | 7 +++++++ src/direct_delta_mush.cpp | 7 +++++++ src/directed_edge_orientations.cpp | 7 +++++++ src/directed_edge_parents.cpp | 7 +++++++ src/doublearea.cpp | 7 +++++++ src/dqs.cpp | 7 +++++++ src/ears.cpp | 7 +++++++ src/edge_collapse_is_valid.cpp | 7 +++++++ src/edge_flaps.cpp | 7 +++++++ src/edge_lengths.cpp | 7 +++++++ src/edge_topology.cpp | 7 +++++++ src/edges.cpp | 7 +++++++ src/edges_to_path.cpp | 7 +++++++ src/euler_characteristic.cpp | 7 +++++++ src/exact_geodesic.cpp | 7 +++++++ src/exterior_edges.cpp | 7 +++++++ src/extract_manifold_patches.cpp | 7 +++++++ src/extract_non_manifold_edge_curves.cpp | 7 +++++++ src/face_occurrences.cpp | 7 +++++++ src/faces_first.cpp | 7 +++++++ src/facet_components.cpp | 7 +++++++ src/false_barycentric_subdivision.cpp | 7 +++++++ src/fast_winding_number.cpp | 7 +++++++ src/find_cross_field_singularities.cpp | 7 +++++++ src/fit_cubic_bezier.cpp | 7 +++++++ src/fit_plane.cpp | 7 +++++++ src/flip_avoiding_line_search.cpp | 7 +++++++ src/flip_edge.cpp | 7 +++++++ src/flipped_triangles.cpp | 7 +++++++ src/forward_kinematics.cpp | 7 +++++++ src/gaussian_curvature.cpp | 7 +++++++ src/grad.cpp | 7 +++++++ src/grad_intrinsic.cpp | 7 +++++++ src/harmonic.cpp | 7 +++++++ src/hausdorff.cpp | 7 +++++++ src/heat_geodesic.cpp | 7 +++++++ src/hessian.cpp | 7 +++++++ src/hessian_energy.cpp | 7 +++++++ src/in_element.cpp | 7 +++++++ src/inradius.cpp | 7 +++++++ src/internal_angles.cpp | 7 +++++++ src/intrinsic_delaunay_cotmatrix.cpp | 7 +++++++ src/intrinsic_delaunay_triangulation.cpp | 7 +++++++ src/is_border_vertex.cpp | 7 +++++++ src/is_delaunay.cpp | 7 +++++++ src/is_edge_manifold.cpp | 7 +++++++ src/is_intrinsic_delaunay.cpp | 7 +++++++ src/is_irregular_vertex.cpp | 7 +++++++ src/isolines.cpp | 7 +++++++ src/iterative_closest_point.cpp | 7 +++++++ src/lbs_matrix.cpp | 7 +++++++ src/line_segment_in_rectangle.cpp | 7 +++++++ src/local_basis.cpp | 7 +++++++ src/look_at.cpp | 7 +++++++ src/loop.cpp | 7 +++++++ src/lscm.cpp | 7 +++++++ src/map_vertices_to_circle.cpp | 7 +++++++ src/marching_cubes.cpp | 7 +++++++ src/marching_tets.cpp | 7 +++++++ src/massmatrix.cpp | 7 +++++++ src/massmatrix_intrinsic.cpp | 7 +++++++ src/min_quad_with_fixed.cpp | 7 +++++++ src/moments.cpp | 7 +++++++ src/mvc.cpp | 7 +++++++ src/normal_derivative.cpp | 7 +++++++ src/offset_surface.cpp | 7 +++++++ src/orient_outward.cpp | 7 +++++++ src/orientable_patches.cpp | 7 +++++++ src/oriented_facets.cpp | 7 +++++++ src/outer_element.cpp | 7 +++++++ src/partition.cpp | 7 +++++++ src/path_to_edges.cpp | 7 +++++++ src/per_corner_normals.cpp | 7 +++++++ src/per_edge_normals.cpp | 7 +++++++ src/per_face_normals.cpp | 7 +++++++ src/per_vertex_attribute_smoothing.cpp | 7 +++++++ src/per_vertex_normals.cpp | 7 +++++++ src/piecewise_constant_winding_number.cpp | 7 +++++++ src/planarize_quad_mesh.cpp | 7 +++++++ src/point_in_circle.cpp | 7 +++++++ src/point_mesh_squared_distance.cpp | 7 +++++++ src/point_simplex_squared_distance.cpp | 7 +++++++ src/polar_dec.cpp | 7 +++++++ src/principal_curvature.cpp | 7 +++++++ src/procrustes.cpp | 7 +++++++ src/project.cpp | 7 +++++++ src/project_isometrically_to_plane.cpp | 7 +++++++ src/project_to_line.cpp | 7 +++++++ src/project_to_line_segment.cpp | 7 +++++++ src/pso.cpp | 7 +++++++ src/qslim.cpp | 7 +++++++ src/quad_grid.cpp | 7 +++++++ src/quad_planarity.cpp | 7 +++++++ src/ramer_douglas_peucker.cpp | 7 +++++++ src/random_points_on_mesh.cpp | 7 +++++++ src/random_search.cpp | 7 +++++++ src/ray_box_intersect.cpp | 7 +++++++ src/ray_mesh_intersect.cpp | 7 +++++++ src/ray_sphere_intersect.cpp | 7 +++++++ src/readDMAT.cpp | 7 +++++++ src/readMESH.cpp | 7 +++++++ src/readMSH.cpp | 7 +++++++ src/readOBJ.cpp | 7 +++++++ src/readOFF.cpp | 7 +++++++ src/readTGF.cpp | 7 +++++++ src/read_triangle_mesh.cpp | 7 +++++++ src/remove_duplicate_vertices.cpp | 7 +++++++ src/remove_duplicates.cpp | 7 +++++++ src/remove_unreferenced.cpp | 7 +++++++ src/resolve_duplicated_faces.cpp | 7 +++++++ src/rigid_alignment.cpp | 7 +++++++ src/rotate_vectors.cpp | 7 +++++++ src/sample_edges.cpp | 7 +++++++ src/segment_segment_intersect.cpp | 7 +++++++ src/shape_diameter_function.cpp | 7 +++++++ src/sharp_edges.cpp | 7 +++++++ src/signed_angle.cpp | 7 +++++++ src/signed_distance.cpp | 7 +++++++ src/simplify_polyhedron.cpp | 7 +++++++ src/snap_points.cpp | 7 +++++++ src/solid_angle.cpp | 7 +++++++ src/sort_angles.cpp | 7 +++++++ src/sparse_voxel_grid.cpp | 7 +++++++ src/swept_volume_bounding_box.cpp | 7 +++++++ src/tet_tet_adjacency.cpp | 7 +++++++ src/topological_hole_fill.cpp | 7 +++++++ src/triangle/triangulate.cpp | 7 +++++++ src/triangle_fan.cpp | 7 +++++++ src/triangle_triangle_adjacency.cpp | 7 +++++++ src/triangles_from_strip.cpp | 7 +++++++ src/triangulated_grid.cpp | 7 +++++++ src/two_axis_valuator_fixed_up.cpp | 7 +++++++ src/uniformly_sample_two_manifold.cpp | 7 +++++++ src/unique_edge_map.cpp | 7 +++++++ src/unique_simplices.cpp | 7 +++++++ src/unproject.cpp | 7 +++++++ src/unproject_in_mesh.cpp | 7 +++++++ src/unproject_on_line.cpp | 7 +++++++ src/unproject_on_plane.cpp | 7 +++++++ src/unproject_onto_mesh.cpp | 7 +++++++ src/unproject_ray.cpp | 7 +++++++ src/upsample.cpp | 7 +++++++ src/vector_area_matrix.cpp | 7 +++++++ src/vertex_components.cpp | 7 +++++++ src/vertex_triangle_adjacency.cpp | 7 +++++++ src/volume.cpp | 7 +++++++ src/winding_number.cpp | 7 +++++++ src/writeDMAT.cpp | 7 +++++++ src/writeOBJ.cpp | 7 +++++++ src/writeOFF.cpp | 7 +++++++ src/write_triangle_mesh.cpp | 7 +++++++ 199 files changed, 1393 insertions(+) diff --git a/src/active_set.cpp b/src/active_set.cpp index 526f5fbd..0532cc49 100644 --- a/src/active_set.cpp +++ b/src/active_set.cpp @@ -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 #include #include diff --git a/src/adjacency_list.cpp b/src/adjacency_list.cpp index 4ae59e45..60c4863f 100644 --- a/src/adjacency_list.cpp +++ b/src/adjacency_list.cpp @@ -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 #include #include diff --git a/src/adjacency_matrix.cpp b/src/adjacency_matrix.cpp index 1b130cda..7b5a4f18 100644 --- a/src/adjacency_matrix.cpp +++ b/src/adjacency_matrix.cpp @@ -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 #include #include diff --git a/src/all_pairs_distances.cpp b/src/all_pairs_distances.cpp index 4f812060..86efe66d 100644 --- a/src/all_pairs_distances.cpp +++ b/src/all_pairs_distances.cpp @@ -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 #include #include diff --git a/src/ambient_occlusion.cpp b/src/ambient_occlusion.cpp index 8f5f853c..ab749837 100644 --- a/src/ambient_occlusion.cpp +++ b/src/ambient_occlusion.cpp @@ -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 diff --git a/src/arap_linear_block.cpp b/src/arap_linear_block.cpp index fb4f9d5c..9c2e7946 100644 --- a/src/arap_linear_block.cpp +++ b/src/arap_linear_block.cpp @@ -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 #include #include diff --git a/src/arap_rhs.cpp b/src/arap_rhs.cpp index 55fb4f6a..7373a13d 100644 --- a/src/arap_rhs.cpp +++ b/src/arap_rhs.cpp @@ -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 #include #include diff --git a/src/average_onto_faces.cpp b/src/average_onto_faces.cpp index aa024f86..055155ec 100644 --- a/src/average_onto_faces.cpp +++ b/src/average_onto_faces.cpp @@ -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 #include #include diff --git a/src/average_onto_vertices.cpp b/src/average_onto_vertices.cpp index 59870b8d..f03165ee 100644 --- a/src/average_onto_vertices.cpp +++ b/src/average_onto_vertices.cpp @@ -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 #include #include diff --git a/src/avg_edge_length.cpp b/src/avg_edge_length.cpp index 33e7333d..5508e286 100644 --- a/src/avg_edge_length.cpp +++ b/src/avg_edge_length.cpp @@ -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 #include #include diff --git a/src/barycenter.cpp b/src/barycenter.cpp index f355cd3e..667a76cd 100644 --- a/src/barycenter.cpp +++ b/src/barycenter.cpp @@ -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 #include #include diff --git a/src/barycentric_coordinates.cpp b/src/barycentric_coordinates.cpp index 92d4726d..1a8ccf0e 100644 --- a/src/barycentric_coordinates.cpp +++ b/src/barycentric_coordinates.cpp @@ -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 #include #include diff --git a/src/bfs.cpp b/src/bfs.cpp index af894128..954e9d82 100644 --- a/src/bfs.cpp +++ b/src/bfs.cpp @@ -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 #include #include diff --git a/src/bfs_orient.cpp b/src/bfs_orient.cpp index 6a18c933..c6732c7c 100644 --- a/src/bfs_orient.cpp +++ b/src/bfs_orient.cpp @@ -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 #include #include diff --git a/src/biharmonic_coordinates.cpp b/src/biharmonic_coordinates.cpp index f889de38..76b18a03 100644 --- a/src/biharmonic_coordinates.cpp +++ b/src/biharmonic_coordinates.cpp @@ -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 #include #include diff --git a/src/bijective_composite_harmonic_mapping.cpp b/src/bijective_composite_harmonic_mapping.cpp index a960c0a7..229471a9 100644 --- a/src/bijective_composite_harmonic_mapping.cpp +++ b/src/bijective_composite_harmonic_mapping.cpp @@ -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 #include #include diff --git a/src/blue_noise.cpp b/src/blue_noise.cpp index edb032df..3c24401f 100644 --- a/src/blue_noise.cpp +++ b/src/blue_noise.cpp @@ -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 #include diff --git a/src/bone_parents.cpp b/src/bone_parents.cpp index f5ca14ea..9cebd9b8 100644 --- a/src/bone_parents.cpp +++ b/src/bone_parents.cpp @@ -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 #include #include diff --git a/src/boundary_conditions.cpp b/src/boundary_conditions.cpp index 2b12ebcd..a9c47f00 100644 --- a/src/boundary_conditions.cpp +++ b/src/boundary_conditions.cpp @@ -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 diff --git a/src/boundary_facets.cpp b/src/boundary_facets.cpp index ee568161..e0def9b4 100644 --- a/src/boundary_facets.cpp +++ b/src/boundary_facets.cpp @@ -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 #include #include diff --git a/src/boundary_loop.cpp b/src/boundary_loop.cpp index 392d8c46..9da5fe75 100644 --- a/src/boundary_loop.cpp +++ b/src/boundary_loop.cpp @@ -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 #include #include diff --git a/src/bounding_box.cpp b/src/bounding_box.cpp index 3ff5f456..df8eff23 100644 --- a/src/bounding_box.cpp +++ b/src/bounding_box.cpp @@ -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 #include #include diff --git a/src/bounding_box_diagonal.cpp b/src/bounding_box_diagonal.cpp index 09fde4e9..2962de69 100644 --- a/src/bounding_box_diagonal.cpp +++ b/src/bounding_box_diagonal.cpp @@ -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 diff --git a/src/circulation.cpp b/src/circulation.cpp index d0568edc..6a8c4497 100644 --- a/src/circulation.cpp +++ b/src/circulation.cpp @@ -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 diff --git a/src/circumradius.cpp b/src/circumradius.cpp index 691ea14e..0756f581 100644 --- a/src/circumradius.cpp +++ b/src/circumradius.cpp @@ -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 #include #include diff --git a/src/collapse_small_triangles.cpp b/src/collapse_small_triangles.cpp index 3797dbe3..d400b71a 100644 --- a/src/collapse_small_triangles.cpp +++ b/src/collapse_small_triangles.cpp @@ -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 diff --git a/src/comb_cross_field.cpp b/src/comb_cross_field.cpp index 4f29e210..b886cc97 100644 --- a/src/comb_cross_field.cpp +++ b/src/comb_cross_field.cpp @@ -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 #include #include diff --git a/src/comb_frame_field.cpp b/src/comb_frame_field.cpp index f4cab473..7a32826b 100644 --- a/src/comb_frame_field.cpp +++ b/src/comb_frame_field.cpp @@ -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 #include #include diff --git a/src/comb_line_field.cpp b/src/comb_line_field.cpp index 0d15519f..1f917a3a 100644 --- a/src/comb_line_field.cpp +++ b/src/comb_line_field.cpp @@ -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 #include #include diff --git a/src/compute_frame_field_bisectors.cpp b/src/compute_frame_field_bisectors.cpp index fb104199..4c7dea90 100644 --- a/src/compute_frame_field_bisectors.cpp +++ b/src/compute_frame_field_bisectors.cpp @@ -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 #include #include diff --git a/src/connect_boundary_to_infinity.cpp b/src/connect_boundary_to_infinity.cpp index 1dcf9466..da777059 100644 --- a/src/connect_boundary_to_infinity.cpp +++ b/src/connect_boundary_to_infinity.cpp @@ -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 diff --git a/src/connected_components.cpp b/src/connected_components.cpp index e14e341e..abde7344 100644 --- a/src/connected_components.cpp +++ b/src/connected_components.cpp @@ -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 #include #include diff --git a/src/copyleft/cgal/convex_hull.cpp b/src/copyleft/cgal/convex_hull.cpp index 8bb3bbfe..e2127735 100644 --- a/src/copyleft/cgal/convex_hull.cpp +++ b/src/copyleft/cgal/convex_hull.cpp @@ -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 #include diff --git a/src/copyleft/cgal/intersect_other.cpp b/src/copyleft/cgal/intersect_other.cpp index d03e7fd0..0c512e5e 100644 --- a/src/copyleft/cgal/intersect_other.cpp +++ b/src/copyleft/cgal/intersect_other.cpp @@ -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 #include #include diff --git a/src/copyleft/cgal/mesh_boolean.cpp b/src/copyleft/cgal/mesh_boolean.cpp index 2a565f0b..f9ee04bf 100644 --- a/src/copyleft/cgal/mesh_boolean.cpp +++ b/src/copyleft/cgal/mesh_boolean.cpp @@ -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 #include #include diff --git a/src/copyleft/cgal/remesh_self_intersections.cpp b/src/copyleft/cgal/remesh_self_intersections.cpp index 074802c5..3c3b2f35 100644 --- a/src/copyleft/cgal/remesh_self_intersections.cpp +++ b/src/copyleft/cgal/remesh_self_intersections.cpp @@ -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 #include #include diff --git a/src/cotmatrix.cpp b/src/cotmatrix.cpp index dbd8754f..b082d943 100644 --- a/src/cotmatrix.cpp +++ b/src/cotmatrix.cpp @@ -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 #include #include diff --git a/src/cotmatrix_entries.cpp b/src/cotmatrix_entries.cpp index 2c1d7cd5..380e4825 100644 --- a/src/cotmatrix_entries.cpp +++ b/src/cotmatrix_entries.cpp @@ -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 #include #include diff --git a/src/cotmatrix_intrinsic.cpp b/src/cotmatrix_intrinsic.cpp index 3fcb4dc1..ea21d804 100644 --- a/src/cotmatrix_intrinsic.cpp +++ b/src/cotmatrix_intrinsic.cpp @@ -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 #include #include diff --git a/src/cross_field_missmatch.cpp b/src/cross_field_missmatch.cpp index e64ff81c..bb50d08b 100644 --- a/src/cross_field_missmatch.cpp +++ b/src/cross_field_missmatch.cpp @@ -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 #include #include diff --git a/src/crouzeix_raviart_cotmatrix.cpp b/src/crouzeix_raviart_cotmatrix.cpp index 6ab53ee6..5f449987 100644 --- a/src/crouzeix_raviart_cotmatrix.cpp +++ b/src/crouzeix_raviart_cotmatrix.cpp @@ -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 #include #include diff --git a/src/crouzeix_raviart_massmatrix.cpp b/src/crouzeix_raviart_massmatrix.cpp index 6c5d0579..0db1c562 100644 --- a/src/crouzeix_raviart_massmatrix.cpp +++ b/src/crouzeix_raviart_massmatrix.cpp @@ -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/. // static assertion fail: YOU_MIXED_DIFFERENT_NUMERIC_TYPES__YOU_NEED_TO_USE_THE_CAST_METHOD_OF_MATRIXBASE_TO_CAST_NUMERIC_TYPES_EXPLICITLY #include diff --git a/src/cut_mesh.cpp b/src/cut_mesh.cpp index 164526b3..07d15a80 100644 --- a/src/cut_mesh.cpp +++ b/src/cut_mesh.cpp @@ -1,3 +1,10 @@ +// This file is part of libigl, a simple c++ geometry processing library. +// +// Copyright (C) 2023 Francis Williams +// +// 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 #include #include diff --git a/src/cut_mesh_from_singularities.cpp b/src/cut_mesh_from_singularities.cpp index ab25460a..a35a6d4f 100644 --- a/src/cut_mesh_from_singularities.cpp +++ b/src/cut_mesh_from_singularities.cpp @@ -1,3 +1,10 @@ +// This file is part of libigl, a simple c++ geometry processing library. +// +// Copyright (C) 2023 Francis Williams +// +// 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 #include #include diff --git a/src/cut_to_disk.cpp b/src/cut_to_disk.cpp index fc398c01..2ec6cbce 100644 --- a/src/cut_to_disk.cpp +++ b/src/cut_to_disk.cpp @@ -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 #include #include diff --git a/src/cylinder.cpp b/src/cylinder.cpp index bcca9330..e8d551e3 100644 --- a/src/cylinder.cpp +++ b/src/cylinder.cpp @@ -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 diff --git a/src/decimate.cpp b/src/decimate.cpp index 663e2c75..49b08f7b 100644 --- a/src/decimate.cpp +++ b/src/decimate.cpp @@ -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: __miss 4 functions #include diff --git a/src/deform_skeleton.cpp b/src/deform_skeleton.cpp index 7de3b906..fa4e6899 100644 --- a/src/deform_skeleton.cpp +++ b/src/deform_skeleton.cpp @@ -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 #include #include diff --git a/src/dihedral_angles.cpp b/src/dihedral_angles.cpp index 90fa4e5f..e2512f0a 100644 --- a/src/dihedral_angles.cpp +++ b/src/dihedral_angles.cpp @@ -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 #include #include diff --git a/src/direct_delta_mush.cpp b/src/direct_delta_mush.cpp index 6ee03c29..51adb626 100644 --- a/src/direct_delta_mush.cpp +++ b/src/direct_delta_mush.cpp @@ -1,3 +1,10 @@ +// This file is part of libigl, a simple c++ geometry processing library. +// +// Copyright (C) 2023 Kishore Venkateshan +// +// 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 #include #include diff --git a/src/directed_edge_orientations.cpp b/src/directed_edge_orientations.cpp index c7823f03..c966741d 100644 --- a/src/directed_edge_orientations.cpp +++ b/src/directed_edge_orientations.cpp @@ -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 #include #include diff --git a/src/directed_edge_parents.cpp b/src/directed_edge_parents.cpp index 67e628ed..56a0e64a 100644 --- a/src/directed_edge_parents.cpp +++ b/src/directed_edge_parents.cpp @@ -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 #include #include diff --git a/src/doublearea.cpp b/src/doublearea.cpp index cd7162e2..9e272c3f 100644 --- a/src/doublearea.cpp +++ b/src/doublearea.cpp @@ -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 #include #include diff --git a/src/dqs.cpp b/src/dqs.cpp index 1eff2caf..206df46b 100644 --- a/src/dqs.cpp +++ b/src/dqs.cpp @@ -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 #include #include diff --git a/src/ears.cpp b/src/ears.cpp index 52fb683f..58cc05ed 100644 --- a/src/ears.cpp +++ b/src/ears.cpp @@ -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 #include #include diff --git a/src/edge_collapse_is_valid.cpp b/src/edge_collapse_is_valid.cpp index b7b538ad..5116f002 100644 --- a/src/edge_collapse_is_valid.cpp +++ b/src/edge_collapse_is_valid.cpp @@ -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 #include #include diff --git a/src/edge_flaps.cpp b/src/edge_flaps.cpp index 779747ba..edc65e16 100644 --- a/src/edge_flaps.cpp +++ b/src/edge_flaps.cpp @@ -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 #include #include diff --git a/src/edge_lengths.cpp b/src/edge_lengths.cpp index 1ce2657c..8f38f6a8 100644 --- a/src/edge_lengths.cpp +++ b/src/edge_lengths.cpp @@ -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 #include #include diff --git a/src/edge_topology.cpp b/src/edge_topology.cpp index 9de05ae2..cb0d3ea0 100644 --- a/src/edge_topology.cpp +++ b/src/edge_topology.cpp @@ -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 #include #include diff --git a/src/edges.cpp b/src/edges.cpp index 1489cdf0..63931921 100644 --- a/src/edges.cpp +++ b/src/edges.cpp @@ -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 #include #include diff --git a/src/edges_to_path.cpp b/src/edges_to_path.cpp index 396ce65d..27f18ca1 100644 --- a/src/edges_to_path.cpp +++ b/src/edges_to_path.cpp @@ -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 #include #include diff --git a/src/euler_characteristic.cpp b/src/euler_characteristic.cpp index 81c9b3b2..55759c65 100644 --- a/src/euler_characteristic.cpp +++ b/src/euler_characteristic.cpp @@ -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 diff --git a/src/exact_geodesic.cpp b/src/exact_geodesic.cpp index 1727285c..4828178b 100644 --- a/src/exact_geodesic.cpp +++ b/src/exact_geodesic.cpp @@ -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 #include #include diff --git a/src/exterior_edges.cpp b/src/exterior_edges.cpp index e1de224b..23564b81 100644 --- a/src/exterior_edges.cpp +++ b/src/exterior_edges.cpp @@ -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/. // need assertion for a.rows = b.rows-1 // __copy #include diff --git a/src/extract_manifold_patches.cpp b/src/extract_manifold_patches.cpp index 1ba83d89..f71d58d7 100644 --- a/src/extract_manifold_patches.cpp +++ b/src/extract_manifold_patches.cpp @@ -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 #include #include diff --git a/src/extract_non_manifold_edge_curves.cpp b/src/extract_non_manifold_edge_curves.cpp index 9f900bd5..d334f149 100644 --- a/src/extract_non_manifold_edge_curves.cpp +++ b/src/extract_non_manifold_edge_curves.cpp @@ -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 #include #include diff --git a/src/face_occurrences.cpp b/src/face_occurrences.cpp index 59221e00..82c02eba 100644 --- a/src/face_occurrences.cpp +++ b/src/face_occurrences.cpp @@ -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 #include #include diff --git a/src/faces_first.cpp b/src/faces_first.cpp index df2f51cd..389669e3 100644 --- a/src/faces_first.cpp +++ b/src/faces_first.cpp @@ -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 #include #include diff --git a/src/facet_components.cpp b/src/facet_components.cpp index 734e8d45..72b91273 100644 --- a/src/facet_components.cpp +++ b/src/facet_components.cpp @@ -1,3 +1,10 @@ +// This file is part of libigl, a simple c++ geometry processing library. +// +// Copyright (C) 2023 Nico +// +// 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 #include #include diff --git a/src/false_barycentric_subdivision.cpp b/src/false_barycentric_subdivision.cpp index bc902275..d90f7e98 100644 --- a/src/false_barycentric_subdivision.cpp +++ b/src/false_barycentric_subdivision.cpp @@ -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 #include #include diff --git a/src/fast_winding_number.cpp b/src/fast_winding_number.cpp index 7a5182c5..99fd37d4 100644 --- a/src/fast_winding_number.cpp +++ b/src/fast_winding_number.cpp @@ -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 #include #include diff --git a/src/find_cross_field_singularities.cpp b/src/find_cross_field_singularities.cpp index 2dfdb0f0..a0f552c1 100644 --- a/src/find_cross_field_singularities.cpp +++ b/src/find_cross_field_singularities.cpp @@ -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 #include #include diff --git a/src/fit_cubic_bezier.cpp b/src/fit_cubic_bezier.cpp index c68f7c99..a6e4ffe9 100644 --- a/src/fit_cubic_bezier.cpp +++ b/src/fit_cubic_bezier.cpp @@ -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 #include #include diff --git a/src/fit_plane.cpp b/src/fit_plane.cpp index c8489c6a..a8910fc1 100644 --- a/src/fit_plane.cpp +++ b/src/fit_plane.cpp @@ -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 diff --git a/src/flip_avoiding_line_search.cpp b/src/flip_avoiding_line_search.cpp index 3b17fef9..f66a13cc 100644 --- a/src/flip_avoiding_line_search.cpp +++ b/src/flip_avoiding_line_search.cpp @@ -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 diff --git a/src/flip_edge.cpp b/src/flip_edge.cpp index 34e19f8c..42ed6ea6 100644 --- a/src/flip_edge.cpp +++ b/src/flip_edge.cpp @@ -1,3 +1,10 @@ +// This file is part of libigl, a simple c++ geometry processing library. +// +// Copyright (C) 2023 Soboleva Natalia +// +// 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 #include #include diff --git a/src/flipped_triangles.cpp b/src/flipped_triangles.cpp index 934742a2..c2f20bf3 100644 --- a/src/flipped_triangles.cpp +++ b/src/flipped_triangles.cpp @@ -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 #include #include diff --git a/src/forward_kinematics.cpp b/src/forward_kinematics.cpp index 13418346..53731cfa 100644 --- a/src/forward_kinematics.cpp +++ b/src/forward_kinematics.cpp @@ -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 #include #include diff --git a/src/gaussian_curvature.cpp b/src/gaussian_curvature.cpp index a9dd3f87..b5ab5d81 100644 --- a/src/gaussian_curvature.cpp +++ b/src/gaussian_curvature.cpp @@ -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 #include #include diff --git a/src/grad.cpp b/src/grad.cpp index 45d62efb..025ebb4e 100644 --- a/src/grad.cpp +++ b/src/grad.cpp @@ -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 #include #include diff --git a/src/grad_intrinsic.cpp b/src/grad_intrinsic.cpp index 49b38044..d1f66a1e 100644 --- a/src/grad_intrinsic.cpp +++ b/src/grad_intrinsic.cpp @@ -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 #include #include diff --git a/src/harmonic.cpp b/src/harmonic.cpp index 27ab2207..71c7d2cd 100644 --- a/src/harmonic.cpp +++ b/src/harmonic.cpp @@ -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 #include #include diff --git a/src/hausdorff.cpp b/src/hausdorff.cpp index 1d763878..c3231158 100644 --- a/src/hausdorff.cpp +++ b/src/hausdorff.cpp @@ -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 #include #include diff --git a/src/heat_geodesic.cpp b/src/heat_geodesic.cpp index 79d384b1..c6a2514e 100644 --- a/src/heat_geodesic.cpp +++ b/src/heat_geodesic.cpp @@ -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 #include #include diff --git a/src/hessian.cpp b/src/hessian.cpp index f97eedde..96406093 100644 --- a/src/hessian.cpp +++ b/src/hessian.cpp @@ -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 #include #include diff --git a/src/hessian_energy.cpp b/src/hessian_energy.cpp index f52244ce..99ea09d4 100644 --- a/src/hessian_energy.cpp +++ b/src/hessian_energy.cpp @@ -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/. // might be sparse matrix problem #include diff --git a/src/in_element.cpp b/src/in_element.cpp index ef2c3911..78a79f80 100644 --- a/src/in_element.cpp +++ b/src/in_element.cpp @@ -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 #include #include diff --git a/src/inradius.cpp b/src/inradius.cpp index f63ca6c1..347c49ee 100644 --- a/src/inradius.cpp +++ b/src/inradius.cpp @@ -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 #include #include diff --git a/src/internal_angles.cpp b/src/internal_angles.cpp index eac47031..6f852683 100644 --- a/src/internal_angles.cpp +++ b/src/internal_angles.cpp @@ -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 #include #include diff --git a/src/intrinsic_delaunay_cotmatrix.cpp b/src/intrinsic_delaunay_cotmatrix.cpp index 9e8aa79d..24e94258 100644 --- a/src/intrinsic_delaunay_cotmatrix.cpp +++ b/src/intrinsic_delaunay_cotmatrix.cpp @@ -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 #include #include diff --git a/src/intrinsic_delaunay_triangulation.cpp b/src/intrinsic_delaunay_triangulation.cpp index ec712373..493403fa 100644 --- a/src/intrinsic_delaunay_triangulation.cpp +++ b/src/intrinsic_delaunay_triangulation.cpp @@ -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 #include #include diff --git a/src/is_border_vertex.cpp b/src/is_border_vertex.cpp index 5589cb90..41b2f22e 100644 --- a/src/is_border_vertex.cpp +++ b/src/is_border_vertex.cpp @@ -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 #include #include diff --git a/src/is_delaunay.cpp b/src/is_delaunay.cpp index 1208818b..b9c300d9 100644 --- a/src/is_delaunay.cpp +++ b/src/is_delaunay.cpp @@ -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 #include #include diff --git a/src/is_edge_manifold.cpp b/src/is_edge_manifold.cpp index 6ba6aa63..b3290979 100644 --- a/src/is_edge_manifold.cpp +++ b/src/is_edge_manifold.cpp @@ -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, decide if to remove the first function #include diff --git a/src/is_intrinsic_delaunay.cpp b/src/is_intrinsic_delaunay.cpp index 42aa48eb..c4d5047d 100644 --- a/src/is_intrinsic_delaunay.cpp +++ b/src/is_intrinsic_delaunay.cpp @@ -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 #include #include diff --git a/src/is_irregular_vertex.cpp b/src/is_irregular_vertex.cpp index 2f37fa99..1850dc1f 100644 --- a/src/is_irregular_vertex.cpp +++ b/src/is_irregular_vertex.cpp @@ -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 #include #include diff --git a/src/isolines.cpp b/src/isolines.cpp index 085c1989..49bbc18d 100644 --- a/src/isolines.cpp +++ b/src/isolines.cpp @@ -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/. //TODO: __example #include diff --git a/src/iterative_closest_point.cpp b/src/iterative_closest_point.cpp index 458da2a3..c99276e2 100644 --- a/src/iterative_closest_point.cpp +++ b/src/iterative_closest_point.cpp @@ -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 #include #include diff --git a/src/lbs_matrix.cpp b/src/lbs_matrix.cpp index 1ba607e4..c36421ac 100644 --- a/src/lbs_matrix.cpp +++ b/src/lbs_matrix.cpp @@ -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 #include #include diff --git a/src/line_segment_in_rectangle.cpp b/src/line_segment_in_rectangle.cpp index ee196608..11238d10 100644 --- a/src/line_segment_in_rectangle.cpp +++ b/src/line_segment_in_rectangle.cpp @@ -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 #include #include diff --git a/src/local_basis.cpp b/src/local_basis.cpp index 2c99efb6..ac0bd9a1 100644 --- a/src/local_basis.cpp +++ b/src/local_basis.cpp @@ -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 #include #include diff --git a/src/look_at.cpp b/src/look_at.cpp index 87c87f30..7535a5b3 100644 --- a/src/look_at.cpp +++ b/src/look_at.cpp @@ -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 #include #include diff --git a/src/loop.cpp b/src/loop.cpp index bce11b90..937ed1cd 100644 --- a/src/loop.cpp +++ b/src/loop.cpp @@ -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/. //TODO: __example #include #include diff --git a/src/lscm.cpp b/src/lscm.cpp index 0b50c233..f051be7f 100644 --- a/src/lscm.cpp +++ b/src/lscm.cpp @@ -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 #include diff --git a/src/map_vertices_to_circle.cpp b/src/map_vertices_to_circle.cpp index 33d4b298..543b69a9 100644 --- a/src/map_vertices_to_circle.cpp +++ b/src/map_vertices_to_circle.cpp @@ -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 #include diff --git a/src/marching_cubes.cpp b/src/marching_cubes.cpp index 4d423945..c1965213 100644 --- a/src/marching_cubes.cpp +++ b/src/marching_cubes.cpp @@ -1,3 +1,10 @@ +// This file is part of libigl, a simple c++ geometry processing library. +// +// Copyright (C) 2023 Thomas +// +// 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 #include #include diff --git a/src/marching_tets.cpp b/src/marching_tets.cpp index b06af126..3c4108fe 100644 --- a/src/marching_tets.cpp +++ b/src/marching_tets.cpp @@ -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 #include #include diff --git a/src/massmatrix.cpp b/src/massmatrix.cpp index 8b9cf6dd..d701e37c 100644 --- a/src/massmatrix.cpp +++ b/src/massmatrix.cpp @@ -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 #include #include diff --git a/src/massmatrix_intrinsic.cpp b/src/massmatrix_intrinsic.cpp index 01ae67dd..2c8b65e7 100644 --- a/src/massmatrix_intrinsic.cpp +++ b/src/massmatrix_intrinsic.cpp @@ -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 #include #include diff --git a/src/min_quad_with_fixed.cpp b/src/min_quad_with_fixed.cpp index 5e6c1a2c..1309e54d 100644 --- a/src/min_quad_with_fixed.cpp +++ b/src/min_quad_with_fixed.cpp @@ -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/. //TODO: __example remove __copy #include diff --git a/src/moments.cpp b/src/moments.cpp index 94f694a6..f1151428 100644 --- a/src/moments.cpp +++ b/src/moments.cpp @@ -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 #include #include diff --git a/src/mvc.cpp b/src/mvc.cpp index 582b0bae..77f9c236 100644 --- a/src/mvc.cpp +++ b/src/mvc.cpp @@ -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 #include #include diff --git a/src/normal_derivative.cpp b/src/normal_derivative.cpp index e07af0c1..d45d8dc1 100644 --- a/src/normal_derivative.cpp +++ b/src/normal_derivative.cpp @@ -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 #include #include diff --git a/src/offset_surface.cpp b/src/offset_surface.cpp index 0996d3c8..40e9eb9c 100644 --- a/src/offset_surface.cpp +++ b/src/offset_surface.cpp @@ -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/. //TODO: __example // TODO: remove __copy // copy is necessary since the winding number only supports matrices diff --git a/src/orient_outward.cpp b/src/orient_outward.cpp index 7558a522..7ad54fc6 100644 --- a/src/orient_outward.cpp +++ b/src/orient_outward.cpp @@ -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 #include #include diff --git a/src/orientable_patches.cpp b/src/orientable_patches.cpp index 0bc3cd36..028e7d25 100644 --- a/src/orientable_patches.cpp +++ b/src/orientable_patches.cpp @@ -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 #include #include diff --git a/src/oriented_facets.cpp b/src/oriented_facets.cpp index 404d6ff3..c8f427c0 100644 --- a/src/oriented_facets.cpp +++ b/src/oriented_facets.cpp @@ -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 #include #include diff --git a/src/outer_element.cpp b/src/outer_element.cpp index a2d2ab39..d37ebf18 100644 --- a/src/outer_element.cpp +++ b/src/outer_element.cpp @@ -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 #include #include diff --git a/src/partition.cpp b/src/partition.cpp index a72d4bd1..8088083a 100644 --- a/src/partition.cpp +++ b/src/partition.cpp @@ -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 #include #include diff --git a/src/path_to_edges.cpp b/src/path_to_edges.cpp index 417ddef4..4c50b5ef 100644 --- a/src/path_to_edges.cpp +++ b/src/path_to_edges.cpp @@ -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 #include #include diff --git a/src/per_corner_normals.cpp b/src/per_corner_normals.cpp index c2d67ab5..1695e293 100644 --- a/src/per_corner_normals.cpp +++ b/src/per_corner_normals.cpp @@ -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 #include #include diff --git a/src/per_edge_normals.cpp b/src/per_edge_normals.cpp index f016afac..873ac4b2 100644 --- a/src/per_edge_normals.cpp +++ b/src/per_edge_normals.cpp @@ -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: __miss __example #include diff --git a/src/per_face_normals.cpp b/src/per_face_normals.cpp index ce67ee39..44113d53 100644 --- a/src/per_face_normals.cpp +++ b/src/per_face_normals.cpp @@ -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: __miss #include diff --git a/src/per_vertex_attribute_smoothing.cpp b/src/per_vertex_attribute_smoothing.cpp index ee37196b..f5996b77 100644 --- a/src/per_vertex_attribute_smoothing.cpp +++ b/src/per_vertex_attribute_smoothing.cpp @@ -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 diff --git a/src/per_vertex_normals.cpp b/src/per_vertex_normals.cpp index 4c2dc19a..1074abe7 100644 --- a/src/per_vertex_normals.cpp +++ b/src/per_vertex_normals.cpp @@ -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 #include #include diff --git a/src/piecewise_constant_winding_number.cpp b/src/piecewise_constant_winding_number.cpp index b00a7b14..2db8bd7d 100644 --- a/src/piecewise_constant_winding_number.cpp +++ b/src/piecewise_constant_winding_number.cpp @@ -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: __miss __example #include diff --git a/src/planarize_quad_mesh.cpp b/src/planarize_quad_mesh.cpp index ebcdcec9..df015b4b 100644 --- a/src/planarize_quad_mesh.cpp +++ b/src/planarize_quad_mesh.cpp @@ -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 #include #include diff --git a/src/point_in_circle.cpp b/src/point_in_circle.cpp index 79a80d38..573e7b80 100644 --- a/src/point_in_circle.cpp +++ b/src/point_in_circle.cpp @@ -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 #include #include diff --git a/src/point_mesh_squared_distance.cpp b/src/point_mesh_squared_distance.cpp index b6a316f1..3565321f 100644 --- a/src/point_mesh_squared_distance.cpp +++ b/src/point_mesh_squared_distance.cpp @@ -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 #include #include diff --git a/src/point_simplex_squared_distance.cpp b/src/point_simplex_squared_distance.cpp index 4b187af5..aa923ca6 100644 --- a/src/point_simplex_squared_distance.cpp +++ b/src/point_simplex_squared_distance.cpp @@ -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 #include #include diff --git a/src/polar_dec.cpp b/src/polar_dec.cpp index 48e5c4c5..c8cdc3e0 100644 --- a/src/polar_dec.cpp +++ b/src/polar_dec.cpp @@ -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 #include #include diff --git a/src/principal_curvature.cpp b/src/principal_curvature.cpp index 6fbbf1a0..61b10ffa 100644 --- a/src/principal_curvature.cpp +++ b/src/principal_curvature.cpp @@ -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 #include #include diff --git a/src/procrustes.cpp b/src/procrustes.cpp index df5c1b15..dd25e4f2 100644 --- a/src/procrustes.cpp +++ b/src/procrustes.cpp @@ -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: __miss #include diff --git a/src/project.cpp b/src/project.cpp index fc0123a7..48235c91 100644 --- a/src/project.cpp +++ b/src/project.cpp @@ -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 #include #include diff --git a/src/project_isometrically_to_plane.cpp b/src/project_isometrically_to_plane.cpp index b6f39d11..4921b2b7 100644 --- a/src/project_isometrically_to_plane.cpp +++ b/src/project_isometrically_to_plane.cpp @@ -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 #include #include diff --git a/src/project_to_line.cpp b/src/project_to_line.cpp index 4a99d7ce..a344bdf7 100644 --- a/src/project_to_line.cpp +++ b/src/project_to_line.cpp @@ -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 #include #include diff --git a/src/project_to_line_segment.cpp b/src/project_to_line_segment.cpp index 2562c7d2..dc7e0198 100644 --- a/src/project_to_line_segment.cpp +++ b/src/project_to_line_segment.cpp @@ -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 #include #include diff --git a/src/pso.cpp b/src/pso.cpp index 55a7d3a4..8a6883d4 100644 --- a/src/pso.cpp +++ b/src/pso.cpp @@ -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 #include #include diff --git a/src/qslim.cpp b/src/qslim.cpp index 59e4be59..e0b8c0d5 100644 --- a/src/qslim.cpp +++ b/src/qslim.cpp @@ -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 diff --git a/src/quad_grid.cpp b/src/quad_grid.cpp index 673c8ecf..79e30a5e 100644 --- a/src/quad_grid.cpp +++ b/src/quad_grid.cpp @@ -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 #include #include diff --git a/src/quad_planarity.cpp b/src/quad_planarity.cpp index 19f83f30..a4af9184 100644 --- a/src/quad_planarity.cpp +++ b/src/quad_planarity.cpp @@ -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/. // TODO: missing __example #include diff --git a/src/ramer_douglas_peucker.cpp b/src/ramer_douglas_peucker.cpp index 0523040b..ba32efb5 100644 --- a/src/ramer_douglas_peucker.cpp +++ b/src/ramer_douglas_peucker.cpp @@ -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 #include #include diff --git a/src/random_points_on_mesh.cpp b/src/random_points_on_mesh.cpp index 917b82a6..1f6fe160 100644 --- a/src/random_points_on_mesh.cpp +++ b/src/random_points_on_mesh.cpp @@ -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/. //TODO: __example #include #include diff --git a/src/random_search.cpp b/src/random_search.cpp index 127312c3..25fb39d9 100644 --- a/src/random_search.cpp +++ b/src/random_search.cpp @@ -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 #include #include diff --git a/src/ray_box_intersect.cpp b/src/ray_box_intersect.cpp index 49174c3a..8dd913f9 100644 --- a/src/ray_box_intersect.cpp +++ b/src/ray_box_intersect.cpp @@ -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 #include #include diff --git a/src/ray_mesh_intersect.cpp b/src/ray_mesh_intersect.cpp index b465ecf1..2dcf298f 100644 --- a/src/ray_mesh_intersect.cpp +++ b/src/ray_mesh_intersect.cpp @@ -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 #include #include diff --git a/src/ray_sphere_intersect.cpp b/src/ray_sphere_intersect.cpp index ba6a2a31..13c27f18 100644 --- a/src/ray_sphere_intersect.cpp +++ b/src/ray_sphere_intersect.cpp @@ -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 #include #include diff --git a/src/readDMAT.cpp b/src/readDMAT.cpp index 241bcab1..28862c7b 100644 --- a/src/readDMAT.cpp +++ b/src/readDMAT.cpp @@ -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 #include diff --git a/src/readMESH.cpp b/src/readMESH.cpp index e01ab4d4..66e210db 100644 --- a/src/readMESH.cpp +++ b/src/readMESH.cpp @@ -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 #include #include diff --git a/src/readMSH.cpp b/src/readMSH.cpp index a4ce2aa1..e51cc02a 100644 --- a/src/readMSH.cpp +++ b/src/readMSH.cpp @@ -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 #include #include diff --git a/src/readOBJ.cpp b/src/readOBJ.cpp index f5dc7381..e00c9cc1 100644 --- a/src/readOBJ.cpp +++ b/src/readOBJ.cpp @@ -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 #include #include diff --git a/src/readOFF.cpp b/src/readOFF.cpp index d172ea0e..460dee82 100644 --- a/src/readOFF.cpp +++ b/src/readOFF.cpp @@ -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 #include #include diff --git a/src/readTGF.cpp b/src/readTGF.cpp index a4dd7035..285ae553 100644 --- a/src/readTGF.cpp +++ b/src/readTGF.cpp @@ -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 #include diff --git a/src/read_triangle_mesh.cpp b/src/read_triangle_mesh.cpp index 5b134b35..0eb32ec2 100644 --- a/src/read_triangle_mesh.cpp +++ b/src/read_triangle_mesh.cpp @@ -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 #include #include diff --git a/src/remove_duplicate_vertices.cpp b/src/remove_duplicate_vertices.cpp index 3fb55aa6..028e1ecb 100644 --- a/src/remove_duplicate_vertices.cpp +++ b/src/remove_duplicate_vertices.cpp @@ -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 #include #include diff --git a/src/remove_duplicates.cpp b/src/remove_duplicates.cpp index fc2f6e5c..efb88157 100644 --- a/src/remove_duplicates.cpp +++ b/src/remove_duplicates.cpp @@ -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 #include #include diff --git a/src/remove_unreferenced.cpp b/src/remove_unreferenced.cpp index 1905e6fe..0ef91662 100644 --- a/src/remove_unreferenced.cpp +++ b/src/remove_unreferenced.cpp @@ -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 diff --git a/src/resolve_duplicated_faces.cpp b/src/resolve_duplicated_faces.cpp index 37a9f10e..f7f42150 100644 --- a/src/resolve_duplicated_faces.cpp +++ b/src/resolve_duplicated_faces.cpp @@ -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 #include #include diff --git a/src/rigid_alignment.cpp b/src/rigid_alignment.cpp index 4fbac065..4f77b3b9 100644 --- a/src/rigid_alignment.cpp +++ b/src/rigid_alignment.cpp @@ -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 #include #include diff --git a/src/rotate_vectors.cpp b/src/rotate_vectors.cpp index 67add880..c78e1693 100644 --- a/src/rotate_vectors.cpp +++ b/src/rotate_vectors.cpp @@ -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 #include #include diff --git a/src/sample_edges.cpp b/src/sample_edges.cpp index 39c1eb6e..408b7bc8 100644 --- a/src/sample_edges.cpp +++ b/src/sample_edges.cpp @@ -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 #include #include diff --git a/src/segment_segment_intersect.cpp b/src/segment_segment_intersect.cpp index 16cb4f90..be7edf1d 100644 --- a/src/segment_segment_intersect.cpp +++ b/src/segment_segment_intersect.cpp @@ -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/. // TODO: __example // error at line 33 and 41, saying cross is only for certain size matrices diff --git a/src/shape_diameter_function.cpp b/src/shape_diameter_function.cpp index 8e473017..28da0759 100644 --- a/src/shape_diameter_function.cpp +++ b/src/shape_diameter_function.cpp @@ -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 __miss diff --git a/src/sharp_edges.cpp b/src/sharp_edges.cpp index 1241db54..c0e8cd23 100644 --- a/src/sharp_edges.cpp +++ b/src/sharp_edges.cpp @@ -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 #include #include diff --git a/src/signed_angle.cpp b/src/signed_angle.cpp index d4a63e73..36b1ac40 100644 --- a/src/signed_angle.cpp +++ b/src/signed_angle.cpp @@ -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 #include #include diff --git a/src/signed_distance.cpp b/src/signed_distance.cpp index c10774fe..01455f1c 100644 --- a/src/signed_distance.cpp +++ b/src/signed_distance.cpp @@ -1,3 +1,10 @@ +// This file is part of libigl, a simple c++ geometry processing library. +// +// Copyright (C) 2023 Francis Williams +// +// 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 #include #include diff --git a/src/simplify_polyhedron.cpp b/src/simplify_polyhedron.cpp index 108ec6dd..b13c2bbc 100644 --- a/src/simplify_polyhedron.cpp +++ b/src/simplify_polyhedron.cpp @@ -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 #include #include diff --git a/src/snap_points.cpp b/src/snap_points.cpp index 51148549..65791641 100644 --- a/src/snap_points.cpp +++ b/src/snap_points.cpp @@ -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 #include #include diff --git a/src/solid_angle.cpp b/src/solid_angle.cpp index 6d5be82d..7eb0118f 100644 --- a/src/solid_angle.cpp +++ b/src/solid_angle.cpp @@ -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 #include #include diff --git a/src/sort_angles.cpp b/src/sort_angles.cpp index 354a080f..2cd96779 100644 --- a/src/sort_angles.cpp +++ b/src/sort_angles.cpp @@ -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 diff --git a/src/sparse_voxel_grid.cpp b/src/sparse_voxel_grid.cpp index 1fe3c805..08127abf 100644 --- a/src/sparse_voxel_grid.cpp +++ b/src/sparse_voxel_grid.cpp @@ -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 #include #include diff --git a/src/swept_volume_bounding_box.cpp b/src/swept_volume_bounding_box.cpp index 691bddb9..980d85b3 100644 --- a/src/swept_volume_bounding_box.cpp +++ b/src/swept_volume_bounding_box.cpp @@ -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 #include #include diff --git a/src/tet_tet_adjacency.cpp b/src/tet_tet_adjacency.cpp index 5a604500..81f7fc1f 100644 --- a/src/tet_tet_adjacency.cpp +++ b/src/tet_tet_adjacency.cpp @@ -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/. //TODO: __example #include diff --git a/src/topological_hole_fill.cpp b/src/topological_hole_fill.cpp index 3b5bd60b..6e8275df 100644 --- a/src/topological_hole_fill.cpp +++ b/src/topological_hole_fill.cpp @@ -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 #include #include diff --git a/src/triangle/triangulate.cpp b/src/triangle/triangulate.cpp index 891aa31f..2eb2668e 100644 --- a/src/triangle/triangulate.cpp +++ b/src/triangle/triangulate.cpp @@ -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 #include diff --git a/src/triangle_fan.cpp b/src/triangle_fan.cpp index 47f5f7aa..b618bfdc 100644 --- a/src/triangle_fan.cpp +++ b/src/triangle_fan.cpp @@ -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 #include #include diff --git a/src/triangle_triangle_adjacency.cpp b/src/triangle_triangle_adjacency.cpp index ca563734..c3db9036 100644 --- a/src/triangle_triangle_adjacency.cpp +++ b/src/triangle_triangle_adjacency.cpp @@ -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: __miss __example #include diff --git a/src/triangles_from_strip.cpp b/src/triangles_from_strip.cpp index f029d489..0470ef60 100644 --- a/src/triangles_from_strip.cpp +++ b/src/triangles_from_strip.cpp @@ -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 #include #include diff --git a/src/triangulated_grid.cpp b/src/triangulated_grid.cpp index 70b8a84a..0440bb0f 100644 --- a/src/triangulated_grid.cpp +++ b/src/triangulated_grid.cpp @@ -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 #include #include diff --git a/src/two_axis_valuator_fixed_up.cpp b/src/two_axis_valuator_fixed_up.cpp index ab4c0f63..58657313 100644 --- a/src/two_axis_valuator_fixed_up.cpp +++ b/src/two_axis_valuator_fixed_up.cpp @@ -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 #include #include diff --git a/src/uniformly_sample_two_manifold.cpp b/src/uniformly_sample_two_manifold.cpp index aa5f5740..4caad6cb 100644 --- a/src/uniformly_sample_two_manifold.cpp +++ b/src/uniformly_sample_two_manifold.cpp @@ -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 diff --git a/src/unique_edge_map.cpp b/src/unique_edge_map.cpp index 64ac2c53..4d51ad46 100644 --- a/src/unique_edge_map.cpp +++ b/src/unique_edge_map.cpp @@ -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 #include #include diff --git a/src/unique_simplices.cpp b/src/unique_simplices.cpp index 6790d9c4..99d74784 100644 --- a/src/unique_simplices.cpp +++ b/src/unique_simplices.cpp @@ -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 #include #include diff --git a/src/unproject.cpp b/src/unproject.cpp index 3ba821d9..e8e0028a 100644 --- a/src/unproject.cpp +++ b/src/unproject.cpp @@ -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/. //TODO: __example #include #include diff --git a/src/unproject_in_mesh.cpp b/src/unproject_in_mesh.cpp index 9633597f..0262e989 100644 --- a/src/unproject_in_mesh.cpp +++ b/src/unproject_in_mesh.cpp @@ -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 #include #include diff --git a/src/unproject_on_line.cpp b/src/unproject_on_line.cpp index 28160462..2fc701a1 100644 --- a/src/unproject_on_line.cpp +++ b/src/unproject_on_line.cpp @@ -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 #include #include diff --git a/src/unproject_on_plane.cpp b/src/unproject_on_plane.cpp index eabfcfd7..c09f860e 100644 --- a/src/unproject_on_plane.cpp +++ b/src/unproject_on_plane.cpp @@ -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 #include #include diff --git a/src/unproject_onto_mesh.cpp b/src/unproject_onto_mesh.cpp index efe7f640..788d3cd0 100644 --- a/src/unproject_onto_mesh.cpp +++ b/src/unproject_onto_mesh.cpp @@ -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: __miss __example #include diff --git a/src/unproject_ray.cpp b/src/unproject_ray.cpp index 39335161..c7c677f5 100644 --- a/src/unproject_ray.cpp +++ b/src/unproject_ray.cpp @@ -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 #include diff --git a/src/upsample.cpp b/src/upsample.cpp index c4a67bae..8fc7438e 100644 --- a/src/upsample.cpp +++ b/src/upsample.cpp @@ -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/. //TODO: __example //TODO: __miss upsample that retuns a sparse matrix and inplace #include diff --git a/src/vector_area_matrix.cpp b/src/vector_area_matrix.cpp index 562629af..5dba49b9 100644 --- a/src/vector_area_matrix.cpp +++ b/src/vector_area_matrix.cpp @@ -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 #include #include diff --git a/src/vertex_components.cpp b/src/vertex_components.cpp index 934fbedd..04473f1f 100644 --- a/src/vertex_components.cpp +++ b/src/vertex_components.cpp @@ -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 #include #include diff --git a/src/vertex_triangle_adjacency.cpp b/src/vertex_triangle_adjacency.cpp index e70f6ba7..e6f392f8 100644 --- a/src/vertex_triangle_adjacency.cpp +++ b/src/vertex_triangle_adjacency.cpp @@ -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: __miss __example #include diff --git a/src/volume.cpp b/src/volume.cpp index 326782e5..d37bf3e7 100644 --- a/src/volume.cpp +++ b/src/volume.cpp @@ -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 #include #include diff --git a/src/winding_number.cpp b/src/winding_number.cpp index 36b137d4..b2a6e9e7 100644 --- a/src/winding_number.cpp +++ b/src/winding_number.cpp @@ -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/. //TODO: __example // TODO: remove __copy // copy is necessary since the winding number only supports matrices diff --git a/src/writeDMAT.cpp b/src/writeDMAT.cpp index d0d18921..83388599 100644 --- a/src/writeDMAT.cpp +++ b/src/writeDMAT.cpp @@ -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 #include diff --git a/src/writeOBJ.cpp b/src/writeOBJ.cpp index 33ca02e2..77649196 100644 --- a/src/writeOBJ.cpp +++ b/src/writeOBJ.cpp @@ -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 #include #include diff --git a/src/writeOFF.cpp b/src/writeOFF.cpp index 3c2c34cf..e5662390 100644 --- a/src/writeOFF.cpp +++ b/src/writeOFF.cpp @@ -1,3 +1,10 @@ +// This file is part of libigl, a simple c++ geometry processing library. +// +// Copyright (C) 2023 Daniele Panozzo +// +// 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 #include #include diff --git a/src/write_triangle_mesh.cpp b/src/write_triangle_mesh.cpp index 658aa0c3..900e7f34 100644 --- a/src/write_triangle_mesh.cpp +++ b/src/write_triangle_mesh.cpp @@ -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/. //TODO: __example #include