PySide::Numpy Namespace

namespace PySide::Numpy

Namespace for numpy related code. More...

Header: #include <pyside_numpy.h>

Functions

int xyDataToQPointFList(PyObject *pyXIn, PyObject *pyYIn)
int xyDataToQPointList(PyObject *pyXIn, PyObject *pyYIn)

Detailed Description

Function Documentation

int Numpy::xyDataToQPointFList(PyObject *pyXIn, PyObject *pyYIn)

Creates a list of QPointF from 2 equally sized numpy arrays of x data pyXIn and y data pyYIn (float, double).

int Numpy::xyDataToQPointList(PyObject *pyXIn, PyObject *pyYIn)

Creates a list of QPoint from 2 equally sized numpy arrays of x data pyXIn and y data pyYIn (int).