Topology.head_hit_nat: def of bend-prot@0.1.0.0 Import: import bend-prot@0.1.0.0/topology.bend as Topology Lines 16-19 of bend-prot@0.1.0.0/topology.bend: https://jend.leeeet.dev/read.txt?path=bend-prot@0.1.0.0/topology.bend&start_line=16&end_line=19 import Base import bend-prot@0.1.0.0/geom.bend as G import bend-prot@0.1.0.0/protein.bend as P def head_hit_nat(h: P.Atom, +qp: G.Vec3, +c2: F32) -> Nat: match h: case P.Atom{serial, elem, +pos}: hit_nat_go(F32.is_lt(G.Vec3.dist2(pos, qp), c2)) Uses (7): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=F32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=F32.is_lt https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=bend-prot@0.1.0.0/geom.bend&name=Vec3 https://jend.leeeet.dev/definition.txt?path=bend-prot@0.1.0.0/geom.bend&name=Vec3.dist2 https://jend.leeeet.dev/definition.txt?path=bend-prot@0.1.0.0/protein.bend&name=Atom https://jend.leeeet.dev/definition.txt?path=bend-prot@0.1.0.0/topology.bend&name=hit_nat_go