def equatePoints(elementNode, points, prefix, revolutions):
 derivation = EquationDerivation(elementNode, prefix)
 for equationResult in derivation.equationResults:
  for point in points:
   returnValue = equationResult.getReturnValue(point, revolutions)
   if (returnValue == None):
    print 'Warning, returnValue in alterVertexesByEquation in equation is None for:'
    print point
    print elementNode
   else:
    equationResult.equationFunction(point, returnValue)

def equatePoints ( elementNode , points , prefix , revolutions ) : derivation = EquationDerivation ( elementNode , prefix ) for equationResult in derivation . equationResults : for point in points : returnValue = equationResult . getReturnValue ( point , revolutions ) if ( returnValue == None ) : print 'Warning, returnValue in alterVertexesByEquation in equation is None for:' print point print elementNode else : equationResult . equationFunction ( point , returnValue )
equate the points .