def head_hit_nat

bend-prot@0.1.0.0 · topology.bend:16

import bend-prot@0.1.0.0/topology.bend as Topology
import Base
import bend-prot@0.1.0.0/geom.bend as G
import bend-prot@0.1.0.0/protein.bend as P

16def head_hit_nat(h: P.Atom, +qp: G.Vec3, +c2: F32) -> Nat:
17  match h:
18    case P.Atom{serial, elem, +pos}:
19      hit_nat_go(F32.is_lt(G.Vec3.dist2(pos, qp), c2))

Uses (7)

Used by (5)