☰
Debian Codegraph
@
2023.01.11-7
/
/
examples
/
python
/
ocl_clpoint.py
☽
☼
examples/python/ocl_clpoint.py
code
plain
raw
LGPL-2.1+
2011-2018 Anders Wallin <
[email protected]
>
debian/copyright
1
from opencamlib import ocl
2
# print(ocl.version())
3
4
p = ocl.Point(1,2,3)
5
print(p)
6
cc = ocl.CCPoint(4,5,6)
7
print(cc)
8
cl = ocl.CLPoint()
9
print(cl)
10
cl2 = ocl.CLPoint(7,8,9)
11
print(cl2)
12
cl3 = ocl.CLPoint(10,11,12,cc)
13
print(cl3)
14
cc.x=77
15
print(cl3)