summaryrefslogtreecommitdiff
path: root/data/points
diff options
context:
space:
mode:
Diffstat (limited to 'data/points')
-rw-r--r--data/points/alphacomplexdoc.off22
-rwxr-xr-xdata/points/generator/aurelien_alvarez_surfaces_in_R8.py31
-rw-r--r--data/points/grid_5_5_5_in_0_1.off127
3 files changed, 150 insertions, 30 deletions
diff --git a/data/points/alphacomplexdoc.off b/data/points/alphacomplexdoc.off
index bb790193..a90db49a 100644
--- a/data/points/alphacomplexdoc.off
+++ b/data/points/alphacomplexdoc.off
@@ -1,10 +1,12 @@
-nOFF
-2 7 0 0
-1.0 1.0
-7.0 0.0
-4.0 6.0
-9.0 6.0
-0.0 14.0
-2.0 19.0
-9.0 17.0
-
+# Default is 3 dimension
+OFF
+# 7 vertices - 0 face - 0 edge
+7 0 0
+# Point set:
+1.0 1.0 0.0
+7.0 0.0 0.0
+4.0 6.0 0.0
+9.0 6.0 0.0
+0.0 14.0 0.0
+2.0 19.0 0.0
+9.0 17.0 0.0
diff --git a/data/points/generator/aurelien_alvarez_surfaces_in_R8.py b/data/points/generator/aurelien_alvarez_surfaces_in_R8.py
index 57773c4c..cc23ca98 100755
--- a/data/points/generator/aurelien_alvarez_surfaces_in_R8.py
+++ b/data/points/generator/aurelien_alvarez_surfaces_in_R8.py
@@ -1,28 +1,19 @@
-# This file is part of the Gudhi Library. The Gudhi library
-# (Geometric Understanding in Higher Dimensions) is a generic C++
-# library for computational topology.
-#
-# Author(s): Aurélien Alvarez
-#
-# Copyright (C) 2016 Université d'Orléans (France)
-#
-# This program is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 3 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program. If not, see <http://www.gnu.org/licenses/>.
+#!/usr/bin/env python
import numpy as np
import random
from math import factorial
+"""This file is part of the Gudhi Library - https://gudhi.inria.fr/ - which is released under MIT.
+ See file LICENSE or go to https://gudhi.inria.fr/licensing/ for full license details.
+ Author(s): Aurélien Alvarez
+
+ Copyright (C) 2016 Université d'Orléans (France)
+
+ Modification(s):
+ - YYYY/MM Author: Description of the modification
+"""
+
I = complex(0,1)
#################################################
diff --git a/data/points/grid_5_5_5_in_0_1.off b/data/points/grid_5_5_5_in_0_1.off
new file mode 100644
index 00000000..148bf773
--- /dev/null
+++ b/data/points/grid_5_5_5_in_0_1.off
@@ -0,0 +1,127 @@
+OFF
+125 0 0
+0.0, 0.0, 0.2
+0.0, 0.0, 0.4
+0.0, 0.0, 0.6
+0.0, 0.0, 0.8
+0.0, 0.2, 0.0
+0.0, 0.2, 0.2
+0.0, 0.2, 0.4
+0.0, 0.2, 0.6
+0.0, 0.2, 0.8
+0.0, 0.4, 0.0
+0.0, 0.4, 0.2
+0.0, 0.4, 0.4
+0.0, 0.4, 0.6
+0.0, 0.4, 0.8
+0.0, 0.6, 0.0
+0.0, 0.6, 0.2
+0.0, 0.6, 0.4
+0.0, 0.6, 0.6
+0.0, 0.6, 0.8
+0.0, 0.8, 0.0
+0.0, 0.8, 0.2
+0.0, 0.8, 0.4
+0.0, 0.8, 0.6
+0.0, 0.8, 0.8
+0.2, 0.0, 0.0
+0.2, 0.0, 0.2
+0.2, 0.0, 0.4
+0.2, 0.0, 0.6
+0.2, 0.0, 0.8
+0.2, 0.2, 0.0
+0.2, 0.2, 0.2
+0.2, 0.2, 0.4
+0.2, 0.2, 0.6
+0.2, 0.2, 0.8
+0.2, 0.4, 0.0
+0.2, 0.4, 0.2
+0.2, 0.4, 0.4
+0.2, 0.4, 0.6
+0.2, 0.4, 0.8
+0.2, 0.6, 0.0
+0.2, 0.6, 0.2
+0.2, 0.6, 0.4
+0.2, 0.6, 0.6
+0.2, 0.6, 0.8
+0.0, 0.0, 0.0
+0.2, 0.8, 0.0
+0.2, 0.8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