def update_points(self,points):

        if points.shape != self.points.shape:
            raise IndexError("The provided points set has a different shape than the original. They must be the same")
        #set the deformed points back into the original array
        self.points = points
        return points
updates the points in the object with the new set
dataset/ETHPy150Open OpenMDAO/OpenMDAO-Framework/openmdao.lib/src/openmdao/lib/geometry/stl.py/STL.update_points