Extended Mathematical Utils

  • A graph representation of the lattice, where polygons are nodes and adjacent when sides share a segment, with attributes for edge length and angle between faces.
  • An efficient function to generate triangles and uv normals for a set of coplanar points forming a polygon (including non-convex polygons).
  • An edge-coloring function by distance equivalence classes.
  • An edge-coloring function by ditsance and equivalence classes.