nukescripts.geosnap3d.calc_average_position

nukescripts.geosnap3d.calc_average_position(vertex_selection)[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.