Created
March 19, 2019 18:58
-
-
Save Abacn/b64cf23c5a7da1a6d225f019e2a9f32f to your computer and use it in GitHub Desktop.
Calling qhull library in C++
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <iostream> | |
| #include <libqhullcpp/Qhull.h> | |
| #include <libqhullcpp/QhullFacetList.h> | |
| #include <libqhullcpp/RboxPoints.h> | |
| using namespace std; | |
| using namespace orgQhull; | |
| int main(void) { | |
| RboxPoints rbox("100"); | |
| Qhull qhull; | |
| qhull.runQhull(rbox, ""); | |
| QhullFacetList facets = qhull.facetList(); | |
| cout<< facets; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment