How to pass double* of C++ in python?

Hi all,
I tried to use itk-python. There is a function in itk::PointSet, which has a parameter of double* in C++. I want to know how to set it in Python. The error message is as follows:

TypeError: in method 'itkPointSetD3_GetPointData', argument 3 of type 'double *'

What I have tried are list, numpy.array. They can’t be used.

@pranjal_sahu1 @Pranjal_Sahu Is this expected to work?

@guo7212 which function is this?

//class
itk::PointSet
//function
bool GetPointData (PointIdentifier, PixelType *) const

PixelType could be float or double. In my case above, it’s double.