molgfx-geometry 0.3.5

GPU geometry generation: impostor packing, cartoons, labels, bounding hierarchies.
Documentation
//! GPU geometry generation: impostor packing, cartoons, labels, bounding
//! hierarchies.
//!
//! An atom or bond impostor needs no generation beyond packing its instance
//! record; the primitive's shape is reconstructed per pixel in the fragment
//! shader, never tessellated here.

#![forbid(unsafe_code)]

mod cartoon;
mod packing;
mod polyhedra;

pub use cartoon::{
    CARTOON_GAP_CUTOFF, PolymerTraces, RibbonMesh, RibbonParams, RibbonVertex, SecondaryMotion,
    SplineProfile, TraceRange, append_base_polygons, append_base_slabs, append_paper_chain,
    extract_glycosidic_traces, extract_polymer_traces, solve_offsets, variable_tube_radius,
};
pub use packing::{
    ColorContext, PackingError, RibbonColoring, build_compaction_map, build_selection_compaction,
    pack_atoms, pack_bonds, pack_residue_beads, recolor_ribbon,
};
pub use polyhedra::{MAX_SHELL, coordination_hull};