Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Guilhem Saurel
ndcurves
Commits
029ada66
Commit
029ada66
authored
Jan 07, 2020
by
stevet
Browse files
export curve library with plot options
parent
a29b7237
Changes
4
Hide whitespace changes
Inline
Side-by-side
python/CMakeLists.txt
View file @
029ada66
...
...
@@ -24,7 +24,15 @@ IF(APPLE)
SET_TARGET_PROPERTIES
(
${
PY_NAME
}
PROPERTIES SUFFIX
".so"
)
ENDIF
(
APPLE
)
INSTALL
(
TARGETS
${
PY_NAME
}
DESTINATION
${
PYTHON_SITELIB
}
)
INSTALL
(
TARGETS
${
PY_NAME
}
DESTINATION
${
PYTHON_SITELIB
}
/curves
)
install
(
FILES plot/plot.py
deploy/__init__.py
DESTINATION
${
PYTHON_SITELIB
}
/curves
)
install
(
FILES deploy/optimization/__init__.py
DESTINATION
${
PYTHON_SITELIB
}
/curves/optimization
)
ADD_PYTHON_UNIT_TEST
(
"python-curves"
"python/test/test.py"
"python"
)
ADD_PYTHON_UNIT_TEST
(
"python-optimization"
"python/test/optimization.py"
"python"
)
python/deploy/__init__.py
0 → 100644
View file @
029ada66
#!/usr/bin/env python
# Copyright (c) 2019 CNRS
# Author : Steve Tonneau
from
curves
import
*
import
plot
python/deploy/optimization/__init__.py
0 → 100644
View file @
029ada66
#!/usr/bin/env python
# Copyright (c) 2019 CNRS
# Author : Steve Tonneau
from
curves.curves.optimization
import
*
python/
test/sandbox/plot_bezier
.py
→
python/
plot/plot
.py
View file @
029ada66
...
...
@@ -64,7 +64,6 @@ if __name__ == '__main__':
a
=
bezier
(
waypoints
)
fig
=
plt
.
figure
()
# ax = fig.add_subplot(131, projection="3d")
ax
=
fig
.
add_subplot
(
121
)
plotBezier2D
(
a
,
axes
=
[
1
,
0
],
ax
=
ax
)
plotControlPoints2D
(
a
,
axes
=
[
1
,
0
],
ax
=
ax
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment