lerandc / construction_zone

Modules for generating nanoscale+ atomic scenes, primarily using pymatgen as generators with S/TEM image simulation in mind
GNU General Public License v3.0
11 stars 3 forks source link

Surface-to-surface Alignment #1

Open lerandc opened 3 years ago

lerandc commented 3 years ago

Utility for aligning Volumes to eachother

Scope:

General Description: given a target plane or simplex A in a stationary volume, and moving plane or simplex B in a different, moving volume, align A and B such that 1) plane normals are antiparallel 2) surfaces touch and 3) some minimal translation requirement is met

lerandc commented 3 years ago

translation minimziation should be accomplished by projecting target points onto aligned plane and solving for transverse vector between them