'Initialize from a GEOS pointer.'

def __init__(self, ptr, z=False):

    if (not isinstance(ptr, CS_PTR)):
        raise TypeError('Coordinate    sequence    should    initialize    with    a    CS_PTR.')
    self._ptr = ptr
    self._z = z
