Server : Apache System : Linux iad1-shared-b8-43 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64 User : dh_edsupp ( 6597262) PHP Version : 8.2.26 Disable Function : NONE Directory : /lib/python3/dist-packages/django/contrib/gis/__pycache__/ |
Upload File : |
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>