def flipPoints(points, prefix, xmlElement):
 origin = evaluate.getVector3ByPrefix(Vector3(), (prefix + 'origin'), xmlElement)
 axis = evaluate.getVector3ByPrefix(Vector3(1.0, 0.0, 0.0), (prefix + 'axis'), xmlElement).getNormalized()
 for point in points:
  point.setToVector3((point - ((2.0 * axis.dot((point - origin))) * axis)))

def flipPoints ( points , prefix , xmlElement ) : origin = evaluate . getVector3ByPrefix ( Vector3 ( ) , ( prefix + 'origin' ) , xmlElement ) axis = evaluate . getVector3ByPrefix ( Vector3 ( 1.0 , 0.0 , 0.0 ) , ( prefix + 'axis' ) , xmlElement ) . getNormalized ( ) for point in points : point . setToVector3 ( ( point - ( ( 2.0 * axis . dot ( ( point - origin ) ) ) * axis ) ) )
flip the points .