models/geom_utils.py
def rotate_vectors_random(v):
    '''
    Rotates vectors about a random axis by random angle.
    v: (N,3) numpy array
    
    '''
    axis = get_ransphere(1.0)
    angle = 2*math.pi*np.random.random()
    axis, angle = fix_axis_angle(axis, angle)
    rotmat = get_rotmat_axis_angle(axis, angle)
    return np.dot(v, rotmat.T)

    Rotates vectors about a random axis by random angle.
    v: (N,3) numpy array
    
    
Rotates vectors about a random axis by random angle.
v: (N,3) numpy array
Rotates vectors about a random axis by random angle . v : ( N 3 ) numpy array
def rotate_vectors_random(v):
    axis = get_ransphere(1.0)
    angle = 2*math.pi*np.random.random()
    axis, angle = fix_axis_angle(axis, angle)
    rotmat = get_rotmat_axis_angle(axis, angle)
    return np.dot(v, rotmat.T)
def rotate_vectors_random ( v ) : axis = get_ransphere ( 1.0 ) angle = 2 * math . pi * np . random . random ( ) axis , angle = fix_axis_angle ( axis , angle ) rotmat = get_rotmat_axis_angle ( axis , angle ) return np . dot ( v , rotmat . T )
Rotates vectors about a random axis by random angle.
Rotates vectors about a random axis by random angle .
'''
    Rotates vectors about a random axis by random angle.
    v: (N,3) numpy array
    
    '''
v