def getVtkPolyDataFromNumpyPoints(points):

    if points.dtype != np.float64:
        points = points.astype(np.float64)

    polyData = vtk.vtkPolyData()
    polyData.SetPoints(getVtkPointsFromNumpy(points))
    vtk.vtkPCLConversions.AddVertexCells(polyData)
    return polyData
**SUMMARY**
dataset/ETHPy150Open RobotLocomotion/director/src/python/director/vtkNumpy.py/getVtkPolyDataFromNumpyPoints--crossover with--dataset/ETHPy150Open sightmachine/SimpleCV/SimpleCV/LineScan.py/LineScan.scale