@@ -41,13 +41,15 @@ def angle_vectors(u, v, deg=False):
4141 ----------
4242 u : sequence of float
4343 XYZ components of the first vector.
44- v : sequence of float)
44+ v : sequence of float
4545 XYZ components of the second vector.
46+ deg : boolean
47+ returns angle in degrees if True
4648
4749 Returns
4850 -------
4951 float
50- The smallest angle in radians.
52+ The smallest angle in radians (in degrees if deg == True) .
5153 The angle is always positive.
5254
5355 Examples
@@ -72,11 +74,13 @@ def angle_vectors_xy(u, v, deg=False):
7274 The first 2D or 3D vector (Z will be ignored).
7375 v : sequence of float)
7476 The second 2D or 3D vector (Z will be ignored).
77+ deg : boolean
78+ returns angle in degrees if True
7579
7680 Returns
7781 -------
7882 float
79- The smallest angle between the vectors in radians.
83+ The smallest angle between the vectors in radians (in degrees if deg == True) .
8084 The angle is always positive.
8185
8286 Examples
@@ -102,11 +106,13 @@ def angle_points(a, b, c, deg=False):
102106 XYZ coordinates.
103107 c : sequence of float
104108 XYZ coordinates.
109+ deg : boolean
110+ returns angle in degrees if True
105111
106112 Returns
107113 -------
108114 float
109- The smallest angle in radians.
115+ The smallest angle between the vectors in radians (in degrees if deg == True) .
110116 The angle is always positive.
111117
112118 Note
@@ -137,11 +143,13 @@ def angle_points_xy(a, b, c, deg=False):
137143 XY(Z) coordinates of a 2D or 3D point (Z will be ignored).
138144 c : sequence of float)
139145 XY(Z) coordinates of a 2D or 3D point (Z will be ignored).
146+ deg : boolean
147+ returns angle in degrees if True
140148
141149 Returns
142150 -------
143151 float
144- The smallest angle between the vectors.
152+ The smallest angle between the vectors in radians (in degrees if deg == True) .
145153 The angle is always positive.
146154
147155 Note
@@ -171,11 +179,13 @@ def angles_vectors(u, v, deg=False):
171179 XYZ components of the first vector.
172180 v : sequence of float
173181 XYZ components of the second vector.
182+ deg : boolean
183+ returns angles in degrees if True
174184
175185 Returns
176186 -------
177187 tuple
178- The two angles in radians.
188+ The smallest angle between the vectors in radians (in degrees if deg == True) .
179189 The smallest angle is returned first.
180190
181191 Examples
@@ -200,11 +210,13 @@ def angles_vectors_xy(u, v, deg=False):
200210 XY(Z) coordinates of the first vector.
201211 v : sequence of float
202212 XY(Z) coordinates of the second vector.
213+ deg : boolean
214+ returns angles in degrees if True
203215
204216 Returns
205217 -------
206218 tuple
207- The two angles .
219+ The smallest angle between the vectors in radians (in degrees if deg == True) .
208220 The smallest angle is returned first.
209221
210222 Notes
@@ -234,11 +246,13 @@ def angles_points(a, b, c, deg=False):
234246 XYZ coordinates.
235247 c : sequence of float)
236248 XYZ coordinates.
249+ deg : boolean
250+ returns angles in degrees if True
237251
238252 Returns
239253 -------
240254 tuple
241- The two angles in radians.
255+ The smallest angle between the vectors in radians (in degrees if deg == True) .
242256 The smallest angle is returned first.
243257
244258 Note
@@ -271,11 +285,13 @@ def angles_points_xy(a, b, c, deg=False):
271285 XY(Z) coordinates.
272286 c : sequence of float)
273287 XY(Z) coordinates.
288+ deg : boolean
289+ returns angles in degrees if True
274290
275291 Returns
276292 -------
277293 tuple
278- The two angles in degrees.
294+ The smallest angle between the vectors in radians (in degrees if deg == True) .
279295 The smallest angle is returned first.
280296
281297 Note
0 commit comments