Skip to content

Add geometry fingerprint and GDS normalization#173

Open
gpeairs wants to merge 4 commits intomainfrom
gp/fingerprint
Open

Add geometry fingerprint and GDS normalization#173
gpeairs wants to merge 4 commits intomainfrom
gp/fingerprint

Conversation

@gpeairs
Copy link
Copy Markdown
Member

@gpeairs gpeairs commented Mar 17, 2026

For fast comparison of geometry, add a Cells.geometry_fingerprint method that hashes a normalized representation of a Cell's geometry, as well as a normalize GDSWriterOptions field that saves a similar representation to a file.

The two are slightly different -- the fingerprint flattens the geometry and only looks at polygons/texts and their metadata, while GDS normalization leaves references and cell names intact.

@codecov
Copy link
Copy Markdown

codecov bot commented Mar 17, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@gpeairs gpeairs requested a review from parrangoiz March 20, 2026 12:16
@gpeairs gpeairs removed the request for review from parrangoiz April 2, 2026 08:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant