summaryrefslogtreecommitdiff
path: root/data/points/generator/README
blob: 41cb9165a4df0d19a8ddaac64b9959d9f78300e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
=========================== C++ generators =====================================

To build the C++ generators, run in a Terminal:

cd /path-to-gudhi/
cmake .
cd /path-to-data-generator/
make

=========================== hypergenerator =====================================

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 !!

===================== aurelien_alvarez_surfaces_in_R8 ==========================

This generator is written in Python.

This code generates points on a family of surfaces living in CP^2. You can move
in the family thanks to the parameter "degre". The parameter "nombrePoints"
allows to choose the number of points on the chosen surface. Finally, to compute
the points, we choose a chart in C^2 and take points randomly in the x-variable,
so that you may also modify the window for x in the complex plane (parameter
"module_x").

After that, the program computes points in C^2, then maps them in R^8, so that
the points live on a surface which is compact (which is not the case for the
intersection of the surface with C^2). We end off with a bunch of points on a
compact surface in R^8.