def Complex.centroid
import bend-prot@0.1.0.0/protein.bend as Proteinimport 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.