nukescripts.snap3d.calcAveragePosition

nukescripts.snap3d.calcAveragePosition(vertexSelection)[source]

Calculate the average position of all points.

Parameters

points – An iterable sequence of _nukemath.Vector3 objects.

Returns

A _nukemath.Vector3 containing the average of all the points.