§
    eÎj^	  ã                   óÜ   — d Z ddlZddlmZmZmZ dd„Z G d„ de¦  «        Z G d„ d	e¦  «        Z G d
„ de¦  «        Z	 G d„ de
¦  «        Z G d„ de¦  «        Z G d„ de¦  «        Zd„ ZdS )zShapely errors.é    N)ÚGEOSExceptionÚShapelyErrorÚ_setup_signal_checksé'  c                 ó|   — | dk    rt          d¦  «        ‚t          | t          j        ¦   «         j        ¦  «         dS )a~  Enable Python signal checks in the ufunc inner loops.

    Doing so allows termination (using CTRL+C) of operations on large arrays of
    vectors.

    Parameters
    ----------
    interval : int, default 10000
        Check for interrupts every x iterations. The higher the number, the
        slower shapely will respond to a signal. However, at low values there
        will be a negative effect on performance. The default of 10000 does not
        have any measureable effects on performance.

    Notes
    -----
    For more information on signals consult the Python docs:

    https://docs.python.org/3/library/signal.html

    r   z1Signal checks interval must be greater than zero.N)Ú
ValueErrorr   Ú	threadingÚmain_threadÚident)Úintervals    ú^/root/private/project/pallet_detection_v2/.venv/lib/python3.11/site-packages/shapely/errors.pyÚsetup_signal_checksr      s>   € ð* �1‚}€}ÝÐLÑMÔMÐMå˜¥9Ô#8Ñ#:Ô#:Ô#@ÑAÔAÐAÐAÐAó    c                   ó   — e Zd ZdZdS )ÚUnsupportedGEOSVersionErrorzJRaised when the GEOS library version does not support a certain operation.N©Ú__name__Ú
__module__Ú__qualname__Ú__doc__© r   r   r   r   #   s   € € € € € ØTÐTÐTÐTr   r   c                   ó   — e Zd ZdZdS )ÚDimensionErrorz0An error in the number of coordinate dimensions.Nr   r   r   r   r   r   '   s   € € € € € Ø:Ð:Ð:Ð:r   r   c                   ó   — e Zd ZdZdS )ÚTopologicalErrorz1A geometry is invalid or topologically incorrect.Nr   r   r   r   r   r   +   s   € € € € € Ø;Ð;Ð;Ð;r   r   c                   ó   — e Zd ZdZdS )ÚShapelyDeprecationWarningzIWarning for features that will be removed or changed in a future release.Nr   r   r   r   r   r   /   s   € € € € € ØSÐSÐSÐSr   r   c                   ó   — e Zd ZdZdS )ÚEmptyPartErrorzMAn error signifying an empty part was encountered when creating a multi-part.Nr   r   r   r   r   r   3   s   € € € € € ØWÐWÐWÐWr   r   c                   ó   — e Zd ZdZdS )ÚGeometryTypeErrorzLAn error raised when the geometry has an unrecognized or inappropriate type.Nr   r   r   r   r!   r!   7   s   € € € € € ØVÐVÐVÐVr   r!   c                 ó†   — dd l }| dv r'|                     | › d�t          d¬¦  «         t          S t	          d| › d�¦  «        ‚)Nr   )ÚReadingErrorÚWKBReadingErrorÚWKTReadingErrorÚPredicateErrorÚInvalidGeometryErrorz� is deprecated and will be removed in a future version. Use ShapelyError instead (functions previously raising {name} will now raise a ShapelyError instead).é   )Ú
stacklevelz*module 'shapely.errors' has no attribute 'ú')ÚwarningsÚwarnÚFutureWarningr   ÚAttributeError)Únamer+   s     r   Ú__getattr__r0   ;   sx   € Ø€O€O€Oð ð ð ð ð 	�ŠØð 6ð 6ð 6õ Øð 	ñ 	
ô 	
ð 	
õ Ðå
ÐMÀdÐMÐMÐMÑ
NÔ
NÐNr   )r   )r   r	   Úshapely.libr   r   r   r   r   r   r   r-   r   r   r!   r0   r   r   r   ú<module>r2      s‡  ðØ Ð à Ð Ð Ð à IÐ IÐ IÐ IÐ IÐ IÐ IÐ IÐ IÐ IðBð Bð Bð Bð6Uð Uð Uð Uð U ,ñ Uô Uð Uð;ð ;ð ;ð ;ð ;�\ñ ;ô ;ð ;ð<ð <ð <ð <ð <�|ñ <ô <ð <ðTð Tð Tð Tð T ñ Tô Tð TðXð Xð Xð Xð X�\ñ Xô Xð XðWð Wð Wð Wð W˜ñ Wô Wð WðOð Oð Oð Oð Or   