def Complex.centroid

bend-prot@0.1.0.0 · protein.bend:199

import bend-prot@0.1.0.0/protein.bend as Protein
import Base
import bend-prot@0.1.0.0/geom.bend as G

199def Complex.centroid(k: Complex) -> G.Vec3:
200  match k:
201    case Complex{chains}:
202      centroid_of_sum(sum_count_atoms(flatten_residues(flatten_chains_residues(chains))))

Uses (6)

Used by (0)

No other definition uses this definition.