Skip to content
Open
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ build_preprocess:
./in2md.sh files/cppintro.md.in > files/cppintro.md
./in2md.sh files/libraries_happly.md.in > files/libraries_happly.md
./in2md.sh files/libraries_happly_boostgeometry.md.in > files/libraries_happly_boostgeometry.md
cd cpp && ./maker.sh && cd ..

build_jupyter_books:
for book in $(BOOKS) ; do \
Expand All @@ -25,7 +26,6 @@ build_merge_html:
for book in $(BOOKS) ; do \
cp -a _build/$${book}/_build/html/. _html/$${book}/ ; \
done
cp index.html _html

deploy:
cp _html/* /var/www/html/programming -R
Expand Down
8 changes: 7 additions & 1 deletion cpp/.gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
out.ply
# files without an extension
*
!/**/
!*.*

# specific extensions
*out
*.o
*.ply
26 changes: 26 additions & 0 deletions files/libraries_happly.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,10 +90,36 @@ run:
````
````{tab-item} Build Output
```
g++ -Wall -march=native -Ofast -o libs_pcl_happly libs_pcl_happly.cpp `pkg-config --cflags --libs eigen3`
```
````
````{tab-item} Run Output
```
./libs_pcl_happly ../data/sofa_0007.off.ply
1.19209e-07 5.35772e-09 1
0.968583 -0.24869 5.35772e-09
0.24869 0.968583 1.19209e-07
X:12.5626 1.57161 62.3903
Y:12.5626 1.57161 62.3903
X:10.5998 26.6352 34.551
Y:10.5998 26.6352 34.551
X: -13.9611 -0.0370637 -52.1099
Y: -13.9611 -0.0370638 -52.1099
X:0.212058 8.69847 50.2384
Y:0.212058 8.69847 50.2384
X:19.5171 19.3644 53.821
Y:19.5171 19.3644 53.821
X:-8.74778 -33.4929 -27.8639
Y:-8.74778 -33.4929 -27.8639
X:-2.20324 27.7459 50.2467
Y:-2.20324 27.7459 50.2467
X:-5.69343 -27.1792 -50.2527
Y:-5.69343 -27.1792 -50.2527
X:-9.87796 38.5962 7.98784
Y:-9.87796 38.5962 7.98784
X:-13.9611 28.2719 -8.07317
Y:-13.9611 28.2719 -8.07317
Warper
```
````
`````
12 changes: 0 additions & 12 deletions index.html

This file was deleted.