def count_within

bend-prot@0.1.0.0 · topology.bend:28

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

28# Plain (non-squared) cutoff: squares it once, then counts.
29def count_within(xs: List<&2, P.Atom>, +qp: G.Vec3, +cutoff: F32) -> Nat:
30  count_below(xs, qp, (cutoff * cutoff : F32))

Uses (7)

Used by (0)

No other definition uses this definition.