mirror of
https://gitlab.com/pamhyr/pamhyr2.git
synced 2026-10-30 03:20:41 +01:00
Model: Start export model into SQLite database.
* Study: Create table. * River: Create node and reach table. * Geometry: Create table only for profileXYZ and pointXYZ.
This commit is contained in:
1 parent
5566d87774
commit
2ed3254b46
12 files changed
+450
-29
No files matched your search
@@ -38,6 +38,15 @@ class Node(object):
|
||||
def name(self):
|
||||
return self._name
|
||||
|
||||
@property
|
||||
def x(self):
|
||||
return self.pos.x
|
||||
|
||||
@property
|
||||
def y(self):
|
||||
return self.pos.y
|
||||
|
||||
|
||||
def setPos(self, x, y):
|
||||
self.pos.x = x
|
||||
self.pos.y = y
|
||||
|
||||
Reference in new issue
Block a user