def Chain.centroid
import bend-prot@0.1.0.0/protein.bend as Proteinimport Base
import bend-prot@0.1.0.0/geom.bend as G
144def Chain.centroid(c: Chain) -> G.Vec3:
145 match c:
146 case Chain{cid, residues}:
147 centroid_of_sum(sum_count_atoms(flatten_residues(residues)))
Uses (5)
Used by (0)
No other definition uses this definition.