MCPcopy
hub / github.com/fogleman/primitive / Polygon

Struct Polygon

primitive/polygon.go:11–16  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9)
10
11type Polygon struct {
12 Worker *Worker
13 Order int
14 Convex bool
15 X, Y []float64
16}
17
18func NewRandomPolygon(worker *Worker, order int, convex bool) *Polygon {
19 rnd := worker.Rnd

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected