class Point(c.Structure):
    _fields_ = [('x', c.c_double), ('y', c.c_double), ('z', c.c_double)]


class Points(c.Structure):
    _fields_ = [('num_points', c.c_uint32), ('points', c.POINTER(Point))]
ctypes variable length structures