Par.count_within_par: def of bend-prot@0.1.0.0 Import: import bend-prot@0.1.0.0/par.bend as Par Lines 25-27 of bend-prot@0.1.0.0/par.bend: https://jend.leeeet.dev/read.txt?path=bend-prot@0.1.0.0/par.bend&start_line=25&end_line=27 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 # Plain-cutoff wrapper, mirroring T.count_within. def count_within_par(xs: List<&2, P.Atom>, +qp: G.Vec3, +cutoff: F32) -> Nat: count_par4(xs, qp, (cutoff * cutoff : F32)) 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.mul https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List 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/par.bend&name=count_par4 https://jend.leeeet.dev/definition.txt?path=bend-prot@0.1.0.0/protein.bend&name=Atom