
    hy                     0   S SK Jr  SSK7  SSK7  SSK7  SSK7  SSK7  SSK7  SSK7  SSK	7  SSK
7  SSK7  SSK7  SSK7  SSK7  SSK7  SSK7  SSK7  SSK7  SSK7  SSK7  SSK7  SSK7  SrSr\\S.S\\   S\\   S	\4S
 jjrSS\S\S	\4S jjrg)    )Iterable   )*g-q=g&.>rel_tolabs_tolabreturnc                D   ^^ [        UU4S j[        X5       5       5      $ )Nc              3   J   >#    U  H  u  pUR                  UTTS 9v   M     g7f)r   N)isclose).0v1v2r   r   s      E/var/www/html/env/lib/python3.13/site-packages/ezdxf/math/__init__.py	<genexpr> close_vectors.<locals>.<genexpr>%   s)      (&62 zz"gwz?&s    #)allzip)r	   r
   r   r   s     ``r   close_vectorsr   #   s!     ( Y( ( (    valueroundingc                 N    US:X  a  [        U 5      $ SU-  n[        X-  5      U-  $ )aP  Extended rounding function.

The argument `rounding` defines the rounding limit:

======= ======================================
0       remove fraction
0.1     round next to x.1, x.2, ... x.0
0.25    round next to x.25, x.50, x.75 or x.00
0.5     round next to x.5 or x.0
1.0     round to a multiple of 1: remove fraction
2.0     round to a multiple of 2: xxx2, xxx4, xxx6 ...
5.0     round to a multiple of 5: xxx5 or xxx0
10.0    round to a multiple of 10: xx10, xx20, ...
======= ======================================

Args:
    value: float value to round
    rounding: rounding limit

r   g      ?)round)r   r   factors      r   xroundr   )   s0    * 1}U|(]F 6))r   N)g        )typingr   _ctypesconstruct2dconstruct3dparametrizebsplinebezierbezier_interpolationeulerspiralucsbulgearclinecircleellipseboxshapebboxoffset2dtransformtools
curvetoolspolylineABS_TOLREL_TOLAnyVecUVecboolr   floatr    r   r   <module>r<      s    
       #              

 "7(Xf% ((4. (7;(*% *5 *% *r   