def count_within_par

bend-prot@0.1.0.0 · par.bend:25

import bend-prot@0.1.0.0/par.bend as Par
import Base
import bend-prot@0.1.0.0/geom.bend as G
import bend-prot@0.1.0.0/protein.bend as P
import bend-prot@0.1.0.0/topology.bend as T

25# Plain-cutoff wrapper, mirroring T.count_within.
26def count_within_par(xs: List<&2, P.Atom>, +qp: G.Vec3, +cutoff: F32) -> Nat:
27  count_par4(xs, qp, (cutoff * cutoff : F32))

Uses (7)

Used by (0)

No other definition uses this definition.