body_xset

class granoo3.lib.body_xset

Bases: granoo3.lib.node_xset

extended version of set with additional features

Methods Summary

mean_angular_vel(arg1)

compute the mean angular velocity of the set

rotate(arg1, arg2, arg3, arg4)

rotate the whole item

torque(arg1)

return the sum of torques

torque_at(arg1, arg2)

return the sum of torques computed at a given point

volume(arg1)

return the sum of volume

Methods Documentation

mean_angular_vel((body_xset)arg1) vector[STATIC]

compute the mean angular velocity of the set

rotate((body_xset)arg1, (point)arg2, (vector)arg3, (float)arg4) None[STATIC]

rotate the whole item

torque((body_xset)arg1) vector[STATIC]

return the sum of torques

torque_at((body_xset)arg1, (point)arg2) vector[STATIC]

return the sum of torques computed at a given point

volume((body_xset)arg1) float[STATIC]

return the sum of volume