Skip to content

Commit 15b83cc

Browse files
authored
comment clarifications
1 parent 5af7b9c commit 15b83cc

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

models/layers/mesh_prepare.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -354,6 +354,10 @@ def symmetric_ratios(mesh, edge_points):
354354

355355

356356
def get_edge_points(mesh):
357+
""" returns: edge_points (#E x 4) tensor, with four vertex ids per edge
358+
for example: edge_points[edge_id, 0] and edge_points[edge_id, 1] are the two vertices which define edge_id
359+
each adjacent face to edge_id has another vertex, which is edge_points[edge_id, 2] or edge_points[edge_id, 3]
360+
"""
357361
edge_points = np.zeros([mesh.edges_count, 4], dtype=np.int32)
358362
for edge_id, edge in enumerate(mesh.edges):
359363
edge_points[edge_id] = get_side_points(mesh, edge_id)

0 commit comments

Comments
 (0)