|
def | sDF (xc, yc, zc, x, y, z) |
|
def | gradSdf (xc, yc, zc, x, y, z) |
|
def | hessSdf (xc, yc, zc, x, y, z) |
|
Definition at line 19 of file sdf_plane_3d.py.
◆ gradSdf()
def sdf_plane_3d.zPlane.gradSdf |
( |
|
xc, |
|
|
|
yc, |
|
|
|
zc, |
|
|
|
x, |
|
|
|
y, |
|
|
|
z |
|
) |
| |
Definition at line 23 of file sdf_plane_3d.py.
23 def gradSdf(xc, yc, zc, x, y, z):
24 dx = np.zeros_like(x).reshape((-1, 1))
25 dy = np.zeros_like(y).reshape((-1, 1))
26 dz = np.full_like(z, -1).reshape((-1, 1))
27 return np.hstack([dx, dy, dz])
◆ hessSdf()
def sdf_plane_3d.zPlane.hessSdf |
( |
|
xc, |
|
|
|
yc, |
|
|
|
zc, |
|
|
|
x, |
|
|
|
y, |
|
|
|
z |
|
) |
| |
Definition at line 29 of file sdf_plane_3d.py.
29 def hessSdf(xc, yc, zc, x, y, z):
30 zeros = np.zeros_like(x).reshape((-1, 1))
31 return np.hstack([zeros
for _
in range(6)])
◆ sDF()
def sdf_plane_3d.zPlane.sDF |
( |
|
xc, |
|
|
|
yc, |
|
|
|
zc, |
|
|
|
x, |
|
|
|
y, |
|
|
|
z |
|
) |
| |
Definition at line 20 of file sdf_plane_3d.py.
20 def sDF(xc, yc, zc, x, y, z):
21 return np.subtract(zc, z)
The documentation for this class was generated from the following file: