|
| __init__ (self, Xc, Yc, Zc, shift, indentationDepth) |
|
| sDF (self, x, y, z) |
|
| gradSdf (self, x, y, z) |
|
| hessSdf (self, x, y, z) |
|
Definition at line 27 of file sdf_ydirection.py.
◆ __init__()
sdf_ydirection.yPlane.__init__ |
( |
| self, |
|
|
| Xc, |
|
|
| Yc, |
|
|
| Zc, |
|
|
| shift, |
|
|
| indentationDepth ) |
Definition at line 28 of file sdf_ydirection.py.
28 def __init__(self,Xc,Yc,Zc,shift,indentationDepth):
29
30 self.t = 0
31
32
33 self.Xc = Xc
34 self.Yc = Yc
35 self.Zc = Zc
36
37
38 self.xc = Xc
39 self.yc = Yc
40 self.zc = Zc
41
42
43 self.shift = shift
44 self.depth = indentationDepth
45
46
◆ gradSdf()
sdf_ydirection.yPlane.gradSdf |
( |
| self, |
|
|
| x, |
|
|
| y, |
|
|
| z ) |
Definition at line 50 of file sdf_ydirection.py.
50 def gradSdf(self, x, y, z):
51 dx = np.zeros_like(x).reshape((-1, 1))
52 dy = np.ones_like(y).reshape((-1, 1))
53 dz = np.zeros_like(z).reshape((-1, 1))
54 return np.hstack([dx, dy, dz])
55
◆ hessSdf()
sdf_ydirection.yPlane.hessSdf |
( |
| self, |
|
|
| x, |
|
|
| y, |
|
|
| z ) |
Definition at line 56 of file sdf_ydirection.py.
56 def hessSdf(self, x, y, z):
57 zeros = np.zeros_like(x).reshape((-1, 1))
58 return np.hstack([zeros for _ in range(6)])
59
◆ sDF()
sdf_ydirection.yPlane.sDF |
( |
| self, |
|
|
| x, |
|
|
| y, |
|
|
| z ) |
Definition at line 47 of file sdf_ydirection.py.
47 def sDF(self, x, y, z):
48 return np.subtract(y,self.shift)
49
◆ depth
◆ shift
sdf_ydirection.yPlane.shift = shift |
int sdf_ydirection.yPlane.t = 0 |
◆ Xc
sdf_ydirection.yPlane.Xc = Xc |
◆ xc
sdf_ydirection.yPlane.xc = Xc |
◆ Yc
sdf_ydirection.yPlane.Yc = Yc |
◆ yc
sdf_ydirection.yPlane.yc = Yc |
◆ Zc
sdf_ydirection.yPlane.Zc = Zc |
◆ zc
sdf_ydirection.yPlane.zc = Zc |
The documentation for this class was generated from the following file: