comment updates
This commit is contained in:
parent
a9281d3db7
commit
d5d7663ac8
2 changed files with 2 additions and 2 deletions
|
|
@ -69,7 +69,7 @@ def build_polyhedron(vertices: numpy.ndarray, faces: numpy.ndarray) -> poly_t:
|
|||
has_next = (neighbor_rows == next_vert).any(axis=1)
|
||||
|
||||
# Each vertex touches 3 faces; each vertex triplet (neighbor_row) is a triangle on a face.
|
||||
# Thus, we will never encounter a situation in which prv == nxt.
|
||||
# Thus, we will never encounter a situation in which prev == next.
|
||||
|
||||
# If the vertex hasn't been linked to anything yet, set its first two
|
||||
# polyhedron-neighbors to its face-neighbors
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ def voxelize(poly: poly_t,
|
|||
The output array has size [X-1, Y-1, Z-1, N] (include_outside False) or
|
||||
`[X+1, Y+1, Z+1, N]` (`include_outside` True), where `N` is the number of moments
|
||||
corresponding to the requested order. If include_outside is true, the outer borders
|
||||
of the first three dimensions of the output correspond to portions of the polyhedron
|
||||
of the first three dimensions of the output correspond to portions of the polyhedron
|
||||
that protruded outside the provided grid.
|
||||
|
||||
Args:
|
||||
|
|
|
|||
Loading…
Reference in a new issue