minor comment updates

This commit is contained in:
Jan Petykiewicz 2019-08-30 22:28:00 -07:00
commit 37f705db21
2 changed files with 3 additions and 4 deletions

View file

@ -47,8 +47,7 @@ In the polyhedron representation returned by the build_* functions and accepted
TODO TODO
This This representation looks like
representation looks like
poly = {'neighbors': ndarray[Px3, int], 'vertices': ndarray[Px3, float]} poly = {'neighbors': ndarray[Px3, int], 'vertices': ndarray[Px3, float]}
where poly['neighbors'] contains where poly['neighbors'] contains

View file

@ -41,8 +41,8 @@ def planes_from_boundary(vertices: numpy.ndarray,
@profile @profile
def build_polyhedron(vertices: numpy.ndarray, faces: numpy.ndarray) -> poly_t: def build_polyhedron(vertices: numpy.ndarray, faces: numpy.ndarray) -> poly_t:
''' '''
Generate a 3-verted-connected Schlegel diagram corresponding to the Generate a 3-verted-connected Schlegel diagram representation
provided boundary-representation polyhedron. corresponding to the provided boundary-representation polyhedron.
:param vertices: Nx3 ndarray specifying the polyhedron's vertex positions. :param vertices: Nx3 ndarray specifying the polyhedron's vertex positions.
:param faces: List of 1d ndarrays. Each ndarray is a list of vertex indices, :param faces: List of 1d ndarrays. Each ndarray is a list of vertex indices,