MCPcopy Create free account
hub / github.com/clips/pattern / find_neighbors

Method find_neighbors

pattern/web/pdf/layout.py:358–361  ·  view source on GitHub ↗
(self, plane, ratio)

Source from the content-addressed store, hash-verified

356 return
357
358 def find_neighbors(self, plane, ratio):
359 h = ratio*self.height
360 objs = plane.find((self.x0, self.y0-h, self.x1, self.y1+h))
361 return [ obj for obj in objs if isinstance(obj, LTTextLineHorizontal) ]
362
363class LTTextLineVertical(LTTextLine):
364

Callers

nothing calls this directly

Calls 1

findMethod · 0.45

Tested by

no test coverage detected