Geometry of cut-complexes and threshold logic