Entry points

Contour.contourFunction
contour(x, y, z, level::Number)
contour(x, y, z, level::Number, VT::Type)

Trace a single contour level, indicated by the argument level. The extracted vertex type maybe be specified by VT.

You'll usually call lines on the output of contour, and then iterate over the result.

source

Accessors

Contour.levelFunction

level(c) Indicates the z-value at which the contour level c was traced.

source
Contour.coordinatesFunction

coordinates(c) Returns the coordinates of the vertices of the contour line as a tuple of lists.

source
Contour.verticesFunction

vertices(c)

Returns the vertices of a contour line as a vector of 2-element tuples.

source

Utilities