def __boxPlugValueExtractor( plug, topLevelPlug, value ) :

	vectorPlug = plug.parent()
	index = vectorPlug.children().index( plug )

	vector = value.value.min if vectorPlug.getName() == "min" else value.value.max

	return vector[index]
dataset/ETHPy150Open ImageEngine/gaffer/python/Gaffer/PythonExpressionEngine.py/__boxPlugValueExtractor/original