MCPcopy Create free account
hub / github.com/andeya/algorithm / EncodePolygon

Function EncodePolygon

polyclip-go/polyutil/encdec.go:48–60  ·  view source on GitHub ↗

EncodePolygon serializes all contours of a polygon using a simple textual format.

(w io.Writer, p polyclip.Polygon)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

TestPolygonDecodeEncodeFunction · 0.85

Calls 1

EncodeContourFunction · 0.85

Tested by 1

TestPolygonDecodeEncodeFunction · 0.68