Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/simogasp/geogram-delaunay
mirror of the "unflattened" version of delaunay-psm from geogram
https://github.com/simogasp/geogram-delaunay
delaunay-triangulation geogram
Last synced: 4 days ago
JSON representation
mirror of the "unflattened" version of delaunay-psm from geogram
- Host: GitHub
- URL: https://github.com/simogasp/geogram-delaunay
- Owner: simogasp
- License: bsd-3-clause
- Created: 2017-08-04T15:25:13.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2022-07-11T10:04:31.000Z (over 2 years ago)
- Last Synced: 2024-11-05T11:55:01.572Z (about 2 months ago)
- Topics: delaunay-triangulation, geogram
- Language: C++
- Homepage: http://alice.loria.fr/index.php/software/4-library/75-geogram.html
- Size: 521 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Geogram-delaunay
----------------This is a mirror of the "unflattened" version of the delaunay-psm (Pluggable Software Module) from the Geogram library.
The full library is hosted at [here](http://alice.loria.fr/index.php/software/4-library/75-geogram.html) and the sources for both the library and the PSM version are hosted [here](https://gforge.inria.fr/frs/?group_id=5833).
The difference between this version and the PSM one is that the PSM comes as 2 files, a header and a source file, which contained a "flattened" version of the library module. Here the hierarchy of the library is preserved and limited to the essential sources necessary to build the delaunay triangulation.
### Build
The library has no dependency so it can be built with the typical
```shell
mkdir build && cd build
cmake .. -DCMAKE_INSTALL_PREFIX:PATH=
make -j 4
```### Use as 3rd party
In order to use this library as 3rd party in your project, you simply need to import the `delaunayConfig.cmake` generated by the build process (usually in `build/geogram/generated`).
If you install the library, say in ``, then the config is installed in `/lib/cmake/delaunay`.
Either way, the file exposes a target `delaunay::delaunay` that can be used to link with your project.In your cmake project you simply have to
```cmake
find_package(delaunay CONFIG REQUIRED)add_executable(myDelaunaySample main.cpp)
target_link_libraries(myDelaunaySample delaunay::delaunay)
```Check the [example](example/CMakeLists.txt).
### Documentation
The documentation of the module can be found at http://alice.loria.fr/software/geogram/doc/html/classGEO_1_1Delaunay.html
### License
Geogram (as well as this repository) is licensed under the [3-clauses BSD License](LICENSE)