Summary
Libnest2D is a library and framework for the 2D bin packaging problem. Inspired from the SVGNest Javascript library the project is built from scratch in C++11. The library is written with a policy that it should be usable out of the box with a very simple interface but has to be customizable to the very core as well. The algorithms are defined in a header only fashion with templated geometry types. These geometries can have custom or already existing implementation to avoid copying or having unnecessary dependencies. A default backend is provided if the user of the library just wants to use it out of the box without additional integration. This backend is reasonably fast and robust, being built on top of boost geometry and the polyclipping library. Usage of this default backend implies the dependency on these packages but its header only as well.
Versions
v0.4-r2 :: 0/1 :: gentoo
- Modified
- License
- LGPL-3
- Keywords
- amd64 ~arm64 ~x86
- USE flags
- examples static-libs test
USE flags
General
- examples
- Install examples, usually source code
- static-libs
- Build static versions of dynamic libraries as well
- test
- Enable dependencies and/or preparations necessary to run tests (usually controlled by FEATURES=test but can be toggled independently)
Dependencies
dev-cpp / catch : Modern C++ header-only framework for unit-tests
dev-cpp / eigen : C++ template library for linear algebra
dev-libs / boost : Boost Libraries for C++
dev-libs / clipper : Polygon and line clipping and offsetting library (C++, C#, Delphi)
Runtime Dependencies
dev-cpp / eigen : C++ template library for linear algebra
dev-libs / boost : Boost Libraries for C++
dev-libs / clipper : Polygon and line clipping and offsetting library (C++, C#, Delphi)
Depending packages
dev-python / pynest2d : Python bindings for libnest2d
Bugs
- 864867
- dev-libs/libnest2d-0.4-r2 fails to compile: Could not find a configuration file for package "Catch2" that is compatible
Change logs
- Repository mirror & CI · gentoo
Merge updates from master - Jakov Smolić · gentoo
dev-libs/libnest2d: Stabilize 0.4-r2 amd64, #834389
Signed-off-by: Jakov Smolić <jsmolic@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Dennis Lamm · gentoo
dev-libs/libnest2d: dropped old
Closes: https://bugs.gentoo.org/802906 Signed-off-by: Dennis Lamm <expeditioneer@gentoo.org> Package-Manager: Portage-3.0.20, Repoman-3.0.2 Closes: https://github.com/gentoo/gentoo/pull/21740 Signed-off-by: Dennis Lamm <expeditioneer@gentoo.org> - Dennis Lamm · gentoo
dev-libs/libnest2d: replaced hard coded install dirs
now using CMAKEs 'GNUInstallDirs' Bug: https://bugs.gentoo.org/802906 Signed-off-by: Dennis Lamm <expeditioneer@gentoo.org> Package-Manager: Portage-3.0.20, Repoman-3.0.2 Signed-off-by: Dennis Lamm <expeditioneer@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Dennis Lamm · gentoo
dev-libs/libnest2d: dropped old
Signed-off-by: Dennis Lamm <expeditioneer@gentoo.org> Package-Manager: Portage-3.0.13, Repoman-3.0.2 Closes: https://github.com/gentoo/gentoo/pull/19821 Signed-off-by: Dennis Lamm <expeditioneer@gentoo.org> - Dennis Lamm · gentoo
dev-libs/libnest2d: fixed used cpp version
Closes: https://bugs.gentoo.org/769488 Signed-off-by: Dennis Lamm <expeditioneer@gentoo.org> Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: Dennis Lamm <expeditioneer@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Sam James · gentoo
dev-libs/libnest2d: arm64 keyworded (bug #757849)
Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: Sam James <sam@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Dennis Lamm · gentoo
dev-libs/libnest2d: added new ebuild
Signed-off-by: Dennis Lamm <expeditoneer@gentoo.org> Signed-off-by: Dennis Lamm <expeditioneer@gentoo.org>