MCPcopy Create free account
hub / github.com/gonum/plot / newContour

Function newContour

plotter/contour.go:409–411  ·  view source on GitHub ↗

newContour returns a contour starting with the end points of l for the height z.

(l line, z float64)

Source from the content-addressed store, hash-verified

407// newContour returns a contour starting with the end points of l for the
408// height z.
409func newContour(l line, z float64) *contour {
410 return &contour{z: z, forward: path{l.p1}, backward: path{l.p2}}
411}
412
413func (c *contour) path(trX, trY func(float64) vg.Length) vg.Path {
414 var pa vg.Path

Callers 1

pathsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected