ddg.datastructures.halfedge.grid module

ddg.datastructures.halfedge.grid.get_coordinate_polylines(hed)[source]

Finds parallel coordinate lines in a grid-like half-edge data structure with quadrilateral faces.

Parameters:
hedhalf-edge data structure
Returns:
x_lines, y_linesdeque , deque

Consists of deques consisting of half-edges representing the polylines. Each polyline is only represented by one chain of half-edges with fixed direction

Notes

  • The y-direction ist given by v0.edge where v0 ist the first vertex of hed.verts.

ddg.datastructures.halfedge.grid.get_coordinate_polyline(e)[source]