Functions namespace¶
Functions.Geometry module¶
-
Functions.Geometry.OvalDistribution(yarnR, Setup='Hex', R1=None, R2=None, SparsingCoeff=0, Remove_Not_Selected=True)[source]¶ This function returns an array of coordinates similarly to circle packing, the objective is to fit circles (fibers) is a specific shape
Valid arguments for Setup are: “Hex” and “Square”
Functions.linalg module¶
-
Functions.linalg.Get_angle(Vector1, Vector2, Rad_or_Deg='Rad')[source]¶ This function returns the angle (rad) between two vectors input: Vector1 (numpy array or list) and Vector2 (numpy array or list) output: angle between the two (float)
Optional parameter: Rad_or_Deg, default to Rad, defines if the angle should be returned in radians or degrees