def getCumulativeVector3Remove(defaultVector3, elementNode, prefix):
 if (prefix == ''):
  defaultVector3.x = evaluate.getEvaluatedFloat(defaultVector3.x, elementNode, 'x')
  defaultVector3.y = evaluate.getEvaluatedFloat(defaultVector3.y, elementNode, 'y')
  defaultVector3.z = evaluate.getEvaluatedFloat(defaultVector3.z, elementNode, 'z')
  euclidean.removeElementsFromDictionary(elementNode.attributes, ['x', 'y', 'z'])
  prefix = 'cartesian'
 defaultVector3 = evaluate.getVector3ByPrefix(defaultVector3, elementNode, prefix)
 euclidean.removePrefixFromDictionary(elementNode.attributes, prefix)
 return defaultVector3

def getCumulativeVector3Remove ( defaultVector3 , elementNode , prefix ) : if ( prefix == '' ) : defaultVector3 . x = evaluate . getEvaluatedFloat ( defaultVector3 . x , elementNode , 'x' ) defaultVector3 . y = evaluate . getEvaluatedFloat ( defaultVector3 . y , elementNode , 'y' ) defaultVector3 . z = evaluate . getEvaluatedFloat ( defaultVector3 . z , elementNode , 'z' ) euclidean . removeElementsFromDictionary ( elementNode . attributes , [ 'x' , 'y' , 'z' ] ) prefix = 'cartesian' defaultVector3 = evaluate . getVector3ByPrefix ( defaultVector3 , elementNode , prefix ) euclidean . removePrefixFromDictionary ( elementNode . attributes , prefix ) return defaultVector3
get cumulative vector3 and delete the prefixed attributes .