From 480a4df6fc9e3d1086039735f1625fbc2d5dca0e Mon Sep 17 00:00:00 2001 From: vrouvrea Date: Mon, 2 Mar 2015 15:07:38 +0000 Subject: Add of hyper sphere and cube generator of OFF files. git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/branches/alphashapes@473 636b058d-ea47-450e-bf9e-a15bfbe3eedb Former-commit-id: 894167c2f2ab6e9f209b35adb8d362b09c6eeec5 --- data/points/generator/README | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 data/points/generator/README (limited to 'data/points/generator/README') diff --git a/data/points/generator/README b/data/points/generator/README new file mode 100644 index 00000000..e6b28eb0 --- /dev/null +++ b/data/points/generator/README @@ -0,0 +1,26 @@ +To build the example, run in a Terminal: + +cd /path-to-gudhi/ +cmake . +cd /path-to-data-generator/ +make + + +Example of use : + +*** Hyper sphere|cube generator + +./hypergenerator on sphere onSphere.off 1000 3 15.2 + + => generates a onSphere.off file with 1000 points randomized on a sphere of dimension 3 and radius 15.2 + +./hypergenerator in sphere inSphere.off 100 2 + + => generates a inSphere.off file with 100 points randomized in a sphere of dimension 2 (circle) and radius 1.0 (default) + +./hypergenerator in cube inCube.off 10000 3 5.8 + + => generates a inCube.off file with 10000 points randomized in a cube of dimension 3 and side 5.8 + +!! Warning: hypegenerator on cube is not available !! + -- cgit v1.2.3