File: //usr/lib/python3/dist-packages/django/contrib/gis/__pycache__/measure.cpython-310.pyc
o
�a&/ � @ sx d Z ddlmZ ddlmZ g d�ZeeefZdZ dd� Z
eG dd � d ��ZG d
d� de�ZG dd
� d
e�Z
eZe
ZdS )a
Distance and Area objects to allow for sensible and convenient calculation
and conversions.
Authors: Robert Coup, Justin Bronn, Riccardo Di Virgilio
Inspired by GeoPy (https://github.com/geopy/geopy)
and Geoff Biggs' PhD work on dimensioned units for robotics.
� )�Decimal)�total_ordering)�A�Area�D�Distance�sq_c C s | j tkr| jS | j jS �N)� __class__�type�__name__)�obj� r �</usr/lib/python3/dist-packages/django/contrib/gis/measure.py�pretty_name/ s r c @ s� e Zd ZdZi Zi Zi Zd,dd�Zdd� Zdd� Z e
ee �Zdd � Zd
d� Z
dd
� Zdd� Zdd� Zdd� Zdd� Zdd� Zdd� Zdd� Zdd� Zdd� Zd d!� Zd"d#� Zd$d%� Zd&d'� Zd(d)� Zed*d+� �ZdS )-�MeasureBaseNc K s>