MCPcopy Create free account
hub / github.com/pymupdf/PyMuPDF / norm

Method norm

src/__init__.py:14770–14771  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

14768 return self.quad.morph(p, m)
14769
14770 def norm(self):
14771 return math.sqrt(sum([c*c for c in self]))
14772
14773 def normalize(self):
14774 """Replace rectangle with its finite version."""

Callers 2

test_image_bboxFunction · 0.45
gentle_compareFunction · 0.45

Calls

no outgoing calls

Tested by 1

test_image_bboxFunction · 0.36