upxo.geoEntities.comparisions module
Geometric comparison utilities for UPXO entities.
Usage
from upxo.geoEntities.comparisions import cmp_edges, cmp_rings
Functions
cmp_edges : Compare two edge objects. cmp_muledges : Compare two multi-edge objects. cmp_rings : Compare two ring objects. cmp_xtals : Compare two crystal objects. cmp_pxtals : Compare two poly-crystal objects.
Limitations
All functions are stubs awaiting implementation.
- upxo.geoEntities.comparisions.cmp_edges(ref_edge, edge)[source]
Compare two edge objects for geometric equivalence.
- Parameters:
ref_edge (edge2d) – Reference edge.
edge (edge2d) – Edge to compare against the reference.
- Returns:
None
Limitations
———–
- Not yet implemented.
- upxo.geoEntities.comparisions.cmp_muledges(ref_medge, medge)[source]
Compare two multi-edge objects for geometric equivalence.
- upxo.geoEntities.comparisions.cmp_rings(ref_ring, ring)[source]
Compare two ring objects for geometric equivalence.
- upxo.geoEntities.comparisions.cmp_xtals(ref_xal, xtal)[source]
Compare two crystal objects for geometric equivalence.