def __init__(self, context): if isinstance(context, PreparedGeometry): self.context = context.context else: self.context = context self.__geom__ = lgeos.GEOSPrepare(self.context._geom) self.prepared = True
def __init__(self, context): self.context = context self.__geom__ = lgeos.GEOSPrepare(self.context._geom)