3d-dart/server/system/NAfunctionLib.py
def AngleVector(angle,rcont,tcont):

	"""Construct vector of global roll and tilt from global angle and contribution of roll and tilt to this angle"""

	vector = []

	vector.append((sqrt((pow(angle,2))*abs(rcont)))*cmp(rcont,0))
	vector.append((sqrt((pow(angle,2))*abs(tcont)))*cmp(tcont,0))

	return vector
Construct vector of global roll and tilt from global angle and contribution of roll and tilt to this angle
Construct vector of global roll and tilt from global angle and contribution of roll and tilt to this angle
Construct vector of global roll and tilt from global angle and contribution of roll and tilt to this angle
def AngleVector(angle,rcont,tcont):
	vector = []
	vector.append((sqrt((pow(angle,2))*abs(rcont)))*cmp(rcont,0))
	vector.append((sqrt((pow(angle,2))*abs(tcont)))*cmp(tcont,0))
	return vector
def AngleVector ( angle , rcont , tcont ) : vector = [ ] vector . append ( ( sqrt ( ( pow ( angle , 2 ) ) * abs ( rcont ) ) ) * cmp ( rcont , 0 ) ) vector . append ( ( sqrt ( ( pow ( angle , 2 ) ) * abs ( tcont ) ) ) * cmp ( tcont , 0 ) ) return vector
Construct vector of global roll and tilt from global angle and contribution of roll and tilt to this angle
Construct vector of global roll and tilt from global angle and contribution of roll and tilt to this angle
"""Construct vector of global roll and tilt from global angle and contribution of roll and tilt to this angle"""
angle
rcont
tcont