class PointRef(object): def __init__(self, shape, ptNum): self.shape = shape self.ptNum = ptNum def getPt(self): return self.shape.getPt(self.ptNum)