ContourHelper QML Type

Produces contour lines and fills from XYZ data. More...

Import Statement: import QuickGraphLib.PythonHelpers

Methods

  • list<QPolygonF> contourFill(list<list<double>> x, list<list<double>> y, list<list<double>> z, double hMin, double hMax)
  • list<QPolygonF> contourLine(list<list<double>> x, list<list<double>> y, list<list<double>> z, double height)

Detailed Description

The contourpy package must be installed to use these methods. See https://contourpy.readthedocs.io/ for installation instructions and algorithm details.

Method Documentation

list<QPolygonF> contourFill(list<list<double>> x, list<list<double>> y, list<list<double>> z, double hMin, double hMax)

Generates a contour fill for the z positions between hMin and hMax from the mesh described by provided x, y and z coordinates.


list<QPolygonF> contourLine(list<list<double>> x, list<list<double>> y, list<list<double>> z, double height)

Generates a contour line for the z position height from the mesh described by provided x, y and z coordinates.