InterviewDB Question

Vertices Compression: Reduce a 3D Mesh's Vertex List by Merging Near-Duplicate Vertices

Question Details

Problem You are given a list of 3D vertices and a face list (triangles as index triples). Two vertices are considered duplicates if their Euclidean distance is below a threshold eps. Merge all duplicates into a single representative vertex, update th…

Full Details

🔒

Unlock full leaked content

Full insider details, leaked discussions, and candidate experiences.

Get Premium →

Topics

Coding Onsite Phone