summaryrefslogtreecommitdiff
path: root/src/common/utilities/pointsetgenerator.md
diff options
context:
space:
mode:
authorvrouvrea <vrouvrea@636b058d-ea47-450e-bf9e-a15bfbe3eedb>2018-01-29 16:34:16 +0000
committervrouvrea <vrouvrea@636b058d-ea47-450e-bf9e-a15bfbe3eedb>2018-01-29 16:34:16 +0000
commitc50ac9a8e5d1f506cc79b9c1e623228fffd545bf (patch)
tree894e41f3f685000c95b54456bbdb935daaf1084d /src/common/utilities/pointsetgenerator.md
parentc2d46e0e6cfea1927875219bd5e03962cef7b010 (diff)
Rename README files for web site generation conformity
git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/trunk@3177 636b058d-ea47-450e-bf9e-a15bfbe3eedb Former-commit-id: 632b264790c30accb42e731c4a4f6744a2f7ba11
Diffstat (limited to 'src/common/utilities/pointsetgenerator.md')
-rw-r--r--src/common/utilities/pointsetgenerator.md43
1 files changed, 43 insertions, 0 deletions
diff --git a/src/common/utilities/pointsetgenerator.md b/src/common/utilities/pointsetgenerator.md
new file mode 100644
index 00000000..f39c63b8
--- /dev/null
+++ b/src/common/utilities/pointsetgenerator.md
@@ -0,0 +1,43 @@
+---
+layout: page
+title: "Pointset generator"
+meta_title: "pointsetgenerator"
+subheadline: ""
+teaser: ""
+permalink: "/pointsetgenerator/"
+---
+{::comment}
+These flags above are here for web site generation, please let them.
+cf. https://gitlab.inria.fr/GUDHI/website
+Must be in conformity with _data/navigation.yml
+{:/comment}
+
+## off_file_from_shape_generator ##
+
+Generates a pointset and save it in an OFF file. Command-line is:
+
+```
+off_file_from_shape_generator on|in sphere|cube|curve|torus|klein <filename> <num_points> <dimension> <parameter1> <parameter2>...
+```
+
+Warning: "on cube" generator is not available!
+
+**Examples**
+
+```
+off_file_from_shape_generator on sphere onSphere.off 1000 3 15.2
+```
+
+* Generates an onSphere.off file with 1000 points randomized on a sphere of dimension 3 and radius 15.2.
+
+```
+off_file_from_shape_generator in sphere inSphere.off 100 2
+```
+
+* Generates an inSphere.off file with 100 points randomized in a sphere of dimension 2 (circle) and radius 1.0 (default).
+
+```
+off_file_from_shape_generator 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.