mirror of
https://gitlab.com/pamhyr/pamhyr2.git
synced 2026-10-30 03:20:41 +01:00
switch from MailleurTT to internal meshing
This commit is contained in:
1 parent
911a2bbbff
commit
ebe906fce0
9 files changed
+407
-79
No files matched your search
@@ -228,3 +228,13 @@ class PointXYZ(Point, SQLSubModel):
|
||||
c = PointXYZ.distance(p3, p1)
|
||||
s = (a + b + c) / 2
|
||||
return (s*(s-a) * (s-b)*(s-c)) ** 0.5
|
||||
|
||||
def copy(self):
|
||||
p = PointXYZ(self.x,
|
||||
self.y,
|
||||
self.z,
|
||||
self.name,
|
||||
self._profile,
|
||||
self._status)
|
||||
p.sl = self.sl
|
||||
return p
|
||||
Reference in new issue
Block a user