From d5d7663ac883c791e904f391babea2bc2b076575 Mon Sep 17 00:00:00 2001 From: jan Date: Sun, 7 Feb 2021 19:46:36 -0800 Subject: [PATCH] comment updates --- adze/boundary.py | 2 +- adze/voxel.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/adze/boundary.py b/adze/boundary.py index 2fd498d..9be0f03 100644 --- a/adze/boundary.py +++ b/adze/boundary.py @@ -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 diff --git a/adze/voxel.py b/adze/voxel.py index cb775c9..78e7096 100644 --- a/adze/voxel.py +++ b/adze/voxel.py @@ -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: