MCPcopy Create free account
hub / github.com/ActiveState/code / copy

Method copy

recipes/Python/578004_processing/recipe-578004.py:33–35  ·  view source on GitHub ↗

Copies the polygon by copying its vertices.

(self)

Source from the content-addressed store, hash-verified

31 vertex *= factor
32
33 def copy(self):
34 "Copies the polygon by copying its vertices."
35 return Polygon(*(vertex.copy() for vertex in self.vertices))
36
37################################################################################
38

Callers 2

__init__Method · 0.45
renderMethod · 0.45

Calls 1

PolygonClass · 0.70

Tested by

no test coverage detected